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.
This commit is contained in:
Jakub Steiner 2024-01-15 11:51:03 +01:00
parent 2d380a3995
commit f53062a79f

View file

@ -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));
}
}
}