mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
46a1d66d96
This commit updates the theme to improve the design with new colors, new pictures and new snippet customizations. task-2580170 Part-of: odoo/design-themes#500
36 lines
1.4 KiB
XML
36 lines
1.4 KiB
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_cc5 pt128" remove="pt32" separator=" "/>
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/05","flip":[]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Wavy_05"/>
|
|
</xpath>
|
|
<!-- Text wrapper -->
|
|
<xpath expr="//div[hasclass('col-lg-6')][2]" position="attributes">
|
|
<attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-6" separator=" "/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Discover <br/>my works
|
|
</xpath>
|
|
<xpath expr="//h2" position="after">
|
|
<p><br/></p>
|
|
</xpath>
|
|
<!-- Picture -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/web_editor/image_shape/website.s_image_text_default_image/web_editor/basic/bsc_square_3.svg</attribute>
|
|
<attribute name="data-shape">web_editor/basic/bsc_square_3</attribute>
|
|
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
|
<attribute name="data-file-name">s_image_text.svg</attribute>
|
|
<attribute name="data-shape-colors">;;;;</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|