mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
68c68740bf
The new text_cover snippet introduced in commit [1] reproduces the same result as the Anelusia banner. It makes more sense to use now this new snippet and get rid of the banner customizations. This commit removes banner customizations in favor of text_cover snippet. As the text_cover snippet is not yet managed in the svg preview, this snippet uses the banner image. [1]: https://github.com/odoo/odoo/commit/5ac340b1b27c9527463e2eed65fe2e7768b36702 task-3097005 Part-of: odoo/design-themes#687
30 lines
1.0 KiB
XML
30 lines
1.0 KiB
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_cc o_cc4" separator=" "/>
|
|
</xpath>
|
|
<!-- Container -->
|
|
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
|
<attribute name="style">text-align: right;</attribute>
|
|
</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>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
|
<attribute name="class" add="btn-lg" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
|
Discover it
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|