[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
-2
View File
@@ -57,8 +57,6 @@
'views/snippets/s_wavy_grid.xml',
'views/snippets/s_text_cover.xml',
'views/snippets/s_empowerment.xml',
'views/snippets/s_numbers_boxed.xml',
'views/snippets/s_company_team_card.xml',
'views/snippets/s_split_intro.xml',
'views/snippets/s_numbers_framed.xml',
'views/new_page_template.xml',
@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_company_team_card" inherit_id="website.s_company_team_card" name="Kiddo's s_company_team_card">
<!-- Team Member 1 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
</xpath>
<!-- Team Member 2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
</xpath>
<!-- Team Member 3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
</xpath>
<!-- Team Member 4 -->
<xpath expr="(//div[hasclass('card')])[4]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
</xpath>
</template>
</odoo>
@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_boxed" inherit_id="website.s_numbers_boxed">
<!-- Grid Item -->
<xpath expr="//div[hasclass('o_grid_item')][2]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc3" separator=" "/>
</xpath>
<!-- Grid Item 2 -->
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc3" separator=" "/>
</xpath>
<!-- Grid Item 3 -->
<xpath expr="(//div[hasclass('o_grid_item')])[4]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc3" separator=" "/>
</xpath>
</template>
</odoo>
@@ -4,7 +4,7 @@
<template id="s_text_cover" inherit_id="website.s_text_cover">
<!-- Section -->
<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>
<xpath expr="//h1" position="replace" mode="inner">
The next<br/> summer<br/> collection