Files
design-themes/theme_bistro/views/snippets/s_cover.xml
T
Guillaume (gdi) 1aa6700c98 [IMP] theme_*: prevent abuse of h1 and use font size classes
See related community PR.

task-1958098

closes odoo/design-themes#682

Related: odoo/enterprise#44986
Related: odoo/odoo#129791
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2023-10-19 19:08:09 +00:00

41 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cover" inherit_id="website.s_cover">
<!-- Parallax -->
<xpath expr="//*[hasclass('s_parallax_bg')]" position="attributes">
<attribute name="style" add="background-position: 50% 100%;" remove="background-position: 50% 0;" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Seasonal<br/> Flavors
</xpath>
<xpath expr="//h1" position="before">
<i class="fa fa-5x fa-leaf text-o-color-3 mx-auto my-4"/>
</xpath>
<!-- Paragraph -->
<xpath expr="//p" position="replace" mode="inner">
Daily fresh products combined with our professional yet convivial service<br/> to create a true gastronomic experience.
</xpath>
<xpath expr="//p" position="after">
<p class="lead" style="text-align: center;"><br/></p>
</xpath>
<!-- Button -->
<xpath expr="//a//t" position="replace" mode="inner">
Our Menu
</xpath>
</template>
<template id="configurator_s_cover" inherit_id="website.configurator_s_cover">
<!-- Shape option -->
<xpath expr="section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Zigs/06"}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Zigs_06"/>
</xpath>
</template>
</odoo>