mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_loftspace: revamp the theme
This commit revamp the design of the `theme_loftspace`. task-4178079 part of task-4177975 closes odoo/design-themes#910 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_striped" inherit_id="website.s_striped">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pb0" remove="pb96" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Section -->
|
||||
<xpath expr="//div[hasclass('row')]" position="attributes">
|
||||
<attribute name="class" add="o_grid_mode" separator=" "/>
|
||||
<attribute name="data-row-count">14</attribute>
|
||||
</xpath>
|
||||
<!-- Remove the title -->
|
||||
<xpath expr="//div[hasclass('col-lg-12')]" position="replace"/>
|
||||
|
||||
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
||||
<attribute name="class" add="o_grid_item o_grid_item_image g-col-lg-8 g-height-12" remove="pt24 pb24" separator=" "/>
|
||||
<attribute name="style" add="grid-area: 3 / 1 / 15 / 9; --grid-item-padding-y: 0px; --grid-item-padding-x: 0px;" separator=";"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user