Files
design-themes/theme_anelusia/views/snippets/s_image_gallery.xml
T
Brieuc-brd 2c264af33e [IMP] theme_anelusia: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2573284

X-original-commit: c3bc687a76
Part-of: odoo/design-themes#501
2021-09-24 11:09:42 +00:00

35 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_images_wall" inherit_id="website.s_images_wall">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt0 pb0 o_cc o_cc5 o_spc-none" remove="pt24 pb24 o_spc-small" separator=" "/>
</xpath>
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
</template>
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_cover o_full_screen_height s_image_gallery_indicators_dots" remove="s_image_gallery_indicators_rounded" separator=" "/>
</xpath>
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
<!-- Item #2 - Img -->
<xpath expr="//div[hasclass('carousel-item')][2]/img" position="attributes">
<attribute name="src">/web/image/website.library_image_16</attribute>
</xpath>
<!-- Item #2 - Indicator -->
<xpath expr="//ul[hasclass('carousel-indicators')]//li[3]" position="attributes">
<attribute name="style">background-image: url(/web/image/website.library_image_16)</attribute>
</xpath>
</template>
</odoo>