mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
004e38398a
This commit updates the theme to improve the design
with background shapes, new pictures and new custom snippets.
task-2591476
X-original-commit: 88b81d41da
Part-of: odoo/design-themes#498
28 lines
1.2 KiB
XML
28 lines
1.2 KiB
XML
<?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="o_cc o_cc2 pt64 pb232" remove="pt32 pb32" separator=" "/>
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/22","flip":["x"]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Wavy_22 o_we_flip_x o_second_extra_shape_mapping"/>
|
|
</xpath>
|
|
<!-- Image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/web_editor/shape/theme_kea/s_text_image.svg?c1=o-color-1</attribute>
|
|
</xpath>
|
|
<!-- Title & Paragraph -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-2) 100%);" class="text-gradient">Full immersion</font>
|
|
</xpath>
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Write one or two paragraphs describing your product or services. To be successful your content needs to be useful to your readers.
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|