[FIX] theme_*: fix used separators in class and style updates

*: anelusia, artists, avantgarde, aviato, bistro, bookstore, buzzy,
   clean, enark, graphene, kea, kiddo, monglia, nano, notes,
   odoo_experts, paptic, real_estate, treehouse, vehicle, yes, zap

This commit fixes the wrong separators used when updating class and
style attributes.

task-4206845

X-original-commit: 38a02a269a
Part-of: odoo/design-themes#946
Related: odoo/odoo#181550
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
This commit is contained in:
Benoit Socias
2024-09-24 11:24:37 +00:00
parent 4f1fdf7c41
commit efbfee9161
40 changed files with 86 additions and 86 deletions
@@ -10,7 +10,7 @@
<!-- Main div -->
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
<attribute name="style" remove="background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-2) 100%);" separator=" "/>
<attribute name="style" remove="background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-2) 100%);" separator=";"/>
</xpath>
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-4')]/h3" position="replace" mode="inner">
@@ -25,7 +25,7 @@
<!-- Main div -->
<xpath expr="//div[hasclass('col-lg-4')][2]" position="attributes">
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
<attribute name="style" remove="background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-1) 100%);" separator=" "/>
<attribute name="style" remove="background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-1) 100%);" separator=";"/>
</xpath>
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-4')][2]/h3" position="replace" mode="inner">
@@ -10,16 +10,16 @@
<div class="o_we_shape o_web_editor_Blobs_09"/>
</xpath>
<xpath expr="//h3" position="attributes">
<attribute name="class" add="h4-fs" remove="h5-fs"/>
<attribute name="class" add="h4-fs" remove="h5-fs" separator=" "/>
</xpath>
<xpath expr="(//h3)[2]" position="attributes">
<attribute name="class" add="h4-fs" remove="h5-fs"/>
<attribute name="class" add="h4-fs" remove="h5-fs" separator=" "/>
</xpath>
<xpath expr="(//h3)[3]" position="attributes">
<attribute name="class" add="h4-fs" remove="h5-fs"/>
<attribute name="class" add="h4-fs" remove="h5-fs" separator=" "/>
</xpath>
<xpath expr="(//h3)[4]" position="attributes">
<attribute name="class" add="h4-fs" remove="h5-fs"/>
<attribute name="class" add="h4-fs" remove="h5-fs" separator=" "/>
</xpath>
<!-- Texts -->