Files
design-themes/theme_beauty/views/snippets/s_picture.xml
T
Chrysanthe (chgo) 8ff74b77c6 [IMP] theme_*: review s_picture snippet occurrences
The goal of this commit is to fix xpath after the `s_picture` snippet
redesign, and eventually tweak some classes.

task-4047748

closes odoo/design-themes#824

Related: odoo/odoo#172740
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
2024-07-24 10:26:52 +00:00

17 lines
699 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_picture" inherit_id="website.s_picture">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/06","flip":["x"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Rainy_06" style="background-image: url('/web_editor/shape/web_editor/Rainy/06.svg?c1=o-color-1&amp;c2=o-color-2&amp;c3=o-color-3&amp;flip=x'); background-position: 50% 100%;"/>
</xpath>
</template>
</odoo>