mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: update according to new shapes
task-2319488 closes odoo/design-themes#17 Related: odoo/odoo#70843 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -168,4 +168,7 @@ $o-theme-color-palettes-compatibility-indexes: (
|
||||
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/03', (3: 5));
|
||||
$o-bg-shapes: add-header-shape-colors-mapping('web_editor', 'Origins/07_001', (3: 'menu'));
|
||||
$o-bg-shapes: add-header-shape-colors-mapping('web_editor', 'Origins/07_002', (3: 'menu', 4: rgba(255, 255, 255, 0)));
|
||||
$o-bg-shapes: add-footer-shape-colors-mapping('web_editor', 'Origins/14', (4: 'footer'));
|
||||
$o-bg-shapes: add-footer-shape-colors-mapping('web_editor', 'Origins/14_001', (3: 'footer', 4: rgba(255, 255, 255, 0)));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/02_001', (4: 5, 5: rgba(255, 255, 255, 0)));
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_full_screen_height" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/07_001","flip":[]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/07_002","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<!-- Title & Paragraph -->
|
||||
<xpath expr="//div[hasclass('container')]" position="replace">
|
||||
@@ -19,7 +19,7 @@
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//section//*[last()]" position="after">
|
||||
<div class="o_we_shape o_web_editor_Origins_07_001"/>
|
||||
<div class="o_we_shape o_web_editor_Origins_07_002"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc4 pt144" remove="pt32" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/03","flip":["x"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/02_001","flip":["y"]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_03 o_we_flip_x"/>
|
||||
<div class="o_we_shape o_web_editor_Origins_02_001 o_we_flip_y"/>
|
||||
</xpath>
|
||||
<!-- Title & Paragraph -->
|
||||
<xpath expr="(//div[hasclass('col-lg-6')])[2]" position="replace">
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc4 pb64" remove="pb32" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14","flip":[]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_14"/>
|
||||
<div class="o_we_shape o_web_editor_Origins_14_001"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user