[IMP] theme_artists: adapt s_banner

Since the redesign of the original banner snippet, the customizations
made in theme_artists have had to be adapted.

task-3097005

Part-of: odoo/design-themes#687
This commit is contained in:
Brieuc-brd
2023-08-28 11:04:27 +02:00
committed by qsm-odoo
parent 68c68740bf
commit a08ed4d004
5 changed files with 10 additions and 13 deletions
+10
View File
@@ -45,6 +45,16 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_banner_default_image</field>
<field name="url">/theme_artists/static/src/img/snippets/s_banner.jpg</field>
</record>
<record id="s_banner_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_banner_default_image_2</field>
<field name="name">website.s_banner_default_image_2</field>
<field name="url">/theme_artists/static/src/img/snippets/s_banner_2.jpg</field>
</record>
<record id="s_banner_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_banner_default_image_3</field>
<field name="name">website.s_banner_default_image_3</field>
<field name="url">/theme_artists/static/src/img/snippets/s_banner_3.jpg</field>
</record>
<record id="s_popup_default_image" model="theme.ir.attachment">
<field name="key">website.s_popup_default_image</field>
<field name="name">website.s_popup_default_image</field>
-13
View File
@@ -5,24 +5,11 @@
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc3" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/02_001","flip":["y"]}</attribute>
</xpath>
<!-- Shape & filter -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(17, 13, 22, 0.85) !important;"/>
<div class="o_we_shape o_web_editor_Wavy_02_001" style="background-image: url('/web_editor/shape/web_editor/Wavy/02_001.svg?c3=o-color-5&amp;flip=y'); background-position: 50% 100%;"/>
</xpath>
<!-- Jumbotron -->
<xpath expr="//div[hasclass('jumbotron')]" position="attributes">
<attribute name="class" remove="o_cc o_cc1" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Emotions through the colors
</xpath>
<xpath expr="//h1" position="after">
<p><br/></p>
</xpath>
</template>
</odoo>