summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-08-20 22:26:38 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-20 22:26:38 +0200
commit74af852c34ad32f900c96717619ae2a8989c792b (patch)
treeceb59a8666465b03cfcb8823805c157f73228b63
parent36c88e28307da569fea7a86d18ad559aa0b3f868 (diff)
parentf6c2002554e365fc683c34762f109d3f97239535 (diff)
downloadnextcloud-server-74af852c34ad32f900c96717619ae2a8989c792b.tar.gz
nextcloud-server-74af852c34ad32f900c96717619ae2a8989c792b.zip
Merge pull request #10557 from owncloud/better-hover-apps
full opacity for the hovered/focused app as well for better contrast
-rw-r--r--core/css/header.css9
1 files changed, 2 insertions, 7 deletions
diff --git a/core/css/header.css b/core/css/header.css
index 2df8cdd3aa3..225cd98029b 100644
--- a/core/css/header.css
+++ b/core/css/header.css
@@ -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;