[gnome-shell] unlockDialog: Use unique unlock-dialog style class
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] unlockDialog: Use unique unlock-dialog style class
- Date: Wed, 7 Oct 2020 16:20:06 +0000 (UTC)
commit 9963f7ce845362c59dac953a71fbac98f447c13d
Author: Joonas Henriksson <joonas henriksson gmail com>
Date: Wed Aug 26 03:06:46 2020 +0300
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
data/theme/gnome-shell-sass/widgets/_login-dialog.scss | 3 ++-
js/ui/unlockDialog.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss
b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss
index 06fdcf25a7..6c40072c4e 100644
--- a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss
+++ b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss
@@ -5,7 +5,8 @@
max-width: 23em;
}
-.login-dialog {
+.login-dialog,
+.unlock-dialog {
//reset
border: none;
background-color: transparent;
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index 4f461f3980..974600ae54 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -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,
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]