From 1b3ce38ffcf017a78380392b8d0ee2050490c0fd Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Tue, 7 Mar 2023 12:44:14 +0800 Subject: [PATCH] update --- src/other/firefox/Monterey/parts/dialogs.css | 7 ++++++- src/other/firefox/WhiteSur/parts/dialogs.css | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/other/firefox/Monterey/parts/dialogs.css b/src/other/firefox/Monterey/parts/dialogs.css index 7727728..735f19c 100644 --- a/src/other/firefox/Monterey/parts/dialogs.css +++ b/src/other/firefox/Monterey/parts/dialogs.css @@ -19,6 +19,10 @@ window { #window-modal-dialog { margin-top: auto !important; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; } /* Dialog */ @@ -30,6 +34,7 @@ window { window[role="dialog"] { background: var(--gnome-toolbar-background) !important; border: 0 !important; + box-shadow: var(--gnome-popover-shadow) !important; padding: 0 !important; } @@ -39,7 +44,7 @@ dialog { dialog[subdialog] { border-radius: 12px !important; - border: 1px solid var(--gnome-popover-border-color) !important; + border: none !important; box-shadow: var(--gnome-popover-shadow) !important; } diff --git a/src/other/firefox/WhiteSur/parts/dialogs.css b/src/other/firefox/WhiteSur/parts/dialogs.css index 7727728..735f19c 100644 --- a/src/other/firefox/WhiteSur/parts/dialogs.css +++ b/src/other/firefox/WhiteSur/parts/dialogs.css @@ -19,6 +19,10 @@ window { #window-modal-dialog { margin-top: auto !important; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; } /* Dialog */ @@ -30,6 +34,7 @@ window { window[role="dialog"] { background: var(--gnome-toolbar-background) !important; border: 0 !important; + box-shadow: var(--gnome-popover-shadow) !important; padding: 0 !important; } @@ -39,7 +44,7 @@ dialog { dialog[subdialog] { border-radius: 12px !important; - border: 1px solid var(--gnome-popover-border-color) !important; + border: none !important; box-shadow: var(--gnome-popover-shadow) !important; }