Files
design-themes/theme_kea/views/snippets/s_cover.xml
T
qsm-odoo 8e181539a5 [IMP] theme_*: remove hardcoded colors on shapes and snippets
Instead now use another custom mapping for the default colors of the
shapes which are used for the default homepage. This allows for the
built page to work with any color palette (especially useful for built
pages in the new configurator) and to handle footer/header connection.

Also change some shapes and default background colors to match what
the preview wanted directly (instead of relying on user asked change as
that would not be handled when generating the page automatically with
the configurator).

Part of https://github.com/odoo/design-themes/pull/2
task-2491890

closes odoo/design-themes#12

closes odoo/design-themes#14

Related: odoo/odoo#71665
Related: odoo/odoo#71768
X-original-commit: 845b969555
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-04 15:52:42 +00:00

26 lines
1.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cover" inherit_id="website.s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_full_screen_height" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/07_001","flip":[]}</attribute>
</xpath>
<!-- Title & Paragraph -->
<xpath expr="//div[hasclass('container')]" position="replace">
<div class="container s_allow_columns text-center">
<h1>
<font style="font-size: 62px;"><b>The Ultimate Laptop</b></font>
</h1>
<p class="lead">Speed up your work with the last laptop. 3.4Ghz, 8 cores.<br/>
Youll be unstoppable all day long (up to 11 hours).</p>
<p><a href="/contactus" class="btn btn-primary mb-2">Discover</a></p>
</div>
</xpath>
<!-- Shape -->
<xpath expr="//section//*[last()]" position="after">
<div class="o_we_shape o_web_editor_Origins_07_001"/>
</xpath>
</template>
</odoo>