summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/menubar/menubar.scss
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-06-22 13:52:34 +0300
committerVaadin Code Review <review@vaadin.com>2015-06-22 12:40:27 +0000
commita41887756378dc0c16754afd55834f529c474ee0 (patch)
tree52c22a044ef3d9985dfa89a2937e82d4c701549c /WebContent/VAADIN/themes/base/menubar/menubar.scss
parent1ccb5290e49ec31ef3afc3f84c0061bfe83b13b6 (diff)
downloadvaadin-framework-a41887756378dc0c16754afd55834f529c474ee0.tar.gz
vaadin-framework-a41887756378dc0c16754afd55834f529c474ee0.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: If48716cdccef05ebdba43b5600e41c0690398429
Diffstat (limited to 'WebContent/VAADIN/themes/base/menubar/menubar.scss')
-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;