[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 -3
View File
@@ -344,17 +344,18 @@
<template id="s_color_blocks_2" inherit_id="website.s_color_blocks_2" name="Paptic s_color_blocks_2">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
<attribute name="class" add="o_cc3 text-center" remove="o_cc4" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blocks/03","flip":["y"]}</attribute>
</xpath>
<xpath expr="//div[hasclass('col-lg-6')]/i" position="before">
<xpath expr="//div[hasclass('col-lg-6')]/h2" position="before">
<div class="o_we_shape o_web_editor_Blocks_03" style="background-image: url('/web_editor/shape/web_editor/Blocks/03.svg?c1=o-color-1&amp;c4=o-color-4&amp;flip=y'); background-position: 50% 0%"/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
<attribute name="class" add="o_cc3 text-center" remove="o_cc5" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blocks/03","flip":["x","y"]}</attribute>
</xpath>
<xpath expr="//div[hasclass('col-lg-6')][2]/i" position="before">
<xpath expr="//div[hasclass('col-lg-6')][2]/h2" position="before">
<div class="o_we_shape o_web_editor_Blocks_03" style="background-image: url('/web_editor/shape/web_editor/Blocks/03.svg?c1=o-color-1&amp;c4=o-color-4&amp;flip=xy'); background-position: 50% 0%"/>
</xpath>
</template>