mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
d60776bdd2
Some snippets contain incorrect font style that are not achievable using the editor (for example: <h2 class="display-3"> in the "Key benefits" snippet). These snippets were adapted in the community commit linked to this one to align with what the editor would generate if we recreated them from scratch. In this commit, we adapt the themes following the change in community. We also fix a few issues (e.g., wording for the ´s_numbers´ snippet) noticed during the changes. task-4148057 closes odoo/design-themes#895 Related: odoo/odoo#178957 Signed-off-by: Robin Lejeune (role) <role@odoo.com>
39 lines
1.8 KiB
XML
39 lines
1.8 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="o_cc2" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<!-- Column #2 -->
|
|
<xpath expr="(//div[hasclass('col-lg-4')])[2]" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
|
|
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//span[hasclass('h5-fs')]" position="replace" mode="inner">
|
|
<font class="text-o-color-1">Solutions</font>
|
|
</xpath>
|
|
<!-- Column #3 -->
|
|
<xpath expr="(//div[hasclass('col-lg-4')])[3]" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
|
|
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('s_number')])[2]" position="replace" mode="inner">
|
|
98%
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('h5-fs')])[2]" position="replace" mode="inner">
|
|
<font class="text-o-color-1">Happy customers</font>
|
|
</xpath>
|
|
<!-- Column #4 -->
|
|
<xpath expr="(//div[hasclass('col-lg-4')])[4]" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
|
|
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('h5-fs')])[3]" position="replace" mode="inner">
|
|
<font class="text-o-color-1">Languages</font>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|