[IMP] theme_*: adapt themes with new s_company_team_grid snippet

*: anelusia, artists, beauty, bewise, bistro, bookstore, clean, cobalt,
kea, kiddo, monglia, nano, notes, orchid, real_estate, treehouse,
vehicle, yes

This commit adapts the design of new `s_company_team_grid` snippet for
multiple themes.

task-4150614

closes odoo/design-themes#901

Part-of: task-4077427
Related: odoo/odoo#179791
Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
This commit is contained in:
Xavier Luyckx (xlu)
2024-09-02 17:14:46 +02:00
committed by Chrysanthe (chgo)
parent b9b7ebd9e9
commit 5051a4a68a
29 changed files with 621 additions and 0 deletions
+1
View File
@@ -55,6 +55,7 @@
'views/snippets/s_images_constellation.xml',
'views/snippets/s_text_cover.xml',
'views/snippets/s_empowerment.xml',
'views/snippets/s_company_team_grid.xml',
'views/new_page_template.xml',
],
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath>
<!-- Team #01 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
</xpath>
<!-- Team #02 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc2" separator=" "/>
</xpath>
<!-- Team #03 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
</xpath>
<!-- Team #05 -->
<xpath expr="(//div[hasclass('card')])[5]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
</xpath>
</template>
</odoo>