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>
27 lines
1.4 KiB
XML
27 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="s_text_image" inherit_id="website.s_text_image">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc3 pb128" separator=" "/>
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/04"}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Wavy_04" />
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//div[hasclass('col-lg-6')]" position="replace">
|
|
<div class="col-lg-6 p-5 border shadow rounded" style="border-width: 1px !important; border-color: rgb(229, 229, 229) !important; border-radius: 20px !important; box-shadow: rgba(0, 0, 0, 0.15) -20px 20px 0px 0px !important;">
|
|
<h2>Let yourself be transported</h2>
|
|
<p><br/></p>
|
|
<p>Welcome to my online home. I invite you to come in, learn more about me and my work, and stop to embrace the slow pleasure of art and beauty.</p>
|
|
</div>
|
|
</xpath>
|
|
<!-- Picture -->
|
|
<xpath expr="(//div[hasclass('col-lg-6')])[2]" position="attributes">
|
|
<attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-6" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|