Files
design-themes/theme_zap/views/snippets/s_banner.xml
T

51 lines
2.2 KiB
XML
Raw Normal View History

2021-05-10 15:45:35 +02:00
<?xml version="1.0" encoding="utf-8"?>
<odoo>
2021-06-28 10:04:27 +00:00
<template id="s_banner" inherit_id="website.s_banner">
<!-- Section -->
<xpath expr="//section" position="attributes">
2023-08-29 13:13:29 +02:00
<attribute name="class" add="pt256 pb48 parallax s_parallax_is_fixed" remove="pt96 pb96" separator=" "/>
<attribute name="data-scroll-background-ratio">1</attribute>
2021-06-28 10:04:27 +00:00
</xpath>
<xpath expr="//*[hasclass('container')]" position="before">
2023-08-29 13:13:29 +02:00
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_banner_default_image'); background-position: 50% 0;"/>
2021-06-28 10:04:27 +00:00
</xpath>
2023-08-29 13:13:29 +02:00
<!-- Row - remove grid mode -->
<xpath expr="//div[hasclass('row')]" position="attributes">
<attribute name="class" remove="o_grid_mode" separator=" "/>
<attribute name="data-row-count"/>
2023-08-29 13:13:29 +02:00
</xpath>
<!-- Remove grid images -->
<xpath expr="//div[hasclass('o_grid_item_image')]" position="replace"/>
<xpath expr="//div[hasclass('o_grid_item_image')]" position="replace"/>
<xpath expr="//div[hasclass('col-lg-5')]" position="replace"/>
2021-06-28 10:04:27 +00:00
<!-- Column -->
<xpath expr="//*[hasclass('col-lg-4')]" position="attributes">
<attribute name="class" add="col-lg-8 pt48 pb32 px-5 o_cc o_cc1 rounded" remove="o_grid_item g-height-10 g-col-lg-4 col-lg-4" separator=" "/>
2023-08-29 13:13:29 +02:00
<attribute name="style">box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;</attribute>
2021-06-28 10:04:27 +00:00
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
<b>Software innovation</b><br/> at its best.
2021-06-28 10:04:27 +00:00
</xpath>
<!-- Text -->
2023-08-29 13:13:29 +02:00
<xpath expr="//h1" position="attributes">
<attribute name="class" remove="display-1" separator=" "/>
</xpath>
2021-06-28 10:04:27 +00:00
<xpath expr="//p" position="replace">
<p class="lead">Harness the power of disruptive technologies to increase<br/> your day-to-day business operations.</p>
</xpath>
2023-08-29 13:13:29 +02:00
<xpath expr="//div[hasclass('col-lg-8')]//p[2]" position="attributes">
<attribute name="class" add="mb-0" separator=" "/>
2021-06-28 10:04:27 +00:00
</xpath>
<!-- Buttons -->
2023-08-29 13:13:29 +02:00
<xpath expr="//a" position="replace" mode="inner">
2021-06-28 10:04:27 +00:00
Our Solutions
</xpath>
2023-08-29 13:13:29 +02:00
<xpath expr="//a" position="attributes">
<attribute name="class" remove="btn-lg" separator=" "/>
</xpath>
2021-06-28 10:04:27 +00:00
</template>
2021-05-10 15:45:35 +02:00
</odoo>