From 4eb495cac3f006b9f1aa525f04025401734a3550 Mon Sep 17 00:00:00 2001 From: Sauli Tähkäpää Date: Sat, 20 Dec 2014 23:53:54 +0200 Subject: Add opacity filter for disabled menubar item. (#15381) Change-Id: I457becda9b8741b0b0f85d8985581a2039fa7304 --- WebContent/VAADIN/themes/base/menubar/menubar.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'WebContent/VAADIN/themes') diff --git a/WebContent/VAADIN/themes/base/menubar/menubar.scss b/WebContent/VAADIN/themes/base/menubar/menubar.scss index b5f0752c9b..5ffac6de09 100644 --- a/WebContent/VAADIN/themes/base/menubar/menubar.scss +++ b/WebContent/VAADIN/themes/base/menubar/menubar.scss @@ -54,7 +54,8 @@ .#{$primaryStyleName} span.#{$primaryStyleName}-menuitem-disabled:hover, .#{$primaryStyleName} span.#{$primaryStyleName}-menuitem-disabled:focus, .#{$primaryStyleName} span.#{$primaryStyleName}-menuitem-disabled:active { - color: #999; + opacity: .5; + filter: alpha(opacity=50); } .#{$primaryStyleName}-more-menuitem { /* Arial has the most coverage for geometric entity characters */ -- cgit v1.2.3