mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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>
|
||||
Reference in New Issue
Block a user