Files
design-themes/theme_clean/views/snippets/s_image_text.xml
T
Xavier Luyckx (xlu) c31b3c7c83 [IMP] theme_clean: improve theme
task-4178066
Part of task-4177975

closes odoo/design-themes#929

Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-25 08:09:15 +00:00

24 lines
1008 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_text" inherit_id="website.s_image_text">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc1 pt48 pb72" remove="pt80 pb80" separator=" "/>
</xpath>
<!-- Add space after title -->
<xpath expr="//h2" position="after">
<p><br/></p>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_image_text_default_image/web_editor/pattern/pattern_labyrinth.svg?c1=o-color-3&amp;c2=o-color-5&amp;c4=o-color-1</attribute>
<attribute name="data-shape">web_editor/pattern/pattern_labyrinth</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">image_content_20.svg</attribute>
<attribute name="data-shape-colors">o-color-3;o-color-5;;o-color-1;</attribute>
</xpath>
</template>
</odoo>