mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user