summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-08-20 19:34:02 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-08-20 19:34:02 +0200
commitf6c2002554e365fc683c34762f109d3f97239535 (patch)
tree48bf2df9dc01da351913acb856a0c6269e3e11c7 /core/css
parent57746ffed43fde4847d7457499d497d6d1b32024 (diff)
downloadnextcloud-server-f6c2002554e365fc683c34762f109d3f97239535.tar.gz
nextcloud-server-f6c2002554e365fc683c34762f109d3f97239535.zip
full opacity for the hovered/focused app as well for better contrast
Diffstat (limited to 'core/css')
-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;