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:
@@ -9,7 +9,7 @@
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//*[hasclass('row')]/*[1]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 pt32 pb32 rounded text-center" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[1]/div[hasclass('s_hr')]" position="replace"/>
|
||||
<xpath expr="//i" position="replace">
|
||||
@@ -24,7 +24,7 @@
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="//*[hasclass('row')]/*[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 pt32 pb32 rounded text-center" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/div[hasclass('s_hr')]" position="replace"/>
|
||||
<xpath expr="(//i)[2]" position="replace">
|
||||
@@ -39,7 +39,7 @@
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="//*[hasclass('row')]/*[3]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 pt32 pb32 rounded text-center" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[3]/div[hasclass('s_hr')]" position="replace"/>
|
||||
<xpath expr="(//i)[3]" position="replace">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="img-thumbnail" separator=" "/>
|
||||
<attribute name="style" add="padding: 15px;" separator=" "/>
|
||||
<attribute name="style" add="padding: 15px;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//p[2]" position="after">
|
||||
<p><br/></p>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<xpath expr="//*[hasclass('col-lg-3')][2]" position="replace" mode="inner"/>
|
||||
|
||||
<xpath expr="//*[hasclass('col-lg-3')][2]" position="attributes">
|
||||
<attribute name="style" add="background-image:url(/web/image/website.s_masonry_block_default_image_2)" separator="; "/>
|
||||
<attribute name="style" add="background-image:url(/web/image/website.s_masonry_block_default_image_2)" separator=";"/>
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
<!-- Items -->
|
||||
<xpath expr="//*[hasclass('s_media_list_item')][1]/div" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;"/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('s_media_list_item')][2]/div" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;"/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('s_media_list_item')][3]/div" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;"/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<!-- Column #2 -->
|
||||
<xpath expr="(//div[hasclass('col-lg-4')])[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//span[hasclass('h5-fs')]" position="replace" mode="inner">
|
||||
<font class="text-o-color-1">Solutions</font>
|
||||
@@ -17,7 +17,7 @@
|
||||
<!-- Column #3 -->
|
||||
<xpath expr="(//div[hasclass('col-lg-4')])[3]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//span[hasclass('s_number')])[2]" position="replace" mode="inner">
|
||||
98%
|
||||
@@ -28,7 +28,7 @@
|
||||
<!-- Column #4 -->
|
||||
<xpath expr="(//div[hasclass('col-lg-4')])[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//span[hasclass('h5-fs')])[3]" position="replace" mode="inner">
|
||||
<font class="text-o-color-1">Languages</font>
|
||||
|
||||
@@ -17,32 +17,32 @@
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][1]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt48 pb48" remove="pt16 pb16" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][2]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt48 pb48" remove="pt16 pb16" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][3]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt48 pb48" remove="pt16 pb16" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #04 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][4]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt48 pb48" remove="pt16 pb16" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #05 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][5]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt48 pb48" remove="pt16 pb16" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #06 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][6]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt48 pb48" remove="pt16 pb16" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</xpath>
|
||||
<!-- Grid gap -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]" position="attributes">
|
||||
<attribute name="style" add="gap: 8px;" separator=" "/>
|
||||
<attribute name="style" add="gap: 8px;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
@@ -17,32 +17,32 @@
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][1]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][2]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][3]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #04 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][4]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #05 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][5]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #06 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][6]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -9,22 +9,22 @@
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[3]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column #04 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[5]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -8,21 +8,21 @@
|
||||
</xpath>
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//*[hasclass('card')]" position="attributes">
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('card-title')]" position="replace" mode="inner">
|
||||
Services
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="(//*[hasclass('card')])[2]" position="attributes">
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//*[hasclass('card-title')])[2]" position="replace" mode="inner">
|
||||
Features
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="(//*[hasclass('card')])[3]" position="attributes">
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//*[hasclass('card-title')])[3]" position="replace" mode="inner">
|
||||
Benefits
|
||||
|
||||
Reference in New Issue
Block a user