mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
245385c5df
This commit aims to review all the occurrences of the `s_text_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>
26 lines
888 B
XML
26 lines
888 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_text_cover" inherit_id="website.s_text_cover">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
|
</xpath>
|
|
<!-- Container -->
|
|
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
|
<attribute name="style" add="text-align: right;" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//h1" position="replace" mode="inner">
|
|
The next<br/> summer<br/> collection
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
|
Color trends are already waiting to spring <br/>into action for the next summer.
|
|
</xpath>
|
|
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
|
Discover it
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|