style-indoor.css 10.1 KB
Newer Older
1
* { font-family: "Bitstream Vera Sans"; font: "Roman"; font-size: 12px; }
pixhawk's avatar
pixhawk committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
QWidget#colorIcon {}

QWidget {
background-color: #050508;
color: #DDDDDF;
background-clip: border;
font-size: 11px;
}

QGroupBox {
border: 1px solid #66666B;
border-radius: 3px;
padding: 10px 0px 0px 0px;
margin-top: 1ex; /* leave space at the top for the title */
}

QCheckBox {
/*background-color: #252528;*/
color: #DDDDDF;
}

QCheckBox::indicator {
    border: 1px solid #777777;
    border-radius: 2px;
    color: #DDDDDF;
         width: 10px;
     height: 10px;
}

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 83 84 85 86 87 88 89 90
 QMainWindow::separator {
     background: #090909;
     width: 2px; /* when vertical */
     height: 2px; /* when horizontal */
 }

 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 116 117 118 119 120 121
 QDockWidget {
    border: 10px solid #66666B;
     padding: 2px;
     margin: 1px;
     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
122 123 124 125
}

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

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

QPushButton {
182
	/*font-weight: bold;
pixhawk's avatar
pixhawk committed
183 184
	min-height: 18px;
	max-height: 18px;
185
    min-width: 60px;*/
Lorenz Meier's avatar
Lorenz Meier committed
186 187 188 189 190
    min-height: 20px;
    /*min-width: 24px;*/
    max-height: 20px;
	border: 0px solid #59666f;
	border-radius: 2px;
191 192
	padding-left: 8px;
	padding-right: 8px;
Lorenz Meier's avatar
Lorenz Meier committed
193
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);
pixhawk's avatar
pixhawk committed
194 195 196 197
}

QPushButton:checked {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #404040, stop: 1 #808080);
Lorenz Meier's avatar
Lorenz Meier committed
198
    border: 0px solid #379AC3;
pixhawk's avatar
pixhawk committed
199 200 201 202
}

QPushButton:pressed {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0);
Lorenz Meier's avatar
Lorenz Meier committed
203
    border: 0px solid #379AC3;
pixhawk's avatar
pixhawk committed
204 205 206 207
}

QToolButton {
	font-weight: bold;
Lorenz Meier's avatar
Lorenz Meier committed
208 209 210 211 212 213 214 215
	min-height: 20px;
	/*min-width: 24px;*/
	max-height: 20px;
	border: 0px solid #4A4A4F;
	border-radius: 2px;
        padding-left: 3px;
    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
216 217 218 219
}

QToolButton:checked {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535);
220
    border: 2px solid #379AC3;
pixhawk's avatar
pixhawk committed
221 222 223 224
}

QToolButton:pressed {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0);
225
    border: 2px solid #379AC3;
pixhawk's avatar
pixhawk committed
226 227 228
}

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
}

262 263 264 265 266 267 268 269 270 271 272 273 274 275
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;
 }

 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;
 }
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
 
 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;
 }
291

pixhawk's avatar
pixhawk committed
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 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
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
356
    height: 10px;
pixhawk's avatar
pixhawk committed
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
}

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;
}
382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401

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
402
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535);
403
    border: 2px solid #62676B;
Lorenz Meier's avatar
Lorenz Meier committed
404 405 406
    border-radius: 4px;
    min-width: 8ex;
    padding: 2px;
407 408 409 410 411 412 413 414 415 416
 }

 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
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441

QLabel {
    background-color: transparent;
}

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;
}