mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
845b969555
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#13
Related: odoo/odoo#71665
Related: odoo/odoo#71699
X-original-commit: c483cf2719
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
25 lines
924 B
XML
25 lines
924 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="s_image_text" inherit_id="website.s_image_text">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/07","flip":["y"]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Wavy_07 o_we_flip_y"/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace">
|
|
<h2>The Orchid Concept</h2>
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//p[1]" position="replace">
|
|
<p>From your local producer to your door, discover how we deliver happiness.</p>
|
|
</xpath>
|
|
<xpath expr="//p[2]" position="replace">
|
|
<p><br/></p>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|