Files
design-themes/theme_nano/views/snippets/s_image_text.xml
T
Chrysanthe (chgo) c3bee92507 [IMP] theme_*: adapt s_image_text templates
This commit aims to review all the occurrences of the `s_image_text`
snippet across the themes in order to fix broken selectors.

task-3665301

closes odoo/design-themes#830

Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:51 +00:00

26 lines
1.1 KiB
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_cc5 pt48 pb48" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="//*[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
<!-- Image + Shape -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_image_text_default_image/web_editor/composition/composition_planet_2.svg</attribute>
<attribute name="data-file-name">s_image_text.svg</attribute>
<attribute name="data-shape">web_editor/composition/composition_planet_2</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
<!-- Column #02 -->
<xpath expr="//*[hasclass('row')]/*[2]" position="attributes">
<attribute name="class" add="pt48 pb32" remove="pt16 pb16" separator=" "/>
</xpath>
</template>
</odoo>