summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-08-28 16:32:31 +0200
committerRaphael Collet <rco@openerp.com>2015-08-31 12:07:41 +0200
commit80e5b4245a0ced2717a6e063d96ee10fb8ec469d (patch)
tree35752f47bf68bfc2840221c7e6c2859ef00a2744 /addons/web/static/src/css/base.sass
parenta64c1b644f9014b236fdd51de9fe8fe32c220ecf (diff)
[IMP] web: make `boolean_button` more specific, and change label on hover
The widget now provide labels that depend on widget option "terminology". For each terminology, it provides four button labels that are shown depending on the field's value and hover status on the button.
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass9
1 files changed, 5 insertions, 4 deletions
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