Add proper focus styles
This commit is contained in:
parent
148cc1dcca
commit
ed40249bb3
2 changed files with 26 additions and 0 deletions
|
@ -279,3 +279,17 @@
|
|||
width: 100%;
|
||||
max-width: $desktop;
|
||||
}
|
||||
|
||||
.tasktext {
|
||||
:focus {
|
||||
box-shadow: inset 0 0 0 2px rgba($primary, 0.5);
|
||||
}
|
||||
|
||||
:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
:focus-visible, :-moz-focusring {
|
||||
box-shadow: inset 0 0 0 2px rgba($primary, 0.5);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,18 @@
|
|||
outline: none;
|
||||
}
|
||||
|
||||
:focus {
|
||||
box-shadow: 0 0 0 2px rgba($primary, 0.5);
|
||||
}
|
||||
|
||||
:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
:focus-visible, :-moz-focusring {
|
||||
box-shadow: 0 0 0 2px rgba($primary, 0.5);
|
||||
}
|
||||
|
||||
body {
|
||||
background: url('../../public/images/llama.svg') no-repeat bottom left fixed $light-background;
|
||||
min-height: 100vh;
|
||||
|
|
Loading…
Reference in a new issue