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:
parent
ba96847caa
commit
6387b87fab
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user