[IMP] theme_loftspace: update the theme

This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2557927

X-original-commit: 0d61d590ea
Part-of: odoo/design-themes#501
This commit is contained in:
Brieuc-brd
2021-06-07 14:47:59 +00:00
committed by qsm-odoo
parent ff59efb1b1
commit 0fcc823bed
37 changed files with 742 additions and 425 deletions
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_media_list" inherit_id="website.s_media_list">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_colored_level" separator=" "/>
</xpath>
<!-- Media List Item #1 -->
<xpath expr="//div[hasclass('s_media_list_item')]//div[hasclass('row')]" position="attributes">
<attribute name="style">border-radius: 3px !important; box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<xpath expr="//div[hasclass('s_media_list_img_wrapper')]" position="attributes">
<attribute name="class" remove="col-lg-4" add="col-lg-6" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('s_media_list_body')]" position="attributes">
<attribute name="class" remove="col-lg-8" add="col-lg-6" separator=" "/>
</xpath>
<!-- Media List Item #2 -->
<xpath expr="//div[hasclass('s_media_list_item')][2]//div[hasclass('row')]" position="attributes">
<attribute name="class" add="flex-row-reverse" separator=" "/>
<attribute name="style">border-radius: 3px !important; box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<xpath expr="(//div[hasclass('s_media_list_img_wrapper')])[2]" position="attributes">
<attribute name="class" remove="col-lg-4" add="col-lg-6" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('s_media_list_body')])[2]" position="attributes">
<attribute name="class" remove="col-lg-8" add="col-lg-6" separator=" "/>
</xpath>
<!-- Media List Item #3 -->
<xpath expr="//div[hasclass('s_media_list_item')][3]//div[hasclass('row')]" position="attributes">
<attribute name="style">border-radius: 3px !important; box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<xpath expr="(//div[hasclass('s_media_list_img_wrapper')])[3]" position="attributes">
<attribute name="class" remove="col-lg-4" add="col-lg-6" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('s_media_list_body')])[3]" position="attributes">
<attribute name="class" remove="col-lg-8" add="col-lg-6" separator=" "/>
</xpath>
</template>
</odoo>