mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user