mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_big_number across themes
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo_experts, orchid, real_estate, treehouse, vehicle, yes, zap This commit adapts the occurrences of the `s_big_number` snippet across design themes. task-4094391 Part of task-4077427 closes odoo/design-themes#894 Related: odoo/odoo#175920 Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
'views/snippets/s_pricelist_boxed.xml',
|
||||
'views/snippets/s_striped_center_top.xml',
|
||||
'views/snippets/s_intro_pill.xml',
|
||||
'views/snippets/s_big_number.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_big_number" inherit_id="website.s_big_number">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/18"}</attribute>
|
||||
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Origins_18 o_we_animated"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Text -->
|
||||
<xpath expr="//h2/div" position="attributes">
|
||||
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//h2/div" position="replace" mode="inner">
|
||||
1,250
|
||||
</xpath>
|
||||
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
|
||||
trees planted since last year
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user