Files
design-themes/theme_odoo_experts/views/snippets/s_comparisons.xml
T
Brieuc-brd c2bf1cf76e [IMP] theme_odoo_experts: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2585389

X-original-commit: b2ab9eadd5
Part-of: odoo/design-themes#501
2021-09-24 11:09:50 +00:00

47 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_comparisons" inherit_id="website.s_comparisons">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5 pb48 o_colored_level" remove="pb32" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/01","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Airy_01"/>
</xpath>
<!-- Box #01 -->
<xpath expr="//div[hasclass('row')]//div" position="attributes">
<attribute name="class" add="pt80" remove="pt32" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="bg-o-color-3" remove="bg-200" separator=" "/>
</xpath>
<!-- Box #01 - Button -->
<xpath expr="//div[hasclass('card')]//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="flat" separator=" "/>
</xpath>
<!-- Box #02 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-5" separator=" "/>
</xpath>
<!-- Box #02 - Button -->
<xpath expr="(//div[hasclass('card')])[2]//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-secondary flat" remove="btn-primary" separator=" "/>
</xpath>
<!-- Box #03 -->
<xpath expr="//div[hasclass('row')]//div[3]" position="attributes">
<attribute name="class" add="pt80" remove="pt32" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="bg-o-color-3" remove="bg-secondary" separator=" "/>
</xpath>
<!-- Box #03 - Button -->
<xpath expr="(//div[hasclass('card')])[3]//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="flat" separator=" "/>
</xpath>
</template>
</odoo>