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:
@@ -474,4 +474,29 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== BIG NUMBER ======== -->
|
||||
<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/Blocks/03"}</attribute>
|
||||
<attribute name="class" add="o_cc1" remove="o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Blocks_03"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Text -->
|
||||
<xpath expr="//h2/div" position="replace" mode="inner">
|
||||
<font class="text-gradient" style="background-image: linear-gradient(0deg, rgb(56, 60, 214) 0%, rgb(255, 255, 255) 65%);">
|
||||
50+
|
||||
</font>
|
||||
</xpath>
|
||||
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
|
||||
projects shipped
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user