diff options
author | bd <bdunahu@operationnull.com> | 2025-04-27 14:33:26 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-27 14:33:26 -0400 |
commit | 8954fab5b430623e2052753fae20707b878b858c (patch) | |
tree | a0ed1d6b49e76c27f417c39e90b87e54c8cc1c5d /gui/resources | |
parent | ad0557059bb83da52e1a5bd7ea608a29a4ab6346 (diff) |
Fix styles
Diffstat (limited to 'gui/resources')
-rw-r--r-- | gui/resources/styles.qss | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gui/resources/styles.qss b/gui/resources/styles.qss index a61035e..758978c 100644 --- a/gui/resources/styles.qss +++ b/gui/resources/styles.qss @@ -4,6 +4,8 @@ color: "#00cc00"; background-color: "#000200"; border: 0px solid "#000200"; + selection-background-color: "#00cc00"; + selection-color: "#000200"; } QStatusBar { @@ -50,6 +52,52 @@ QGroupBox::title { QLabel { } +QSpinBox { + padding-right: 15px; /* make room for the arrows */ + border: none; +} + +QSpinBox::up-button { + color: "#000200"; + background-color: "#00cc00"; + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + + width: 16px; + border: none; + subcontrol-origin: border; +} + +QSpinBox::up-arrow { + width: 7px; + height: 7px; +} + +QSpinBox::up-button:pressed { + color: "#00cc00"; + background-color: "#000200"; +} + +QSpinBox::down-button { + color: "#000200"; + background-color: "#00cc00"; + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + + width: 16px; + border: none; +} + +QSpinBox::down-arrow { + width: 7px; + height: 7px; +} + +QSpinBox::down-button:pressed { + color: "#00cc00"; + background-color: "#000200"; +} + QTableView { border: 0px; selection-background-color: transparent; |