[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

X-original-commit: bbdfbba0d5
Part-of: odoo/design-themes#501
This commit is contained in:
Cocographique
2021-06-28 10:04:27 +00:00
committed by qsm-odoo
parent 6d999cfdc6
commit c4ca4397ae
25 changed files with 688 additions and 532 deletions
+50 -42
View File
@@ -1,45 +1,53 @@
<?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="o_cc2 pt64 pb64" remove="pt48 pb48" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//div[hasclass('row')]/div[1]" position="attributes">
<attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[1]/i" position="replace">
<i class="fa fa-3x fa-gear bg-o-color-1 m-3 rounded-circle"/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[1]/h3" position="replace">
<h3 class="text-primary">Security</h3>
</xpath>
<xpath expr="//div[hasclass('row')]/div[1]/p" position="replace">
<p>We keep you safe in the cloud.</p>
</xpath>
<!-- Column #02 -->
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
<attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/i" position="replace">
<i class="fa fa-3x fa-file-text bg-o-color-5 m-3 rounded-circle"/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace">
<h3 class="text-dark">Support</h3>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/p" position="replace">
<p>All types of files are allowed.</p>
</xpath>
<!-- Column #03 -->
<xpath expr="//div[hasclass('row')]/div[3]" position="attributes">
<attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]/h3" position="replace">
<h3 class="text-secondary">Eco-Friendly</h3>
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]/p" position="replace">
<p>All our data centers are emission-free.</p>
</xpath>
</template>
<template id="s_features" inherit_id="website.s_features">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2 pt80 pb80" remove="pt32 pb32" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//*[hasclass('row')]/*[1]" position="attributes">
<attribute name="class" add="o_cc o_cc1 rounded" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<xpath expr="//i" position="replace">
<i class="fa fa-2x fa-lock bg-o-color-1 m-3 rounded-circle"/>
</xpath>
<xpath expr="//h3" position="replace" mode="inner">
Security
</xpath>
<xpath expr="//p" position="replace" mode="inner">
We keep you safe <br/>in the cloud.
</xpath>
<!-- Column #02 -->
<xpath expr="//*[hasclass('row')]/*[2]" position="attributes">
<attribute name="class" add="o_cc o_cc1 rounded" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<xpath expr="(//i)[2]" position="replace">
<i class="fa fa-2x fa-file-text bg-o-color-5 m-3 rounded-circle"/>
</xpath>
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Support
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
All types of files <br/>are allowed.
</xpath>
<!-- Column #03 -->
<xpath expr="//*[hasclass('row')]/*[3]" position="attributes">
<attribute name="class" add="o_cc o_cc1 rounded" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<xpath expr="(//i)[3]" position="replace">
<i class="fa fa-2x fa-leaf bg-secondary m-3 rounded-circle"/>
</xpath>
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Eco-Friendly
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
All our data centers <br/>are emission-free.
</xpath>
</template>
</odoo>