mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
0bb5f6c93e
Revamp the theme design and adapt its existing snippets task-4178083 Part of task-4177975 closes odoo/design-themes#927 Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
38 lines
2.1 KiB
XML
38 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="s_image_gallery_arrows_boxed" remove="s_image_gallery_arrows_default" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="s_images_wall" inherit_id="website.s_images_wall">
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="pb80" remove="pt24 pb24" separator=" "/>
|
|
<attribute name="data-oe-shape-data" add="{'shape':'web_editor/Origins/07_002','colors':{'c3':'o-color-1','c4':'o-color-4','c5':'o-color-1'},'flip':['x'],'showOnMobile':false,'shapeAnimationSpeed':'0'}"/>
|
|
</xpath>
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Origins_07_002" style="background-image: url('/web_editor/shape/web_editor/Origins/07_002.svg?c3=o-color-1&c4=o-color-4&c5=o-color-1&flip=x');"></div>
|
|
</xpath>
|
|
<xpath expr="//div[hasclass('row')]/." position="before">
|
|
<div class="col-lg-12">
|
|
<h2 style="text-align: center;"><span class="o_text_highlight o_text_highlight_underline o_translate_inline" style="--text-highlight-color: var(--o-color-4); --text-highlight-width: 3px;"><span class="o_text_highlight_item">Band Gallery<svg fill="none" class="o_text_highlight_svg o_content_no_merge position-absolute overflow-visible top-0 start-0 w-100 h-100 pe-none"><path stroke-width="var(--text-highlight-width)" stroke="var(--text-highlight-color)" stroke-linecap="round" d="M 0,44 h 241.765625" class="o_text_highlight_path_underline"></path></svg></span></span></h2>
|
|
<p>
|
|
<br/>
|
|
</p>
|
|
</div>
|
|
</xpath>
|
|
<!-- First image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/web/image/website.library_image_19</attribute>
|
|
</xpath>
|
|
<!-- Third image -->
|
|
<xpath expr="(//img)[3]" position="attributes">
|
|
<attribute name="src">/web/image/website.s_cover_default_image</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|