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

*: artists, aviato, bistro, nano, notes

This commit adapts the design of `s_company_team_spotlight` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-4147920

closes odoo/design-themes#903

Part-of: task-4077427
Related: odoo/odoo#179844
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Xavier Luyckx (xlu)
2024-09-10 18:33:15 +02:00
parent 014a33d9f8
commit 99b5db0139
10 changed files with 91 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@
'views/snippets/s_freegrid.xml',
'views/snippets/s_company_team.xml',
'views/snippets/s_company_team_basic.xml',
'views/snippets/s_company_team_spotlight.xml',
'views/snippets/s_product_list.xml',
'views/snippets/s_color_blocks_2.xml',
'views/snippets/s_company_team_shapes.xml',
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_company_team_spotlight" inherit_id="website.s_company_team_spotlight" name="Artists s_company_team_spotlight">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath>
<!-- Team Member 1 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
<attribute name="style">border-width: 0px !important; border-radius: 0px !important;</attribute>
</xpath>
<!-- Team Member 2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
<attribute name="style">border-width: 0px !important; border-radius: 0px !important;</attribute>
</xpath>
<!-- Team Member 3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
<attribute name="style">border-width: 0px !important; border-radius: 0px !important;</attribute>
</xpath>
<!-- Team Member 4 -->
<xpath expr="(//div[hasclass('card')])[4]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
<attribute name="style">border-width: 0px !important; border-radius: 0px !important;</attribute>
</xpath>
</template>
</odoo>