style-light.css 8.69 KB
Newer Older
1 2 3 4 5 6
/*
 This is a slave style sheet in relationship to the master style sheet. That means that it should only
 contain color settings. It should not contain position or size information. That comes from the master
 style sheet.
*/

7 8 9
* {
    background-color: #F6F6F6;
    color: #000;
10
    background-clip: border;
11 12 13
}

*::disabled {
14
    color: #AAA;
15 16
}

17
JoystickButton QLabel {
18
    border-color: #777;
19 20
}

21 22 23 24 25
QCheckBox {
    color: #222;
}

QCheckBox::indicator {
26
    border-color: #111;
27 28
}

29 30 31 32 33 34 35 36 37
QCheckBox::indicator:hover {
    background-color: #CCC;
}

QCheckBox::indicator:pressed, QCheckBox::indicator:checked:pressed {
    background-color: #777;
}

QCheckBox::indicator:checked {
38
    background-color: #379AC3;
39 40
}

41 42 43 44 45 46 47 48
QCheckBox::indicator:disabled {
    border-color: #555;
}

QCheckBox::indicator:disabled:checked {
    background-color: #AAA;
}

49
QComboBox {
50
    border-color: #777;
51 52
}

53
QDialog {
54
    border-color: #777;
55 56
}

57
QDockWidget {
58
    border-color: #666;
59 60 61
}

QDockWidget::close-button, QDockWidget::float-button {
62
    border-color: transparent;
63
    background: none;
64 65 66
}

QDockWidget::close-button:hover, QDockWidget::float-button:hover {
67
    background: #777;
68 69 70
}

QDockWidget::close-button:pressed, QDockWidget::float-button:pressed {
71
    background: #555;
72 73 74
}

QDockWidget::title {
75 76
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #CCC, stop: 1 #888);
    color: #000;
77 78
}

79 80 81 82 83
QGCMAVLinkLogPlayer {
    background: none;
}

QGCMAVLinkLogPlayer QLabel {
84
    color: #FFF;
85 86 87
}

QGCMAVLinkLogPlayer QLabel:disabled {
88
    color: #666;
89 90
}

91
QGCToolWidgetItem {
92
    border-color: #666;
93 94
}

95
QGroupBox {
96
    border-color: #666;
97 98 99 100
}

QGroupBox::title {
    color: #000;
101 102
}

103
QHeaderView::section {
104
	border-right: #969696;
105 106 107
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #DDD, stop: 1 #999);
}

108 109
QLabel {
    background-color: transparent;
110 111
}

112
QLabel:disabled {
113 114
    color: #999;
    border-color: #999;
115 116
}

117
QLineEdit {
118
    border-color: #111;
119 120
}

121
QMainWindow::separator {
122
    background-color: #CCC;
123 124
}

125 126
QMainWindow::separator:hover {
    background-color: #222;
127 128
}

129
QMenu {
130
    border-color:#379AC3;
131 132
}

Bryant's avatar
Bryant committed
133
QMenu::item:selected, QMenu::item:checked:selected {
134 135
    background-color: #555;
    color: #FFF;
136 137 138
}

QMenu::item:checked {
139 140
    background-color: #379AC3;
    color: #FFF;
141 142
}

143 144
QMenu::separator {
    background: #379AC3;
145 146
}

147 148 149 150 151 152 153 154
/*
 * Fix for bug in Qt5 where QMenuBar items are styled natively on Windows, ignoring inherited settings.
 * so we explicitly set their background color here (should match catch-all style background color).
 */
QMenuBar::item {
    background-color: #F6F6F6;
}

155
QMenuBar::item:selected {
156 157
    background-color: #555;
    color: #FFF;
158 159
}

160 161
QMenuBar::item:disabled {
    background: none;
162 163 164
}

QPlainTextEdit {
165
    border-color: #111;
166 167 168
}

QProgressBar {
169
    border-color: #666;
170 171
    color: #000;
    background: none;
172 173 174 175 176 177
}

QProgressBar::chunk {
    background-color: #666;
}

178 179 180 181
QProgressBar::chunk#batteryBar {
    background-color: green;
}

182 183 184 185 186 187 188 189
QProgressBar::chunk#speedBar {
    background-color: yellow;
}

QProgressBar::chunk#thrustBar {
    background-color: orange;
}

190
QPushButton, QToolButton {
191
    border-color: #465158;
192
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #BBB, stop: 1 #777);
193 194
}

195
QPushButton#connectButton, QPushButton#controlButton {
196
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #73D95D, stop: 1 #18A154);
197 198
}

199
QPushButton#deleteButton, QPushButton#killButton {
200
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D9002F, stop: 1 #AC0025);
201 202
}

203
QPushButton:checked, QToolButton:checked {
204
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444, stop: 1 #888);
205 206 207
    color: #FFF;
}

208
QPushButton:checked#connectButton, QPushButton:checked#controlButton {
209
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E38000, stop: 1 #945F00);
210
    color: #000;
211 212
}

213 214 215 216 217 218 219 220
QPushButton:checked:hover#connectButton, QPushButton:checked:hover#controlButton {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FF9000, stop: 1 #B37300);
}

QPushButton:checked:pressed#connectButton, QPushButton:checked:pressed#controlButton {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #DB7C00, stop: 1 #825400);
}

221 222
QPushButton:disabled, QToolButton:disabled {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #EEE, stop: 1 #CCC);
223
    color: #AAA;
224 225
}

226
QPushButton:hover, QToolButton:hover {
227
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #B8D3E6, stop: 1 #899FAD);
228 229
}

230 231 232 233
QPushButton:hover#connectButton, QPushButton:hover#controlButton {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #87FF6D, stop: 1 #1FD16D);
}

234
QPushButton:hover#deleteButton, QPushButton#killButton {
235 236 237
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F20034, stop: 1 #9E0022);
}

238
QPushButton:pressed, QToolButton:pressed {
239
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #AAA, stop: 1 #666);
240 241
}

242 243 244 245
QPushButton:pressed#connectButton, QPushButton:pressed#controlButton {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #62B84E, stop: 1 #148A47);
}

246
QPushButton:pressed#deleteButton, QPushButton#killButton {
247 248 249
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #C9002C, stop: 1 #9C0021);
}

250 251 252 253 254 255 256
QPushButton#advancedMenuButton, QPushButton#airframeMenuButton, QPushButton#firmwareMenuButton,
QPushButton#tuningMenuButton, QPushButton#rcMenuButton, QPushButton#sensorMenuButton,
QPushButton#flightModeMenuButton, QPushButton#safetyConfigButton {
    border-color: #465158;
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #BBB, stop: 1 #777);
}

257 258 259 260 261
VehicleSetupButton, VehicleComponentButton {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #BBB, stop: 1 #777);
    border-color: #465158;
}

262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
QPushButton#planePushButton, QPushButton#flyingWingPushButton, QPushButton#quadXPushButton,
QPushButton#quadPlusPushButton, QPushButton#hexaXPushButton, QPushButton#hexaPlusPushButton,
QPushButton#octoXPushButton, QPushButton#octoPlusPushButton, QPushButton#hPushButton {
    border-color: #465158;
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #BBB, stop: 1 #777);
}

QPushButton:checked#planePushButton, QPushButton:checked#flyingWingPushButton, QPushButton:checked#quadXPushButton,
QPushButton:checked#quadPlusPushButton, QPushButton:checked#hexaXPushButton, QPushButton:checked#hexaPlusPushButton,
QPushButton:checked#octoXPushButton, QPushButton:checked#octoPlusPushButton, QPushButton:checked#hPushButton {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444, stop: 1 #888);
    color: #FFF;
}

QWidget#navBarWidget {
    background-color: #F6F6F6;
}

280
QScrollBar {
281
    border-color: #333;
282 283
}

284
QSeparator {
285
    color: #000;
286 287
}

288 289
QSlider {
    background-color: transparent;
290 291
}

292
QSlider::groove:horizontal {
293
    border-color: #999;
294 295 296 297
    background-color: #4A4A4A;
}

QSlider::groove:horizontal:disabled {
298
    border-color: #999;
299
    background-color: #CCC;
300
}
301

302
QSlider::groove:vertical {
303
    border-color: #999;
304 305 306 307 308
    background-color: #4A4A4A;
}

QSlider::handle:horizontal {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
309
    border-color: #379AC3;
310 311 312
}

QSlider::handle:horizontal:disabled {
313
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #EEE, stop: 1 #CCC);
314
    border-color: #777;
315 316 317 318
}

QSlider::handle:vertical {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #232228, stop: 1 #020208);
319
    border-color: #379AC3;
320 321 322 323 324 325 326
}

QSizeGrip {
    background: none;
}

QSpinBox, QDoubleSpinBox {
327
    border-color: #4A4A4A;
328 329 330
}

QStatusBar {
331
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #DDD, stop: 1 #999);
332 333
}

334
QTabBar::tab {
335
    border-color: #777;
336 337
}

338
QTabBar::tab:hover {
339
    border-color: #379AC3;
340 341 342
}

QTabBar::tab:selected {
343
    border-color:d #379AC3;
344
    background: #CCC;
345 346
}

347
QTabWidget::pane {
348
    border-color: #777;
349 350 351
}

QTextEdit {
352
    border-color: #222;
353 354
}

355
QToolTip {
356
    background-color: #F6F6F6;
357
    border-color: #379AC3;
358
    color: #000;
359
}
360

361 362 363 364
QTreeView::item {
	color: #000;
}

365 366
UASView {
    background: #D0D0D0;
367
    border-color: #666;
368 369 370
}

UASView QLabel#heartBeatLabel, UASView QLabel#typeLabel {
371
    border-color: #333;
372 373
}

374
WaypointEditableView, WaypointViewOnlyView {
375
    border-color: #333;
376 377
}

378 379 380 381 382 383 384 385
WaypointEditableView[RowColoring="odd"], WaypointViewOnlyView[RowColoring="odd"] {
    background-color: #999;
}

WaypointEditableView[RowColoring="even"], WaypointViewOnlyView[RowColoring="even"] {
    background-color: #CCC;
}

386
WaypointEditableView QCheckBox, WaypointEditableView .QWidget, WaypointViewOnlyView QCheckBox, WaypointViewOnlyView .QWidget {
387 388
    background: none;
}