[IMP] theme_*: review s_cover templates

This commit aims to review all the occurrences of the `s_cover`
snippet across the themes in order to fix broken selectors.

task-3665300

Part-of: odoo/design-themes#827
Related: odoo/odoo#172725
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-07-15 22:42:09 +02:00
parent c3bee92507
commit d3d4d7b900
21 changed files with 39 additions and 48 deletions
+1 -5
View File
@@ -4,7 +4,7 @@
<!-- ======== COVER ======== -->
<template id="s_cover" inherit_id="website.s_cover" name="Be Wise s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt200 pb200 o_cc o_cc5 oe_img_bg o_bg_img_center" remove="bg-black-50 s_parallax_is_fixed parallax pt96 pb96" separator=" "/>
<attribute name="class" add="pt200 pb200 o_cc5 oe_img_bg o_bg_img_center" remove="bg-black-50 s_parallax_is_fixed parallax pt232 pb232 o_cc4" separator=" "/>
<attribute name="style">background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 50%;</attribute>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/08_001","flip":[]}</attribute>
<attribute name="data-scroll-background-ratio">0</attribute>
@@ -15,10 +15,6 @@
</xpath>
<!-- Remove the background image for parallax -->
<xpath expr="//span[hasclass('s_parallax_bg')]" position="replace"/>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-lg btn-secondary" remove="btn-primary" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Always at the top