Files
design-themes/theme_odoo_experts/views/snippets/s_comparisons.xml
T
Brieuc-brd f3f495d29f [IMP] theme_odoo_experts: fine tune the theme with device shapes
This commit improves the global layout of theme_odoo_experts to give
more variety with the others corporate themes (buzzy, graphene, clean,
etc.).
The purpose is to have a theme that can be used to present an
application and to promote the new category of device shapes.

task-2666049

closes odoo/design-themes#525

Related: odoo/odoo#79068
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-03-08 15:54:38 +00:00

37 lines
1.5 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="data-oe-shape-data">{"shape":"web_editor/Wavy/04","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_04"/>
</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 #02 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('card')])[2]//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-secondary" remove="bg-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>
</template>
</odoo>