From 58aafe95207745b34a28f5e78eadd527668bc910 Mon Sep 17 00:00:00 2001 From: verdre Date: Sun, 8 Apr 2018 12:25:32 +0200 Subject: [PATCH] theme: Improve look of login user-list * Remove tiny padding of user-list * Less space between avatar and username * Apply the 1em padding only to the user-widget, not the timed-login-indicator --- data/theme/gnome-shell-sass/_common.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index ac17c21f9..433c13c8c 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -1788,7 +1788,6 @@ StScrollBar { .login-dialog-user-list-view { -st-vfade-offset: 1em; } .login-dialog-user-list { spacing: 12px; - padding: .2em; width: 23em; &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; } &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; } @@ -1797,8 +1796,8 @@ StScrollBar { border-radius: 5px; padding: 6px; color: darken($osd_fg_color,30%); - &:ltr { padding-right: 1em; } - &:rtl { padding-left: 1em; } + &:ltr .user-widget { padding-right: 1em; } + &:rtl .user-widget { padding-left: 1em; } .login-dialog-timed-login-indicator { height: 2px; margin-top: 6px; @@ -1816,8 +1815,8 @@ StScrollBar { padding-left: 15px; } .user-widget-label { - &:ltr { padding-left: 18px; } - &:rtl { padding-right: 18px; } + &:ltr { padding-left: 14px; } + &:rtl { padding-right: 14px; } } .login-dialog-prompt-layout {