[gnome-shell-sass] loginDialog: Allow timed login with disabled user list



commit b893dd185cc17b0d44b1995e561b6ad1cd11fef5
Author: Ray Strode <rstrode redhat com>
Date:   Tue Apr 13 10:59:49 2021 -0400

    loginDialog: Allow timed login with disabled user list
    
    At the moment the timed login feature is implemented in the user list.
    If there's no user list, we don't show the indicator anywhere and
    don't proceed with timed login.
    
    This commit allows timed login to work when the user list is disabled.
    It accomplishes this by putting the timed login indicator on the
    auth prompt in that scenario.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1809>

 widgets/_login-dialog.scss | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/widgets/_login-dialog.scss b/widgets/_login-dialog.scss
index d6608fc..1789bec 100644
--- a/widgets/_login-dialog.scss
+++ b/widgets/_login-dialog.scss
@@ -151,6 +151,11 @@
   padding-top: 16px;
 }
 
+.login-dialog-timed-login-indicator {
+    height: 2px;
+    background-color: darken($fg_color,40%);
+}
+
 .login-dialog-prompt-layout {
   padding-top: 24px;
   padding-bottom: 12px;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]