1/* "I feed the darkness 2 * And the darkness feeds me" 3 * NightStalker theme for 4 * freeciv-qt by mir3x 5 */ 6 7 8QMainWindow { 9 border-image:url(LittleFingerpattern.png); 10} 11 12*[doomed="true"] { 13 background-color: #485261; 14 border: none; 15} 16 17*[city_name_button="true"] { 18 font-weight: bold italic; 19 border: 0px; 20 background: transparent; 21 text-align: right; 22} 23 24*[doomchat="true"] { 25 background-color: #121212; 26 color: white; 27 border: 1px solid gray; 28} 29 30*[themed_choice="true"] { 31 background-color: #121212; 32 color: white; 33 border: 1px solid gray; 34} 35 36*[themed_border="true"] { 37 border: 2px solid #3399FF; 38} 39 40 41*[city_scroll="true"] { 42 border: none; 43 border-radius: none; 44} 45 46close_widget 47{ 48 background: #1155BB; 49} 50 51resize_widget 52{ 53 background: #1155BB; 54} 55 56QPushButton { 57 color: #FFFFFF; 58 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #474747, stop: 1 #323232); 59 border: 2px solid #12375c; 60 border-radius: 10px; 61 padding: 2px; 62} 63 64QPushButton:hover { 65 color: white; 66 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 1 #414141); 67 border: 2px solid #3399FF; 68} 69 70QPushButton:disabled { 71 background: #696969; 72 border: 2px solid #164471; 73} 74 75QDialogButtonBox { 76 button-layout: 3; 77} 78 79hud_input_box QDialogButtonBox QPushButton { 80 color: #FFFFFF; 81 background: #323843; 82 border: 2px solid #47515f; 83 border-radius: 0px; 84 padding: 0px; 85 min-width: 160px; 86} 87 88unit_hud_selector { 89 color: white; 90 background-color: #3d4552; 91 border: 2px solid #0000AA; 92} 93 94unit_hud_selector, tax_rates_dialog QPushButton { 95 color: #FFFFFF; 96 background: #323843; 97 border: 2px solid #47515f; 98 border-radius: 0px; 99 padding: 0px; 100 min-width: 160px; 101} 102 103qfc_dialog::title { 104 font-weight: bold; 105 background-color: #002165; 106} 107 108unit_hud_selector, tax_rates_dialog QPushButton:hover { 109 color: white; 110 background: #414a57; 111 border: 2px solid #3399FF; 112} 113 114unit_hud_selector QGroupBox { 115 color: white; 116 background-color: #3d4552; 117 border: 1px solid #2e2e2e; 118 border-radius: 5px; 119} 120 121hud_input_box QDialogButtonBox QPushButton:disabled { 122 background: #696969; 123 border: none; 124} 125 126hud_input_box QDialogButtonBox QPushButton:hover { 127 color: white; 128 background: #414a57; 129 border: 2px solid #3399FF; 130} 131 132 133 134hud_message_box QDialogButtonBox QPushButton { 135 color: #FFFFFF; 136 background: #323843; 137 border: 2px solid #47515f; 138 border-radius: 0px; 139 padding: 0px; 140 min-width: 160px; 141} 142 143hud_message_box QDialogButtonBox QPushButton:disabled { 144 background: #696969; 145 border: none; 146} 147 148hud_message_box QDialogButtonBox QPushButton:hover { 149 color: white; 150 background: #414a57; 151 border: 2px solid #3399FF; 152} 153 154hud_message_box QDialogButtonBox QPushButton:default { 155 color: white; 156 background: #414a57; 157 border: 2px solid #3399FF; 158 padding: 2px; 159} 160 161QLabel { 162 color: #ececec; 163} 164 165QTableWidget { 166 alternate-background-color: #475060; 167 background-color: #3d4552; 168 border-top: 1px solid #3399FF; 169 border-left: 1px solid #3399FF; 170 border-bottom: 1px solid #3399FF; 171 border-right: 1px solid #3399FF; 172 border-radius: 1px; 173 padding: 2 3px; 174 color: white; 175 selection-color: yellow; 176 selection-background-color: #3399FF; 177} 178 179QTableWidget::item:selected { 180 border: none; 181 padding: 0 0; 182 background: #3399FF; 183} 184 185 186QHeaderView::section { 187 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #474747, stop: 1 #323232); 188 color: #FFFFFF; 189 border: 1px solid #1d5994; 190} 191 192QLineEdit { 193 background-color: #343434; 194 border: 1px solid rgb(60,60,60); 195 border-radius: 2px; 196 color: rgb( 210, 210, 210); 197} 198 199QTabWidget { 200 background: #343446; 201} 202 203QSpinBox { 204 background: #343434; 205 color: #ffffff; 206 selection-background-color: none; 207} 208 209QComboBox { 210 color: rgb( 240, 240, 240); 211 background-color: rgb(65, 65, 65); 212 text-align: left; 213 padding-left: 10px; 214 padding-top: 0px; 215 padding-bottom: 2px; 216 border: none; 217 border-radius: 2px; 218 margin-top: .1em; 219 margin-bottom: 0em; 220} 221 222QComboBox::drop-down { 223 subcontrol-origin: padding; 224 subcontrol-position: top right; 225 width: 15px; 226 border-left-width: 1px; 227 border-left-color: black; 228 border-left-style: solid; 229 border-top-right-radius: 3px; 230 border-bottom-right-radius: 3px; 231} 232 233QComboBox::down-arrow { 234 image: url(LittleFingercombo-arrow.png); 235} 236 237 238QSlider::groove:horizontal { 239 background: transparent; 240 height: 16px; 241 position: absolute; 242 left: 4px; right: 4px; 243} 244 245QSlider::handle:horizontal { 246 height: 16px; 247 width: 16px; 248 background:url(LittleFingerwheel.png); 249 margin: 0 0px; 250} 251 252QSlider::add-page:horizontal { 253 background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgba(0,0,0,0) ,stop:0.3 rgba(0,0,0,0), stop:0.4 rgba(0,0,0,255) stop: 0.6 rgba(0,0,0,255) , stop:0.7 rgba(0,0,0,0), stop: 1 rgba(0,0,0,0)); 254} 255 256QSlider::sub-page:horizontal { 257 background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgba(0,0,0,0) ,stop:0.3 rgba(0,0,0,0), stop:0.4 rgba(50,151,255,255) stop: 0.6 rgba(50,151,255,255) , stop:0.7 rgba(0,0,0,0), stop: 1 rgba(0,0,0,0)); 258} 259 260 261QSplitter::handle { 262 background: transparent; 263} 264 265QSplitter::handle:vertical { 266 image: url(LittleFingersplitter-horizontal.png); 267 height: 8px; 268} 269 270QSplitter::handle:horizontal { 271 image: url(LittleFingersplitter-vertical.png); 272 width: 8px; 273} 274 275QMenuBar { 276 background-color: #3A3A3A; 277} 278 279QMenuBar::item { 280 spacing: 3px; 281 padding: 1px 4px; 282 color: #FFFFFF; 283 background: transparent; 284 border-radius: none 285} 286 287QMenuBar::item:selected { 288 color: #3399FF; 289 background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #111111,stop:0.89 #111111 stop: 0.9 #3399FF,stop: 1 #3399FF); 290} 291 292QMenuBar::item:pressed { 293 background: #111111; 294} 295 296QMenu { 297 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgba(84, 85, 86, 225), stop:1 rgba(55, 55, 54, 255)); 298 border:none; 299} 300QMenu::item { 301 color: #FFFFFF; 302 padding: 3px 20px 3px 25px; 303 border: 2px solid transparent; 304} 305 306QMenu::item:disabled { 307 color: #999999; 308} 309 310QMenu::item:selected { 311 color: #3399FF; 312 background-color: rgba(55, 55, 54, 255); 313 border: 2px solid grey; 314 border-radius: 9px; 315} 316 317 318minimap_view 319{ 320 selection-background-color: #1155BB; 321} 322 323QTreeWidget { 324 color: white; 325 background-color: #353b47; 326 border: none; 327} 328 329QTreeWidget::item:selected { 330 border: none; 331 background: #3399FF; 332} 333 334QComboBox QAbstractItemView { 335 color: #3399FF; 336 background: #111111; 337 border: 1px outset #1f5d9c; 338 border-radius: 3px; 339 selection-background-color: #3399FF; 340} 341 342QComboBox:editable { 343 background: #333333; 344} 345 346QComboBox:!editable, QComboBox::drop-down:editable { 347 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #474747, stop: 1 #323232); 348 selection-background-color: #3399FF; 349} 350 351QLineEdit:disabled, QComboBox:disabled, QSpinBox:disabled { 352 background: #696969; 353} 354 355unit_item, impr_item { 356 selection-background-color: #3399FF; 357} 358 359info_tile { 360 color: white; 361 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgba(0, 0, 125,195) stop:1 rgba(25, 25, 95, 225)); 362 border: 2px solid #0000AA; 363} 364 365notify_dialog { 366 color: white; 367 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgba(0, 0, 75,195) stop:1 rgba(25, 25, 45, 225)); 368 border: 2px solid #0000AA; 369} 370 371QProgressBar { 372 color: white; 373 background: #4a5464; 374 selection-background-color: #3399FF; 375} 376 377QRadioButton { 378 color: yellow; 379} 380 381QRadioButton::indicator { 382 width: 16px; 383 height: 16px; 384} 385 386QRadioButton::indicator::unchecked { 387 image: url(LittleFingerradio-unchecked.png); 388} 389 390QRadioButton::indicator:unchecked:hover { 391 image: url(LittleFingerradio-unchecked.png); 392} 393 394QRadioButton::indicator:unchecked:pressed { 395 image: url(LittleFingerradio-unchecked.png); 396} 397 398QRadioButton::indicator::checked { 399 image: url(LittleFingerradio-checked.png); 400} 401 402QRadioButton::indicator:checked:hover { 403 image: url(LittleFingerradio-checked.png); 404} 405 406QRadioButton::indicator:checked:pressed { 407 image: url(LittleFingerradio-checked.png); 408} 409 410 411 412QDialog { 413 color: #3399FF; 414 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #485261, stop: 1 #444d5b); 415 border: 3px solid #3399FF; 416} 417 418QTabWidget::pane { 419 margin: 1px, 1px, 1px, 1px; 420 border-left: 1px solid #454545; 421 border-top: 1px solid #454545; 422 border-bottom: 2px solid #454545; 423 border-right: 2px solid #454545; 424 border-radius: 8px; 425 border-top-left-radius: 0px; 426 padding: 0px; 427} 428 429QTabBar::tab { 430 background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #485261, stop: 0.4 #262b33, stop: 0.4 #262b33, stop: 1.0 #485261); 431 border-left: 1px solid #3399FF; 432 border-top: 1px solid #3399FF; 433 border-bottom: 1px solid #1f5d9c; 434 border-right: 1px solid #1f5d9c; 435 border-top-right-radius: 15; 436 border-top-left-radius: 5; 437 color: white; 438 padding: 5px; 439 min-width: 80px; 440} 441 442 443QTabBar::tab:!selected { 444 margin-top: 3px; 445} 446 447QTabBar::tab:first { 448 border-left: 1px solid #3399FF; 449 border-top: 1px solid #3399FF; 450 border-bottom: 1px solid #3399FF; 451 border-right: 1px solid #3399FF; 452 border-top-right-radius: 15; 453 border-top-left-radius: 5; 454 color:white; 455 padding:5px; 456} 457 458QTabBar::tab::selected { 459 background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #434343, stop: 0.4 #212121, stop: 0.4 #212121, stop: 1.0 #434343); 460 border-left: 1px solid #3399FF; 461 border-top: 1px solid #3399FF; 462 border-bottom: 1px solid #2c84dc; 463 border-right: 2px solid #2c84dc; 464 border-top-right-radius: 15; 465 border-top-left-radius: 5; 466 color:white; 467 padding:5px; 468} 469 470QTabWidget::tab-bar { 471 left: 0px; 472} 473 474QTabBar::tab:hover { 475 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #474747, stop: 0.4 #323232, stop: 0.4 #323232, stop: 1.0 #474747); 476} 477 478QTabBar QToolButton { 479 background: #474747; 480} 481 482QTabBar QToolButton::left-arrow { 483 image: url(LittleFingerarrow-left); 484} 485 486QTabBar QToolButton::right-arrow { 487 image: url(LittleFingerarrow-right); 488} 489 490 491QTreeView { 492 alternate-background-color: #475060; 493 background-color: #3d4552; 494 border-top: 1px solid #3399FF; 495 border-left: 1px solid #3399FF; 496 border-bottom: 1px solid #3399FF; 497 border-right: 1px solid #3399FF; 498 border-radius: 1px; 499 padding: 2 3px; 500 color: white; 501 selection-color: yellow; 502 selection-background-color: #3399FF; 503} 504 505QTreeView::item:selected { 506 border: none; 507 padding: 0 0; 508 background: #3399FF; 509} 510 511QItemDelegate:selected { 512 border: none; 513 padding: 0 0; 514 background-color: #3399FF; 515} 516 517QToolTip { 518 border: 1px solid #3399FF; 519 padding: 1px; 520 border-radius: 3px; 521 background: black; 522 color: white; 523 opacity: 200; 524} 525 526QCheckBox { 527 color: rgb(240,240,240); 528 spacing: 5px; 529} 530 531QCheckBox:disabled, QRadioButton:disabled { 532 background-color: transparent; 533 color: #696969; 534} 535 536QCheckBox::indicator { 537 width: 16px; 538 height: 16px; 539} 540 541QCheckBox::indicator:unchecked { 542 image: url(LittleFingercheckbox-unchecked.png); 543} 544 545 546QCheckBox::indicator:unchecked:pressed { 547 image: url(LittleFingercheckbox-unchecked_pressed.png); 548} 549 550QCheckBox::indicator:checked { 551 image: url(LittleFingercheckbox-checked.png); 552} 553 554QCheckBox::indicator:checked:pressed { 555 image: url(LittleFingercheckbox-checked-pressed.png); 556} 557 558QCheckBox::indicator:unchecked:hover { 559 image: url(LittleFingercheckbox-unchecked.png); 560} 561 562QCheckBox::indicator:checked:hover { 563 image: url(LittleFingercheckbox-checked.png); 564} 565 566QGroupBox { 567 color: yellow; 568 background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #3d4552, stop: 1 #383f4c); 569 border: 1px solid #454545; 570 border-radius: 5px; 571 margin-top: 2ex; 572} 573 574QComboBox:hover { 575 color: #3399FF; 576} 577 578city_dialog QScrollArea QWidget { 579 background: #414a57; 580} 581 582city_dialog QScrollArea QFrame { 583 background: #414a57; 584} 585 586city_dialog QScrollArea { 587 background: #414a57; 588} 589 590city_dialog QPushButton { 591 color: #FFFFFF; 592 background: #414a57; 593 border: 2px solid #47515f; 594 border-radius: 0px; 595 padding: 0px; 596} 597 598city_dialog QPushButton:disabled { 599 background: #696969; 600 border: none; 601} 602 603city_dialog QPushButton:hover { 604 color: white; 605 background: #414a57; 606 border: 2px solid #3399FF; 607} 608 609city_dialog QGroupBox { 610 color: yellow; 611 background-color: #414a57; 612 border: 1px solid #4f5a6a; 613 border-radius: 5px; 614} 615 616city_dialog QTableWidget { 617 background-color: #414a57; 618 border-top: none; 619 border-left: none; 620 border-bottom: none; 621 border-right: none; 622 border-radius: 1px; 623 padding: 2 3px; 624 color: white; 625 selection-color: yellow; 626 selection-background-color: #3399FF; 627} 628 629info_tab { 630 border: 1px solid #1d5994; 631 background-color: rgba(0,0,75,185); 632} 633 634units_reports QScrollArea { 635 background: rgba(0,0,0,45); 636} 637 638units_reports QScrollArea QWidget{ 639 background: rgba(0,0,0,45); 640} 641 642unittype_item { 643 border: none; 644 background-color: rgba(0,0,0,95); 645 selection-background-color: rgba(50, 150, 250,220); 646} 647 648units_reports { 649 border: 1px solid #1d5994; 650 background-color: rgba(0,0,75,95); 651} 652 653science_report QScrollArea { 654 background-image:url(LittleFingersun.png); 655} 656 657science_report QScrollArea QWidget { 658 background-image:url(LittleFingersun.png); 659} 660 661QTextEdit#scenarios_view { 662 color: white; 663 background-color: #3d4552 664} 665 666QTextEdit { 667 background-color: #232323; 668 color: #54ff54; 669} 670 671QFontListView { 672 color: white; 673 background-color: #3d4552; 674} 675 676QScrollBar:vertical { 677 border: 1px solid #246db6; 678} 679 680QScrollBar:horizontal { 681 border: 1px solid #246db6; 682} 683 684QScrollBar::sub-line:vertical { 685 width: 0px;height: 0px 686} 687 688QScrollBar::sub-page:vertical { 689 background: #232323; 690width: 0px;height: 0px 691} 692 693QScrollBar::add-line:vertical { 694 width: 0px;height: 0px 695} 696 697QScrollBar::add-page:vertical { 698 background: #232323; 699 width: 0px;height: 0px 700} 701 702QScrollBar::handle:vertical { 703 background: #3399FF; min-height: 20px 704} 705 706QScrollBar::sub-line:horizontal { 707 width: 0px;height: 0px 708} 709 710QScrollBar::sub-page:horizontal { 711 background: #232323; 712 width: 0px;height: 0px 713} 714 715QScrollBar::add-line:horizontal { 716 width: 0px;height: 0px 717} 718 719QScrollBar::add-page:horizontal { 720 background: #232323; 721 width: 0px;height: 0px 722} 723 724QScrollBar::handle:horizontal { 725 background: #3399FF; min-width: 20px 726} 727 728 729fc_game_tab_widget { 730 background-image:url(LittleFingerpattern-game.png); 731} 732 733help_widget QTextBrowser 734{ 735 background-color: #414a57; 736 color: white; 737} 738 739help_widget QWidget 740{ 741 background-color: #414a57; 742 color: white; 743} 744 745help_widget QTreeWidget 746{ 747 background-color: #414a57; 748 color: white; 749} 750 751help_widget QScrollArea QFrame { 752 background-color: #414a57; 753 color: white; 754} 755 756help_widget QScrollArea { 757 background-color: #414a57; 758 color: white; 759} 760 761units_select { 762 background-color: rgba(0, 0, 0, 135); 763 color: white; 764 selection-color: #3399FF; 765 border: 2px solid #0000AA; 766} 767 768chatwdg QTextBrowser 769{ 770 background-color: transparent; 771 border: none; 772 color: rgb( 240, 240, 240); 773} 774 775chatwdg QLineEdit 776{ 777 background-color: black; 778 border: 1px solid #13395f; 779 color: rgb( 240, 240, 240); 780} 781 782 783chatwdg QScrollBar:vertical 784{ 785 background: transparent; 786} 787 788messagewdg QTableWidget 789{ 790 border: none; 791 background-color: transparent; 792} 793 794messagewdg QTableWidget::item:hover { 795 color: white; 796 background-color: rgb(35, 110, 215); 797 border-radius: 9px; 798} 799 800xvote QPushButton { 801 background-color: transparent; 802 color: #038713; 803 min-width: 80px; 804 border: none; 805} 806 807xvote QPushButton:enabled { 808 color: #038713; 809} 810 811xvote QPushButton:hover { 812 background-color: blue; 813} 814 815hud_message_box { 816 background-color: transparent; 817 color: white; 818 selection-background-color: rgba(50, 150, 250,220); 819 alternate-background-color: rgba(0, 0, 60,220); 820 border: 2px solid #3399FF; 821} 822 823 824hud_input_box { 825 background-color: transparent; 826 color: white; 827 selection-background-color: rgba(50, 150, 250,220); 828 alternate-background-color: rgba(0, 0, 60,220); 829 border: 2px solid #3399FF; 830} 831 832hud_message_box QLineEdit { 833 text: white; 834 background: #2704b2; 835} 836 837hud_unit_loader::item:hover { 838 border: none; 839 padding: 0 0; 840 background: #3399FF; 841} 842 843fc_sidewidget { 844 color: white; 845 /* Box around current widget */ 846 selection-background-color: rgb(100, 30, 30); 847 /* Hover effect */ 848 alternate-background-color: rgba(75, 0, 75, 125); 849 /* blink */ 850 selection-color: rgba(85, 25, 25, 185); 851} 852 853hud_action { 854 selection-background-color: rgba(250, 75, 25, 150); 855 color: rgb(5,5,185); 856} 857 858hud_units { 859 background: rgba(40, 10, 30, 200); 860} 861 862hud_units QLabel { 863 color: white; 864} 865 866hud_unit_combat { 867 selection-background-color: rgba(0, 0, 75,165); 868 alternate-background-color: #0000AA; 869} 870 871tax_rates_dialog { 872 color: white; 873 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgba(0, 0, 75,195) stop:1 rgba(25, 25, 45, 225)); 874 border: 2px solid #0000AA; 875} 876