From 48975c9b070394d3c3ad22dc7070e6b8a726b0aa Mon Sep 17 00:00:00 2001 From: Vladyslav Hroshev Date: Sun, 22 Sep 2024 22:58:42 +0300 Subject: [PATCH] Modal dialog improvements (GNOME 47) --- theme/gnome-shell_css/osd.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/theme/gnome-shell_css/osd.css b/theme/gnome-shell_css/osd.css index 0ef9f15..52a01f9 100644 --- a/theme/gnome-shell_css/osd.css +++ b/theme/gnome-shell_css/osd.css @@ -65,12 +65,20 @@ /* Modal dialog */ .modal-dialog { border-radius: 20px; + padding: 0; /* 47+ */ background-color: BACKGROUND-COLOR; border: none; box-shadow: inset 0 0 0 1px BORDER-SHADOW; color: TEXT-PRIMARY-COLOR; } +.modal-dialog .modal-dialog-content-box { + margin: 32px 40px; /* bring it back because of https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/a32f735ec09bc3bb0309818cfb15f313338f4c8c */ +} + +.end-session-dialog { + width: 30em; /* revert changes on 47+ */ +} /* user avatar */ .user-icon {