[gnome-shell-sass] gdm: Add AuthList control



commit 685dfb7e123dc4552028b069494f01bc2c3b88cf
Author: Ray Strode <rstrode redhat com>
Date:   Tue Jul 18 12:58:14 2017 -0400

    gdm: Add AuthList control
    
    Ultimately, we want to add support for GDM's new ChoiceList
    PAM extension.  That extension allows PAM modules to present
    a list of choices to the user. Before we can support that
    extension, however, we need to have a list control in the
    login-screen/unlock screen.  This commit adds that control.
    
    For the most part, it's a copy-and-paste of the gdm userlist,
    but with less features.  It lacks API specific to the users,
    lacks the built in timed login indicator, etc. It does feature
    a label heading.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1978>

 widgets/_login-dialog.scss | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
---
diff --git a/widgets/_login-dialog.scss b/widgets/_login-dialog.scss
index 1789bec..f2d8296 100644
--- a/widgets/_login-dialog.scss
+++ b/widgets/_login-dialog.scss
@@ -109,6 +109,32 @@
   padding-top: 1em;
 }
 
+.login-dialog-auth-list-view { -st-vfade-offset: 1em; }
+.login-dialog-auth-list {
+  spacing: 6px;
+  margin-left: 2em;
+}
+
+.login-dialog-auth-list-title {
+  margin-left: 2em;
+}
+
+.login-dialog-auth-list-item {
+  border-radius: $base_border_radius + 4px;
+  padding: 6px;
+  color: darken($osd_fg_color,30%);
+  &:focus, &:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
+}
+
+.login-dialog-auth-list-label {
+  @include fontsize($base_font_size + 2);
+  font-weight: bold;
+  padding-left: 15px;
+
+  &:ltr { padding-left: 14px; text-align: left; }
+  &:rtl { padding-right: 14px; text-align: right; }
+}
+
 .login-dialog-user-list-view { -st-vfade-offset: 1em; }
 .login-dialog-user-list {
   spacing: 12px;


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