From 9963f7ce845362c59dac953a71fbac98f447c13d Mon Sep 17 00:00:00 2001 From: Joonas Henriksson Date: Wed, 26 Aug 2020 03:06:46 +0300 Subject: [PATCH] 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 06fdcf25a..6c40072c4 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 4f461f398..974600ae5 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, });