mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
d3d4d7b900
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>
31 lines
1.1 KiB
XML
31 lines
1.1 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_full_screen_height o_cc3" remove="o_cc4" separator=" "/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h1" position="replace" mode="inner">
|
|
Bringing life to your interior
|
|
</xpath>
|
|
<!-- Paragraphs -->
|
|
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
|
Discover our unique pieces of furniture selected for you.
|
|
</xpath>
|
|
<xpath expr="//p[hasclass('lead')]" position="after">
|
|
<p><br/></p>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
|
Discover More
|
|
</xpath>
|
|
<xpath expr="//a[@t-att-href='cta_btn_href'][1]" position="attributes">
|
|
<attribute name="class" add="btn-primary" remove="btn-secondary" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//a[@t-att-href='cta_btn_href'][2]" position="replace"/>
|
|
</template>
|
|
|
|
</odoo>
|