Files
design-themes/theme_yes/views/snippets/s_cover.xml
T
Benjamin Vray 9e62a84326 [FIX] theme_yes: prevent scroll button editing
Before this commit, it was possible to edit the scroll button of the
cover snippet in Yes theme.

task-2656662

closes odoo/design-themes#520

X-original-commit: d90399677b
Related: odoo/odoo#78562
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-19 12:39:08 +00:00

36 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cover" inherit_id="website.s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height pt208 pb256" remove="pt96 pb96" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001"}</attribute>
</xpath>
<!-- Filter & shape -->
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
<div class="o_we_shape o_web_editor_Origins_14_001"/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
<font style="font-size: 92px; font-weight: bold;">Once in a lifetime moments</font>
</xpath>
<!-- Paragraph -->
<xpath expr="//p" position="replace" mode="inner">
You focus on the big day, let us focus on you.
</xpath>
<!-- Button -->
<xpath expr="//a//t" position="replace" mode="inner">
Meet us
</xpath>
<!-- Scroll Down Button -->
<xpath expr="//*[hasclass('container')]" position="after">
<a class="o_scroll_button rounded-circle align-items-center justify-content-center mx-auto mb-5 text-white o_not_editable" href="#" contenteditable="false" title="" style="background-color: rgba(25, 41, 37, 0.55) !important;" data-original-title="Scroll down to next section">
<i class="fa fa-chevron-down fa-1x"></i>
</a>
</xpath>
</template>
</odoo>