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
This commit is contained in:
verdre 2018-04-08 12:25:32 +02:00 committed by verdre
parent a46df7f8ec
commit 58aafe9520

View File

@ -1788,7 +1788,6 @@ StScrollBar {
.login-dialog-user-list-view { -st-vfade-offset: 1em; } .login-dialog-user-list-view { -st-vfade-offset: 1em; }
.login-dialog-user-list { .login-dialog-user-list {
spacing: 12px; spacing: 12px;
padding: .2em;
width: 23em; width: 23em;
&:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; } &: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; } &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
@ -1797,8 +1796,8 @@ StScrollBar {
border-radius: 5px; border-radius: 5px;
padding: 6px; padding: 6px;
color: darken($osd_fg_color,30%); color: darken($osd_fg_color,30%);
&:ltr { padding-right: 1em; } &:ltr .user-widget { padding-right: 1em; }
&:rtl { padding-left: 1em; } &:rtl .user-widget { padding-left: 1em; }
.login-dialog-timed-login-indicator { .login-dialog-timed-login-indicator {
height: 2px; height: 2px;
margin-top: 6px; margin-top: 6px;
@ -1816,8 +1815,8 @@ StScrollBar {
padding-left: 15px; padding-left: 15px;
} }
.user-widget-label { .user-widget-label {
&:ltr { padding-left: 18px; } &:ltr { padding-left: 14px; }
&:rtl { padding-right: 18px; } &:rtl { padding-right: 14px; }
} }
.login-dialog-prompt-layout { .login-dialog-prompt-layout {