mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/16","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<xpath expr="//div[hasclass('o_container_small')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_16" style="background-image: url('/web_editor/shape/web_editor/Origins/16.svg?c3=o-color-2&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
@@ -43,7 +43,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/16","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<xpath expr="//div[hasclass('o_container_small')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_16" style="background-image: url('/web_editor/shape/web_editor/Origins/16.svg?c3=o-color-2&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
@@ -90,7 +90,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/16","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<xpath expr="//div[hasclass('o_container_small')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_16" style="background-image: url('/web_editor/shape/web_editor/Origins/16.svg?c3=o-color-2&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<template id="s_picture" inherit_id="website.s_picture">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_colored_level o_cc4 pt96" remove="o_cc2 pt48" separator=" "/>
|
||||
<attribute name="class" add="o_colored_level o_cc4 pt96" remove="pt64" separator=" "/>
|
||||
</xpath>
|
||||
|
||||
<!-- Heading -->
|
||||
|
||||
Reference in New Issue
Block a user