mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
3243aef15b
This commit has two main goals: 1. Adapt the copy of the `s_text_cover` snippet to fit each theme 2. Introduce custom images for each themes, as the `s_text_cover` was always using the same image until now This commit also fixes some conflicting classes due to a change of `background-color` in the default snippet. task-4119904 Part of task-3619705 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
23 lines
736 B
XML
23 lines
736 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_cc3" 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">
|
|
<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>
|
|
</template>
|
|
|
|
</odoo>
|