[IMP] theme_artists: adapt theme with new s_numbers_grid snippet

This commit adapts the design of new `s_numbers_grid` snippet for
`theme_artists`

task-4094390

closes odoo/design-themes#855

Related: odoo/odoo#175733
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Antoine (anso)
2024-08-05 17:51:05 +02:00
parent 26dbfa11d2
commit 5abb487a21
2 changed files with 37 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@
'views/snippets/s_image_title.xml',
'views/snippets/s_numbers.xml',
'views/snippets/s_quadrant.xml',
'views/snippets/s_numbers_grid.xml',
'views/snippets/s_picture.xml',
'views/snippets/s_image_text.xml',
'views/snippets/s_features_grid.xml',
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_grid" inherit_id="website.s_numbers_grid">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
</xpath>
<!-- Cells -->
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[2]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[3]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[4]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[5]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[6]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[7]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[8]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
</template>
</odoo>