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