unlockDialog: Use unique unlock-dialog style class

Allows styling the unlock dialog elements individually from the GDM
login dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1421
This commit is contained in:
Joonas Henriksson 2020-08-26 03:06:46 +03:00 committed by Florian Müllner
parent 0c14ac7052
commit 9963f7ce84
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,8 @@
max-width: 23em;
}
.login-dialog {
.login-dialog,
.unlock-dialog {
//reset
border: none;
background-color: transparent;

View File

@ -475,7 +475,7 @@ var UnlockDialog = GObject.registerClass({
_init(parentActor) {
super._init({
accessible_role: Atk.Role.WINDOW,
style_class: 'login-dialog',
style_class: 'unlock-dialog',
visible: false,
reactive: true,
});