Skip to content

Commit

Permalink
Use different artificial reviewer button highlight for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiesel committed Aug 28, 2021
1 parent 3077a1f commit 3b90b27
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions qt/aqt/data/web/css/reviewer-bottom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

@use 'ts/sass/card-counts';

:root {
--focus-color: #0078d7;

.isMac {
--focus-color: rgba(0 103 244 / 0.247);
}
}

body {
margin: 0;
padding: 0;
Expand Down Expand Up @@ -42,13 +50,13 @@ button {
}

.focus {
outline: 5px auto rgba(0, 103, 244, 0.247);
outline: 5px auto var(--focus-color);

#innertable:focus-within & {
outline: unset;

&:focus {
outline: 5px auto rgba(0, 103, 244, 0.247);
outline: 5px auto var(--focus-color);
}
}
}
Expand Down

0 comments on commit 3b90b27

Please sign in to comment.