Simplify skip-links' CSS

refs #8729
This commit is contained in:
Eric Lippmann 2015-03-13 04:18:31 +01:00
parent 9186c68b65
commit efd7eb5793
1 changed files with 9 additions and 16 deletions

View File

@ -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;
}
}
}
}