[IMP] theme_treehouse: update the theme

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

task-2542281

Part-of: odoo/design-themes#500
This commit is contained in:
Cocographique
2021-06-23 08:59:38 +00:00
committed by qsm-odoo
parent 4946a528fd
commit e18a0ff128
31 changed files with 684 additions and 520 deletions
+26 -21
View File
@@ -1,24 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cover" inherit_id="website.s_cover">
<!-- Section -->
<xpath expr="section" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt96 pb96" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace">
<h1 style="text-align: center;">
<font style="font-size: 62px;"><b>Life on Earth</b></font>
</h1>
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace">
<p class="lead" style="text-align: center;">Our mission is to create a shared plan for saving the planets most exceptional wild places.</p>
<p class="lead" style="text-align: center;"><br/></p>
</xpath>
<!-- Button -->
<xpath expr="//a" position="replace">
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg mb-2"><t t-esc="cta_btn_text">Get involved</t></a>
</xpath>
</template>
<template id="s_cover" inherit_id="website.s_cover">
<!-- Section -->
<xpath expr="section" position="attributes">
<attribute name="class" add="pt160 pb160" remove="pt96 pb96" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="before">
<i class="fa fa-2x fa-bug d-block my-3 mx-auto rounded-circle bg-o-color-4 text-o-color-1"/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
<font style="font-size: 62px;"><b>— Life on Earth —</b></font>
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
Our mission is to create a shared plan<br/> for saving the planets most exceptional wild places.
</xpath>
<xpath expr="//p" position="after">
<p class="lead" style="text-align: center;"><br/></p>
</xpath>
<!-- Button -->
<xpath expr="//a//t" position="replace" mode="inner">
Get involved
</xpath>
</template>
</odoo>