Skip to content

Commit

Permalink
Merge pull request #1345 from hgiesel/windowsfocus
Browse files Browse the repository at this point in the history
Use different artificial reviewer button highlight for Windows
  • Loading branch information
dae authored Aug 29, 2021
2 parents e4f8ba0 + 3b90b27 commit 395119b
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 395119b

Please sign in to comment.