mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
ccd4dfefbc
In the community PR, the classes of the `s_text_cover` snippet have been
fixed.
This commit adapts the customizations to these class changes.
task-3665300
closes odoo/design-themes#954
X-original-commit: 2d2ff41168
Related: odoo/odoo#181815
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
36 lines
2.1 KiB
XML
36 lines
2.1 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_cc1" remove="o_cc3" separator=" "/>
|
|
</xpath>
|
|
<!-- Container -->
|
|
<xpath expr="//div[hasclass('row')]" position="attributes">
|
|
<attribute name="data-row-count">15</attribute>
|
|
</xpath>
|
|
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
|
<attribute name="class" add="g-col-lg-6 col-lg-6" remove="g-col-lg-5 col-lg-5 o_cc o_cc1" separator=" "/>
|
|
<attribute name="style">z-index: 1; grid-area: 4 / 2 / 13 / 8; --grid-item-padding-x: 24px; --grid-item-padding-y: 24px; text-align: right;</attribute>
|
|
</xpath>
|
|
<xpath expr="//h1" position="replace" mode="inner">
|
|
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-2) 100%);" class="text-gradient"><strong>The next</strong></font><br/><font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-2) 100%);" class="text-gradient"> <strong>summer</strong></font><br/><font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-2) 100%);" class="text-gradient"> <strong>collection</strong></font>
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
|
<br/>Color trends are already waiting to spring into action for the next summer.<br/>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
|
Discover it
|
|
</xpath>
|
|
<!-- Image -->
|
|
<xpath expr="//div[hasclass('row')]//div[2]" position="attributes">
|
|
<attribute name="class" add="g-col-lg-4 col-lg-4 g-height-15" remove="g-height-11 g-col-lg-6 col-lg-6 o_cc o_cc1" separator=" "/>
|
|
<attribute name="style">grid-area: 1 / 9 / 16 / 13; --grid-item-padding-x: 0px; --grid-item-padding-y: 0px; background-image: url('/web/image/website.s_text_cover_default_image');</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|