c483cf2719
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 Related: odoo/odoo#71665 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
18 lines
783 B
XML
18 lines
783 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="s_parallax" inherit_id="website.s_parallax">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12","flip":["y"]}</attribute>
|
|
</xpath>
|
|
<!-- Bg Image -->
|
|
<xpath expr="//span[hasclass('s_parallax_bg')]" position="replace">
|
|
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 75%;"/>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//section/*[last()]" position="before">
|
|
<div class="o_we_shape o_web_editor_Airy_12 o_we_flip_y"/>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|