summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css4
-rw-r--r--addons/web/static/src/css/base.sass9
2 files changed, 7 insertions, 6 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index b497982ad05..9f72d573ecc 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -301,10 +301,10 @@
.openerp .oe_button_box .oe_stat_button {
display: inline-table;
}
-.openerp .oe_button_box .oe_stat_button .o_stat_info:not(.is_true) .o_true {
+.openerp .oe_button_box .oe_stat_button:not(:hover) .o_stat_info > .o_hover {
display: none !important;
}
-.openerp .oe_button_box .oe_stat_button .o_stat_info.is_true .o_false {
+.openerp .oe_button_box .oe_stat_button:hover .o_stat_info > :not(.o_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 ca7b3d293ab..48e7893bf10 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -359,10 +359,11 @@ $sheet-padding: 16px
text-align: right
.oe_stat_button
display: inline-table
- .o_stat_info:not(.is_true) .o_true
- display: none !important
- .o_stat_info.is_true .o_false
- display: none !important
+ // 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)
+ display: none !important
button.oe_toggle_button
box-shadow: none
white-space: nowrap