[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
+31 -18
View File
@@ -1,21 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_text_image" inherit_id="website.s_text_image">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt64 pb64" remove="pt32 pb32" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace">
<h2>Shaping our future</h2>
</xpath>
<!-- Paragraph -->
<xpath expr="//p[1]" position="replace">
<p>With all the global problems our planet faces today,<br/> communities of people concerned with them are growing<br/> to prevent the negative impact.</p>
</xpath>
<!-- Paragraph -->
<xpath expr="//p[2]" position="replace">
<p><br/></p>
</xpath>
</template>
<template id="s_text_image" inherit_id="website.s_text_image">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80 pb80" remove="pt32 pb32" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Shaping our future
</xpath>
<!-- Paragraph -->
<xpath expr="//p[1]" position="replace" mode="inner">
With all the global problems our planet faces today,<br/> communities of people concerned with them are growing<br/> to prevent the negative impact.
</xpath>
<!-- Paragraph -->
<xpath expr="//p[2]" position="replace">
<p><br/></p>
</xpath>
<!-- Image + Shape -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_text_image_default_image/web_editor/basic/bsc_organic_2.svg</attribute>
<attribute name="data-file-name">text_image.svg</attribute>
<attribute name="data-shape">web_editor/basic/bsc_organic_2</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
<!-- Subtitle -->
<xpath expr="//h2" position="before">
<p style="font-size: 12px;"><b>ABOUT US</b></p>
</xpath>
</template>
</odoo>