[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#966

X-original-commit: 47568ec66f
Related: odoo/odoo#182004
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Signed-off-by: Chrysanthe Gomrée (chgo) <chgo@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-09-23 12:48:40 +00:00
parent f29a75764c
commit fc1382ce5a
35 changed files with 610 additions and 249 deletions
@@ -3,6 +3,9 @@
<template id="s_references_social" inherit_id="website.s_references_social">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace" mode="inner">
Barbershop
</xpath>
@@ -15,6 +18,45 @@
<xpath expr="//div[hasclass('row')]/div[5]/h3" position="replace" mode="inner">
Hosoren
</xpath>
<!-- Column #1 -->
<xpath expr="(//div[hasclass('col-lg-3')])//i[hasclass('fa-facebook')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])//i[hasclass('fa-instagram')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])//i[hasclass('fa-twitter')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<!-- Column #2 -->
<xpath expr="(//div[hasclass('col-lg-3')])[2]//i[hasclass('fa-facebook')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[2]//i[hasclass('fa-instagram')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[2]//i[hasclass('fa-twitter')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<!-- Column #3 -->
<xpath expr="(//div[hasclass('col-lg-3')])[3]//i[hasclass('fa-facebook')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[3]//i[hasclass('fa-instagram')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[3]//i[hasclass('fa-twitter')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<!-- Column #4 -->
<xpath expr="(//div[hasclass('col-lg-3')])[4]//i[hasclass('fa-facebook')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[4]//i[hasclass('fa-instagram')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('col-lg-3')])[4]//i[hasclass('fa-twitter')]" position="attributes">
<attribute name="class" remove="rounded shadow-sm" separator=" "/>
</xpath>
</template>
</odoo>