Files
design-themes/theme_nano/views/snippets/s_carousel.xml
T
Cocographique c4287ba0d4 [IMP] theme_nano: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2590182

X-original-commit: 036df33043
Part-of: odoo/design-themes#501
2021-09-24 11:09:49 +00:00

21 lines
847 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="s_carousel_bordered carousel-fade bg-o-color-4" remove="s_carousel_default" 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-slide-to='2']" position="replace"/>
</template>
</odoo>