[IMP] theme_beauty: adapt s_banner

Since the redesign of the original banner snippet, the customizations
made in theme_beauty have had to be adapted.

task-3097005

Part-of: odoo/design-themes#687
This commit is contained in:
Brieuc-brd
2023-08-28 11:45:24 +02:00
committed by qsm-odoo
parent be90e2acbe
commit 6e3b30d3f9
4 changed files with 12 additions and 10 deletions
+1 -9
View File
@@ -4,15 +4,7 @@
<template id="s_banner" inherit_id="website.s_banner">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt168 pb168" remove="pt48 pb24" separator=" "/>
</xpath>
<!-- Change position of background image -->
<xpath expr="//span[hasclass('s_parallax_bg')]" position="attributes">
<attribute name="style" add="background-position: 50% 100%;" remove="background-position: 50% 0;" separator=";"/>
</xpath>
<!-- Jumbotron -->
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc1" separator=" "/>
<attribute name="class" add="o_cc o_cc3" separator=" "/>
</xpath>
</template>