From db3947a1008b9d7c8b2c2ce986eb0dddf7bd7bf2 Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Mon, 12 May 2025 19:26:08 -0400 Subject: [PATCH] Fix some remaining blue --- qt/py/ui_AboutDialog.py | 9 +++++---- resources/style.qss | 10 +++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/qt/py/ui_AboutDialog.py b/qt/py/ui_AboutDialog.py index e4cb010..7245c9f 100644 --- a/qt/py/ui_AboutDialog.py +++ b/qt/py/ui_AboutDialog.py @@ -47,23 +47,24 @@ class AboutNUSGet(QDialog): margin-top: 8px; } QPushButton { + outline: 0; + show-decoration-selected: 1; background-color: transparent; border: 1px solid rgba(70, 70, 70, 1); border-radius: 8px; - padding: 8px 12px; + padding: 6px 10px; margin: 4px 0px; font-size: 13px; font-weight: 500; color: #ffffff; - text-align: center; } QPushButton:hover { background-color: rgba(60, 60, 60, 1); - border-color: #4a86e8; + border-color: #9c4ae8; } QPushButton:pressed { background-color: rgba(26, 115, 232, 0.15); - border: 1px solid #1a73e8; + border: 1px solid #6c1ae8; }""") # Create main layout diff --git a/resources/style.qss b/resources/style.qss index d009dea..7229318 100644 --- a/resources/style.qss +++ b/resources/style.qss @@ -159,7 +159,7 @@ QTreeView::item:hover { } QTreeView::item:focus { - background-color: rgba(26, 115, 232, 0.08); + background-color: rgba(64, 26, 232, 0.15); } QTreeView::item:selected { @@ -199,7 +199,7 @@ QPushButton:focus { } QPushButton:pressed { - background-color: rgba(26, 115, 232, 0.15); + background-color: rgba(64, 26, 232, 0.15); border: 1px solid #6c1ae8; } @@ -222,7 +222,7 @@ QComboBox { } QComboBox:on { - background-color: rgba(26, 115, 232, 0.15); + background-color: rgba(64, 26, 232, 0.15); border: 1px solid #6c1ae8; } @@ -360,6 +360,10 @@ WrapCheckboxWidget QCheckBox::indicator { border: 1px solid #5f6368; } +WrapCheckboxWidget QCheckBox::indicator::focus { + background-color: rgba(64, 26, 232, 0.15); +} + WrapCheckboxWidget QCheckBox::indicator:checked { background-color: #6c1ae8; border: 1px solid #6c1ae8;