From f2b75c81c121c02e9ab1169460e6e2c6fb6ac130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rn=20A=CC=8Ane?= Date: Tue, 13 Feb 2018 18:52:38 +0100 Subject: [PATCH] Make sure that the user menu appears over the login button --- www/css/style.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/www/css/style.css b/www/css/style.css index 04c6c6d..0349363 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -83,7 +83,12 @@ nav #usermenu { margin: 0; background: #fff; padding: 0; + z-index: 2; /* Make appear over #login */ } +nav #login { + z-index: 1; /* Make appear under #usermenu */ +} + nav #usermenu li:first-child, nav #usermenu li:first-child a { line-height: 3em; height: 3em; @@ -92,6 +97,7 @@ nav #usermenu li, nav #usermenu li a { line-height: 2em; height: 2em; color: #024; + fill: #024; /* SVG icon */ border: none; display: block; margin: 0; @@ -117,12 +123,6 @@ nav #usermenu:target ~ #login { background: transparent; } - nav { - z-index: 1000; - } - nav #login { - z-index: 2000; - } nav li.active, nav li:hover { border: none; }