[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

Part-of: odoo/design-themes#933
Related: odoo/odoo#181194
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
This commit is contained in:
Benoit Socias
2024-09-24 13:24:37 +02:00
parent 1201131f28
commit 38a02a269a
40 changed files with 86 additions and 86 deletions
@@ -4,7 +4,7 @@
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
<!-- Image -->
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
<attribute name="style" add="border-radius: 8px !important;" separator=" "/>
<attribute name="style" add="border-radius: 8px !important;" separator=";"/>
</xpath>
<xpath expr="//img" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
@@ -8,7 +8,7 @@
</xpath>
<!-- Column #01 -->
<xpath expr="//*[hasclass('s_card')]" position="attributes">
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator="; "/>
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
</xpath>
<xpath expr="//figure" position="attributes">
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
@@ -24,7 +24,7 @@
</xpath>
<!-- Column #02 -->
<xpath expr="(//*[hasclass('s_card')])[2]" position="attributes">
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator="; "/>
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
</xpath>
<xpath expr="(//figure)[2]" position="attributes">
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
@@ -40,7 +40,7 @@
</xpath>
<!-- Column #03 -->
<xpath expr="(//*[hasclass('s_card')])[3]" position="attributes">
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator="; "/>
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
</xpath>
<xpath expr="(//figure)[3]" position="attributes">
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>