Files
design-themes/theme_yes/views/snippets/s_cover.xml
T
Chrysanthe (chgo) d3d4d7b900 [IMP] theme_*: review s_cover templates
This commit aims to review all the occurrences of the `s_cover`
snippet across the themes in order to fix broken selectors.

task-3665300

Part-of: odoo/design-themes#827
Related: odoo/odoo#172725
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-26 17:36:07 +00:00

48 lines
1.9 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="pt232 pb232" separator=" "/>
</xpath>
<!-- Filter -->
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="attributes">
<attribute name="class" add="display-1-fs" remove="display-3-fs" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Once in a lifetime moments
</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-bs-original-title="Scroll down to next section">
<i class="fa fa-chevron-down fa-1x"></i>
</a>
</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/Origins/14_001"}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_14_001"/>
</xpath>
</template>
</odoo>