mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
8e181539a5
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>
34 lines
1.9 KiB
XML
34 lines
1.9 KiB
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="class" add="o_cc o_cc4 pb72" remove="pb32" separator=" "/>
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/13","flip":["x"]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Wavy_13 o_we_flip_x o_second_extra_shape_mapping"/>
|
|
</xpath>
|
|
<!-- Image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src" add="/web_editor/shape/illustration/baby-svg-561?c1=%23F3997B&unique=45e7f0c7" remove="/web/image/website.s_image_text_default_image" separator=" "/>
|
|
</xpath>
|
|
<!-- Paragraph 1 -->
|
|
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
|
<attribute name="class" add="col-lg-5" remove="col-lg-6" separator=" "/>
|
|
</xpath>
|
|
<!-- Paragraph 2 -->
|
|
<xpath expr="//div[hasclass('col-lg-6')]" position="replace">
|
|
<div class="p-5 col-lg-6 offset-lg-1 o_cc o_cc3 text-center pb120 pt120 rounded shadow border" style="border-color: rgb(44, 41, 39) !important; border-radius: 300px !important; border-width: 2px !important; box-shadow: rgb(44, 41, 39) 15px 15px 0px 0px !important;">
|
|
<h2 style="font-size: 48px;">Activities</h2>
|
|
<p><br/></p>
|
|
<p>Our team is composed of experienced nursery nurses.</p>
|
|
<p>They will propose to your children educational activities, playful, varied and adapted to the stage of development.</p>
|
|
<p><br/></p>
|
|
<p><a href="#" class="btn btn-primary mb-2">Discover more</a></p>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|