mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
Have a "default" highlight, but naturally follow focus if focus is in container
This commit is contained in:
parent
0b434e484b
commit
74ffc2a4cd
1 changed files with 6 additions and 2 deletions
|
|
@ -40,8 +40,12 @@ button {
|
||||||
.focus {
|
.focus {
|
||||||
outline: 5px auto rgba(0, 103, 244, 0.247);
|
outline: 5px auto rgba(0, 103, 244, 0.247);
|
||||||
|
|
||||||
&:focus {
|
#innertable:focus-within & {
|
||||||
outline-color: rgba(103, 103, 244, 0.247);
|
outline: unset;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
outline: 5px auto rgba(0, 103, 244, 0.247);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue