[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:
@@ -147,7 +147,7 @@
|
||||
<template id="s_picture" inherit_id="website.s_picture" name="Vehicle s_picture">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
|
||||
<attribute name="class" add="o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace">
|
||||
@@ -159,7 +159,6 @@
|
||||
</xpath>
|
||||
<!-- Image + Shape -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" remove="img-thumbnail padding-large" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_picture_default_image</attribute>
|
||||
<attribute name="data-file-name">01.svg</attribute>
|
||||
</xpath>
|
||||
@@ -167,7 +166,7 @@
|
||||
<span class="text-o-color-3">Our uniquely designed LED headlights are not only gorgeous but powerfully light your way.</span>
|
||||
</xpath>
|
||||
<!-- Filter -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<xpath expr="//div[hasclass('o_container_small')]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user