CSR-262: fix missing focus outline on checked buttons
This commit is contained in:
parent
6a7fc87235
commit
de44616680
1 changed files with 11 additions and 5 deletions
|
|
@ -209,17 +209,23 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus + label {
|
|
||||||
box-shadow: 0 0 0 2.5px $blue;
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:checked + label {
|
&:checked + label {
|
||||||
background: $blue-100;
|
background: $blue-100;
|
||||||
box-shadow: 0 0 0 1px $blue;
|
box-shadow: 0 0 0 1px $blue;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus + label {
|
||||||
|
box-shadow: 0 0 0 2.5px $blue;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
&:focus + label {
|
||||||
|
box-shadow: 0 0 0 2.5px $blue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:checked + label {
|
&:checked + label {
|
||||||
p {
|
p {
|
||||||
color: $black;
|
color: $black;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue