mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user