d206c11972
This commit extracts the pre-defined section shapes from blocks into templates that are dedicated to being used by the configurator. For blocks that are not used in configurator pages, the configurator templates have not been created. task-3381714 Part-of: odoo/design-themes#692
31 lines
1.3 KiB
XML
31 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_parallax" inherit_id="website.s_parallax">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="pt48 pb48" separator=" "/>
|
|
</xpath>
|
|
<!-- Content -->
|
|
<xpath expr="//*[hasclass('oe_structure')]" position="inside">
|
|
<section class="s_title pt40 pb40" data-vcss="001">
|
|
<div class="container s_allow_columns">
|
|
<h3 style="text-align: center;"><font class="bg-o-color-5">Feel free to come up with your big idea. <br/> We take care of the rest.</font></h3>
|
|
</div>
|
|
</section>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="configurator_s_parallax" inherit_id="website.configurator_s_parallax">
|
|
<!-- Shape option -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/10", "flip":["x","y"]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//*[hasclass('oe_structure')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Rainy_10" style="background-image: url('/web_editor/shape/web_editor/Rainy/10.svg?c1=o-color-1&c3=o-color-3&flip=xy'); background-position: 50% 50%;"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|