0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +01:00
wagtail/client/scss/overrides/_utilities.focus.scss
2019-05-28 11:53:26 +01:00

12 lines
427 B
SCSS

// stylelint-disable declaration-no-important
// Set global focus outline styles so they are consistent across the UI,
// without individual components having to explicitly define focus styles.
// Using !important because we want to enforce only one style is used across the UI.
.focus-outline-on *:focus {
outline: 3px solid $color-focus-outline !important;
}
.focus-outline-off *:focus {
outline: none !important;
}