[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

X-original-commit: 036df33043
Part-of: odoo/design-themes#501
This commit is contained in:
Cocographique
2021-08-01 21:13:17 +00:00
committed by qsm-odoo
parent 158003bad2
commit c4287ba0d4
34 changed files with 780 additions and 537 deletions
+36 -34
View File
@@ -1,37 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_features" inherit_id="website.s_features">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb48" remove="pb32" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//div[hasclass('row')]/div[1]" position="attributes">
<attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-4" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[1]/i" position="replace">
<i class="fa fa-3x fa-asterisk rounded bg-o-color-5 m-4"></i>
</xpath>
<xpath expr="//div[hasclass('row')]/div[1]/h3" position="replace">
<h2>Intuitive</h2>
</xpath>
<xpath expr="//div[hasclass('row')]/div[1]/p" position="replace">
<p>We create easy-to-use products.</p>
</xpath>
<!-- Column #02 -->
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
<attribute name="class" add="col-lg-5" remove="col-lg-4" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/i" position="replace">
<i class="fa fa-3x fa-arrows-alt rounded bg-primary m-4"></i>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace">
<h2>Adaptable</h2>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/p" position="replace">
<p>We create modular solutions.</p>
</xpath>
<!-- Column #03 -->
<xpath expr="//div[hasclass('row')]/div[3]" position="replace"/>
</template>
<template id="s_features" inherit_id="website.s_features">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt40 pb48 o_cc o_cc5" remove="pt32 pb32" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/12"}</attribute>
</xpath>
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Floats_12"/>
</xpath>
<!-- Column #01 -->
<xpath expr="//h3" position="replace" mode="inner">
Intuitive
</xpath>
<xpath expr="//p" position="replace" mode="inner">
We create easy-to-use products.
</xpath>
<!-- Column #02 -->
<xpath expr="(//i)[2]" position="attributes">
<attribute name="class" add="bg-o-color-4" remove="bg-o-color-5" separator=" "/>
</xpath>
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Adaptable
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
We build modular solutions.
</xpath>
<!-- Column #03 -->
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Durable
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
We craft long-lasting goods.
</xpath>
</template>
</odoo>