Files
design-themes/theme_notes/views/snippets/s_quotes_carousel.xml
T
mano-odoo 0bb5f6c93e [IMP] theme_notes: revamp theme
Revamp the theme design and adapt its existing snippets

task-4178083
Part of task-4177975

closes odoo/design-themes#927

Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
2024-09-24 16:22:19 +00:00

36 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc3" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="oe_img_bg o_bg_img_center" remove="carousel-dark" separator=" "/>
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_6'); background-position: 50% 65%;</attribute>
</xpath>
<!-- Filter -->
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
<div class="o_we_bg_filter bg-black-75"/>
</xpath>
<!-- Carousel -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" remove="o_cc o_cc2" separator=" "/>
</xpath>
<!-- Carousel item #1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="style"/>
</xpath>
<!-- Carousel item #2 -->
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
<attribute name="style"/>
</xpath>
<!-- Carousel item #3 -->
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
<attribute name="style"/>
</xpath>
</template>
</odoo>