[IMP] theme_nano: update the theme

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

task-2590182

Part-of: odoo/design-themes#500
This commit is contained in:
Cocographique
2021-08-01 21:13:17 +00:00
committed by qsm-odoo
parent 24da809ab0
commit 036df33043
34 changed files with 780 additions and 537 deletions
+22 -27
View File
@@ -1,30 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_text" inherit_id="website.s_image_text">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="pt32 pb32" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//div[hasclass('row')]/div[1]" position="attributes">
<attribute name="class" add="p-lg-0" remove="pt16 pb16" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[1]/img" position="attributes">
<attribute name="class" add="w-100 h-100" remove="img-fluid" separator=" "/>
<attribute name="style">object-fit: cover;</attribute>
</xpath>
<!-- Column #02 -->
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
<attribute name="class" add="col-lg-4 offset-lg-1 pt48 pb48" remove="col-lg-6 pt16 pb16" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/h2" position="replace">
<h2>How we Work</h2>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/p[1]" position="replace">
<p>Come up with your big idea. <br/>We take care of the rest.</p>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/p[2]" position="replace">
<p>“Soon is not as good as now.” <br/><b>~Seth Godin</b><br/></p>
</xpath>
</template>
<template id="s_image_text" inherit_id="website.s_image_text">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5 pt48 pb48" remove="pt32 pb32" separator=" "/>
</xpath>
<xpath expr="//*[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid px-0" remove="container" separator=" "/>
</xpath>
<!-- Image + Shape -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_image_text_default_image/web_editor/float/flt_planets_2.svg</attribute>
<attribute name="data-file-name">s_image_text.svg</attribute>
<attribute name="data-shape">web_editor/float/flt_planets_2</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
<!-- Column #02 -->
<xpath expr="//*[hasclass('row')]/*[2]" position="attributes">
<attribute name="class" add="col-lg-5 offset-lg-1 pt48 pb32" remove="col-lg-6 pt16 pb16" separator=" "/>
</xpath>
</template>
</odoo>