mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
266b35a31e
*: avantgarde, beauty, bistro, buzzy, clean, cobalt, graphene, kea, yes This commit adapts the style attribute's add/remove operations in order to avoid ending up with the same property defined several times. task-4206845 Part-of: odoo/design-themes#933 Related: odoo/odoo#181194 Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
26 lines
836 B
XML
26 lines
836 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="data-oe-shape-data">{"shape":"web_editor/Blocks/01_001"}</attribute>
|
|
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
|
|
</xpath>
|
|
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
|
<div class="o_we_shape o_web_editor_Blocks_01_001"/>
|
|
</xpath>
|
|
|
|
<!-- Text -->
|
|
<xpath expr="//h2/div" position="replace" mode="inner">
|
|
90%
|
|
</xpath>
|
|
<xpath expr="//h2/following-sibling::div" position="attributes">
|
|
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 2.25rem;" separator=";"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|