[gnome-shell/wip/gdm-shell] wip: add vertical fade to user list



commit bbb8d95d4ef42698c8af6ff4d64e89ab5781f6bf
Author: Ray Strode <rstrode redhat com>
Date:   Fri Jul 1 18:53:11 2011 -0400

    wip: add vertical fade to user list

 data/theme/gnome-shell.css |    4 ++++
 js/ui/loginDialog.js       |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index d90f3d3..316b7ad 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1694,6 +1694,10 @@ StTooltip StLabel {
     min-width: 350px;
 }
 
+.login-dialog-user-list-view {
+    -st-vfade-offset: 68px;
+}
+
 .login-dialog-user-list {
     spacing: 12px;
 }
diff --git a/js/ui/loginDialog.js b/js/ui/loginDialog.js
index 6a985a8..55b8a3b 100644
--- a/js/ui/loginDialog.js
+++ b/js/ui/loginDialog.js
@@ -188,7 +188,7 @@ function UserList() {
 
 UserList.prototype = {
     _init: function() {
-        this.actor = new St.ScrollView({ style_class: 'login-dialog-user-list'});
+        this.actor = new St.ScrollView({ style_class: 'login-dialog-user-list-view'});
         this.actor.set_policy(Gtk.PolicyType.NEVER,
                               Gtk.PolicyType.AUTOMATIC);
 



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