[FIX] theme_*: adapt snippets after secondary color fixes

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

This commit adapts multiple snippets after they were changed in the
community counterpart of this PR.

task-5072830

closes odoo/design-themes#1148

X-original-commit: 233a091b09
Related: odoo/odoo#227101
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
This commit is contained in:
Antoine (anso)
2025-09-09 14:22:24 +00:00
parent 7bb8e73e78
commit 991dfa574c
61 changed files with 172 additions and 445 deletions
-1
View File
@@ -58,7 +58,6 @@
'views/snippets/s_image_hexagonal.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_striped_center_top.xml',
'views/snippets/s_company_team_card.xml',
'views/snippets/s_image_title.xml',
'views/snippets/s_key_images.xml',
'views/snippets/s_big_number.xml',
+3 -3
View File
@@ -132,7 +132,7 @@
<template id="new_page_template_about_s_text_cover" inherit_id="website.new_page_template_about_s_text_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
</xpath>
</template>
@@ -224,7 +224,7 @@
<template id="new_page_template_landing_s_text_cover" inherit_id="website.new_page_template_landing_s_text_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
</xpath>
</template>
@@ -321,7 +321,7 @@
<template id="new_page_template_services_s_text_cover" inherit_id="website.new_page_template_services_s_text_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
</xpath>
</template>
@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_company_team_card" inherit_id="website.s_company_team_card" name="Buzzy's s_company_team_card">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc5" separator=" "/>
</xpath>
</template>
</odoo>
@@ -8,21 +8,21 @@
</xpath>
<!-- Grid Item -->
<xpath expr="//div[hasclass('o_grid_item')][2]" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc o_cc1" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('o_grid_item')][2]//h3" position="replace" mode="inner">
30+
</xpath>
<!-- Grid Item 2 -->
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[3]//h3" position="replace" mode="inner">
45%
</xpath>
<!-- Grid Item 3 -->
<xpath expr="(//div[hasclass('o_grid_item')])[4]" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[4]//h3" position="replace" mode="inner">
8+