Files
design-themes/theme_orchid/views/snippets/s_kickoff.xml
T
stefanorigano (SRI) de490359d6 [IMP] theme_orchid: revamp the theme
task-4178087
part of task-4177975

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00

30 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="configurator_s_kickoff" inherit_id="website.configurator_s_kickoff">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="oe_img_bg" remove="parallax s_parallax_is_fixed" separator=" "/>
<attribute name="style" add="background-image: url('/web/image/website.s_kickoff_default_image'); background-position: 100% 100%;" separator=";"/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/14_001','colors':{'c3':'o-color-3','c4':'rgba(255, 0, 0, 0)'},'showOnMobile':true}</attribute>
</xpath>
<!-- Refine shape's colors -->
<xpath expr="//div[hasclass('o_we_shape')]" position="attributes">
<attribute name="style">background-image: url('/web_editor/shape/web_editor/Origins/14_001.svg?c3=o-color-3&amp;c4=rgba(255, 0, 0, 0)');</attribute>
</xpath>
<!-- Remove the parallax effect: the background image has been already set in the main <section> tag -->
<xpath expr="//span[hasclass('s_parallax_bg')]" position="replace"/>
<!-- Text -->
<xpath expr="//p" position="replace" mode="inner">
Bloom with Joy:
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Fresh Flowers Delivered to Your Doorstep!
</xpath>
</template>
</odoo>