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