Files
design-themes/theme_kiddo/views/snippets/s_quotes_carousel.xml
T
Brieuc-brd ae199ad589 [IMP] theme_kiddo: redesign of the theme
This commit introduces a redesign of the Kiddo theme.
It also moves 6 svg icons from the "static/src/img/snippets/" to
"static/shapes" to allow the use of the dynamic colors in the Web
Editor.

task-2687297

closes odoo/design-themes#529

Related: odoo/odoo#80658
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-07 11:00:49 +00:00

37 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Carousel item n°1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="//i" position="attributes">
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
</xpath>
<!-- Carousel item n°2 -->
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="mx-auto" remove="mr-auto" separator=" "/>
</xpath>
<xpath expr="(//i)[2]" position="attributes">
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
</xpath>
<!-- Carousel item n°3 -->
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="mx-auto" remove="ml-auto" separator=" "/>
</xpath>
<xpath expr="(//i)[3]" position="attributes">
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
</xpath>
</template>
</odoo>