[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:
Brieuc-brd
2021-06-10 07:14:09 +00:00
committed by qsm-odoo
parent da5c40ff38
commit 34d61b2815
29 changed files with 67 additions and 46 deletions
@@ -87,3 +87,4 @@ $o-color-palettes-compatibility-indexes: (
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Blocks/04', (3: 1));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/03', (3: 1));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/01', (2: 3, 5: 3));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/02_001', (4: 1, 5: rgba(0, 0, 0, 0)));
+4 -4
View File
@@ -74,11 +74,11 @@
<template id="s_image_text" inherit_id="website.s_image_text" name="Paptic s_image_text">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt96 pb16 o_cc o_cc3" remove="pt32 pb32" 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>
<xpath expr="//section/div" position="before">
<div class="o_we_shape o_web_editor_Origins_03 o_we_flip_x"></div>
<div class="o_we_shape o_web_editor_Origins_02_001 o_we_flip_y"></div>
</xpath>
<xpath expr="//img" position="attributes">
@@ -207,10 +207,10 @@
<template id="s_three_columns" inherit_id="website.s_three_columns" name="Paptic s_three_columns">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="pt32 pb32 o_cc o_cc2" add="pt120 pb120" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/01","flip":[]}</attribute>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/02_001","flip":[]}</attribute>
</xpath>
<xpath expr="//section/div" position="before">
<div class="o_we_shape o_web_editor_Origins_01"></div>
<div class="o_we_shape o_web_editor_Origins_02_001"></div>
</xpath>
<xpath expr="//div[hasclass('row')]" position="before">
<h3 style="text-align: center;">SUCCESS STORIES</h3>