mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
54c7977709
*: theme_avantgarde, theme_aviato, theme_beauty, theme_bewise, theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_monglia, theme_notes, theme_odoo_experts, theme_orchid, theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap This commit adapts background shapes in theme customizations where shapes have been removed or added during the introduction of "Connections" shapes. task-4251568 closes odoo/design-themes#996 Related: odoo/odoo#185342 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
28 lines
960 B
XML
28 lines
960 B
XML
<?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="style">background-image: linear-gradient(60deg, var(--o-color-2) 0%, var(--o-color-5) 100%);</attribute>
|
|
<attribute name="data-oe-shape-data"/>
|
|
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
|
|
</xpath>
|
|
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
|
|
|
|
<!-- 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>
|