mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
8366f30360
*: nano, notes, odoo_experts, treehouse, zap This commit reviews the occurrences of the `s_numbers_*` snippets to align them with the new layout of these snippets. Prior to this commit, the layout of those snippet was "broken" due to weird structure like nested rows, .. which prevents the editor to apply a change on the whole content. As we reworked the layout of these snippets to fix the issue, we need to apply these changes in themes as well. task-4223179 closes odoo/design-themes#1012 Related: odoo/odoo#185688 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
44 lines
1.7 KiB
XML
44 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_numbers" inherit_id="website.s_numbers">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="pt0 pb0" remove="pt80 pb80" separator=" "/>
|
|
</xpath>
|
|
<!-- Container -->
|
|
<xpath expr="//div[hasclass('container')]" position="attributes">
|
|
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
|
</xpath>
|
|
<!-- Title & Subtitle -->
|
|
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
|
<attribute name="class" add="pt104 pb64 o_cc o_cc3" separator=" "/>
|
|
</xpath>
|
|
<!-- First KPI -->
|
|
<xpath expr="(//div[hasclass('col-lg-2')])[1]" position="attributes">
|
|
<attribute name="class" add="pt104 pb104 o_cc o_cc1" remove="pt24 pb24" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//span[hasclass('h5-fs')]" position="replace" mode="inner">
|
|
Editions through the Europe
|
|
</xpath>
|
|
<!-- Second KPI -->
|
|
<xpath expr="(//div[hasclass('col-lg-2')])[2]" position="attributes">
|
|
<attribute name="class" add="pt104 pb104 o_cc o_cc4" remove="pt24 pb24" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('s_number')])[2]" position="replace" mode="inner">
|
|
72
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('h5-fs')])[2]" position="replace" mode="inner">
|
|
Artists from around the world
|
|
</xpath>
|
|
<!-- Third KPI -->
|
|
<xpath expr="(//div[hasclass('col-lg-2')])[3]" position="attributes">
|
|
<attribute name="class" add="pt104 pb104 o_cc o_cc2" remove="pt24 pb24" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('h5-fs')])[3]" position="replace" mode="inner">
|
|
Scenes outdoor & indoor
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|