[IMP] theme_*: adapt s_references_grid
task-4146798 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
'views/snippets/s_pricelist_boxed.xml',
|
||||
'views/snippets/s_references.xml',
|
||||
'views/snippets/s_references_social.xml',
|
||||
'views/snippets/s_references_grid.xml',
|
||||
'views/snippets/s_text_block.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_references_grid" inherit_id="website.s_references_grid">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]" position="attributes">
|
||||
<attribute name="style">row-gap: 64px;</attribute>
|
||||
</xpath>
|
||||
<!-- Title & Lead -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[1]" position="attributes">
|
||||
<attribute name="class" add="g-height-2" remove="g-height-4" separator=" "/>
|
||||
<attribute name="style">grid-area: 2 / 1 / 4 / 6; z-index: 1;</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user