[IMP] theme_*: adapt s_comparisons_horizontal to themes

*: theme_anelusia, theme_artists, theme_avantgarde, theme_aviato,
theme_beauty, theme_bistro, theme_enark, theme_kea, theme_loftspace,
theme_monglia, theme_nano, theme_notes, theme_orchid, theme_treehouse,
theme_vehicle, theme_yes, theme_zap

This commit adapts the themes to the new `s_comparisons_horizontal`
snippet.

task-4105264
Part of task-4077427

closes odoo/design-themes#992

Related: odoo/odoo#184281
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
mano-odoo
2024-10-21 13:36:38 +02:00
parent 0b82649197
commit b9b7ebd9e9
31 changed files with 212 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@
'views/snippets/s_cta_box.xml',
'views/snippets/s_cover.xml',
'views/snippets/s_company_team.xml',
'views/snippets/s_comparisons_horizontal.xml',
'views/snippets/s_striped_top.xml',
'views/snippets/s_features.xml',
'views/snippets/s_sidegrid.xml',
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_comparisons_horizontal" inherit_id="website.s_comparisons_horizontal">
<!-- Card 1 -->
<xpath expr="//div[hasclass('s_card')]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
<!-- Card 2 -->
<xpath expr="(//div[hasclass('s_card')])[2]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
</template>
</odoo>