mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_anelusia, *: s_product_catalog adaptations
*: theme_artists, theme_avantgarde, theme_beauty, theme_bewise, theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_kiddo, theme_loftspace, theme_notes, theme_odoo_experts, theme_orchid, theme_paptic This commit adapts the s_product_catalog customizations since this snippet has been redesigned in PR [1]. task-3665307 Part of task-3619705 [1]:https://github.com/odoo/odoo/pull/173507 closes odoo/design-themes#833 Related: odoo/odoo#173507 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -5,17 +5,15 @@
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="style"/>
|
||||
<attribute name="class" add="parallax s_parallax_is_fixed o_cc o_cc5 pt120 pb104" remove="pt48 pb32" separator=" "/>
|
||||
<attribute name="class" add="parallax s_parallax_is_fixed o_cc o_cc5 pt120 pb104" remove="pt64 pb64" separator=" "/>
|
||||
<attribute name="data-scroll-background-ratio">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="before">
|
||||
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace">
|
||||
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_product_catalog_default_image'); background-position: 50% 0%;"/>
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace"/>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p" position="replace"/>
|
||||
<!-- Remove Title & lead -->
|
||||
<xpath expr="//div[hasclass('row')]" position="replace"/>
|
||||
</template>
|
||||
|
||||
<template id="configurator_s_product_catalog" inherit_id="website.configurator_s_product_catalog">
|
||||
@@ -30,13 +28,8 @@
|
||||
</template>
|
||||
|
||||
<template id="s_product_catalog_dish" inherit_id="website.s_product_catalog_dish">
|
||||
<xpath expr="//li" position="inside">
|
||||
<p class="s_product_catalog_dish_description border-top text-muted pt-1 o_default_snippet_text">
|
||||
<em>Add the description of this dish here.</em>
|
||||
</p>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('s_product_catalog_dish_name')]" position="attributes">
|
||||
<attribute name="class" remove="s_product_catalog_dish_dot_leaders" separator=" "/>
|
||||
<xpath expr="//li" position="attributes">
|
||||
<attribute name="class" add="mb-3" remove="mb-4" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user