mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
Binary file not shown.
|
Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 31 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.1 KiB |
@@ -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>
|
||||
|
||||
@@ -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&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>
|
||||
|
||||
Reference in New Issue
Block a user