mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
@@ -4,12 +4,11 @@
|
||||
<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>
|
||||
<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_Airy_01"/>
|
||||
<div class="o_we_shape o_web_editor_Wavy_04"/>
|
||||
</xpath>
|
||||
<!-- Box #01 -->
|
||||
<xpath expr="//div[hasclass('row')]//div" position="attributes">
|
||||
@@ -18,17 +17,12 @@
|
||||
<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=" "/>
|
||||
<attribute name="class" add="btn-secondary" remove="bg-primary" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Box #03 -->
|
||||
<xpath expr="//div[hasclass('row')]//div[3]" position="attributes">
|
||||
@@ -37,10 +31,6 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user