mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] *: adapt themes due to changes made in s_picture snippet
*: theme_bistro, theme_odoo_experts, theme_vehicle, theme_avantgarde, theme_aviato, theme_bookstore, theme_enark, theme_graphene, theme_kea This commit adapts the themes to accommodate layout changes in the s_picture snippet. See also : https://github.com/odoo/odoo/pull/145413 task-3626753 closes odoo/design-themes#753 Related: odoo/odoo#145413 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -8,7 +8,7 @@ const snippets = [
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
{
|
||||
id: 's_three_columns',
|
||||
|
||||
@@ -26,7 +26,7 @@ const snippets = [
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ const snippets = [
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
{
|
||||
id: 's_product_catalog',
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<attribute name="class" add="o_cc3 pt64" remove="o_cc2 pt48 pb24" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Size -->
|
||||
<xpath expr="//div[hasclass('col-lg-10')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-10 offset-lg-1" separator=" "/>
|
||||
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-12" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
|
||||
@@ -18,7 +18,7 @@ const snippets = [
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
{
|
||||
id: 's_product_list',
|
||||
|
||||
@@ -9,7 +9,7 @@ const snippets = [
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
{
|
||||
id: 's_numbers',
|
||||
|
||||
@@ -17,7 +17,7 @@ const snippets = [
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
{
|
||||
id: 's_comparisons',
|
||||
|
||||
@@ -13,7 +13,7 @@ const snippets = [
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
{
|
||||
id: 's_image_text',
|
||||
|
||||
@@ -6,7 +6,7 @@ import { _t } from "@web/core/l10n/translation";
|
||||
const snippets = [
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
{
|
||||
id: 's_references',
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</p>
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-10')]//img" position="attributes">
|
||||
<xpath expr="//div[hasclass('col-lg-12')]//img" position="attributes">
|
||||
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/devices/macbook_front.svg?c3=o-color-3</attribute>
|
||||
<attribute name="data-shape">web_editor/devices/macbook_front</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpg</attribute>
|
||||
|
||||
@@ -17,7 +17,7 @@ const snippets = [
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Picture',
|
||||
name: 'Title - Image',
|
||||
},
|
||||
{
|
||||
id: 's_masonry_block',
|
||||
|
||||
Reference in New Issue
Block a user