[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,11 +4,11 @@
<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_cc4 pt208 pb208" remove="o_cc3" separator=" "/>
<attribute name="class" add="pt208 pb208 text-center" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/27","flip":["x","y"]}</attribute>
</xpath>
<!-- Left column - Shape -->
<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_Wavy_27 o_second_extra_shape_mapping" style="background-image: url('/web_editor/shape/web_editor/Wavy/27.svg?c1=o-color-5&amp;c2=o-color-5&amp;flip=xy'); background-position: 50% 50%;"/>
</xpath>
<!-- Left column - Button -->
@@ -17,11 +17,11 @@
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="attributes">
<attribute name="class" add="pt208 pb208" separator=" "/>
<attribute name="class" add="pt208 pb208 text-center" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/27","flip":[]}</attribute>
</xpath>
<!-- Right column - Shape -->
<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_Wavy_27"/>
</xpath>
<!-- Right column - Button -->