mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
f29a75764c
task-4178092
part of task-4177975
closes odoo/design-themes#965
X-original-commit: 9763584495
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Signed-off-by: Chrysanthe Gomrée (chgo) <chgo@odoo.com>
36 lines
1.8 KiB
XML
36 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_kickoff" inherit_id="website.s_kickoff">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="data-scroll-background-ratio"/>
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/11_001",'colors':{'c3':'o-color-3', 'c4':'rgba(0, 0, 0, 0.5)'},"flip":["y"]}</attribute>
|
|
<attribute name="style" add="background-image:url(/web/image/website.s_kickoff_default_image)" separator=";"/>
|
|
<attribute name="class" add="pt0 pb0 oe_img_bg o_bg_img_center o_full_screen_height" remove="s_parallax s_parallax_is_fixed pt232 pb88" separator=" "/>
|
|
</xpath>
|
|
<!-- Remove Parallax + shape -->
|
|
<xpath expr="//span[hasclass('s_parallax_bg')]" position="replace"/>
|
|
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
|
<div class="o_we_shape o_web_editor_Origins_11_001" style="background-image: url('/web_editor/shape/web_editor/Origins/11_001.svg?c3=o-color-3&c4=rgba(0, 0, 0, 0.5)&flip=y'); background-position: 50% 100%;"/>
|
|
</xpath>
|
|
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="attributes">
|
|
<attribute name="class" add="bg-black-25" remove="bg-black-50" separator=" "/>
|
|
</xpath>
|
|
<!-- Container -->
|
|
<xpath expr="//div[hasclass('container')]" position="attributes">
|
|
<attribute name="style" add="text-align: center;" separator=";"/>
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//p" position="replace"/>
|
|
<!-- Title -->
|
|
<xpath expr="//h1" position="replace">
|
|
<h1 class="display-1" style="text-align: center;">Creating the perfect day<br/>just as you imagined</h1>
|
|
</xpath>
|
|
<xpath expr="//h1" position="after">
|
|
<a t-att-href="cta_btn_href" class="btn btn-lg btn-secondary">Get Started</a>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|