From 67422699482395e91ad3e2750d567eac2c7b3e67 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 9 Jan 2026 04:39:54 +0300 Subject: [PATCH] update design dev_screen --- themes/day.py | 2 +- themes/night.py | 2 +- ui/confirm_dialog.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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)