diff options
author | Jakub Steiner <jimmac@gmail.com> | 2022-09-08 11:43:50 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2022-09-17 18:40:16 +0200 |
commit | 42d5c358311ae1c7cc329200bc7be2a2b32d1f51 (patch) | |
tree | 44f6ba8d91cecac650cbfaab775976aaf8e59be8 | |
parent | 78781f0a487a575efc4a54562903accfc47f5f9d (diff) | |
download | gnome-shell-sass-42d5c358311ae1c7cc329200bc7be2a2b32d1f51.tar.gz |
classic: Make login entries legible
- hardcoded color hotfix for 43. A more systemic approach discussed below
See https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/410
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2477>
-rw-r--r-- | widgets/_login-dialog.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/_login-dialog.scss b/widgets/_login-dialog.scss index 23456be..208165d 100644 --- a/widgets/_login-dialog.scss +++ b/widgets/_login-dialog.scss @@ -183,12 +183,12 @@ .unlock-dialog { StEntry { border:none !important; - &:focus { - background-color: transparentize($fg_color, 0.9); + &:focus { + background-color: if($variant == 'light', transparentize(white, 0.9), transparentize($fg_color, 0.9)); } &:insensitive { - color: transparentize($fg_color, 0.5); - background-color: transparentize($fg_color, 0.95); + color: if($variant == 'light', transparentize(white, 0.5), transparentize($fg_color, 0.5)); + background-color: if($variant == 'light', transparentize(white, 0.95), transparentize($fg_color, 0.95)); } } |