[IMP] theme_*: adapt s_carousel_intro

task-4077628
Part of task-4077427

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-03 13:39:43 +02:00
committed by qsm-odoo
parent 8e2ad3496f
commit 42a2d6e3a6
72 changed files with 1149 additions and 0 deletions
+22
View File
@@ -205,6 +205,28 @@
</xpath>
</template>
<!-- ======== CAROUSEL INTRO ======== -->
<template id="s_carousel_intro" inherit_id="website.s_carousel_intro" name="s_carousel_intro s_carousel">
<!-- Layout -->
<xpath expr="//div[hasclass('carousel')]" position="attributes">
<attribute name="class" remove="carousel-dark" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<!-- Texts -->
<xpath expr="(//h2)[2]" position="replace" mode="inner">
Leading the future with innovation
</xpath>
</template>
<!-- ==== References ===== -->
<template id="s_references" inherit_id="website.s_references" name="Paptic s_references">
<xpath expr="//div[hasclass('col-lg-12')]" position="replace"/>