1QToolTip 2{ 3 /* explicit border width is required https://bugreports.qt.io/browse/QTBUG-41313 */ 4 border: 0px; 5 color: black; 6 background: #ffffdc; 7} 8 9QDialog 10{ 11 background: @groundBase; 12} 13 14QWidget#contentWidget 15{ 16 background: @groundBase; 17} 18 19QTabWidget 20{ 21 background-color: #100f0f; 22} 23 24QTabBar::tab:selected 25{ 26 background: #100f0f; 27 color: @mainText; 28} 29 30QTabBar::tab:!selected 31{ 32 background: #444242; 33 color: #8e8e8e; 34} 35 36QLabel 37{ 38 color: @mainText; 39} 40 41QListView 42{ 43 color: @mainText; 44} 45 46QTextEdit, QPlainTextEdit 47{ 48 border-color: #514f4f; 49 border-style: solid; 50 border-width: 1px 0 1px 1px; 51 background: @groundBase; 52 color: @mainText; 53} 54 55QListWidget 56{ 57 background-color: @groundBase; 58} 59 60QMessageBox 61{ 62 background-color: @groundBase; 63} 64 65QCheckBox 66{ 67 color: @mainText; 68} 69 70QCheckBox::indicator { 71 width: 12px; 72 height: 12px; 73 border: 2px solid #514f4f; 74 border-radius: 2px; 75} 76 77QCheckBox::indicator:checked { 78 image: url("@getImagePath(settings/checkboxChecked.svg)"); 79} 80 81QCheckBox::indicator:checked:pressed, 82QCheckBox::indicator:unchecked:pressed { 83 background: #514f4f; 84} 85 86QCheckBox:disabled 87{ 88 color: grey; 89} 90 91QCheckBox:indicator:disabled { 92 border: 2px solid #373535; 93 border-radius: 2px; 94} 95 96QCheckBox:indicator:checked:disabled { 97 image: url("@getImagePath(settings/checkboxCheckedDisabled.svg)"); 98} 99 100QSpinBox, QDoubleSpinBox 101{ 102 background: @groundBase; 103 color: @mainText; 104} 105 106QSpinBox:disabled, QDoubleSpinBox:disabled 107{ 108 background: #262424; 109 color: grey; 110} 111 112QGroupBox 113{ 114 color: @mainText; 115 background-color: @groundBase; 116 font: @bigBold; 117} 118 119QComboBox 120{ 121 color: @mainText; 122 background-color: @groundBase; 123} 124 125QComboBox QAbstractItemView { 126 background-color: @groundBase; 127} 128 129QLineEdit 130{ 131 background: @groundBase; 132 color: @mainText; 133} 134 135QLineEdit:disabled 136{ 137 background-color: #262424; 138 color: grey; 139} 140 141QScrollArea 142{ 143 background-color: @groundBase; 144} 145 146QScrollArea > QWidget > QWidget 147{ 148 background: transparent; 149} 150 151QScrollArea::corner 152{ 153 background-color: @groundBase; 154 border: none; 155} 156 157QScrollBar:vertical 158{ 159 background: transparent; 160 width: 12px; 161 margin-top: 2px; 162 margin-bottom: 2px; 163} 164 165/* using last is a bit of a hack, but QTabBar otherwise doesn't allow selecting single tabs */ 166QTabBar::tab:last:!selected[update-available=true] 167{ 168 background-color: #115508; 169} 170 171QPushButton#updateAvailableButton 172{ 173 background-color: #115508; 174} 175 176QScrollBar::handle:vertical 177{ 178 background-color: #343232; 179 min-height: 20px; 180 border-radius: 3px; 181 margin-left: 2px; 182} 183 184QScrollBar::handle:vertical:hover 185{ 186 background-color: #3e3c3c; 187} 188 189QScrollBar::handle:vertical:pressed 190{ 191 background-color: #474545; 192} 193 194QScrollBar::add-line:vertical 195{ 196 background-color: white; 197 height: 0px; 198 subcontrol-position: bottom; 199 subcontrol-origin: margin; 200} 201 202QScrollBar::sub-line:vertical 203{ 204 background-color: white; 205 height: 0px; 206 subcontrol-position: top; 207 subcontrol-origin: margin; 208} 209 210QScrollBar:QScrollBar::down-arrow:vertical 211{ 212 width: 10; 213 height: 10px; 214 background-color: white; 215} 216 217QScrollBar:QScrollBar::up-arrow:vertical 218{ 219 width: 10px; 220 height: 10px; 221 background-color: white; 222} 223 224QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical 225{ 226 background: none; 227} 228 229QScrollBar:horizontal 230{ 231 background: transparent; 232 height: 10px; 233 margin: 0 2px 0 2px; 234} 235 236QScrollBar::handle:horizontal 237{ 238 background-color: #343232; 239 min-width: 20px; 240 border-radius: 2px; 241} 242 243QScrollBar::handle:horizontal:hover 244{ 245 background-color: #3e3c3c; 246} 247 248QScrollBar::handle:horizontal:pressed 249{ 250 background-color: #474545; 251} 252 253QScrollBar::add-line:horizontal 254{ 255 background-color: white; 256 width: 0px; 257 subcontrol-position: right; 258 subcontrol-origin: margin; 259} 260 261QScrollBar::sub-line:horizontal 262{ 263 background-color: white; 264 width: 0px; 265 subcontrol-position: left; 266 subcontrol-origin: margin; 267} 268 269QScrollBar:QScrollBar::down-arrow:horizontal 270{ 271 width: 10; 272 height: 10px; 273 background-color: white; 274} 275 276QScrollBar:QScrollBar::up-arrow:horizontal 277{ 278 width: 10px; 279 height: 10px; 280 background-color: white; 281} 282 283QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal 284{ 285 background: none; 286} 287 288QRadioButton 289{ 290 background: @groundBase; 291 color: @mainText; 292} 293 294QPushButton 295{ 296 background: #323030; 297 color: @mainText; 298} 299 300QSplitter:handle 301{ 302 color: @groundBase; 303 background-color: @groundBase; 304} 305