Merge pull request #10557 from owncloud/better-hover-apps

full opacity for the hovered/focused app as well for better contrast
This commit is contained in:
Morris Jobke 2014-08-20 22:26:38 +02:00
commit 74af852c34
1 changed files with 2 additions and 7 deletions

View File

@ -173,15 +173,10 @@
opacity: .5;
}
#navigation a:hover img, #navigation a:focus img,
#navigation a:hover span, #navigation a:focus span {
/* 80% opacity when hovered or focused */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
opacity: .8;
}
#navigation a:hover span, #navigation a:focus span,
#navigation a.active img,
#navigation a.active span {
/* full opacity for the active app */
/* full opacity for the active app or when hovered/focused */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;