summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-06-22 13:52:34 +0300
committerHenri Sara <hesara@vaadin.com>2015-07-04 13:21:45 +0300
commitbf8b89d00679eb90528028e7a729ee0add39dd90 (patch)
treeb528414aacf26b21c3d8524fce40a6f1ec1cdb05 /WebContent
parent6f1f4ffd199d6df25d6334ee1d375054f9f64296 (diff)
downloadvaadin-framework-bf8b89d00679eb90528028e7a729ee0add39dd90.tar.gz
vaadin-framework-bf8b89d00679eb90528028e7a729ee0add39dd90.zip
Fixed regression by #15381 on IE8
The opacity for disabled menu items looks very ugly on IE8. Fixed by using the previous gray color for text and opacity filter only for the item icon. Change-Id: Ieea18f9e14d3b947c9836956c00721c30685b912
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/menubar/menubar.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/menubar/menubar.scss b/WebContent/VAADIN/themes/base/menubar/menubar.scss
index 5ffac6de09..ad701f1b42 100644
--- a/WebContent/VAADIN/themes/base/menubar/menubar.scss
+++ b/WebContent/VAADIN/themes/base/menubar/menubar.scss
@@ -56,7 +56,16 @@
.#{$primaryStyleName} span.#{$primaryStyleName}-menuitem-disabled:active {
opacity: .5;
filter: alpha(opacity=50);
+
+ .v-ie8 & {
+ filter: none;
+ color: #999;
+ img {
+ filter: alpha(opacity=50);
+ }
+ }
}
+
.#{$primaryStyleName}-more-menuitem {
/* Arial has the most coverage for geometric entity characters */
font-family: arial, helvetica, sans-serif;