Files
design-themes/theme_anelusia/views/snippets/s_text_cover.xml
T

36 lines
2.1 KiB
XML
Raw Normal View History

2021-08-04 14:38:09 +00:00
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_text_cover" inherit_id="website.s_text_cover">
2021-08-04 14:38:09 +00:00
<!-- Section -->
<xpath expr="//section" position="attributes">
2024-09-13 13:05:55 +02:00
<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=" "/>
2024-09-13 13:05:55 +02:00
<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>
2021-08-04 14:38:09 +00:00
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
2024-09-13 13:05:55 +02:00
<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>
2021-08-04 14:38:09 +00:00
</xpath>
<!-- Paragraph -->
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
2024-08-08 18:55:23 +02:00
<br/>Color trends are already waiting to spring into action for the next summer.<br/>
2021-08-04 14:38:09 +00:00
</xpath>
2024-08-08 18:55:23 +02:00
<!-- Button -->
2021-08-04 14:38:09 +00:00
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
Discover it
</xpath>
2024-09-13 13:05:55 +02:00
<!-- 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=" "/>
2024-09-13 13:05:55 +02:00
<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>
2021-08-04 14:38:09 +00:00
</template>
</odoo>