Fix Firmware tree checkboxes

Make it look like the rest of the file to communicate with the user correctly
This commit is contained in:
Darkhost1999 2023-11-05 07:02:16 -06:00 committed by Megamouse
parent e26d4e1762
commit 151738a4cb

View File

@ -58,7 +58,7 @@ QTabBar::tab:hover {
} }
/* Checkboxes */ /* Checkboxes */
QCheckBox::indicator { QCheckBox::indicator, QListWidget::indicator, QTreeWidget::indicator {
border-radius: 0.125em; border-radius: 0.125em;
border-top-right-radius: 0em; border-top-right-radius: 0em;
border-bottom-left-radius: 0em; border-bottom-left-radius: 0em;
@ -67,13 +67,13 @@ QCheckBox::indicator {
height: 0.8em; height: 0.8em;
margin-top: 0.0625em; margin-top: 0.0625em;
} }
QCheckBox::indicator:checked { QCheckBox::indicator:checked, QListWidget::indicator::checked, QTreeWidget::indicator::checked {
background-color: #FFF; /* White */ background-color: #FFF; /* White */
} }
QCheckBox::indicator:unchecked { QCheckBox::indicator:unchecked, QListWidget::indicator::unchecked, QTreeWidget::indicator::unchecked {
background-color: #000; /* Black */ background-color: #000; /* Black */
} }
QCheckBox::indicator::disabled { QCheckBox::indicator::disabled, QListWidget::indicator::disabled, QTreeWidget::indicator::disabled {
background-color: #af4949; /* Red */ background-color: #af4949; /* Red */
} }
@ -180,18 +180,6 @@ QMenu::item:disabled {
border-radius: 0.25em; border-radius: 0.25em;
} }
/* Libraries list */
QListWidget::item:selected {
background-color: #3d3d3d;
color: #ecf0f1;
border-radius: 0.125em;
}
QListWidget::item:hover {
background-color: #4c4b4b;
color: #ecf0f1;
border-radius: 0.25em;
}
/* Pad Settings: Controller Image */ /* Pad Settings: Controller Image */
QLabel#l_controller { QLabel#l_controller {
color: #FFF; color: #FFF;