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 {
Lorenz Meier's avatar
Lorenz Meier committed
5
    background-color: #222224;
6 7 8
    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 {
Lorenz Meier's avatar
Lorenz Meier committed
83 84 85
    background-color: #323235;
    width: 2px; /* when vertical */
    height: 2px; /* when horizontal */
86 87 88 89 90
 }

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

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

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

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

Lorenz Meier's avatar
Lorenz Meier committed
114 115
 QDockWidget {
    border: 10px solid #66666B;
116
     /*padding: 2px;*/
Lorenz Meier's avatar
Lorenz Meier committed
117 118 119 120
     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
121 122 123 124
}

QDockWidget::title {
    text-align: left;
Lorenz Meier's avatar
Lorenz Meier committed
125 126 127 128 129 130
    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
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
}

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 */
148
    border-image: url(:/files/images/actions/go-up.svg) 1;
pixhawk's avatar
pixhawk committed
149 150 151 152 153
    border-width: 1px;
}
QSpinBox::down-button {
    subcontrol-origin: border;
    subcontrol-position: bottom right; /* position at the top right corner */
154
    border-image: url(:/files/images/actions/go-down.svg) 1;
pixhawk's avatar
pixhawk committed
155 156 157 158 159 160 161 162 163 164 165 166 167
    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 */
168
    border-image: url(:/files/images/actions/go-up.svg) 1;
pixhawk's avatar
pixhawk committed
169 170 171 172 173 174
    border-width: 1px;
    max-width: 5px;
}
QDoubleSpinBox::down-button {
    subcontrol-origin: border;
    subcontrol-position: bottom right; /* position at the top right corner */
175
    border-image: url(:/files/images/actions/go-down.svg) 1;
pixhawk's avatar
pixhawk committed
176 177 178 179 180
    border-width: 1px;
    max-width: 5px;
}

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

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

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

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
205 206 207
	min-height: 20px;
	/*min-width: 24px;*/
	max-height: 20px;
Lorenz Meier's avatar
Lorenz Meier committed
208 209
	border: 1px solid #4A4A4F;
    margin: 1px;
Lorenz Meier's avatar
Lorenz Meier committed
210
	border-radius: 2px;
Lorenz Meier's avatar
Lorenz Meier committed
211
    padding-left: 3px;
Lorenz Meier's avatar
Lorenz Meier committed
212 213
    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
214 215
}

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

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

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
229 230 231
    background-color: #3D5368;
    border: 0px solid #379AC3;
    margin: 3px;
pixhawk's avatar
pixhawk committed
232
	border-radius: 3px;
233 234 235 236 237
    color: #DDDDDF;
}

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

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

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

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

266 267 268 269 270 271 272
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
273
 QSlider::groove:disabled:horizontal {
274
     border: 1px solid #454545;
Lorenz Meier's avatar
Lorenz Meier committed
275
     height: 4px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
276
     background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #4A4A4F, stop:1 #4A4A4F);
Lorenz Meier's avatar
Lorenz Meier committed
277 278 279
     margin: 2px 0;
 }

280 281 282 283 284 285 286
 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
287 288 289 290 291 292 293 294

 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;
 }
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
 
 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;
 }
310

pixhawk's avatar
pixhawk committed
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 374
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
375
    height: 10px;
pixhawk's avatar
pixhawk committed
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
}

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;
}
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420

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
421
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535);
422
    border: 2px solid #62676B;
Lorenz Meier's avatar
Lorenz Meier committed
423 424 425
    border-radius: 4px;
    min-width: 8ex;
    padding: 2px;
426 427 428 429 430 431 432 433 434 435
 }

 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
436 437 438 439 440

QLabel {
    background-color: transparent;
}

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

LM's avatar
LM committed
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
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;
}