Fixed skiplink positioning

refs #5986

- removed static position of the skiplink to prevent pushing the page content down
- only applying :focus CSS selector to focusable sr-only content
This commit is contained in:
Peter Szel 2016-02-27 14:23:49 +00:00
parent ba96847caa
commit 6387b87fab

View File

@ -340,14 +340,19 @@ img {
border: 0;
}
.sr-only:active,
.sr-only:focus {
position: static;
.sr-only-focusable:focus {
z-index: 900;
overflow: visible;
clip: auto;
margin: 0;
padding: 0 10px;
width: auto;
height: auto;
background-color: #f5f5f5;
color: #333;
text-decoration: none;
line-height: 49px;
font-weight: bold;
}
.right {