summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-09-01 09:07:34 +0200
committerRaphael Collet <rco@openerp.com>2015-09-01 11:02:41 +0200
commitc1cc4b830bc2fd2b4cd01ff37b250d98e9dacb13 (patch)
tree4e99e00b7057e0238d7fc36f8b6e089d3bc096b8 /addons/web/static/src/xml
parent447dd53de5254c31897f36cce24b879828e006ac (diff)
[FIX] web: stat_button: display none on hover
A 'display: none' rule on hover has been added for boolean buttons, on each 'o_stat_button o_stat_text' that hasn't classname o_hover. This applies on every stat button that isn't a boolean button, so their content is always hidden on hover.
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index dc448fbae2d..c79d9fc1f86 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1438,11 +1438,11 @@
<t t-name="BooleanButton">
<t t-if="widget.get_value()">
- <span class="o_stat_text text-success"><t t-esc="widget.string_true"/></span>
+ <span class="o_stat_text o_not_hover text-success"><t t-esc="widget.string_true"/></span>
<span class="o_stat_text o_hover text-danger"><t t-esc="widget.hover_true"/></span>
</t>
<t t-if="!widget.get_value()">
- <span class="o_stat_text text-danger"><t t-esc="widget.string_false"/></span>
+ <span class="o_stat_text o_not_hover text-danger"><t t-esc="widget.string_false"/></span>
<span class="o_stat_text o_hover text-success"><t t-esc="widget.hover_false"/></span>
</t>
</t>