mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
aa5ce391ae
This commit reviews the occurrences of the numbers snippets across the website themes, especially broken selector. The goal of this commit is to fix potential broken xpath as wel as fine-tune the design if needed. task-3924624 Part-of: odoo/design-themes#822 Related: odoo/odoo#163583 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
23 lines
829 B
XML
23 lines
829 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('s_number')]" position="replace" mode="inner">
|
|
<b>12</b>
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('s_number')])[2]" position="replace" mode="inner">
|
|
<b>45</b>
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('s_number')])[3]" position="replace" mode="inner">
|
|
<b>8</b>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|