diff --git a/themes/day.py b/themes/day.py index 5ae4619..e3a8e82 100644 --- a/themes/day.py +++ b/themes/day.py @@ -200,7 +200,7 @@ QMenu::item:selected { background: #F3F4F6; } } #LanguageConfirm:hover { background: #0B1220; } -#ConfirmDialog { background: #F4F6F8; } +#ConfirmDialog { background: transparent; } #ConfirmCard { background: #FFFFFF; border-radius: 16px; diff --git a/themes/night.py b/themes/night.py index f5e9a9f..1f18fe5 100644 --- a/themes/night.py +++ b/themes/night.py @@ -185,7 +185,7 @@ QMenu::item:selected { background: #1B2330; } } #LanguageConfirm:hover { background: #344968; } -#ConfirmDialog { background: #0B0E11; } +#ConfirmDialog { background: transparent; } #ConfirmCard { background: #141A22; border-radius: 16px; diff --git a/ui/confirm_dialog.py b/ui/confirm_dialog.py index b7c0175..e5773fa 100644 --- a/ui/confirm_dialog.py +++ b/ui/confirm_dialog.py @@ -18,6 +18,7 @@ class ConfirmDialog(QDialog): self.setObjectName("ConfirmDialog") self.setWindowFlags(Qt.FramelessWindowHint | Qt.Dialog) self.setWindowModality(Qt.ApplicationModal) + self.setAttribute(Qt.WA_TranslucentBackground) self.setMinimumSize(QSize(1024, 600)) root = QVBoxLayout(self)