[IMP] theme_nano: revamp the theme

This commit revamps the design of the `theme_nano`.

task-4178081
part of task-4177975

closes odoo/design-themes#935

Related: odoo/odoo#181369
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-09-23 14:48:40 +02:00
parent 9763584495
commit 47568ec66f
35 changed files with 610 additions and 249 deletions
+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers" inherit_id="website.s_numbers">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-4')]" position="replace"/>
<xpath expr="//div[hasclass('col-lg-7')]" position="replace">
<div class="col-lg-4 pt24 pb24">
<p class="lead" style="text-align: center;">
<span class="s_number display-1-fs">50+</span><br/>
<span class="h5-fs">Happy customers</span>
</p>
</div>
<div class="col-lg-4 pt24 pb24" style="box-shadow: var(--o-border-color) 1px 0px 0px 0px inset !important;">
<p class="lead" style="text-align: center;">
<span class="s_number display-1-fs">40h</span><br/>
<span class="h5-fs">Average shipping time</span>
</p>
</div>
<div class="col-lg-4 pt24 pb24" style="box-shadow: var(--o-border-color) 1px 0px 0px 0px inset !important;">
<p class="lead" style="text-align: center;">
<span class="s_number display-1-fs">4.5</span><br/>
<span class="h5-fs">Review Rate</span>
</p>
</div>
</xpath>
</template>
</odoo>