Files
design-themes/theme_kea/views/snippets/s_image_text.xml
T
xlu-odoo 004e38398a [IMP] theme_kea: update the theme
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
2021-09-20 10:54:04 +00:00

25 lines
993 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_text" inherit_id="website.s_image_text">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2 pt232" remove="pt32" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/22","flip":["y"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_22 o_we_flip_y"/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/shape/theme_kea/s_image_text.svg?c1=o-color-1</attribute>
</xpath>
<!-- Title -->
<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">Enter in a new world</font>
</xpath>
</template>
</odoo>