Files
design-themes/theme_odoo_experts/views/snippets/s_numbers.xml
T
Benjamin Vray d60776bdd2 [FIX] theme_*: fix font style of snippet headers
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>
2024-09-06 13:58:55 +00:00

23 lines
882 B
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="pt200 pb200 oe_img_bg o_bg_img_center o_cc4" remove="pt80 pb80 o_cc1" separator=" "/>
<attribute name="style">background-image:url('/web_editor/shape/theme_odoo_experts/s_numbers.svg?c1=o-color-1');</attribute>
</xpath>
<!-- Numbers -->
<xpath expr="//span[hasclass('h5-fs')]" position="replace" mode="inner">
<strong>Useful options</strong>
</xpath>
<xpath expr="(//span[hasclass('h5-fs')])[2]" position="replace" mode="inner">
<strong>More leads</strong>
</xpath>
<xpath expr="(//span[hasclass('h5-fs')])[3]" position="replace" mode="inner">
<strong>Amazing pages</strong>
</xpath>
</template>
</odoo>