mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_product_list
task-4048196 Part of task-3619705 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -4,11 +4,26 @@
|
||||
<template id="s_product_list" inherit_id="website.s_product_list">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt72 pb72" separator=" "/>
|
||||
<attribute name="class" add="pt72 pb72" remove="pt64 pb64" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Container -->
|
||||
<xpath expr="//div[hasclass('container-fluid')]" position="attributes">
|
||||
<attribute name="class" add="container" remove="container-fluid" separator=" "/>
|
||||
<!-- Cards -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')]//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-2')][2]//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-2')][3]//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-2')][4]//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-2')][5]//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-2')][6]//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<!-- Item #1 - Img -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
|
||||
Reference in New Issue
Block a user