From f53062a79ff3913461efa95d342d1a5cf8c741ef Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Mon, 15 Jan 2024 11:51:03 +0100 Subject: [PATCH] theme: Lock/Login -- bring back focus ring - Revert to the prominent focus ring for lock and login screen, lost with a refactor of the entry drawing code. See https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6802 and https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3109#note_1970652 Fixes #7326 as well. --- data/theme/gnome-shell-sass/widgets/_login-lock.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/data/theme/gnome-shell-sass/widgets/_login-lock.scss b/data/theme/gnome-shell-sass/widgets/_login-lock.scss index 899ca6c3c..5b1ef4ee3 100644 --- a/data/theme/gnome-shell-sass/widgets/_login-lock.scss +++ b/data/theme/gnome-shell-sass/widgets/_login-lock.scss @@ -146,6 +146,9 @@ $_gdm_dialog_width: 23em; .login-dialog-prompt-entry { @extend %system_entry; + @include entry(insensitive, $c:$system_fg_color, $bc:transparentize($system_fg_color,0.95)); + + &:insensitive { @include entry(insensitive, $c:$system_fg_color, $bc:transparentize($system_fg_color,0.9));} } @@ -157,7 +160,10 @@ $_gdm_dialog_width: 23em; // %system_entry style override to have neutral focus color with wallpaper background .login-dialog-prompt-entry { - &:focus { @include entry(focus, $c:$system_fg_color);} + &:focus { + @include entry(focus, $c:$system_fg_color, $bc:transparentize($system_fg_color, 0.95)); + @include focus_ring($fc:transparentize($system_fg_color, 0.5)); + } } }