mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
2ed70c99c9
Removing the container padding in some cases may be fine but cannot be done because would create horizontal scrollbars in full-width mode or simply on mobile devices. To further improve with task-2241779 closes odoo/design-themes#511 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_image_text" inherit_id="website.s_image_text">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc5 pt48 pb48" remove="pt32 pb32" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//*[hasclass('container')]" position="attributes">
|
|
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
|
</xpath>
|
|
<!-- Image + Shape -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/web_editor/image_shape/website.s_image_text_default_image/web_editor/float/flt_planets_2.svg</attribute>
|
|
<attribute name="data-file-name">s_image_text.svg</attribute>
|
|
<attribute name="data-shape">web_editor/float/flt_planets_2</attribute>
|
|
<attribute name="data-shape-colors">;;;;</attribute>
|
|
</xpath>
|
|
<!-- Column #02 -->
|
|
<xpath expr="//*[hasclass('row')]/*[2]" position="attributes">
|
|
<attribute name="class" add="col-lg-5 offset-lg-1 pt48 pb32" remove="col-lg-6 pt16 pb16" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|