[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,11 +4,10 @@
|
||||
<template id="s_color_blocks_2" inherit_id="website.s_color_blocks_2">
|
||||
<!-- Left block -->
|
||||
<xpath expr="//div[hasclass('row')]//div" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11","flip":["y","x"]}</attribute>
|
||||
</xpath>
|
||||
<!-- Left block - Shape -->
|
||||
<xpath expr="//div[hasclass('row')]//div//i" position="before">
|
||||
<xpath expr="//div[hasclass('row')]//div//h2" position="before">
|
||||
<div class="o_we_shape o_web_editor_Wavy_11" style="background-image: url('/web_editor/shape/web_editor/Wavy/11.svg?c1=o-color-5&c4=o-color-5&flip=xy'); background-position: 50% 0%;"/>
|
||||
</xpath>
|
||||
<!-- Right block -->
|
||||
@@ -16,7 +15,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<!-- Right block - Shape -->
|
||||
<xpath expr="//div[hasclass('row')]//div[2]//i" position="before">
|
||||
<xpath expr="//div[hasclass('row')]//div[2]//h2" position="before">
|
||||
<div class="o_we_shape o_web_editor_Wavy_11 o_second_extra_shape_mapping"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user