mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
da5c40ff38
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>
44 lines
2.1 KiB
XML
44 lines
2.1 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_cc4" remove="o_cc2" separator=" "/>
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/23","flip":[]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Wavy_23"/>
|
|
</xpath>
|
|
<!-- Container -->
|
|
<xpath expr="//div[hasclass('container')]" position="attributes">
|
|
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
|
</xpath>
|
|
<!-- Row -->
|
|
<xpath expr="//div[hasclass('row')]" position="attributes">
|
|
<attribute name="class" add="px-3" remove="container" separator=" "/>
|
|
</xpath>
|
|
<!-- Column 1 -->
|
|
<xpath expr="//div[hasclass('card-body')]" position="replace">
|
|
<div class="card-body">
|
|
<h3 class="card-title">Local Producers</h3>
|
|
<p class="card-text">As we use local growers, our flowers last longer and smell better. Just like the event you want to celebrate with flowers!</p>
|
|
</div>
|
|
</xpath>
|
|
<!-- Column 2 -->
|
|
<xpath expr="(//div[hasclass('card-body')])[2]" position="replace">
|
|
<div class="card-body">
|
|
<h3 class="card-title">Bio Flowers</h3>
|
|
<p class="card-text">Don't offer pesticides to your beloved one! By choosing our flowers, we guarantee you organic flowers.</p>
|
|
</div>
|
|
</xpath>
|
|
<!-- Column 3 -->
|
|
<xpath expr="(//div[hasclass('card-body')])[3]" position="replace">
|
|
<div class="card-body">
|
|
<h3 class="card-title">Eco-Friendly Packaging</h3>
|
|
<p class="card-text">We use 100% recycled materials. We believe the best gifts should also do good for the planet.</p>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|