Files
design-themes/theme_kea/views/snippets/s_media_list.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

55 lines
3.0 KiB
XML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_media_list" inherit_id="website.s_media_list">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
</xpath>
<!-- Row 3 -->
<xpath expr="(//div[hasclass('row')])[4]" position="attributes">
<attribute name="class" add="o_cc5 flex-row-reverse rounded" remove="o_cc1" separator=" "/>
<attribute name="style" add="border-radius: 25px !important;" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-4')])[3]" position="attributes">
<attribute name="class" add="col-lg-3" remove="col-lg-4" separator=" "/>
</xpath>
<!-- Row 2 -->
<xpath expr="(//div[hasclass('row')])[3]" position="attributes">
<attribute name="class" add="rounded o_cc5" remove="o_cc1" separator=" "/>
<attribute name="style" add="border-radius: 25px !important;" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-4')])[2]" position="attributes">
<attribute name="class" add="col-lg-3" remove="col-lg-4" separator=" "/>
</xpath>
<!-- Row 1 -->
<xpath expr="(//div[hasclass('row')])[2]" position="attributes">
<attribute name="class" add="rounded flex-row-reverse o_cc5" remove="o_cc1" separator=" "/>
<attribute name="style" add="border-radius: 25px !important;" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
<attribute name="class" add="col-lg-6" remove="col-lg-4" separator=" "/>
</xpath>
<!-- Text 3 -->
<xpath expr="(//div[hasclass('col-lg-8')])[3]" position="replace">
<div class="col-lg-9 s_media_list_body">
<h3 class="card-title">Services</h3>
<p class="card-text">We make it a point of honour to offer you a 5-star service. We are here to answer all your hardware problems from smartphone, tablets to your computer.</p>
</div>
</xpath>
<!-- Text 2 -->
<xpath expr="(//div[hasclass('col-lg-8')])[2]" position="replace">
<div class="col-lg-9 s_media_list_body">
<h3 class="card-title">Quality</h3>
<p class="card-text">We only use original parts or parts of equivalent quality. We make sure you get the best quality available on the market at the best price. All our interventions are guaranteed for a period of one year.</p>
</div>
</xpath>
<!-- Text 1 -->
<xpath expr="//div[hasclass('col-lg-8')]" position="replace">
<div class="col-lg-6 s_media_list_body">
<h3 class="card-title">Motherboard Repair</h3>
<p class="card-text">No. 1 in Macbook and iPhone motherboard repair in the world. We are the preferred subcontractor for many electronic repair companies.</p>
</div>
</xpath>
</template>
</odoo>