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:
@@ -45,6 +45,7 @@
|
||||
'views/snippets/s_key_images.xml',
|
||||
'views/snippets/s_quadrant.xml',
|
||||
'views/snippets/s_intro_pill.xml',
|
||||
'views/snippets/s_big_number.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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/Blobs/04"}</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Blobs_04"/>
|
||||
</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">
|
||||
20M
|
||||
</xpath>
|
||||
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
|
||||
Monthly listeners on streaming platforms
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user