[icinga-checkins] icinga.org: icingaweb2/master: Header: Scrolling Position fix for skiplinks

git at icinga.org git at icinga.org
Mon Feb 23 16:08:16 CET 2015


Module: icingaweb2
Branch: master
Commit: a61e3094025bb8bf68b7cf2e102e7715c523d1d3
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=a61e3094025bb8bf68b7cf2e102e7715c523d1d3

Author: Marius Hein <marius.hein at netways.de>
Date:   Wed Feb 18 10:56:21 2015 +0100

Header: Scrolling Position fix for skiplinks

refs #7976

---

 public/css/icinga/menu.less |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/public/css/icinga/menu.less b/public/css/icinga/menu.less
index 6e31e8d..3c733db 100644
--- a/public/css/icinga/menu.less
+++ b/public/css/icinga/menu.less
@@ -270,7 +270,7 @@ a:focus {
 
 /* Accessibility Skip Links */
 .skip-links {
-  position: absolute;
+  position: relative;
   opacity: 1;
   ul {
     list-style-type: none;
@@ -286,7 +286,6 @@ a:focus {
         left: -999em;
         box-sizing: content-box;
         width: 10.4em !important;
-        top: 0em;
         text-align: left !important;
         padding: 0.8em;
         background-color: white;
@@ -301,8 +300,8 @@ a:focus {
   }
 }
 .skip-links-inline {
-  margin-top: -2em;
   ul > li > a {
     width: 14em !important;
+    top: -3em;
   }
 }



More information about the icinga-checkins mailing list