[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:
Brieuc-brd
2024-07-17 13:12:49 +02:00
parent 24fb7e0ed1
commit 0211b2367d
15 changed files with 45 additions and 36 deletions
@@ -4,13 +4,14 @@
<template id="s_product_catalog" inherit_id="website.s_product_catalog">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5 pb160 pt160 parallax s_parallax_is_fixed s_parallax_no_overflow_hidden o_full_screen_height" remove="pb32 pt48" separator=" "/>
<attribute name="class" add="o_cc o_cc5 pb160 pt160 parallax s_parallax_is_fixed s_parallax_no_overflow_hidden o_full_screen_height" remove="pb64 pt64" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/10","flip":[]}</attribute>
<attribute name="data-scroll-background-ratio">1</attribute>
</xpath>
<!-- Shape & Background image -->
<xpath expr="//section/*" position="before">
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace">
<span class="s_parallax_bg oe_img_bg o_bg_img_center" style="background-image: url('/web/image/website.s_product_catalog_default_image');"/>
<div class="o_we_bg_filter bg-black-50"/>
<div class="o_we_shape o_web_editor_Wavy_10"/>
</xpath>
<!-- Title & subtitles -->
@@ -24,8 +25,8 @@
Paris edition
</xpath>
<!-- Description -->
<xpath expr="//div[hasclass('container')]//p" position="replace">
<p style="text-align: center;">Get your ticket now</p>
<xpath expr="//div[hasclass('container')]//p" position="replace" mode="inner">
Get your ticket now
</xpath>
<!-- Left column : names -->
<xpath expr="//ul/t/t" position="replace" mode="inner">