[IMP] theme_zap: update the theme

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

task-2545207

Part-of: odoo/design-themes#500
This commit is contained in:
Cocographique
2021-06-28 10:04:27 +00:00
committed by qsm-odoo
parent 3384ab2031
commit bbdfbba0d5
25 changed files with 688 additions and 532 deletions
+40 -37
View File
@@ -1,40 +1,43 @@
<?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="pt64 pb64" remove="pt48 pb24" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//div[hasclass('col-lg-3')][1]" position="attributes">
<attribute name="class" add="shadow-sm bg-white pt64 pb64" remove="pt24 pb24" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-3')][1]/h6" position="replace">
<h6>Business Solutions</h6>
</xpath>
<!-- Column #02 -->
<xpath expr="//div[hasclass('col-lg-3')][2]" position="attributes">
<attribute name="class" add="shadow-sm bg-white pt64 pb64" remove="pt24 pb24" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-3')][2]/span" position="replace">
<span class="s_number display-4">4500</span>
</xpath>
<xpath expr="//div[hasclass('col-lg-3')][2]/h6" position="replace">
<h6>Happy Customers</h6>
</xpath>
<!-- Column #03 -->
<xpath expr="//div[hasclass('col-lg-3')][3]" position="attributes">
<attribute name="class" add="shadow-sm bg-white pt64 pb64" remove="pt24 pb24" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-3')][3]/h6" position="replace">
<h6>Available Languages</h6>
</xpath>
<!-- Column #04 -->
<xpath expr="//div[hasclass('col-lg-3')][4]" position="attributes">
<attribute name="class" add="shadow-sm bg-white pt64 pb64" remove="pt24 pb24" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-3')][4]/h6" position="replace">
<h6>Ongoing Projects</h6>
</xpath>
</template>
<template id="s_numbers" inherit_id="website.s_numbers">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80 pb80" remove="pt48 pb24" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//*[hasclass('row')]/*[1]" position="attributes">
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<xpath expr="(//h6)[1]" position="replace" mode="inner">
<font class="text-o-color-1">Solutions</font>
</xpath>
<!-- Column #02 -->
<xpath expr="//*[hasclass('row')]/*[2]" position="attributes">
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<xpath expr="(//h6)[2]" position="replace" mode="inner">
<font class="text-o-color-1">Customers</font>
</xpath>
<!-- Column #03 -->
<xpath expr="//*[hasclass('row')]/*[3]" position="attributes">
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<xpath expr="(//h6)[3]" position="replace" mode="inner">
<font class="text-o-color-1">Languages</font>
</xpath>
<!-- Column #04 -->
<xpath expr="//*[hasclass('row')]/*[4]" position="attributes">
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<xpath expr="(//h6)[4]" position="replace" mode="inner">
<font class="text-o-color-1">Projects</font>
</xpath>
</template>
</odoo>