| 1 |
/* ------------------------------------------------------------------------ */ |
| 2 |
/* QtMaterial - https://github.com/UN-GCPDS/qt-material |
| 3 |
/* By Yeison Cardona - GCPDS |
| 4 |
/* ------------------------------------------------------------------------ */ |
| 5 |
|
| 6 |
*{ |
| 7 |
color: #ffffff; |
| 8 |
|
| 9 |
font-family: Roboto; |
| 10 |
|
| 11 |
|
| 12 |
font-size: 13px; |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
line-height: 13px; |
| 17 |
|
| 18 |
|
| 19 |
selection-background-color: #6effe8; |
| 20 |
selection-color: #000000; |
| 21 |
} |
| 22 |
|
| 23 |
*:focus { |
| 24 |
outline: none; |
| 25 |
} |
| 26 |
|
| 27 |
/* ------------------------------------------------------------------------ */ |
| 28 |
/* Custom colors */ |
| 29 |
|
| 30 |
.danger{ |
| 31 |
color: #dc3545; |
| 32 |
background-color: transparent; |
| 33 |
} |
| 34 |
|
| 35 |
.warning{ |
| 36 |
color: #ffc107; |
| 37 |
background-color: transparent; |
| 38 |
} |
| 39 |
|
| 40 |
.success{ |
| 41 |
color: #17a2b8; |
| 42 |
background-color: transparent; |
| 43 |
} |
| 44 |
|
| 45 |
.danger:disabled{ |
| 46 |
color: rgba(220, 53, 69, 0.4); |
| 47 |
border-color: rgba(220, 53, 69, 0.4); |
| 48 |
} |
| 49 |
|
| 50 |
.warning:disabled{ |
| 51 |
color: rgba(255, 193, 7, 0.4); |
| 52 |
border-color: rgba(255, 193, 7, 0.4); |
| 53 |
} |
| 54 |
|
| 55 |
.success:disabled{ |
| 56 |
color: rgba(23, 162, 184, 0.4); |
| 57 |
border-color: rgba(23, 162, 184, 0.4); |
| 58 |
} |
| 59 |
|
| 60 |
.danger:flat:disabled{ |
| 61 |
background-color: rgba(220, 53, 69, 0.1); |
| 62 |
} |
| 63 |
|
| 64 |
.warning:flat:disabled{ |
| 65 |
background-color: rgba(255, 193, 7, 0.1); |
| 66 |
} |
| 67 |
|
| 68 |
.success:flat:disabled{ |
| 69 |
background-color: rgba(23, 162, 184, 0.1); |
| 70 |
} |
| 71 |
|
| 72 |
/* ------------------------------------------------------------------------ */ |
| 73 |
/* Basic widgets */ |
| 74 |
|
| 75 |
QWidget { |
| 76 |
background-color: #31363b; |
| 77 |
} |
| 78 |
|
| 79 |
QGroupBox, |
| 80 |
QFrame { |
| 81 |
background-color: #31363b; |
| 82 |
border: 2px solid #4f5b62; |
| 83 |
border-radius: 4px; |
| 84 |
} |
| 85 |
|
| 86 |
QGroupBox.fill_background, |
| 87 |
QFrame.fill_background { |
| 88 |
background-color: #232629; |
| 89 |
border: 2px solid #232629; |
| 90 |
border-radius: 4px; |
| 91 |
} |
| 92 |
|
| 93 |
QSplitter { |
| 94 |
background-color: transparent; |
| 95 |
border: none |
| 96 |
} |
| 97 |
|
| 98 |
QStatusBar { |
| 99 |
color: #ffffff; |
| 100 |
background-color: rgba(79, 91, 98, 0.2); |
| 101 |
border-radius: 0px; |
| 102 |
} |
| 103 |
|
| 104 |
QScrollArea, |
| 105 |
QStackedWidget, |
| 106 |
QWidget > QToolBox, |
| 107 |
QToolBox > QWidget, |
| 108 |
QTabWidget > QWidget { |
| 109 |
border: none; |
| 110 |
} |
| 111 |
|
| 112 |
QTabWidget::pane { |
| 113 |
border: none; |
| 114 |
} |
| 115 |
|
| 116 |
/* ------------------------------------------------------------------------ */ |
| 117 |
/* Inputs */ |
| 118 |
|
| 119 |
QDateTimeEdit, |
| 120 |
QSpinBox, |
| 121 |
QDoubleSpinBox, |
| 122 |
QTextEdit, |
| 123 |
QLineEdit, |
| 124 |
QPushButton { |
| 125 |
color: #1de9b6; |
| 126 |
background-color: #31363b; |
| 127 |
border: 2px solid #1de9b6; |
| 128 |
border-radius: 4px; |
| 129 |
height: 32px; |
| 130 |
} |
| 131 |
|
| 132 |
QDateTimeEdit, |
| 133 |
QSpinBox, |
| 134 |
QDoubleSpinBox, |
| 135 |
QTreeView, |
| 136 |
QListView, |
| 137 |
QLineEdit, |
| 138 |
QComboBox { |
| 139 |
color: #000000; |
| 140 |
padding-left: 16px; |
| 141 |
border-radius: 0px; |
| 142 |
border-radius: 0px; |
| 143 |
border-top-left-radius: 4px; |
| 144 |
border-top-right-radius: 4px; |
| 145 |
height: 32px; |
| 146 |
background-color: rgba(35, 38, 41, 0.75); |
| 147 |
border: 2px solid rgba(255, 255, 255, 0.2); |
| 148 |
border-width: 0 0 2px 0; |
| 149 |
} |
| 150 |
|
| 151 |
QPlainTextEdit { |
| 152 |
border-radius: 4px; |
| 153 |
padding: 8px 16px; |
| 154 |
background-color: #31363b; |
| 155 |
border: 2px solid #4f5b62; |
| 156 |
} |
| 157 |
|
| 158 |
QTextEdit { |
| 159 |
padding: 8px 16px; |
| 160 |
border-radius: 4px; |
| 161 |
background-color: #232629; |
| 162 |
} |
| 163 |
|
| 164 |
QDateTimeEdit:disabled, |
| 165 |
QSpinBox:disabled, |
| 166 |
QDoubleSpinBox:disabled, |
| 167 |
QTextEdit:disabled, |
| 168 |
QLineEdit:disabled { |
| 169 |
color: rgba(255, 255, 255, 0.2); |
| 170 |
background-color: rgba(35, 38, 41, 0.3); |
| 171 |
border: 2px solid #232629; |
| 172 |
border-width: 0 0 2px 0; |
| 173 |
padding: 0px 16px; |
| 174 |
border-radius: 0px; |
| 175 |
border-top-left-radius: 4px; |
| 176 |
border-top-right-radius: 4px; |
| 177 |
height: 32px; |
| 178 |
} |
| 179 |
|
| 180 |
/* ------------------------------------------------------------------------ */ |
| 181 |
/* QComboBox */ |
| 182 |
|
| 183 |
QComboBox { |
| 184 |
color: #000000; |
| 185 |
border: 2px solid #1de9b6; |
| 186 |
border-radius: 0px; |
| 187 |
border-top-left-radius: 4px; |
| 188 |
border-top-right-radius: 4px; |
| 189 |
height: 32px; |
| 190 |
background-color: rgba(35, 38, 41, 0.75); |
| 191 |
border: 2px solid rgba(255, 255, 255, 0.2); |
| 192 |
border-width: 0 0 2px 0; |
| 193 |
} |
| 194 |
|
| 195 |
QComboBox:disabled { |
| 196 |
color: rgba(255, 255, 255, 0.2); |
| 197 |
background-color: rgba(35, 38, 41, 0.3); |
| 198 |
border-bottom: 2px solid #232629; |
| 199 |
} |
| 200 |
|
| 201 |
QComboBox::drop-down { |
| 202 |
border: none; |
| 203 |
color: #1de9b6; |
| 204 |
width: 20px; |
| 205 |
} |
| 206 |
|
| 207 |
QComboBox::down-arrow { |
| 208 |
image: url(icon:/active/downarrow.svg); |
| 209 |
margin-right: 12px; |
| 210 |
} |
| 211 |
QComboBox::down-arrow:focus { |
| 212 |
image: url(icon:/primary/downarrow.svg); |
| 213 |
margin-right: 12px; |
| 214 |
} |
| 215 |
|
| 216 |
QComboBox::down-arrow:disabled { |
| 217 |
image: url(icon:/disabled/downarrow.svg); |
| 218 |
margin-right: 12px; |
| 219 |
} |
| 220 |
|
| 221 |
QComboBox QAbstractItemView { |
| 222 |
background-color: #232629; |
| 223 |
border: 2px solid #4f5b62; |
| 224 |
border-radius: 4px; |
| 225 |
} |
| 226 |
|
| 227 |
QComboBox[frame='false'] { |
| 228 |
color: #ffffff; |
| 229 |
background-color: transparent; |
| 230 |
border: 1px solid transparent; |
| 231 |
} |
| 232 |
QComboBox[frame='false']:disabled { |
| 233 |
color: rgba(255, 255, 255, 0.2); |
| 234 |
} |
| 235 |
|
| 236 |
/* ------------------------------------------------------------------------ */ |
| 237 |
/* Spin buttons */ |
| 238 |
|
| 239 |
QDateTimeEdit::up-button, |
| 240 |
QDoubleSpinBox::up-button, |
| 241 |
QSpinBox::up-button { |
| 242 |
subcontrol-origin: border; |
| 243 |
subcontrol-position: top right; |
| 244 |
width: 20px; |
| 245 |
image: url(icon:/active/uparrow.svg); |
| 246 |
border-width: 0px; |
| 247 |
margin-right: 5px; |
| 248 |
} |
| 249 |
|
| 250 |
QDateTimeEdit::up-button:disabled, |
| 251 |
QDoubleSpinBox::up-button:disabled, |
| 252 |
QSpinBox::up-button:disabled { |
| 253 |
image: url(icon:/disabled/uparrow.svg); |
| 254 |
} |
| 255 |
|
| 256 |
QDateTimeEdit::down-button, |
| 257 |
QDoubleSpinBox::down-button, |
| 258 |
QSpinBox::down-button { |
| 259 |
subcontrol-origin: border; |
| 260 |
subcontrol-position: bottom right; |
| 261 |
width: 20px; |
| 262 |
image: url(icon:/active/downarrow.svg); |
| 263 |
border-width: 0px; |
| 264 |
border-top-width: 0; |
| 265 |
margin-right: 5px; |
| 266 |
} |
| 267 |
|
| 268 |
QDateTimeEdit::down-button:disabled, |
| 269 |
QDoubleSpinBox::down-button:disabled, |
| 270 |
QSpinBox::down-button:disabled { |
| 271 |
image: url(icon:/disabled/downarrow.svg); |
| 272 |
} |
| 273 |
|
| 274 |
/* ------------------------------------------------------------------------ */ |
| 275 |
/* QPushButton */ |
| 276 |
|
| 277 |
QPushButton { |
| 278 |
text-transform: uppercase; |
| 279 |
margin: 0px; |
| 280 |
padding: 1px 16px; |
| 281 |
height: 32px; |
| 282 |
font-weight: bold; |
| 283 |
|
| 284 |
|
| 285 |
border-radius: 4px; |
| 286 |
|
| 287 |
} |
| 288 |
|
| 289 |
QPushButton:checked, |
| 290 |
QPushButton:pressed { |
| 291 |
color: #31363b; |
| 292 |
background-color: #1de9b6; |
| 293 |
} |
| 294 |
|
| 295 |
QPushButton:flat { |
| 296 |
margin: 0px; |
| 297 |
color: #1de9b6; |
| 298 |
border: none; |
| 299 |
background-color: transparent; |
| 300 |
} |
| 301 |
|
| 302 |
QPushButton:flat:hover { |
| 303 |
background-color: rgba(29, 233, 182, 0.1); |
| 304 |
} |
| 305 |
|
| 306 |
QPushButton:flat:pressed, |
| 307 |
QPushButton:flat:checked { |
| 308 |
background-color: rgba(29, 233, 182, 0.1); |
| 309 |
} |
| 310 |
|
| 311 |
QPushButton:disabled { |
| 312 |
color: rgba(79, 91, 98, 0.75); |
| 313 |
background-color: transparent; |
| 314 |
border-color: #4f5b62; |
| 315 |
} |
| 316 |
|
| 317 |
QPushButton:flat:disabled { |
| 318 |
color: rgba(79, 91, 98, 0.75); |
| 319 |
background-color: rgba(79, 91, 98, 0.25); |
| 320 |
border: none; |
| 321 |
} |
| 322 |
|
| 323 |
QPushButton:disabled { |
| 324 |
border: 2px solid rgba(79, 91, 98, 0.75); |
| 325 |
} |
| 326 |
|
| 327 |
QPushButton:checked:disabled { |
| 328 |
color: #232629; |
| 329 |
background-color: #4f5b62; |
| 330 |
border-color: #4f5b62; |
| 331 |
} |
| 332 |
|
| 333 |
QToolButton:focus, |
| 334 |
QPushButton:focus { |
| 335 |
background-color: rgba(29, 233, 182, 0.2); |
| 336 |
} |
| 337 |
|
| 338 |
QPushButton:checked:focus, |
| 339 |
QPushButton:pressed:focus { |
| 340 |
background-color: rgba(29, 233, 182, 0.8); |
| 341 |
} |
| 342 |
|
| 343 |
QPushButton:flat:focus { |
| 344 |
border: none; |
| 345 |
background-color: rgba(29, 233, 182, 0.2); |
| 346 |
} |
| 347 |
|
| 348 |
|
| 349 |
/* ------------------------------------------------------------------------ */ |
| 350 |
/* QTabBar */ |
| 351 |
|
| 352 |
QTabBar{ |
| 353 |
text-transform: uppercase; |
| 354 |
font-weight: bold; |
| 355 |
} |
| 356 |
|
| 357 |
QTabBar::tab { |
| 358 |
color: #ffffff; |
| 359 |
border: 0px; |
| 360 |
} |
| 361 |
|
| 362 |
QTabBar::tab:bottom, |
| 363 |
QTabBar::tab:top{ |
| 364 |
padding: 0 16px; |
| 365 |
height: 28px; |
| 366 |
} |
| 367 |
|
| 368 |
QTabBar::tab:left, |
| 369 |
QTabBar::tab:right{ |
| 370 |
padding: 16px 0; |
| 371 |
width: 28px; |
| 372 |
} |
| 373 |
|
| 374 |
QTabBar::tab:top:selected, |
| 375 |
QTabBar::tab:top:hover { |
| 376 |
color: #1de9b6; |
| 377 |
border-bottom: 2px solid #1de9b6; |
| 378 |
} |
| 379 |
|
| 380 |
QTabBar::tab:bottom:selected, |
| 381 |
QTabBar::tab:bottom:hover { |
| 382 |
color: #1de9b6; |
| 383 |
border-top: 2px solid #1de9b6; |
| 384 |
} |
| 385 |
|
| 386 |
QTabBar::tab:right:selected, |
| 387 |
QTabBar::tab:right:hover { |
| 388 |
color: #1de9b6; |
| 389 |
border-left: 2px solid #1de9b6; |
| 390 |
} |
| 391 |
|
| 392 |
QTabBar::tab:left:selected, |
| 393 |
QTabBar::tab:left:hover { |
| 394 |
color: #1de9b6; |
| 395 |
border-right: 2px solid #1de9b6; |
| 396 |
} |
| 397 |
|
| 398 |
QTabBar QToolButton:hover, |
| 399 |
QTabBar QToolButton { |
| 400 |
border: 0px; |
| 401 |
background-color: #232629; |
| 402 |
background: #232629; |
| 403 |
} |
| 404 |
|
| 405 |
QTabBar QToolButton::up-arrow { |
| 406 |
image: url(icon:/primary/uparrow2.svg); |
| 407 |
width: 28px; |
| 408 |
} |
| 409 |
|
| 410 |
QTabBar QToolButton::down-arrow { |
| 411 |
image: url(icon:/primary/downarrow2.svg); |
| 412 |
width: 28px; |
| 413 |
} |
| 414 |
|
| 415 |
QTabBar QToolButton::right-arrow { |
| 416 |
image: url(icon:/disabled/rightarrow2.svg); |
| 417 |
height: 28px; |
| 418 |
} |
| 419 |
|
| 420 |
QTabBar QToolButton::left-arrow { |
| 421 |
image: url(icon:/disabled/leftarrow2.svg); |
| 422 |
height: 28px; |
| 423 |
} |
| 424 |
|
| 425 |
QTabBar::close-button { |
| 426 |
image: url(icon:/primary/tab_close.svg); |
| 427 |
} |
| 428 |
|
| 429 |
QTabBar::close-button:hover { |
| 430 |
image: url(icon:/primary/tab_close.svg); |
| 431 |
} |
| 432 |
|
| 433 |
/* ------------------------------------------------------------------------ */ |
| 434 |
/* QGroupBox */ |
| 435 |
|
| 436 |
QGroupBox { |
| 437 |
padding: 16px; |
| 438 |
padding-top: 36px; |
| 439 |
line-height: ; |
| 440 |
text-transform: uppercase; |
| 441 |
font-size: ; |
| 442 |
} |
| 443 |
|
| 444 |
QGroupBox::title { |
| 445 |
color: rgba(255, 255, 255, 0.4); |
| 446 |
subcontrol-origin: margin; |
| 447 |
subcontrol-position: top left; |
| 448 |
padding: 16px; |
| 449 |
background-color: #31363b; |
| 450 |
background-color: transparent; |
| 451 |
height: 36px; |
| 452 |
} |
| 453 |
|
| 454 |
/* ------------------------------------------------------------------------ */ |
| 455 |
/* QRadioButton and QCheckBox labels */ |
| 456 |
|
| 457 |
QRadioButton, |
| 458 |
QCheckBox { |
| 459 |
spacing: 12px; |
| 460 |
color: #ffffff; |
| 461 |
line-height: 14px; |
| 462 |
height: 36px; |
| 463 |
background-color: transparent; |
| 464 |
spacing: 5px; |
| 465 |
} |
| 466 |
|
| 467 |
QRadioButton:disabled, |
| 468 |
QCheckBox:disabled { |
| 469 |
color: rgba(255, 255, 255, 0.3); |
| 470 |
} |
| 471 |
|
| 472 |
/* ------------------------------------------------------------------------ */ |
| 473 |
/* General Indicators */ |
| 474 |
|
| 475 |
QGroupBox::indicator { |
| 476 |
width: 24px; |
| 477 |
height: 24px; |
| 478 |
border-radius: 3px; |
| 479 |
} |
| 480 |
|
| 481 |
QMenu::indicator, |
| 482 |
QListView::indicator, |
| 483 |
QTableWidget::indicator, |
| 484 |
QRadioButton::indicator, |
| 485 |
QCheckBox::indicator { |
| 486 |
width: 28px; |
| 487 |
height: 28px; |
| 488 |
border-radius: 4px; |
| 489 |
} |
| 490 |
|
| 491 |
/* ------------------------------------------------------------------------ */ |
| 492 |
/* QListView Indicator */ |
| 493 |
|
| 494 |
QListView::indicator:checked, |
| 495 |
QListView::indicator:checked:selected, |
| 496 |
QListView::indicator:checked:focus { |
| 497 |
image: url(icon:/primary/checklist.svg); |
| 498 |
} |
| 499 |
|
| 500 |
QListView::indicator:checked:selected:active { |
| 501 |
image: url(icon:/primary/checklist_invert.svg); |
| 502 |
} |
| 503 |
|
| 504 |
QListView::indicator:checked:disabled { |
| 505 |
image: url(icon:/disabled/checklist.svg); |
| 506 |
} |
| 507 |
|
| 508 |
QListView::indicator:indeterminate, |
| 509 |
QListView::indicator:indeterminate:selected, |
| 510 |
QListView::indicator:indeterminate:focus { |
| 511 |
image: url(icon:/primary/checklist_indeterminate.svg); |
| 512 |
} |
| 513 |
|
| 514 |
QListView::indicator:indeterminate:selected:active { |
| 515 |
image: url(icon:/primary/checklist_indeterminate_invert.svg); |
| 516 |
} |
| 517 |
|
| 518 |
QListView::indicator:indeterminate:disabled { |
| 519 |
image: url(icon:/disabled/checklist_indeterminate.svg); |
| 520 |
} |
| 521 |
|
| 522 |
/* ------------------------------------------------------------------------ */ |
| 523 |
/* QTableView Indicator */ |
| 524 |
|
| 525 |
QTableView::indicator:enabled:checked, |
| 526 |
QTableView::indicator:enabled:checked:selected, |
| 527 |
QTableView::indicator:enabled:checked:focus { |
| 528 |
image: url(icon:/primary/checkbox_checked.svg); |
| 529 |
} |
| 530 |
|
| 531 |
QTableView::indicator:checked:selected:active { |
| 532 |
image: url(icon:/primary/checkbox_checked_invert.svg); |
| 533 |
} |
| 534 |
|
| 535 |
QTableView::indicator:disabled:checked, |
| 536 |
QTableView::indicator:disabled:checked:selected, |
| 537 |
QTableView::indicator:disabled:checked:focus { |
| 538 |
image: url(icon:/disabled/checkbox_checked.svg); |
| 539 |
} |
| 540 |
|
| 541 |
QTableView::indicator:enabled:unchecked, |
| 542 |
QTableView::indicator:enabled:unchecked:selected, |
| 543 |
QTableView::indicator:enabled:unchecked:focus { |
| 544 |
image: url(icon:/primary/checkbox_unchecked.svg); |
| 545 |
} |
| 546 |
|
| 547 |
QTableView::indicator:unchecked:selected:active { |
| 548 |
image: url(icon:/primary/checkbox_unchecked_invert.svg); |
| 549 |
} |
| 550 |
|
| 551 |
QTableView::indicator:disabled:unchecked, |
| 552 |
QTableView::indicator:disabled:unchecked:selected, |
| 553 |
QTableView::indicator:disabled:unchecked:focus { |
| 554 |
image: url(icon:/disabled/checkbox_unchecked.svg); |
| 555 |
} |
| 556 |
|
| 557 |
QTableView::indicator:enabled:indeterminate, |
| 558 |
QTableView::indicator:enabled:indeterminate:selected, |
| 559 |
QTableView::indicator:enabled:indeterminate:focus { |
| 560 |
image: url(icon:/primary/checkbox_indeterminate.svg); |
| 561 |
} |
| 562 |
|
| 563 |
QTableView::indicator:indeterminate:selected:active { |
| 564 |
image: url(icon:/primary/checkbox_indeterminate_invert.svg); |
| 565 |
} |
| 566 |
|
| 567 |
QTableView::indicator:disabled:indeterminate, |
| 568 |
QTableView::indicator:disabled:indeterminate:selected, |
| 569 |
QTableView::indicator:disabled:indeterminate:focus { |
| 570 |
image: url(icon:/disabled/checkbox_indeterminate.svg); |
| 571 |
} |
| 572 |
|
| 573 |
/* ------------------------------------------------------------------------ */ |
| 574 |
/* QCheckBox and QGroupBox Indicator */ |
| 575 |
|
| 576 |
QCheckBox::indicator:checked, |
| 577 |
QGroupBox::indicator:checked { |
| 578 |
image: url(icon:/primary/checkbox_checked.svg); |
| 579 |
} |
| 580 |
|
| 581 |
QCheckBox::indicator:unchecked, |
| 582 |
QGroupBox::indicator:unchecked { |
| 583 |
image: url(icon:/primary/checkbox_unchecked.svg); |
| 584 |
} |
| 585 |
|
| 586 |
QCheckBox::indicator:indeterminate, |
| 587 |
QGroupBox::indicator:indeterminate { |
| 588 |
image: url(icon:/primary/checkbox_indeterminate.svg); |
| 589 |
} |
| 590 |
|
| 591 |
QCheckBox::indicator:checked:disabled, |
| 592 |
QGroupBox::indicator:checked:disabled { |
| 593 |
image: url(icon:/disabled/checkbox_checked.svg); |
| 594 |
} |
| 595 |
|
| 596 |
QCheckBox::indicator:unchecked:disabled, |
| 597 |
QGroupBox::indicator:unchecked:disabled { |
| 598 |
image: url(icon:/disabled/checkbox_unchecked.svg); |
| 599 |
} |
| 600 |
|
| 601 |
QCheckBox::indicator:indeterminate:disabled, |
| 602 |
QGroupBox::indicator:indeterminate:disabled { |
| 603 |
image: url(icon:/disabled/checkbox_indeterminate.svg); |
| 604 |
} |
| 605 |
|
| 606 |
/* ------------------------------------------------------------------------ */ |
| 607 |
/* QRadioButton Indicator */ |
| 608 |
|
| 609 |
QRadioButton::indicator:checked { |
| 610 |
image: url(icon:/primary/radiobutton_checked.svg); |
| 611 |
} |
| 612 |
|
| 613 |
QRadioButton::indicator:unchecked { |
| 614 |
image: url(icon:/primary/radiobutton_unchecked.svg); |
| 615 |
} |
| 616 |
|
| 617 |
QRadioButton::indicator:checked:disabled { |
| 618 |
image: url(icon:/disabled/radiobutton_checked.svg); |
| 619 |
} |
| 620 |
|
| 621 |
QRadioButton::indicator:unchecked:disabled { |
| 622 |
image: url(icon:/disabled/radiobutton_unchecked.svg); |
| 623 |
} |
| 624 |
|
| 625 |
/* ------------------------------------------------------------------------ */ |
| 626 |
/* QDockWidget */ |
| 627 |
|
| 628 |
QDockWidget { |
| 629 |
color: #ffffff; |
| 630 |
text-transform: uppercase; |
| 631 |
border: 2px solid #232629; |
| 632 |
titlebar-close-icon: url(icon:/primary/close.svg); |
| 633 |
titlebar-normal-icon: url(icon:/primary/float.svg); |
| 634 |
border-radius: 4px; |
| 635 |
} |
| 636 |
|
| 637 |
QDockWidget::title { |
| 638 |
text-align: left; |
| 639 |
padding-left: 36px; |
| 640 |
padding: 3px; |
| 641 |
margin-top: 4px; |
| 642 |
} |
| 643 |
|
| 644 |
/* ------------------------------------------------------------------------ */ |
| 645 |
/* QComboBox indicator */ |
| 646 |
|
| 647 |
QComboBox::indicator:checked { |
| 648 |
image: url(icon:/primary/checklist.svg); |
| 649 |
} |
| 650 |
|
| 651 |
QComboBox::indicator:checked:selected { |
| 652 |
image: url(icon:/primary/checklist_invert.svg); |
| 653 |
} |
| 654 |
|
| 655 |
/* ------------------------------------------------------------------------ */ |
| 656 |
/* Menu Items */ |
| 657 |
|
| 658 |
QComboBox::item, |
| 659 |
QCalendarWidget QMenu::item, |
| 660 |
QMenu::item { |
| 661 |
|
| 662 |
height: 28px; |
| 663 |
|
| 664 |
border: 8px solid transparent; |
| 665 |
color: #ffffff; |
| 666 |
} |
| 667 |
|
| 668 |
QCalendarWidget QMenu::item, |
| 669 |
QMenu::item { |
| 670 |
|
| 671 |
|
| 672 |
padding: 0px 24px 0px 8px; /* pyside6 or pyqt6 */ |
| 673 |
|
| 674 |
|
| 675 |
} |
| 676 |
|
| 677 |
|
| 678 |
QComboBox::item:selected, |
| 679 |
QCalendarWidget QMenu::item:selected, |
| 680 |
QMenu::item:selected { |
| 681 |
color: #000000; |
| 682 |
background-color: #6effe8; |
| 683 |
border-radius: 0px; |
| 684 |
} |
| 685 |
|
| 686 |
QComboBox::item:disabled, |
| 687 |
QCalendarWidget QMenu::item:disabled, |
| 688 |
QMenu::item:disabled { |
| 689 |
color: rgba(255, 255, 255, 0.3); |
| 690 |
} |
| 691 |
|
| 692 |
/* ------------------------------------------------------------------------ */ |
| 693 |
/* QMenu */ |
| 694 |
|
| 695 |
QCalendarWidget QMenu, |
| 696 |
QMenu { |
| 697 |
background-color: #232629; |
| 698 |
border: 2px solid #4f5b62; |
| 699 |
border-radius: 4px; |
| 700 |
} |
| 701 |
|
| 702 |
QMenu::separator { |
| 703 |
height: 2px; |
| 704 |
background-color: #4f5b62; |
| 705 |
margin-left: 2px; |
| 706 |
margin-right: 2px; |
| 707 |
} |
| 708 |
|
| 709 |
QMenu::right-arrow{ |
| 710 |
image: url(icon:/primary/rightarrow.svg); |
| 711 |
width: 16px; |
| 712 |
height: 16px; |
| 713 |
} |
| 714 |
|
| 715 |
QMenu::right-arrow:selected{ |
| 716 |
image: url(icon:/disabled/rightarrow.svg); |
| 717 |
} |
| 718 |
|
| 719 |
QMenu::indicator:non-exclusive:unchecked { |
| 720 |
image: url(icon:/primary/checkbox_unchecked.svg); |
| 721 |
} |
| 722 |
|
| 723 |
QMenu::indicator:non-exclusive:unchecked:selected { |
| 724 |
image: url(icon:/primary/checkbox_unchecked_invert.svg); |
| 725 |
} |
| 726 |
|
| 727 |
QMenu::indicator:non-exclusive:checked { |
| 728 |
image: url(icon:/primary/checkbox_checked.svg); |
| 729 |
} |
| 730 |
|
| 731 |
QMenu::indicator:non-exclusive:checked:selected { |
| 732 |
image: url(icon:/primary/checkbox_checked_invert.svg); |
| 733 |
} |
| 734 |
|
| 735 |
QMenu::indicator:exclusive:unchecked { |
| 736 |
image: url(icon:/primary/radiobutton_unchecked.svg); |
| 737 |
} |
| 738 |
|
| 739 |
QMenu::indicator:exclusive:unchecked:selected { |
| 740 |
image: url(icon:/primary/radiobutton_unchecked_invert.svg); |
| 741 |
} |
| 742 |
|
| 743 |
QMenu::indicator:exclusive:checked { |
| 744 |
image: url(icon:/primary/radiobutton_checked.svg); |
| 745 |
} |
| 746 |
|
| 747 |
QMenu::indicator:exclusive:checked:selected { |
| 748 |
image: url(icon:/primary/radiobutton_checked_invert.svg); |
| 749 |
} |
| 750 |
|
| 751 |
/* ------------------------------------------------------------------------ */ |
| 752 |
/* QMenuBar */ |
| 753 |
|
| 754 |
QMenuBar { |
| 755 |
background-color: #232629; |
| 756 |
color: #ffffff; |
| 757 |
} |
| 758 |
|
| 759 |
QMenuBar::item { |
| 760 |
height: 32px; |
| 761 |
padding: 8px; |
| 762 |
background-color: transparent; |
| 763 |
color: #ffffff; |
| 764 |
} |
| 765 |
|
| 766 |
QMenuBar::item:selected, |
| 767 |
QMenuBar::item:pressed { |
| 768 |
color: #000000; |
| 769 |
background-color: #6effe8; |
| 770 |
} |
| 771 |
|
| 772 |
/* ------------------------------------------------------------------------ */ |
| 773 |
/* QToolBox */ |
| 774 |
|
| 775 |
QToolBox::tab { |
| 776 |
background-color: #232629; |
| 777 |
color: #ffffff; |
| 778 |
text-transform: uppercase; |
| 779 |
border-radius: 4px; |
| 780 |
padding-left: 15px; |
| 781 |
} |
| 782 |
|
| 783 |
QToolBox::tab:selected, |
| 784 |
QToolBox::tab:hover { |
| 785 |
background-color: rgba(29, 233, 182, 0.2); |
| 786 |
} |
| 787 |
|
| 788 |
/* ------------------------------------------------------------------------ */ |
| 789 |
/* QProgressBar */ |
| 790 |
|
| 791 |
QProgressBar { |
| 792 |
border-radius: 0; |
| 793 |
background-color: #4f5b62; |
| 794 |
text-align: center; |
| 795 |
color: transparent; |
| 796 |
} |
| 797 |
|
| 798 |
QProgressBar::chunk { |
| 799 |
background-color: #1de9b6; |
| 800 |
} |
| 801 |
|
| 802 |
/* ------------------------------------------------------------------------ */ |
| 803 |
/* QScrollBar */ |
| 804 |
|
| 805 |
QScrollBar:horizontal { |
| 806 |
border: 0; |
| 807 |
background: #232629; |
| 808 |
height: 8px; |
| 809 |
} |
| 810 |
|
| 811 |
QScrollBar:vertical { |
| 812 |
border: 0; |
| 813 |
background: #232629; |
| 814 |
width: 8px; |
| 815 |
} |
| 816 |
|
| 817 |
QScrollBar::handle { |
| 818 |
background: rgba(29, 233, 182, 0.1); |
| 819 |
} |
| 820 |
|
| 821 |
QScrollBar::handle:horizontal { |
| 822 |
min-width: 24px; |
| 823 |
} |
| 824 |
|
| 825 |
QScrollBar::handle:vertical { |
| 826 |
min-height: 24px; |
| 827 |
} |
| 828 |
|
| 829 |
QScrollBar::handle:vertical:hover, |
| 830 |
QScrollBar::handle:horizontal:hover { |
| 831 |
background: #1de9b6; |
| 832 |
} |
| 833 |
|
| 834 |
QScrollBar::add-line:vertical, |
| 835 |
QScrollBar::sub-line:vertical, |
| 836 |
QScrollBar::add-line:horizontal, |
| 837 |
QScrollBar::sub-line:horizontal { |
| 838 |
border: 0; |
| 839 |
background: transparent; |
| 840 |
width: 0px; |
| 841 |
height: 0px; |
| 842 |
} |
| 843 |
|
| 844 |
/* ------------------------------------------------------------------------ */ |
| 845 |
/* QScrollBar-Big */ |
| 846 |
|
| 847 |
QScrollBar.big:horizontal { |
| 848 |
border: 0; |
| 849 |
background: #232629; |
| 850 |
height: 36px; |
| 851 |
} |
| 852 |
|
| 853 |
QScrollBar.big:vertical { |
| 854 |
border: 0; |
| 855 |
background: #232629; |
| 856 |
width: 36px; |
| 857 |
} |
| 858 |
|
| 859 |
QScrollBar.big::handle, |
| 860 |
QScrollBar.big::handle:vertical:hover, |
| 861 |
QScrollBar.big::handle:horizontal:hover { |
| 862 |
background: #1de9b6; |
| 863 |
} |
| 864 |
|
| 865 |
QScrollBar.big::handle:horizontal { |
| 866 |
min-width: 24px; |
| 867 |
} |
| 868 |
|
| 869 |
QScrollBar.big::handle:vertical { |
| 870 |
min-height: 24px; |
| 871 |
} |
| 872 |
|
| 873 |
QScrollBar.big::add-line:vertical, |
| 874 |
QScrollBar.big::sub-line:vertical, |
| 875 |
QScrollBar.big::add-line:horizontal, |
| 876 |
QScrollBar.big::sub-line:horizontal { |
| 877 |
border: 0; |
| 878 |
background: transparent; |
| 879 |
width: 0px; |
| 880 |
height: 0px; |
| 881 |
} |
| 882 |
|
| 883 |
/* ------------------------------------------------------------------------ */ |
| 884 |
/* QSlider */ |
| 885 |
|
| 886 |
QSlider:horizontal { |
| 887 |
min-height: 24px; |
| 888 |
max-height: 24px; |
| 889 |
} |
| 890 |
|
| 891 |
QSlider:vertical { |
| 892 |
min-width: 24px; |
| 893 |
max-width: 24px; |
| 894 |
} |
| 895 |
|
| 896 |
QSlider::groove:horizontal { |
| 897 |
height: 4px; |
| 898 |
background: #393939; |
| 899 |
margin: 0 12px; |
| 900 |
} |
| 901 |
|
| 902 |
QSlider::groove:vertical { |
| 903 |
width: 4px; |
| 904 |
background: #393939; |
| 905 |
margin: 12px 0; |
| 906 |
border-radius: 24px; |
| 907 |
} |
| 908 |
|
| 909 |
QSlider::handle:horizontal { |
| 910 |
image: url(icon:/primary/slider.svg); |
| 911 |
width: 24px; |
| 912 |
height: 24px; |
| 913 |
margin: -24px -12px; |
| 914 |
} |
| 915 |
|
| 916 |
QSlider::handle:vertical { |
| 917 |
image: url(icon:/primary/slider.svg); |
| 918 |
border-radius: 24px; |
| 919 |
width: 24px; |
| 920 |
height: 24px; |
| 921 |
margin: -12px -24px; |
| 922 |
} |
| 923 |
|
| 924 |
QSlider::add-page { |
| 925 |
background: #232629; |
| 926 |
} |
| 927 |
|
| 928 |
QSlider::sub-page { |
| 929 |
background: #1de9b6; |
| 930 |
} |
| 931 |
|
| 932 |
/* ------------------------------------------------------------------------ */ |
| 933 |
/* QLabel */ |
| 934 |
|
| 935 |
QLabel { |
| 936 |
border: none; |
| 937 |
background: transparent; |
| 938 |
color: #ffffff |
| 939 |
} |
| 940 |
|
| 941 |
QLabel:disabled { |
| 942 |
color: rgba(255, 255, 255, 0.2) |
| 943 |
} |
| 944 |
|
| 945 |
/* ------------------------------------------------------------------------ */ |
| 946 |
/* VLines and HLinex */ |
| 947 |
|
| 948 |
QFrame[frameShape="4"] { |
| 949 |
border-width: 1px 0 0 0; |
| 950 |
background: none; |
| 951 |
} |
| 952 |
|
| 953 |
QFrame[frameShape="5"] { |
| 954 |
border-width: 0 1px 0 0; |
| 955 |
background: none; |
| 956 |
} |
| 957 |
|
| 958 |
QFrame[frameShape="4"], |
| 959 |
QFrame[frameShape="5"] { |
| 960 |
border-color: #4f5b62; |
| 961 |
} |
| 962 |
|
| 963 |
/* ------------------------------------------------------------------------ */ |
| 964 |
/* QToolBar */ |
| 965 |
|
| 966 |
QToolBar { |
| 967 |
background: #31363b; |
| 968 |
border: 0px solid; |
| 969 |
} |
| 970 |
|
| 971 |
QToolBar:horizontal { |
| 972 |
border-bottom: 1px solid #4f5b62; |
| 973 |
} |
| 974 |
|
| 975 |
QToolBar:vertical { |
| 976 |
border-right: 1px solid #4f5b62; |
| 977 |
} |
| 978 |
|
| 979 |
QToolBar::handle:horizontal { |
| 980 |
image: url(icon:/primary/toolbar-handle-horizontal.svg); |
| 981 |
} |
| 982 |
|
| 983 |
QToolBar::handle:vertical { |
| 984 |
image: url(icon:/primary/toolbar-handle-vertical.svg); |
| 985 |
} |
| 986 |
|
| 987 |
QToolBar::separator:horizontal { |
| 988 |
border-right: 1px solid #4f5b62; |
| 989 |
border-left: 1px solid #4f5b62; |
| 990 |
width: 1px; |
| 991 |
} |
| 992 |
|
| 993 |
QToolBar::separator:vertical { |
| 994 |
border-top: 1px solid #4f5b62; |
| 995 |
border-bottom: 1px solid #4f5b62; |
| 996 |
height: 1px; |
| 997 |
} |
| 998 |
|
| 999 |
|
| 1000 |
/* ------------------------------------------------------------------------ */ |
| 1001 |
/* QToolButton */ |
| 1002 |
|
| 1003 |
QToolButton { |
| 1004 |
background: #31363b; |
| 1005 |
border: 0px; |
| 1006 |
height: 36px; |
| 1007 |
margin: 3px; |
| 1008 |
padding: 3px; |
| 1009 |
border-right: 12px solid #31363b; |
| 1010 |
border-left: 12px solid #31363b; |
| 1011 |
} |
| 1012 |
|
| 1013 |
QToolButton:hover { |
| 1014 |
background: #4f5b62; |
| 1015 |
border-right: 12px solid #4f5b62; |
| 1016 |
border-left: 12px solid #4f5b62; |
| 1017 |
} |
| 1018 |
|
| 1019 |
QToolButton:pressed { |
| 1020 |
background: #232629; |
| 1021 |
border-right: 12px solid #232629; |
| 1022 |
border-left: 12px solid #232629; |
| 1023 |
} |
| 1024 |
|
| 1025 |
QToolButton:checked { |
| 1026 |
background: #4f5b62; |
| 1027 |
border-left: 12px solid #4f5b62; |
| 1028 |
border-right: 12px solid #1de9b6; |
| 1029 |
} |
| 1030 |
|
| 1031 |
/* ------------------------------------------------------------------------ */ |
| 1032 |
/* General viewers */ |
| 1033 |
|
| 1034 |
QTableView { |
| 1035 |
background-color: #31363b; |
| 1036 |
border: 1px solid #232629; |
| 1037 |
border-radius: 4px; |
| 1038 |
} |
| 1039 |
|
| 1040 |
QTreeView, |
| 1041 |
QListView { |
| 1042 |
border-radius: 4px; |
| 1043 |
padding: 4px; |
| 1044 |
margin: 0px; |
| 1045 |
border: 0px; |
| 1046 |
} |
| 1047 |
|
| 1048 |
QTableView::item, |
| 1049 |
QTreeView::item, |
| 1050 |
QListView::item { |
| 1051 |
padding: 4px; |
| 1052 |
min-height: 32px; |
| 1053 |
color: #ffffff; |
| 1054 |
selection-color: #ffffff; /* For Windows */ |
| 1055 |
border-color: transparent; /* Fix #34 */ |
| 1056 |
} |
| 1057 |
|
| 1058 |
/* ------------------------------------------------------------------------ */ |
| 1059 |
/* Items Selection */ |
| 1060 |
|
| 1061 |
QTableView::item:selected, |
| 1062 |
QTreeView::item:selected, |
| 1063 |
QListView::item:selected { |
| 1064 |
background-color: rgba(29, 233, 182, 0.2); |
| 1065 |
selection-background-color: rgba(29, 233, 182, 0.2); |
| 1066 |
color: #ffffff; |
| 1067 |
selection-color: #ffffff; /* For Windows */ |
| 1068 |
} |
| 1069 |
|
| 1070 |
QTableView::item:selected:focus, |
| 1071 |
QTreeView::item:selected:focus, |
| 1072 |
QListView::item:selected:focus { |
| 1073 |
background-color: #1de9b6; |
| 1074 |
selection-background-color: #1de9b6; |
| 1075 |
color: #000000; |
| 1076 |
selection-color: #000000; /* For Windows */ |
| 1077 |
} |
| 1078 |
|
| 1079 |
QTableView { |
| 1080 |
selection-background-color: rgba(29, 233, 182, 0.2); |
| 1081 |
} |
| 1082 |
|
| 1083 |
QTableView:focus { |
| 1084 |
selection-background-color: #1de9b6; |
| 1085 |
} |
| 1086 |
|
| 1087 |
QTableView::item:disabled { |
| 1088 |
color: rgba(255, 255, 255, 0.3); |
| 1089 |
selection-color: rgba(255, 255, 255, 0.3); |
| 1090 |
background-color: #232629; |
| 1091 |
selection-background-color: #232629; |
| 1092 |
} |
| 1093 |
|
| 1094 |
/* ------------------------------------------------------------------------ */ |
| 1095 |
/* QTreeView */ |
| 1096 |
|
| 1097 |
QTreeView::branch{ |
| 1098 |
background-color: #232629; |
| 1099 |
} |
| 1100 |
|
| 1101 |
QTreeView::branch:closed:has-children:has-siblings, |
| 1102 |
QTreeView::branch:closed:has-children:!has-siblings { |
| 1103 |
image: url(icon:/primary/branch-closed.svg); |
| 1104 |
} |
| 1105 |
|
| 1106 |
QTreeView::branch:open:has-children:!has-siblings, |
| 1107 |
QTreeView::branch:open:has-children:has-siblings { |
| 1108 |
image: url(icon:/primary/branch-open.svg); |
| 1109 |
} |
| 1110 |
|
| 1111 |
QTreeView::branch:has-siblings:!adjoins-item { |
| 1112 |
border-image: url(icon:/disabled/vline.svg) 0; |
| 1113 |
} |
| 1114 |
|
| 1115 |
QTreeView::branch:has-siblings:adjoins-item { |
| 1116 |
border-image: url(icon:/disabled/branch-more.svg) 0; |
| 1117 |
} |
| 1118 |
|
| 1119 |
QTreeView::branch:!has-children:!has-siblings:adjoins-item, |
| 1120 |
QTreeView::branch:has-children:!has-siblings:adjoins-item { |
| 1121 |
border-image: url(icon:/disabled/branch-end.svg) 0; |
| 1122 |
} |
| 1123 |
|
| 1124 |
QTreeView QHeaderView::section { |
| 1125 |
border: none; |
| 1126 |
} |
| 1127 |
|
| 1128 |
|
| 1129 |
/* ------------------------------------------------------------------------ */ |
| 1130 |
/* Custom buttons */ |
| 1131 |
|
| 1132 |
QPushButton.danger { |
| 1133 |
border-color: #dc3545; |
| 1134 |
color: #dc3545; |
| 1135 |
} |
| 1136 |
|
| 1137 |
QPushButton.danger:checked, |
| 1138 |
QPushButton.danger:pressed { |
| 1139 |
color: #31363b; |
| 1140 |
background-color: #dc3545; |
| 1141 |
} |
| 1142 |
|
| 1143 |
QPushButton.warning{ |
| 1144 |
border-color: #ffc107; |
| 1145 |
color: #ffc107; |
| 1146 |
} |
| 1147 |
|
| 1148 |
QPushButton.warning:checked, |
| 1149 |
QPushButton.warning:pressed { |
| 1150 |
color: #31363b; |
| 1151 |
background-color: #ffc107; |
| 1152 |
} |
| 1153 |
|
| 1154 |
QPushButton.success { |
| 1155 |
border-color: #17a2b8; |
| 1156 |
color: #17a2b8; |
| 1157 |
} |
| 1158 |
|
| 1159 |
QPushButton.success:checked, |
| 1160 |
QPushButton.success:pressed { |
| 1161 |
color: #31363b; |
| 1162 |
background-color: #17a2b8; |
| 1163 |
} |
| 1164 |
|
| 1165 |
QPushButton.danger:flat:hover { |
| 1166 |
background-color: rgba(220, 53, 69, 0.2); |
| 1167 |
} |
| 1168 |
|
| 1169 |
QPushButton.danger:flat:pressed, |
| 1170 |
QPushButton.danger:flat:checked { |
| 1171 |
background-color: rgba(220, 53, 69, 0.1); |
| 1172 |
color: #dc3545; |
| 1173 |
} |
| 1174 |
|
| 1175 |
QPushButton.warning:flat:hover { |
| 1176 |
background-color: rgba(255, 193, 7, 0.2); |
| 1177 |
} |
| 1178 |
|
| 1179 |
QPushButton.warning:flat:pressed, |
| 1180 |
QPushButton.warning:flat:checked { |
| 1181 |
background-color: rgba(255, 193, 7, 0.1); |
| 1182 |
color: #ffc107; |
| 1183 |
} |
| 1184 |
|
| 1185 |
QPushButton.success:flat:hover { |
| 1186 |
background-color: rgba(23, 162, 184, 0.2); |
| 1187 |
} |
| 1188 |
|
| 1189 |
QPushButton.success:flat:pressed, |
| 1190 |
QPushButton.success:flat:checked { |
| 1191 |
background-color: rgba(23, 162, 184, 0.1); |
| 1192 |
color: #17a2b8; |
| 1193 |
} |
| 1194 |
|
| 1195 |
/* ------------------------------------------------------------------------ */ |
| 1196 |
/* QTableView */ |
| 1197 |
|
| 1198 |
QTableCornerButton::section { |
| 1199 |
background-color: #232629; |
| 1200 |
border-radius: 0px; |
| 1201 |
border-right: 1px solid; |
| 1202 |
border-bottom: 1px solid; |
| 1203 |
border-color: #31363b; |
| 1204 |
} |
| 1205 |
|
| 1206 |
QTableView { |
| 1207 |
alternate-background-color: rgba(35, 38, 41, 0.7); |
| 1208 |
} |
| 1209 |
|
| 1210 |
QHeaderView { |
| 1211 |
border: none; |
| 1212 |
} |
| 1213 |
|
| 1214 |
QHeaderView::section { |
| 1215 |
color: rgba(255, 255, 255, 0.7); |
| 1216 |
text-transform: uppercase; |
| 1217 |
background-color: #232629; |
| 1218 |
padding: 0 24px; |
| 1219 |
height: 36px; |
| 1220 |
border-radius: 0px; |
| 1221 |
border-right: 1px solid; |
| 1222 |
border-bottom: 1px solid; |
| 1223 |
border-color: #31363b; |
| 1224 |
} |
| 1225 |
|
| 1226 |
QHeaderView::section:vertical { |
| 1227 |
|
| 1228 |
} |
| 1229 |
|
| 1230 |
QHeaderView::section:horizontal { |
| 1231 |
|
| 1232 |
} |
| 1233 |
|
| 1234 |
/* ------------------------------------------------------------------------ */ |
| 1235 |
/* QLCDNumber */ |
| 1236 |
|
| 1237 |
QLCDNumber { |
| 1238 |
color: #1de9b6; |
| 1239 |
background-color:rgba(29, 233, 182, 0.1); |
| 1240 |
border: 1px solid rgba(29, 233, 182, 0.3); |
| 1241 |
border-radius: 4px; |
| 1242 |
} |
| 1243 |
|
| 1244 |
/* ------------------------------------------------------------------------ */ |
| 1245 |
/* QCalendarWidget */ |
| 1246 |
|
| 1247 |
#qt_calendar_prevmonth { |
| 1248 |
qproperty-icon: url(icon:/primary/leftarrow.svg); |
| 1249 |
} |
| 1250 |
|
| 1251 |
#qt_calendar_nextmonth { |
| 1252 |
qproperty-icon: url(icon:/primary/rightarrow.svg); |
| 1253 |
} |
| 1254 |
|
| 1255 |
/* ------------------------------------------------------------------------ */ |
| 1256 |
/* Inline QLineEdit */ |
| 1257 |
|
| 1258 |
QTreeView QLineEdit, |
| 1259 |
QTableView QLineEdit, |
| 1260 |
QListView QLineEdit { |
| 1261 |
color: #ffffff; |
| 1262 |
background-color: #232629; |
| 1263 |
border: 1px solid unset; |
| 1264 |
border-radius: unset; |
| 1265 |
padding: unset; |
| 1266 |
padding-left: unset; |
| 1267 |
height: unset; |
| 1268 |
border-width: unset; |
| 1269 |
border-top-left-radius: unset; |
| 1270 |
border-top-right-radius: unset; |
| 1271 |
} |
| 1272 |
|
| 1273 |
/* ------------------------------------------------------------------------ */ |
| 1274 |
/* QToolTip */ |
| 1275 |
|
| 1276 |
QToolTip { |
| 1277 |
padding: 4px; |
| 1278 |
border: 1px solid #31363b; |
| 1279 |
border-radius: 4px; |
| 1280 |
color: #ffffff; |
| 1281 |
background-color: #4f5b62; |
| 1282 |
} |
| 1283 |
|
| 1284 |
/* ------------------------------------------------------------------------ */ |
| 1285 |
/* QDialog */ |
| 1286 |
|
| 1287 |
|
| 1288 |
/* linux */ |
| 1289 |
QDialog QToolButton, |
| 1290 |
QDialog QToolButton:hover, |
| 1291 |
QDialog QToolButton:pressed, |
| 1292 |
QDialog QToolButton:checked { |
| 1293 |
border: 0px; |
| 1294 |
height: unset; |
| 1295 |
margin: unset; |
| 1296 |
padding: unset; |
| 1297 |
border-right: unset; |
| 1298 |
border-left: unset; |
| 1299 |
background-color: #1de9b6; |
| 1300 |
color: #ffffff; |
| 1301 |
border-radius: 4px; |
| 1302 |
} |
| 1303 |
|
| 1304 |
|
| 1305 |
QDialog QToolButton:disabled { |
| 1306 |
background-color: #232629; |
| 1307 |
color: #ffffff |
| 1308 |
} |
| 1309 |
|
| 1310 |
/* ------------------------------------------------------------------------ */ |
| 1311 |
/* Grips */ |
| 1312 |
|
| 1313 |
|
| 1314 |
QMainWindow::separator:vertical, |
| 1315 |
QSplitter::handle:horizontal { |
| 1316 |
image: url(icon:/primary/splitter-horizontal.svg); |
| 1317 |
} |
| 1318 |
|
| 1319 |
QMainWindow::separator:horizontal, |
| 1320 |
QSplitter::handle:vertical { |
| 1321 |
image: url(icon:/primary/splitter-vertical.svg); |
| 1322 |
} |
| 1323 |
|
| 1324 |
QSizeGrip { |
| 1325 |
image: url(icon:/primary/sizegrip.svg); |
| 1326 |
background-color: transparent; |
| 1327 |
} |
| 1328 |
|
| 1329 |
QMenuBar QToolButton:hover, |
| 1330 |
QMenuBar QToolButton:pressed, |
| 1331 |
QMenuBar QToolButton { |
| 1332 |
border-width: 0; |
| 1333 |
border-left: 10px; |
| 1334 |
border-image: url(icon:/primary/rightarrow2.svg); |
| 1335 |
background-color: transparent; |
| 1336 |
} |
| 1337 |
|
| 1338 |
/* ------------------------------------------------------------------------ */ |
| 1339 |
/* Focus */ |
| 1340 |
|
| 1341 |
QDateTimeEdit:focus, |
| 1342 |
QSpinBox:focus, |
| 1343 |
QDoubleSpinBox:focus, |
| 1344 |
QLineEdit:focus, |
| 1345 |
QComboBox:focus { |
| 1346 |
color: #1de9b6; |
| 1347 |
border: 2px solid #1de9b6; |
| 1348 |
border-width: 0 0 2px 0; |
| 1349 |
|
| 1350 |
} |
| 1351 |
|
| 1352 |
QDateTimeEdit::up-button:focus, |
| 1353 |
QDoubleSpinBox::up-button:focus, |
| 1354 |
QSpinBox::up-button:focus { |
| 1355 |
image: url(icon:/primary/uparrow.svg); |
| 1356 |
} |
| 1357 |
|
| 1358 |
QDateTimeEdit::down-button:focus, |
| 1359 |
QDoubleSpinBox::down-button:focus, |
| 1360 |
QSpinBox::down-button:focus { |
| 1361 |
image: url(icon:/primary/downarrow.svg); |
| 1362 |
} |
| 1363 |
|
| 1364 |
QMenu::indicator:focus, |
| 1365 |
QListView::indicator:focus, |
| 1366 |
QTableWidget::indicator:focus, |
| 1367 |
QRadioButton::indicator:focus { |
| 1368 |
background-color: rgba(29, 233, 182, 0.2); |
| 1369 |
border-radius: 14px; |
| 1370 |
} |
| 1371 |
|
| 1372 |
QCheckBox::indicator:focus { |
| 1373 |
background-color: rgba(29, 233, 182, 0.2); |
| 1374 |
} |