mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
8ff74b77c6
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>
17 lines
699 B
XML
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&c2=o-color-2&c3=o-color-3&flip=x'); background-position: 50% 100%;"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|