Files
design-themes/theme_kiddo/views/snippets/s_three_columns.xml
T
Younn Olivier da5c40ff38 [IMP] theme_*: use theme colors for snippets background
This commit changes the bg-200 static color that some snippets were
using, for the second theme color so that blocks backgrounds connect
well together.

task-2542318

closes odoo/design-themes#15

Related: odoo/odoo#71426
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-10 13:39:33 +00:00

48 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_three_columns" inherit_id="website.s_three_columns">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc3 pb152" remove="o_cc2 pb32" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/19","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_19"/>
</xpath>
<!-- Column 1 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 2px !important; border-color: rgb(44, 41, 39) !important;" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('card-body')]" position="replace">
<div class="card-body">
<h3 class="card-title">Philosophy</h3>
<p class="card-text">Aiming to achieve the best physical, mental, emotional and social development of children, our centre promotes active learning strategies</p>
</div>
</xpath>
<!-- Column 2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 2px !important; border-color: rgb(44, 41, 39) !important;" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('card-body')])[2]" position="replace">
<div class="card-body">
<h3 class="card-title">Nursery</h3>
<p class="card-text">Since 2020, we welcome children from 0 to 3 years in a warm and specific environment for the needs of small children.</p>
</div>
</xpath>
<!-- Column 3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 2px !important; border-color: rgb(44, 41, 39) !important;" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('card-body')])[3]" position="replace">
<div class="card-body">
<h3 class="card-title">Activities</h3>
<p class="card-text">All activities are primarily aimed at procuring pleasure, and at the psychomotor, cognitive and affective development of the child.</p>
</div>
</xpath>
</template>
</odoo>