Files
design-themes/theme_notes/views/snippets/s_banner.xml
T
Brieuc-brd 620da7cfa4 [IMP] theme_notes: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2590454

X-original-commit: 352692754c
Part-of: odoo/design-themes#501
2021-09-24 11:09:49 +00:00

30 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_banner" inherit_id="website.s_banner">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/08","flip":["x","y"]}</attribute>
</xpath>
<!-- Filter & Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-75"/>
<div class="o_we_shape o_web_editor_Floats_08 o_we_flip_x o_we_flip_y"/>
</xpath>
<!-- Jumbotron -->
<xpath expr="//div[hasclass('jumbotron')]" position="attributes">
<attribute name="class" remove="o_cc o_cc1" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Enjoy the atmosphere
</xpath>
<!-- Add space between title and paragraph -->
<xpath expr="//p[hasclass('lead')]" position="before">
<p><br/></p>
</xpath>
</template>
</odoo>