From 042606c8cb0fc19eb9ec9fcb0a9f7395e67757af Mon Sep 17 00:00:00 2001 From: Gustavo Graziano Date: Tue, 12 May 2026 13:55:23 -0300 Subject: [PATCH] I made some visual improvements to some components I made improvements to highlight the default QDialog button, added color to the left side of the QSlider, and slightly spaced out the items in the QComboBox. --- ...dows 11 (Dark Mode) by GustavoGraziano.qss | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/bin/GuiConfigs/Windows 11 (Dark Mode) by GustavoGraziano.qss b/bin/GuiConfigs/Windows 11 (Dark Mode) by GustavoGraziano.qss index c93a1bb11e..f26d6e5c65 100644 --- a/bin/GuiConfigs/Windows 11 (Dark Mode) by GustavoGraziano.qss +++ b/bin/GuiConfigs/Windows 11 (Dark Mode) by GustavoGraziano.qss @@ -349,24 +349,24 @@ QPushButton:disabled { } -QDialog QDialogButtonBox QPushButton { +QDialog QDialogButtonBox QPushButton:default { color: #000000; background-color: #4CC2FF; border-color: #5AC7FF; } -QDialog QDialogButtonBox QPushButton:hover { +QDialog QDialogButtonBox QPushButton:default:hover { background-color: #48B2E9; border-color: #56B8EB; } -QDialog QDialogButtonBox QPushButton:pressed { +QDialog QDialogButtonBox QPushButton:default:pressed { color: #22526A; background-color: #45A4D5; border-color: #45A4D5; } -QDialog QDialogButtonBox QPushButton:disabled { +QDialog QDialogButtonBox QPushButton:default:disabled { color: #ABABAB; background-color: #4C4C4C; border-color: #4C4C4C; @@ -614,6 +614,7 @@ QComboBox QAbstractItemView { QComboBox QAbstractItemView::item { color: #FFFFFF; padding: 4px 6px; + margin: 2px 0px; background-color: transparent; border-radius: 4px; } @@ -646,7 +647,7 @@ QDoubleSpinBox::up-button, QDoubleSpinBox::down-button { border-radius: 4px; width: 8px; height: 8px; - padding: 3px 4px; + padding: 3px 4px; } QSpinBox::up-button:hover, QSpinBox::down-button:hover, @@ -713,6 +714,16 @@ QSlider::handle:horizontal:disabled { image: url("GuiConfigs/dark/slider-handle-disabled.svg"); } +QSlider::sub-page:horizontal { + background-color: #4CC2FF; + border-radius: 2px; + height: 4px; +} + +QSlider::sub-page:horizontal:disabled { + background-color: #767A7D; +} + /* LINE EDIT */ QLineEdit {