[IMP] theme_anelusia, *: adapt s_quotes_carousel_compact

*: theme_artists, theme_clean, theme_enark, theme_loftspace, theme_nano,
theme_notes

This commit adapts customizations for `s_quotes_carousel_compact`.

task-4174008
Part of task-4077427

closes odoo/design-themes#993

Related: odoo/odoo#184670
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Brieuc-brd
2024-10-22 10:01:35 +02:00
parent bd8ff4cb1d
commit b2beaaffa0
14 changed files with 141 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@
'views/snippets/s_comparisons.xml',
'views/snippets/s_quotes_carousel.xml',
'views/snippets/s_quotes_carousel_minimal.xml',
'views/snippets/s_quotes_carousel_compact.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_key_benefits.xml',
'views/snippets/s_pricelist_boxed.xml',
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel_compact" inherit_id="website.s_quotes_carousel_compact">
<xpath expr="//div[hasclass('s_quotes_carousel_compact')]" position="attributes">
<attribute name="class" remove="o_cc2 carousel-dark" add="o_cc3" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc3" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc3" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc3" separator=" "/>
</xpath>
</template>
</odoo>