[IMP] theme_nano: adapt s_banner

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

task-3097005

Part-of: odoo/design-themes#687
This commit is contained in:
Brieuc-brd
2023-08-28 16:21:36 +02:00
committed by qsm-odoo
parent 153c819f9c
commit 1c1599bc7d
4 changed files with 11 additions and 13 deletions
+1 -13
View File
@@ -4,19 +4,7 @@
<template id="s_banner" inherit_id="website.s_banner">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt256 o_cc o_cc5" remove="pt96 pb96" separator=" "/>
<attribute name="style" add="background-position: 50% 100%;" remove="background-position: 50% 0;" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/12_001"}</attribute>
</xpath>
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Bold_12_001"/>
</xpath>
<xpath expr="//*[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
<!-- Box -->
<xpath expr="//*[hasclass('jumbotron')]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
</template>