Files
design-themes/theme_yes/views/snippets/s_image_gallery.xml
T
Elisabeth Dickinson 299d504df3 [IMP] theme_yes: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2555035

X-original-commit: 2a2da47270
Part-of: odoo/design-themes#501
2021-09-24 11:09:52 +00:00

31 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_indicators_dots" remove="s_image_gallery_indicators_rounded" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/12", "flip":["x","y"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Floats_12 o_we_flip_x o_we_flip_y"/>
</xpath>
<!-- Container -->
<xpath expr="//*[hasclass('container')]" position="attributes">
<attribute name="class" add="o_container_small" remove="container" separator=" "/>
</xpath>
<!-- Images -->
<xpath expr="//*[hasclass('carousel-item')]//img" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
<xpath expr="//*[hasclass('carousel-item')][2]//img" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
<xpath expr="//*[hasclass('carousel-item')][3]//img" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
</template>
</odoo>