style-indoor.css 10.9 KB
Newer Older
1
/** { font-family: "Bitstream Vera Sans"; font: "Roman"; font-size: 12px; }*/
pixhawk's avatar
pixhawk committed
2 3 4
QWidget#colorIcon {}

QWidget {
5 6 7 8
    background-color: #222222;
    color: #FFFFFF;
    background-clip: border;
    font-size: 11px;
pixhawk's avatar
pixhawk committed
9 10 11
}

QGroupBox {
12 13 14 15
    border: 1px solid #66666B;
    border-radius: 3px;
    padding: 10px 0px 0px 0px;
    margin-top: 1ex; /* leave space at the top for the title */
pixhawk's avatar
pixhawk committed
16 17 18
}

QCheckBox {
19 20
    /*background-color: #252528;*/
    color: #DDDDDF;
pixhawk's avatar
pixhawk committed
21 22 23 24 25
}

QCheckBox::indicator {
    border: 1px solid #777777;
    border-radius: 2px;
26 27 28
    color: #FFFFFF;
    width: 10px;
    height: 10px;
pixhawk's avatar
pixhawk committed
29 30 31 32 33 34 35 36
}

QLineEdit {
border: 1px solid #777777;
    border-radius: 2px;
}

QTextEdit {
37
    border: 1px solid #777777;
pixhawk's avatar
pixhawk committed
38 39 40 41
    border-radius: 2px;
}

QPlainTextEdit {
42
    border: 1px solid #777777;
pixhawk's avatar
pixhawk committed
43
    border-radius: 2px;
44 45
    font-family: "Monospace";
    font: large;
pixhawk's avatar
pixhawk committed
46 47 48 49 50 51 52 53
}

QComboBox {
border: 1px solid #777777;
    border-radius: 2px;
    }

 QCheckBox::indicator:checked {
54
     background-color: #379AC3;
pixhawk's avatar
pixhawk committed
55 56 57
 }

 QCheckBox::indicator:checked:hover {
58
     background-color: #379AC3;
pixhawk's avatar
pixhawk committed
59 60 61
 }

 QCheckBox::indicator:checked:pressed {
62
     background-color: #379AC3;
pixhawk's avatar
pixhawk committed
63 64 65
 }

 QCheckBox::indicator:indeterminate:hover {
66
     image: url(:/files/images/checkbox_indeterminate_hover.png);
pixhawk's avatar
pixhawk committed
67 68 69
 }

 QCheckBox::indicator:indeterminate:pressed {
70
     image: url(:/files/images/checkbox_indeterminate_pressed.png);
pixhawk's avatar
pixhawk committed
71 72 73 74 75 76 77 78 79 80 81
 }

 QGroupBox::title {
     subcontrol-origin: margin;
     subcontrol-position: top center; /* position at the top center */
     margin: 0 3px 0px 3px;
     padding: 0 3px 0px 0px;
     font: bold 8px;
     color: #DDDDDF;
 }
 
82
 QMainWindow::separator {
83 84
     width: 0px; /* when vertical */
     height: 0px; /* when horizontal */
85 86 87 88 89
 }

 QMainWindow::separator:hover {
     background: white;
 }
90 91 92 93 94 95 96
 
 QGCToolWidgetItem {
	border: 1px solid #66666B;
	border-radius: 3px;
	padding: 10px 0px 0px 0px;
	margin-top: 1ex; /* leave space at the top for the title */
 }
97

Lorenz Meier's avatar
Lorenz Meier committed
98 99 100 101 102
QDockWidget::close-button, QDockWidget::float-button {
    border: 1px solid transparent;
    background: none;
    padding: 0px;
}
103

Lorenz Meier's avatar
Lorenz Meier committed
104 105 106
QDockWidget::close-button:hover, QDockWidget::float-button:hover {
    background: none;
}
107

Lorenz Meier's avatar
Lorenz Meier committed
108
QDockWidget::close-button:pressed, QDockWidget::float-button:pressed {
109
     padding: 1px -1px -1px 1px;
Lorenz Meier's avatar
Lorenz Meier committed
110 111
     background: none;
}
pixhawk's avatar
pixhawk committed
112

Lorenz Meier's avatar
Lorenz Meier committed
113 114
 QDockWidget {
    border: 10px solid #66666B;
115
     /*padding: 2px;*/
Lorenz Meier's avatar
Lorenz Meier committed
116 117 118 119
     border-radius: 1px;
     /*background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);*/
  /*   titlebar-close-icon: url(close.png);
     titlebar-normal-icon: url(undock.png);*/
pixhawk's avatar
pixhawk committed
120 121 122 123
}

QDockWidget::title {
    text-align: left;
Lorenz Meier's avatar
Lorenz Meier committed
124 125 126 127 128 129
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #3F556A, stop: 1 #293645);
    color: #EDEDED;
    padding-left: 10px;
    height: 14px;
    border-bottom: 1px solid #1B1F22;
	border-bottom: 2px solid #2C3A4A;
pixhawk's avatar
pixhawk committed
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
}

QSeparator {
    color: #EEEEEE;
    }


QSpinBox {
	min-height: 14px;
	max-height: 18px;
    border: 1px solid #4A4A4F;
	border-radius: 5px;
}

QSpinBox::up-button {
    subcontrol-origin: border;
    subcontrol-position: top right; /* position at the top right corner */
147
    border-image: url(:/files/images/actions/go-up.svg) 1;
pixhawk's avatar
pixhawk committed
148 149 150 151 152
    border-width: 1px;
}
QSpinBox::down-button {
    subcontrol-origin: border;
    subcontrol-position: bottom right; /* position at the top right corner */
153
    border-image: url(:/files/images/actions/go-down.svg) 1;
pixhawk's avatar
pixhawk committed
154 155 156 157 158 159 160 161 162 163 164 165 166
    border-width: 1px;
}

QDoubleSpinBox {
	min-height: 14px;
	max-height: 18px;
    border: 1px solid #4A4A4F;
	border-radius: 5px;
}

QDoubleSpinBox::up-button {
    subcontrol-origin: border;
    subcontrol-position: top right; /* position at the top right corner */
167
    border-image: url(:/files/images/actions/go-up.svg) 1;
pixhawk's avatar
pixhawk committed
168 169 170 171 172 173
    border-width: 1px;
    max-width: 5px;
}
QDoubleSpinBox::down-button {
    subcontrol-origin: border;
    subcontrol-position: bottom right; /* position at the top right corner */
174
    border-image: url(:/files/images/actions/go-down.svg) 1;
pixhawk's avatar
pixhawk committed
175 176 177 178 179
    border-width: 1px;
    max-width: 5px;
}

QPushButton {
Lorenz Meier's avatar
Lorenz Meier committed
180 181
    min-height: 20px;
    max-height: 20px;
Lorenz Meier's avatar
Lorenz Meier committed
182 183
	border: 1px solid #465158;
    margin: 1px;
Lorenz Meier's avatar
Lorenz Meier committed
184
	border-radius: 2px;
185 186
	padding-left: 8px;
	padding-right: 8px;
Lorenz Meier's avatar
Lorenz Meier committed
187
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);
pixhawk's avatar
pixhawk committed
188 189
}

190 191 192 193
QPushButton:disabled {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
}

pixhawk's avatar
pixhawk committed
194
QPushButton:checked {
Lorenz Meier's avatar
Lorenz Meier committed
195
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #09A2B2, stop: 1 #414B52);
pixhawk's avatar
pixhawk committed
196 197 198 199 200 201 202 203
}

QPushButton:pressed {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0);
}

QToolButton {
	font-weight: bold;
Lorenz Meier's avatar
Lorenz Meier committed
204 205 206
	min-height: 20px;
	/*min-width: 24px;*/
	max-height: 20px;
Lorenz Meier's avatar
Lorenz Meier committed
207 208
	border: 1px solid #4A4A4F;
    margin: 1px;
Lorenz Meier's avatar
Lorenz Meier committed
209
	border-radius: 2px;
Lorenz Meier's avatar
Lorenz Meier committed
210
    padding-left: 3px;
Lorenz Meier's avatar
Lorenz Meier committed
211 212
    padding-right: 3px;
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);
pixhawk's avatar
pixhawk committed
213 214
}

215 216 217 218
QToolButton:disabled {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
}

pixhawk's avatar
pixhawk committed
219
QToolButton:checked {
Lorenz Meier's avatar
Lorenz Meier committed
220
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #09A2B2, stop: 1 #414B52);
pixhawk's avatar
pixhawk committed
221 222 223 224 225 226 227
}

QToolButton:pressed {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0);
}

QToolTip {
Lorenz Meier's avatar
Lorenz Meier committed
228 229 230
    background-color: #3D5368;
    border: 0px solid #379AC3;
    margin: 3px;
pixhawk's avatar
pixhawk committed
231
	border-radius: 3px;
232 233 234 235 236
    color: #DDDDDF;
}

QMenu {
    border: 1px solid #379AC3;
pixhawk's avatar
pixhawk committed
237 238
}

239 240 241 242 243 244 245 246 247
QMenu::separator {
     height: 1px;
     background: #379AC3;
     margin-top: 8px;
     margin-bottom: 4px;
     margin-left: 5px;
     margin-right: 5px;
 }

248
QMenuBar::item:disabled {
249 250
    border: none;
    background: none;
251
}
252 253 254
QMenuBar::item:disabled:selected {
    border: none;
    background: none;
255 256
}
QMenuBar::item:disabled:pressed {
257 258
    background: none;
    border: none;
259 260
}

Lorenz Meier's avatar
Lorenz Meier committed
261 262 263 264
QSlider {
    background-color: transparent;
}

265 266 267 268 269 270 271
QSlider::groove:horizontal {
     border: 1px solid #999999;
     height: 4px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
     background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #4A4A4F, stop:1 #4A4A4F);
     margin: 2px 0;
 }

Lorenz Meier's avatar
Lorenz Meier committed
272
 QSlider::groove:disabled:horizontal {
273
     border: 1px solid #454545;
Lorenz Meier's avatar
Lorenz Meier committed
274
     height: 4px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
275
     background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #4A4A4F, stop:1 #4A4A4F);
Lorenz Meier's avatar
Lorenz Meier committed
276 277 278
     margin: 2px 0;
 }

279 280 281 282 283 284 285
 QSlider::handle:horizontal {
     background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
     border: 2px solid #379AC3;
     width: 18px;
     margin: -5px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
     border-radius: 3px;
 }
Lorenz Meier's avatar
Lorenz Meier committed
286 287 288 289 290 291 292 293

 QSlider::handle:disabled:horizontal {
     background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #535258, stop: 1 #050508);
     border: 2px solid #444444;
     width: 18px;
     margin: -5px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
     border-radius: 3px;
 }
294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
 
 QSlider::groove:vertical {
     border: 1px solid #999999;
     width: 4px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
     background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #4A4A4F, stop:1 #4A4A4F);
     margin: 2px 0;
 }

 QSlider::handle:vertical {
     background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #232228, stop: 1 #020208);
     border: 2px solid #379AC3;
     height: 18px;
     margin: 0 -5px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
     border-radius: 3px;
 }
309

pixhawk's avatar
pixhawk committed
310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373
QPushButton#forceLandButton {
	font-weight: bold;
	min-height: 30px;
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #ffee01, stop:1 #ae8f00) url("ICONDIR/control/emergency-button.png");
	background-clip: border;
	border-width: 1px;
	border-color: #555555;
	border-radius: 5px;
}

QPushButton:pressed#forceLandButton {
	font-weight: bold;
	min-height: 30px;
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #bbaa00, stop:1 #a05b00) url("ICONDIR/control/emergency-button.png");
	background-clip: border;
	border-width: 1px;
	border-color: #555555;
	border-radius: 5px;
}

QPushButton#killButton {
	font-weight: bold;
	min-height: 30px;
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #ffb917, stop:1 #b37300) url("ICONDIR/control/emergency-button.png");
	background-clip: border;
	border-width: 1px;
	border-color: #555555;
	border-radius: 5px;
}

QPushButton:pressed#killButton {
	font-weight: bold;
	min-height: 30px;
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #bb8500, stop:1 #903000) url("ICONDIR/control/emergency-button.png");
	background-clip: border;
	border-width: 1px;
	border-color: #555555;
	border-radius: 5px;
}

QPushButton#controlButton {
    min-height: 25px;
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A0AE00, stop: 1 #909E00);
}

QPushButton:checked#controlButton {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #b76f11, stop: 1 #e1a718);
}

QProgressBar {
	border: 1px solid #4A4A4F;
	border-radius: 4px;
	text-align: center;
	padding: 2px;
	color: #DDDDDF;
	background-color: #111118;
LM's avatar
LM committed
374
    height: 10px;
pixhawk's avatar
pixhawk committed
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
}

QProgressBar:horizontal {
    height: 9px;
}

QProgressBar:vertical {
    width: 9px;
}

QProgressBar::chunk {
	background-color: #3C7B9E;
}

QProgressBar::chunk#batteryBar {
	background-color: green;
}

QProgressBar::chunk#speedBar {
	background-color: yellow;
}

QProgressBar::chunk#thrustBar {
	background-color: orange;
}
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419

QDialog {
  border: 1px solid #62676B;
  border-radius: 2px;
}

 QTabWidget::pane { /* The tab widget frame */
     border: 1px solid #62676B;
     border-radius: 2px;
     position: absolute;
     top: -0.5em;
 }

 QTabWidget::tab-bar {
     alignment: center;
 }

 /* Style the tab using the tab sub-control. Note that
     it reads QTabBar _not_ QTabWidget */
 QTabBar::tab {
Lorenz Meier's avatar
Lorenz Meier committed
420
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535);
421
    border: 2px solid #62676B;
Lorenz Meier's avatar
Lorenz Meier committed
422 423 424
    border-radius: 4px;
    min-width: 8ex;
    padding: 2px;
425 426 427 428 429 430 431 432 433 434
 }

 QTabBar::tab:selected, QTabBar::tab:hover {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535);
    border: 2px solid #379AC3;
 }

 QTabBar::tab:selected {
     border: 2px solid #379AC3;
 }
LM's avatar
LM committed
435 436 437 438 439

QLabel {
    background-color: transparent;
}

440 441 442 443
QLabel:disabled {
    color: #353535;
}

LM's avatar
LM committed
444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
QLabel#toolBarNameLabel {
	font: bold 16px;
	color: #3C7B9E;
}

QLabel#toolBarModeLabel {
	font: 12px;
}

QLabel#toolBarStateLabel {
	font: 12px;
	color: #3C7B9E;
}

QLabel#toolBarMessageLabel {
	font: 12px;
    font-style: italic;
	color: #3C7B9E;
}