mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
Add box shadow for focus state on checkboxes
Fixes #628 by applying the same outline for focus as is currently applied to checked boxes.
This commit is contained in:
parent
11155c429e
commit
2cd8019ef6
1 changed files with 2 additions and 2 deletions
|
@ -20,12 +20,12 @@
|
||||||
|
|
||||||
&:checked,
|
&:checked,
|
||||||
&:focus {
|
&:focus {
|
||||||
|
transition: all .5s ease;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
box-shadow: 0 0 0 .25rem $active-gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:checked {
|
&:checked {
|
||||||
transition: all .5s ease;
|
|
||||||
box-shadow: 0 0 0 .25rem $active-gray;
|
|
||||||
background-color: $ui-blue;
|
background-color: $ui-blue;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-indent: .125rem;
|
text-indent: .125rem;
|
||||||
|
|
Loading…
Reference in a new issue