0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 03:31:04 +01:00
wagtail/client/scss/components/_skiplink.scss
Martin Coote 9f0dcf0097
Add skip link for keyboard users. Fix #5406 (#5780)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-07-21 18:16:36 +01:00

17 lines
247 B
SCSS

.skiplink {
display: block;
position: fixed;
top: -1000rem;
left: 1rem;
z-index: 30;
&:focus {
top: 1rem;
}
&.button {
background: $color-green-darker;
border: $color-green-darker;
}
}