Files
design-themes/theme_loftspace/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

21 lines
871 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="pt64 pb64" remove="pt80 pb80" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/10","flip":["x"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Airy_10" style="background-image: url('/web_editor/shape/web_editor/Airy/10.svg?c5=o-color-1&amp;flip=x'); background-position: 50% 100%;"/>
</xpath>
<!-- Img wrapper -->
<xpath expr="//div[hasclass('row')]//div" position="attributes">
<attribute name="class" add="col-lg-5" remove="col-lg-6" separator=" "/>
</xpath>
</template>
</odoo>