mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
f66833de41
*: theme_anelusia, theme_artists, theme_avantgarde, theme_cobalt, theme_cobalt, theme_enark, theme_loftspace, theme_notes, theme_odoo_experts, theme_bewise, theme_bistro, theme_buzzy, theme_clean, theme_graphene, theme_nano, theme_treehouse, theme_yes, theme_aviato, theme_beauty, theme_bookstore, theme_kea, theme_kiddo, theme_monglia, theme_orchid, theme_paptic, theme_real_estate, theme_vehicle, theme_zap This commit adapts the customizations related to `s_carousel`, s_image_gallery` and `s_quotes_carousel` since these snippets has been redesigned in PR[1]. task-3654328 Part of task-3619705 [1]: https://github.com/odoo/odoo/pull/172727 closes odoo/design-themes#836 Related: odoo/odoo#172727 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
21 lines
802 B
XML
21 lines
802 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_carousel" inherit_id="website.s_carousel">
|
|
<!-- Carousel -->
|
|
<xpath expr="//*[hasclass('s_carousel')]" position="attributes">
|
|
<attribute name="class" add="carousel-fade bg-o-color-4" separator=" "/>
|
|
</xpath>
|
|
<!-- Slide #01 -->
|
|
<xpath expr="//*[hasclass('carousel-content')][1]" position="attributes">
|
|
<attribute name="class" add="col-lg-8 offset-lg-2 bg-black-50 text-center pt48 pb40" remove="col-lg-6" separator=" "/>
|
|
</xpath>
|
|
<!-- Slide #02 -->
|
|
<xpath expr="//*[hasclass('s_hr')][1]" position="replace"/>
|
|
<!-- Slide #03 -->
|
|
<xpath expr="//*[hasclass('carousel-item')][3]" position="replace"/>
|
|
<xpath expr="//*[@data-bs-slide-to='2']" position="replace"/>
|
|
</template>
|
|
|
|
</odoo>
|