From efd7eb579353ee40c62bc7d20454e5bb39663de4 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 13 Mar 2015 04:18:31 +0100 Subject: [PATCH] Simplify skip-links' CSS refs #8729 --- public/css/icinga/menu.less | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/public/css/icinga/menu.less b/public/css/icinga/menu.less index c486251b0..b3adec2ef 100644 --- a/public/css/icinga/menu.less +++ b/public/css/icinga/menu.less @@ -268,35 +268,28 @@ a:focus { outline: none; } -/* Accessibility Skip Links */ .skip-links { - position: absolute; - opacity: 1; + position: relative; ul { list-style-type: none; margin: 0; padding: 0; li { - display: inline; - margin: 0; - padding: 0; + display: block; a, button[type="submit"] { - position: absolute; - display: block; + background-color: #fff; left: -999em; - box-sizing: content-box; - width: 10.4em !important; - top: 0em; - text-align: left !important; padding: 0.8em; - background-color: white; - z-index: 4; - border: 1px @colorGray solid; + position: absolute; + width: 100%; &:focus { left: 0; - outline: 1px dotted black !important; + outline: 1px dotted black; } } + button[type="submit"] { + text-align: left; + } } } }