mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Use different artificial reviewer button highlight for Windows
This commit is contained in:
parent
3077a1f98a
commit
3b90b27095
1 changed files with 10 additions and 2 deletions
|
@ -3,6 +3,14 @@
|
||||||
|
|
||||||
@use 'ts/sass/card-counts';
|
@use 'ts/sass/card-counts';
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--focus-color: #0078d7;
|
||||||
|
|
||||||
|
.isMac {
|
||||||
|
--focus-color: rgba(0 103 244 / 0.247);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -42,13 +50,13 @@ button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.focus {
|
.focus {
|
||||||
outline: 5px auto rgba(0, 103, 244, 0.247);
|
outline: 5px auto var(--focus-color);
|
||||||
|
|
||||||
#innertable:focus-within & {
|
#innertable:focus-within & {
|
||||||
outline: unset;
|
outline: unset;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: 5px auto rgba(0, 103, 244, 0.247);
|
outline: 5px auto var(--focus-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue