[IMP] theme_anelusia, *: adapt s_color_blocks_2 customizations

*: theme_artists, theme_beauty, theme_bewise, theme_buzzy, theme_clean,
theme_cobalt, theme_kea, theme_loftspace, theme_notes,
theme_odoo_experts, theme_paptic, theme_treehouse, theme_zap

This commit adapts the s_color_blocks_2 customizations since this
snippet has been redesigned in PR [1].

task-3665302
Part of task-3619705

[1]: https://github.com/odoo/odoo/pull/173461

closes odoo/design-themes#834

Related: odoo/odoo#173461
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
Brieuc-brd
2024-07-17 15:46:09 +02:00
parent a945545ba8
commit 7b5b320e1d
14 changed files with 29 additions and 56 deletions
@@ -4,10 +4,10 @@
<template id="s_color_blocks_2" inherit_id="website.s_color_blocks_2">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc2" remove="o_cc4" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Airy/04_001','flip':[]}</attribute>
</xpath>
<xpath expr="//i" position="before">
<xpath expr="//h2" position="before">
<div class="o_we_shape o_web_editor_Airy_04_001"/>
</xpath>
<!-- Right column -->
@@ -15,7 +15,7 @@
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Airy/04_001','flip':['x']}</attribute>
</xpath>
<xpath expr="(//i)[2]" position="before">
<xpath expr="(//h2)[2]" position="before">
<div class="o_we_shape o_web_editor_Airy_04_001 o_second_extra_shape_mapping" style="background-image: url('/web_editor/shape/web_editor/Airy/04_001.svg?c1=o-color-5&amp;flip=x'); background-position: 50% 50%;"/>
</xpath>
</template>