[IMP] theme_enark: update the theme

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

task-2601581

Part-of: odoo/design-themes#500
This commit is contained in:
xlu-odoo
2021-07-22 14:33:03 +00:00
committed by qsm-odoo
parent 00982a6616
commit 3f75d0377b
26 changed files with 493 additions and 333 deletions
+50 -47
View File
@@ -1,50 +1,53 @@
<?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_cc1" remove="o_cc2" separator=" "/>
</xpath>
<!-- Row 1 -->
<xpath expr="(//div[hasclass('row')])[2]" position="attributes">
<attribute name="class" add="border rounded" separator=" "/>
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
<attribute name="class" add="col-lg-6" remove="col-lg-4" separator=" "/>
</xpath>
<!-- Row 2 -->
<xpath expr="(//div[hasclass('row')])[3]" position="attributes">
<attribute name="class" add="border rounded" separator=" "/>
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
</xpath>
<!-- Row 3 -->
<xpath expr="(//div[hasclass('row')])[4]" position="attributes">
<attribute name="class" add="o_cc o_cc5 flex-row-reverse border rounded" remove="o_cc o_cc1" separator=" "/>
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
</xpath>
<!-- Text 3 -->
<xpath expr="(//div[hasclass('col-lg-8')])[3]" position="replace">
<div class="col-lg-8 s_media_list_body">
<h3 class="card-title">Know our clients.</h3>
<p class="card-text">We always start by exploring our clients goals, priorities, lifestyle, and tastes.</p>
<a href="#">Continue reading <i class="fa fa-long-arrow-right align-middle ml-1"></i></a>
</div>
</xpath>
<!-- Text 2 -->
<xpath expr="(//div[hasclass('col-lg-8')])[2]" position="replace">
<div class="col-lg-8 s_media_list_body">
<h3 class="card-title">Nature friendly</h3>
<p class="card-text">Our creations integrate and are in perfect harmony with their environment.</p>
</div>
</xpath>
<!-- Text 1 -->
<xpath expr="//div[hasclass('col-lg-8')]" position="replace">
<div class="col-lg-6 s_media_list_body">
<h3 class="card-title">Construction site</h3>
<p class="card-text">Our mastery of construction techniques has been built up over time through our close collaboration with the workers and our sustained presence on the construction sites.</p>
<a href="#" class="btn btn-primary mb-2">Discover more</a>
</div>
</xpath>
</template>
<template id="s_media_list" inherit_id="website.s_media_list">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
</xpath>
<!-- Row 1 - Layout -->
<xpath expr="(//div[hasclass('row')])[2]" position="attributes">
<attribute name="class" add="border rounded" separator=" "/>
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
<attribute name="class" add="col-lg-6" remove="col-lg-4" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-8')]" position="attributes">
<attribute name="class" add="col-lg-6" remove="col-lg-8" separator=" "/>
</xpath>
<!-- Row #1 - Title & paragraph -->
<xpath expr="//div[hasclass('s_media_list_body')]//h3" position="replace" mode="inner">
Construction site
</xpath>
<xpath expr="//div[hasclass('s_media_list_body')]//p" position="replace" mode="inner">
Our mastery of construction techniques has been built up over time through our close collaboration with the workers and our sustained presence on the construction sites.
</xpath>
<!-- Row 2 - Layout -->
<xpath expr="(//div[hasclass('row')])[3]" position="attributes">
<attribute name="class" add="border rounded" separator=" "/>
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
</xpath>
<!-- Row #2 - Title & paragraph -->
<xpath expr="(//div[hasclass('s_media_list_body')])[2]//h3" position="replace" mode="inner">
Nature friendly
</xpath>
<xpath expr="(//div[hasclass('s_media_list_body')])[2]//p" position="replace" mode="inner">
Our creations integrate and are in perfect harmony with their environment.
</xpath>
<!-- Row 3 - Layout -->
<xpath expr="(//div[hasclass('row')])[4]" position="attributes">
<attribute name="class" add="o_cc o_cc5 flex-row-reverse border rounded" remove="o_cc o_cc1" separator=" "/>
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
</xpath>
<!-- Row #3 - Title & paragraph -->
<xpath expr="(//div[hasclass('s_media_list_body')])[3]//h3" position="replace" mode="inner">
Know our clients.
</xpath>
<xpath expr="(//div[hasclass('s_media_list_body')])[3]//p" position="replace" mode="inner">
We always start by exploring our clients goals, priorities, lifestyle, and tastes.
</xpath>
</template>
</odoo>