summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
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/css
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/css')
-rw-r--r--addons/web/static/src/css/base.css2
-rw-r--r--addons/web/static/src/css/base.sass2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 9f72d573ecc..3d185be00da 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -304,7 +304,7 @@
.openerp .oe_button_box .oe_stat_button:not(:hover) .o_stat_info > .o_hover {
display: none !important;
}
-.openerp .oe_button_box .oe_stat_button:hover .o_stat_info > :not(.o_hover) {
+.openerp .oe_button_box .oe_stat_button:hover .o_stat_info > .o_not_hover {
display: none !important;
}
.openerp button.oe_toggle_button {
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 48e7893bf10..3776630c3f6 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -362,7 +362,7 @@ $sheet-padding: 16px
// boolean_button rules: show the elements depending on hover status
.oe_stat_button:not(:hover) .o_stat_info > .o_hover
display: none !important
- .oe_stat_button:hover .o_stat_info > :not(.o_hover)
+ .oe_stat_button:hover .o_stat_info > .o_not_hover
display: none !important
button.oe_toggle_button
box-shadow: none