Files
design-themes/theme_bistro/views/snippets/s_cover.xml
T
Benoit Socias 38a02a269a [FIX] theme_*: fix used separators in class and style updates
*: anelusia, artists, avantgarde, aviato, bistro, bookstore, buzzy,
   clean, enark, graphene, kea, kiddo, monglia, nano, notes,
   odoo_experts, paptic, real_estate, treehouse, vehicle, yes, zap

This commit fixes the wrong separators used when updating class and
style attributes.

task-4206845

Part-of: odoo/design-themes#933
Related: odoo/odoo#181194
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
2024-09-26 08:40:55 +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>