0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client/scss/components/_skiplink.scss
Thibaud Colas 14280ad7ea
Convert all UI code to CSS logical properties (#8051)
- Rewrite all styles to use logical properties
- Update Stylelint configuration to include logical properties checks
2022-03-15 13:21:06 +00:00

20 lines
353 B
SCSS

.skiplink {
display: block;
position: fixed;
top: -1000rem;
// Remove once we drop support for Safari 13.
// stylelint-disable-next-line property-disallowed-list
left: 1rem;
inset-inline-start: 1rem;
z-index: 3000;
&:focus {
top: 1rem;
}
&.button {
background: $color-green-darker;
border: $color-green-darker;
}
}