loginDialog: display banner message when disable-user-list=true

The login screen supports showing a banner message which admins
can use to mention login rules or disclaimers.

This message only shows up currently if the user list is enabled.
Most people who want to show a banner message also want to disable
the user list.

This commit moves the banner message to display when the user is
prompted for login credentials instead of when showing the user
list. It also adds a scrollbar if the message is too long.

https://bugzilla.gnome.org/show_bug.cgi?id=703972
This commit is contained in:
Ray Strode
2014-11-11 09:11:01 -05:00
parent 522fe8e8bf
commit 117a81e06f
2 changed files with 96 additions and 19 deletions

View File

@ -2388,6 +2388,10 @@ StScrollBar StButton#vhandle:active {
}
/* Login Dialog */
.login-dialog-banner-view {
padding-top: 24px;
max-width: 23em;
}
.framed-user-icon {
border: 2px solid #8b8b8b;
@ -2400,11 +2404,7 @@ StScrollBar StButton#vhandle:active {
}
.login-dialog-banner {
font-size: 10pt;
font-weight: bold;
text-align: center;
color: #666666;
padding-bottom: 1em;
}
.login-dialog {