lockscreen: Style cleanup for lock and login

- increase the font size of clock elements
- increase the size of user avatars
- combines lock and login scss into one file
- clean up the css for avatars
- adjust the blur parameters of the screen shield

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2564>
This commit is contained in:
Sam Hewitt
2022-12-01 14:44:04 -03:30
committed by Jakub Steiner
parent b4075ca539
commit a4f7cfdff4
11 changed files with 297 additions and 308 deletions

View File

@ -140,7 +140,7 @@ var AuthPrompt = GObject.registerClass({
this.add_child(this._mainBox);
this.cancelButton = new St.Button({
style_class: 'modal-dialog-button button cancel-button',
style_class: 'login-dialog-button cancel-button',
accessible_name: _('Cancel'),
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
reactive: this._hasCancelButton,

View File

@ -310,7 +310,7 @@ var SessionMenuButton = GObject.registerClass({
}, class SessionMenuButton extends St.Bin {
_init() {
let button = new St.Button({
style_class: 'modal-dialog-button button login-dialog-session-list-button',
style_class: 'login-dialog-button login-dialog-session-list-button',
icon_name: 'emblem-system-symbolic',
reactive: true,
track_hover: true,

View File

@ -24,8 +24,8 @@ const CROSSFADE_TIME = 300;
const FADE_OUT_TRANSLATION = 200;
const FADE_OUT_SCALE = 0.3;
const BLUR_BRIGHTNESS = 0.55;
const BLUR_SIGMA = 60;
const BLUR_BRIGHTNESS = 0.65;
const BLUR_SIGMA = 45;
const SUMMARY_ICON_SIZE = 32;
@ -36,7 +36,6 @@ var NotificationsBox = GObject.registerClass({
super._init({
vertical: true,
name: 'unlockDialogNotifications',
style_class: 'unlock-dialog-notifications-container',
});
this._scrollView = new St.ScrollView({ hscrollbar_policy: St.PolicyType.NEVER });
@ -559,7 +558,7 @@ var UnlockDialog = GObject.registerClass({
// Switch User button
this._otherUserButton = new St.Button({
style_class: 'modal-dialog-button button switch-user-button',
style_class: 'login-dialog-button switch-user-button',
accessible_name: _('Log in as another user'),
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
reactive: false,