[IMP] theme_odoo_experts: revamp the theme

task-4178086
part of task-4177975

X-original-commit: 238f347935
Part-of: odoo/design-themes#971
Related: odoo/odoo#182039
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-09-14 22:57:45 +02:00
committed by qsm-odoo
parent 7f7540ab13
commit 54fc022773
20 changed files with 787 additions and 387 deletions
@@ -4,10 +4,42 @@
<template id="s_references" inherit_id="website.s_references">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt0 pb56 o_cc2" remove="pt80 pb80 o_cc1" separator=" "/>
<attribute name="class" add="pt0 pb56" remove="pt80 pb80" separator=" "/>
</xpath>
<!-- Remove title, subtitle and button -->
<xpath expr="//div[hasclass('col-lg-12')]" position="replace"/>
<xpath expr="//div[hasclass('row')]" position="attributes">
<attribute name="class" add="o_grid_mode" separator=" "/>
<attribute name="data-row-count">2</attribute>
<attribute name="style" add="column-gap: 24px;"/>
</xpath>
<!-- Items -->
<xpath expr="//div[hasclass('col-lg-2')]" position="attributes">
<attribute name="class" add="o_grid_item g-col-lg-2 g-height-2 o_grid_item_image o_cc o_cc2" separator=" "/>
<attribute name="style" add="grid-area: 1 / 1 / 3 / 3; z-index: 1;" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-2')])[2]" position="attributes">
<attribute name="class" add="o_grid_item g-col-lg-2 g-height-2 o_grid_item_image o_cc o_cc2" separator=" "/>
<attribute name="style" add="grid-area: 1 / 3 / 3 / 5; z-index: 2;" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-2')])[3]" position="attributes">
<attribute name="class" add="o_grid_item g-col-lg-2 g-height-2 o_grid_item_image o_cc o_cc2" separator=" "/>
<attribute name="style" add="grid-area: 1 / 5 / 3 / 7; z-index: 3;" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-2')])[4]" position="attributes">
<attribute name="class" add="o_grid_item g-col-lg-2 g-height-2 o_grid_item_image o_cc o_cc2" separator=" "/>
<attribute name="style" add="grid-area: 1 / 7 / 3 / 9; z-index: 4;" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-2')])[5]" position="attributes">
<attribute name="class" add="o_grid_item g-col-lg-2 g-height-2 o_grid_item_image o_cc o_cc2" separator=" "/>
<attribute name="style" add="grid-area: 1 / 9 / 3 / 11; z-index: 5;" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-2')])[6]" position="attributes">
<attribute name="class" add="o_grid_item g-col-lg-2 g-height-2 o_grid_item_image o_cc o_cc2" separator=" "/>
<attribute name="style" add="grid-area: 1 / 11 / 3 / 13; z-index: 6;" separator=";"/>
</xpath>
</template>
</odoo>