1/**************************************************************************************************************
2 * General styles
3 *************************************************************************************************************/
4
5QWidget {
6	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(90, 90, 90), stop: 1 rgb(70, 70, 70));
7	selection-background-color: rgb(253, 216, 134);
8	selection-color: rgb(3, 3, 3);
9}
10
11QLabel {
12	color: rgb(3, 3, 3);
13	font-size: 100%;
14	background: none;
15}
16
17QLabel:disabled {
18	color: rgb(50, 50, 50);
19}
20
21QDockWidget {
22	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(90, 90, 90), stop: 1 rgb(70, 49, 52));
23}
24
25QFrame {
26	background: none;
27	border: none;
28}
29
30QToolTip {
31	color: rgb(4, 5, 9);
32	font-size: 100%;
33	padding: 2px;
34	background: rgb(143, 143, 143);
35}
36
37*[nightMode="true"] QToolTip {
38	color: rgb(4, 0, 0);
39	font-size: 100%;
40	padding: 2px;
41	background: rgb(101, 0, 0);
42}
43
44QSizeGrip {
45	width: 8px;
46	height: 8px;
47	background: rgb(101, 101, 101);
48}
49
50QTextEdit,
51QPlainTextEdit,
52QListWidget,
53QLineEdit {
54	border: 1px solid rgb(0, 0, 0);
55	border-radius: 0;
56	padding: 0 8px;
57	background: rgb(30, 30, 31);
58	selection-background-color: rgb(253, 216, 134);
59	color: rgb(170, 173, 164);
60        font-size: 100%;
61}
62
63QTextEdit:disabled,
64QListWidget:disabled,
65QLineEdit:disabled {
66	background: rgb(90, 90, 90);
67}
68
69QTextBrowser {
70	border: 0 solid rgb(0, 0, 0);
71	background: rgb(90, 90, 90);
72	color: rgb(3, 3, 3);
73        font-size: 100%;
74}
75
76QGroupBox {
77	padding: 15px;
78	padding-top: 35px;
79	margin-right: 10px;
80	margin-left: 10px;
81	margin-top: 10px;
82	margin-bottom: 10px;
83	background-color: rgba(150, 150, 150, 30%);
84	border: 1px solid rgba(0, 0, 0, 10%);
85	border-style: inset;
86	font-weight: bold;
87	border-radius: 5px;
88}
89
90QGroupBox::title {
91	subcontrol-position: top left;
92	subcontrol-origin: margin;
93	color: rgb(0, 0, 0);
94	left: 27px;
95	top: 20px;
96}
97
98QTabWidget::pane {
99	border: none;
100	margin-top: 0;
101}
102
103QTabWidget::tab-bar {
104	width: 1000px;
105	/*
106	 * Used as a workaround to set the background of the space between the last
107	 * tab (normally the rightmost one and the end of the window. Not necessary
108	 * if QTabWidget::documentMode is set to 'true', but that solution leads to
109	 * a hard-coded line below the tab bar.
110	*/
111}
112
113QTabBar {
114	margin: 0;
115	padding: 0;
116	font-weight: bold;
117	color: rgb(170, 173, 164);
118	background-color: rgb(31, 31, 31);
119	font-size: 108%;
120	/*
121	 * Don't put font-size in QTabBar::tab, as it causes the tab labels to be
122	 * cut by the frame.
123	*/
124}
125
126QListView {
127	font-size: 108%;
128	color: rgb(170, 173, 164);
129	background: rgb(31, 31, 31);
130	show-decoration-selected: 1;
131	border: none;
132}
133
134QListView::item {
135	padding-top: 6px;
136	padding-bottom: 6px;
137	padding-left: 0;
138	padding-right: 0;
139}
140
141QListView::item:hover {
142	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(55, 55, 40), stop: 1 rgb(35, 35, 31));
143}
144
145QListView::item:selected {
146	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(177, 130, 43), stop: 1 rgb(210, 207, 133));
147}
148
149QProgressBar {
150	border: 1px solid rgba(102, 102, 128, 50%);
151	border-radius: 2px;
152	background-color: rgba(38, 41, 48, 20%);
153	text-align: center;
154	color: rgb(111, 111, 127);
155	font-size: 92%;
156}
157
158QProgressBar::chunk {
159	background-color: rgba(68, 68, 109, 50%);
160	width: 10px;
161	margin: 0.5px;
162}
163
164QTreeView {
165	background-color: rgb(76, 77, 80);
166	color: rgb(238, 238, 238);
167        font-size: 100%;
168}
169
170QHeaderView::section {
171	background-color: rgb(31, 31, 31);
172	font: bold;
173	color: rgb(255, 255, 255);
174        font-size: 100%;
175	padding-left: 4px;
176	border: 1px solid rgb(108, 108, 108);
177}
178
179QHeaderView::up-arrow {
180	image: url(:/graphicGui/uieSpinup.png);
181}
182
183QHeaderView::down-arrow {
184	image: url(:/graphicGui/uieSpindown.png);
185}
186
187QMenu {
188	background-color: rgb(90, 90, 90); /* sets background of the menu */
189	border: 1px solid rgb(0, 0, 0);
190	color: rgb(222, 222, 222);
191}
192
193QMenu::item {
194	/*
195	sets background of menu item. set this to something non-transparent if you
196	want menu color and menu item color to be different
197	*/
198	background-color: rgb(66, 67, 70);
199}
200
201QMenu::item:selected { /* when user selects item using mouse or keyboard */
202	background-color: rgb(101, 99, 33);
203}
204
205/*
206 * Windows
207 */
208
209QFrame#TitleBar {
210	/* Title bar on windows */
211	background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 rgb(41, 47, 50), stop:1 rgb(31, 33, 36));
212}
213
214QPushButton#closeStelWindow {
215        border: 1px solid rgb(41, 47, 50); /* Qt 5.15 regression: QBushButton without borders does not respond to clicks */
216        background: none;
217	background-image: url(:/graphicGui/uieCloseButton.png);
218}
219
220QPushButton:hover#closeStelWindow {
221	background-image: url(:/graphicGui/uieCloseButton-hover.png);
222}
223
224QLabel#stelWindowTitle {
225	/* Titles of windows */
226	margin-left: 24px;
227	font-size: 108%;
228	color: rgb(150, 150, 150);
229	font: bold;
230	background: none;
231}
232
233QFrame#viewContent {
234	/*
235	 * Content of windows.
236	 *
237	 * Includes everything inside a window apart from the stelWindowTitle
238	 */
239	background: rgb(0, 0, 0);
240}
241
242/*
243 * Main tab bar on windows
244 */
245
246QListView#stackListWidget {
247	font-weight: bold;
248	color: rgb(120, 120, 120);
249}
250
251QListView::item:hover#stackListWidget {
252	border-top-left-radius: 10px;
253	border-top-right-radius: 10px;
254	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(50, 50, 40), stop: 1 rgb(31, 31, 31));
255}
256
257QListView::item:selected#stackListWidget {
258	border-top-left-radius: 10px;
259	border-top-right-radius: 10px;
260	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(68, 69, 72), stop: 1 rgb(90, 90, 90));
261	color: rgb(207, 207, 207);
262}
263
264QListView::item#stackListWidget {
265	margin: 0;
266	padding-top: 0;
267	padding-bottom: 5px;
268	padding-left: 8px;
269	padding-right: 8px;
270}
271
272/*
273 * Secondary tab bar
274 */
275
276QTabBar::tab {
277	border: none;
278	margin: 0;
279	padding: 1ex 2ex;
280	min-height: 28px;
281}
282
283QTabBar::tab:selected {
284	border: none;
285	margin: 0;
286	color: rgb(220, 223, 214);
287}
288
289QTabBar::tab:top {
290	border-top-left-radius: 10px;
291	border-top-right-radius: 10px;
292}
293
294QTabBar::tab:top:hover {
295	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(50, 50, 40), stop: 1 rgb(31, 31, 31));
296}
297
298QTabBar::tab:top:selected {
299	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(70, 70, 70), stop: 1 rgb(90, 90, 90));
300}
301
302QTabBar::tab:bottom {
303	border-bottom-left-radius: 10px;
304	border-bottom-right-radius: 10px;
305}
306
307QTabBar::tab:bottom:hover {
308	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(31, 31, 31), stop: 1 rgb(50, 50, 40));
309}
310
311QTabBar::tab:bottom:selected {
312	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(70, 70, 70), stop: 1 rgb(68, 69, 72));
313}
314
315QTabBar QToolButton {
316	background-color: rgb(31, 31, 31);
317}
318
319
320/*
321 * QPushButton
322 */
323
324QPushButton {
325	border: 1px solid rgb(0, 0, 0);
326	border-radius: 2px;
327	padding: 2px 8px;
328	color: rgb(31, 31, 31);
329        font-size: 100%;
330	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(183, 184, 185), stop: 1 rgb(111, 113, 114));
331}
332
333QPushButton:disabled {
334        color: rgb(61, 61, 61);
335        border: 1px solid rgb(61, 61, 61);
336	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(150, 150, 153), stop: 1 rgb(120, 120, 120));
337}
338
339QPushButton:flat {
340	border: none; /* no border for a flat push button */
341	background: transparent;
342}
343
344QPushButton:hover {
345	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(183, 184, 165), stop: 1 rgb(111, 113, 94));
346}
347
348QPushButton:pressed {
349	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(41, 41, 49), stop: 0.2 rgb(73, 74, 84), stop: 1 rgb(58, 60, 73));
350}
351
352QPushButton:checked {
353	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(41, 41, 49), stop: 0.2 rgb(73, 74, 84), stop: 1 rgb(58, 60, 73));
354}
355
356
357/*
358 * QCheckBox
359 */
360
361QCheckBox {
362	color: rgb(3, 3, 3);
363	background: none;
364}
365
366QCheckBox:disabled {
367	color: rgb(50, 50, 50);
368}
369
370QCheckBox::indicator,
371QListWidget::indicator,
372QListView::indicator,
373QGroupBox::indicator {
374	width: 16px;
375	height: 16px;
376	margin: 0;
377	background: none;
378}
379
380QCheckBox::indicator:checked,
381QListWidget::indicator:checked,
382QListView::indicator:checked,
383QGroupBox::indicator:checked {
384	image: url(:/graphicGui/uieCheckbox-checked.png);
385}
386
387QCheckBox::indicator:indeterminate,
388QListWidget::indicator:indeterminate,
389QListView::indicator:indeterminate,
390QGroupBox::indicator:indeterminate {
391	image: url(:/graphicGui/uieCheckbox-partial.png);
392}
393
394QCheckBox::indicator:unchecked,
395QListWidget::indicator:unchecked,
396QListView::indicator:unchecked,
397QGroupBox::indicator:unchecked {
398	image: url(:/graphicGui/uieCheckbox-unchecked.png);
399}
400
401QCheckBox::indicator:hover:checked,
402QListWidget::indicator:hover:checked,
403QListView::indicator:hover:checked,
404QGroupBox::indicator:hover:checked {
405	image: url(:/graphicGui/uieCheckbox-checked-hover.png);
406}
407
408QCheckBox::indicator:hover:indeterminate,
409QListWidget::indicator:hover:indeterminate,
410QListView::indicator:hover:indeterminate,
411QGroupBox::indicator:hover:indeterminate {
412	image: url(:/graphicGui/uieCheckbox-partial-hover.png);
413}
414
415QCheckBox::indicator:hover:unchecked,
416QListWidget::indicator:hover:unchecked,
417QListView::indicator:hover:unchecked,
418QGroupBox::indicator:hover:unchecked {
419	image: url(:/graphicGui/uieCheckbox-unchecked-hover.png);
420}
421
422QCheckBox::indicator:checked:disabled,
423QListWidget::indicator:checked:disabled,
424QListView::indicator:checked:disabled,
425QGroupBox::indicator:checked:disabled {
426	image: url(:/graphicGui/uieCheckbox-checked-disabled.png);
427}
428
429QCheckBox::indicator:indeterminate:disabled,
430QListWidget::indicator:indeterminate:disabled,
431QListView::indicator:indeterminate:disabled,
432QGroupBox::indicator:indeterminate:disabled {
433	image: url(:/graphicGui/uieCheckbox-partial-disabled.png);
434}
435
436QCheckBox::indicator:unchecked:disabled,
437QListWidget::indicator:unchecked:disabled,
438QListView::indicator:unchecked:disabled,
439QGroupBox::indicator:unchecked:disabled {
440	image: url(:/graphicGui/uieCheckbox-unchecked-disabled.png);
441}
442
443/*
444 * QRadioButton
445 */
446
447QRadioButton {
448	color: rgb(3, 3, 3);
449	background: none;
450}
451
452QRadioButton::indicator {
453	width: 16px;
454	height: 16px;
455	margin-left: 4px;
456}
457
458QRadioButton::indicator:checked {
459	image: url(:/graphicGui/uieRadio-checked.png);
460}
461
462QRadioButton::indicator:unchecked {
463	image: url(:/graphicGui/uieRadio-unchecked.png);
464}
465
466QRadioButton::indicator:checked:hover {
467	image: url(:/graphicGui/uieRadio-checked-hover.png);
468}
469
470QRadioButton::indicator:unchecked:hover {
471	image: url(:/graphicGui/uieRadio-unchecked-hover.png);
472}
473
474QRadioButton::indicator:checked:disabled {
475	image: url(:/graphicGui/uieRadio-checked-disabled.png);
476}
477
478QRadioButton::indicator:unchecked:disabled {
479	image: url(:/graphicGui/uieRadio-unchecked-disabled.png);
480}
481
482/*
483 * Spinners
484 */
485
486QSpinBox,
487QTimeEdit,
488QDoubleSpinBox,
489AngleSpinBox,
490QDateTimeEdit,
491QComboBox {
492	padding-right: 0;
493	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(180, 180, 183), stop: 1 rgb(93, 95, 98));
494	border: 1px solid rgb(0, 0, 0);
495	color: rgb(31, 31, 31);
496	min-height: 22px;
497}
498
499QSpinBox::up-button,
500QTimeEdit::up-button,
501QDoubleSpinBox::up-button,
502AngleSpinBox::up-button,
503QDateTimeEdit::up-button {
504	subcontrol-origin: border;
505	subcontrol-position: top right;
506	width: 20px;
507	border: 1px solid rgba(0, 0, 0, 0%);
508	border-top: 1px solid rgb(0, 0, 0);
509	border-right: 1px solid rgb(0, 0, 0);
510	image: url(:/graphicGui/uieSpinup.png);
511	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(97, 97, 97), stop: 1 rgb(70, 70, 70));
512}
513
514QSpinBox::down-button,
515QTimeEdit::down-button,
516QDoubleSpinBox::down-button,
517AngleSpinBox::down-button,
518QDateTimeEdit::down-button {
519	subcontrol-origin: border;
520	subcontrol-position: bottom right;
521	width: 20px;
522	border: 1px solid rgba(0, 0, 0, 0%);
523	border-right: 1px solid rgb(0, 0, 0);
524	border-bottom: 1px solid rgb(0, 0, 0);
525	image: url(:/graphicGui/uieSpindown.png);
526	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(70, 70, 70), stop: 1 rgb(40, 40, 40));
527}
528
529QSpinBox::up-button:hover,
530QTimeEdit::up-button:hover,
531QDoubleSpinBox::up-button:hover,
532AngleSpinBox::up-button:hover,
533QDateTimeEdit::up-button:hover {
534	subcontrol-origin: border;
535	subcontrol-position: top right;
536	width: 20px;
537	border: 1px solid rgba(0, 0, 0, 0%);
538	border-top: 1px solid rgb(0, 0, 0);
539	border-right: 1px solid rgb(0, 0, 0);
540	image: url(:/graphicGui/uieSpinup.png);
541    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(87, 87, 77), stop: 1 rgb(70, 70, 70));
542}
543
544QSpinBox::down-button:hover,
545QTimeEdit::down-button:hover,
546QDoubleSpinBox::down-button:hover,
547AngleSpinBox::down-button:hover,
548QDateTimeEdit::down-button:hover {
549	subcontrol-origin: border;
550	subcontrol-position: bottom right;
551	width: 20px;
552	border: 1px solid rgba(0, 0, 0, 0%);
553	border-right: 1px solid rgb(0, 0, 0);
554	border-bottom: 1px solid rgb(0, 0, 0);
555	image: url(:/graphicGui/uieSpindown.png);
556    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(70, 70, 70), stop: 1 rgb(30, 30, 20));
557}
558
559QSpinBox::down-button:pressed,
560QTimeEdit::down-button:pressed,
561QDoubleSpinBox::down-button:pressed,
562AngleSpinBox::down-button:pressed {
563	image: url(:/graphicGui/uieSpindown-pressed.png);
564}
565
566QSpinBox::up-button:pressed,
567QTimeEdit::up-button:pressed,
568QDoubleSpinBox::up-button:pressed,
569AngleSpinBox::up-button:pressed {
570	image: url(:/graphicGui/uieSpinup-pressed.png);
571}
572
573/*
574 * QComboBox
575 */
576
577QComboBox::drop-down,
578.QDateTimeEdit::drop-down {
579	subcontrol-origin: padding;
580	subcontrol-position: center right;
581	width: 20px;
582	border: none;
583}
584
585QComboBox::down-arrow,
586.QDateTimeEdit::down-arrow {
587	width: 20px;
588	height: 22px;
589	image: url(:/graphicGui/uieSpindown.png);
590	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(97, 97, 92), stop: 1 rgb(40, 40, 40));
591}
592
593QComboBox::down-arrow:on,
594.QDateTimeEdit::down-arrow:pressed {
595	image: url(:/graphicGui/uieSpindown-pressed.png);
596}
597
598QComboBox QAbstractItemView {
599	color: rgb(31, 31, 31);
600	border: 1px solid rgb(0, 0, 0);
601	border-bottom: 1px solid rgb(0, 0, 0);
602	border-top: none;
603	background: rgb(93, 95, 98);
604}
605
606QComboBox {
607	padding-left: 3px;
608}
609
610/*
611 * Disabled QComboBox and spinners
612 */
613
614QComboBox:disabled,
615QSpinBox:disabled,
616QDoubleSpinBox:disabled,
617AngleSpinBox:disabled,
618QDateTimeEdit:disabled {
619        border: 1px solid rgb(31, 31, 31);
620        color: rgb(61, 61, 61);
621	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(150, 150, 153, 100%), stop: 1 rgba(120, 120, 120, 100%));
622}
623
624QComboBox:focus, QComboBox:hover,
625QSpinBox:focus, QSpinBox:hover,
626QDoubleSpinBox:focus, QDoubleSpinBox:hover,
627AngleSpinBox:focus, AngleSpinBox:hover,
628QDateTimeEdit:focus, QDateTimeEdit:hover {
629	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(180, 180, 163), stop: 1 rgb(93, 95, 78));
630}
631
632QSpinBox::up-button:disabled,
633TimeEdit::up-button:disabled,
634QDoubleSpinBox::up-button:disabled,
635AngleSpinBox::up-button:disabled,
636QDateTimeEdit::up-button:disabled {
637	background: rgb(75, 75, 75);
638        border-top: 1px solid rgb(31, 31, 31);
639        border-right: 1px solid rgb(31, 31, 31);
640}
641
642QSpinBox::down-button:disabled,
643QTimeEdit::down-button:disabled,
644QDoubleSpinBox::down-button:disabled,
645AngleSpinBox::down-button:disabled,
646QDateTimeEdit::down-button:disabled {
647	background: rgb(70, 70, 70);
648        border-bottom: 1px solid rgb(31, 31, 31);
649        border-right: 1px solid rgb(31, 31, 31);
650}
651
652/*
653 * QScrollBar:vertical
654 */
655
656QScrollBar:vertical {
657	border: 0 solid rgb(116, 116, 116);
658	background: rgb(50, 50, 51);
659	width: 16px;
660	margin: 20px 0 20px 0;
661}
662
663QScrollBar::handle:vertical {
664	border: 0;
665	background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgb(180, 180, 180), stop:1 rgb(143, 143, 143));
666	min-height: 20px;
667}
668
669QScrollBar::add-line:vertical {
670	border: 0 solid rgb(92, 92, 92);
671	height: 20px;
672	subcontrol-position: bottom;
673	subcontrol-origin: margin;
674}
675
676QScrollBar::sub-line:vertical {
677	border: 0 solid rgb(92, 92, 92);
678	height: 20px;
679	subcontrol-position: top;
680	subcontrol-origin: margin;
681}
682
683QScrollBar::add-page:vertical,
684QScrollBar::sub-page:vertical {
685	background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgb(81, 81, 81), stop:1 rgb(116, 116, 116));
686}
687
688QScrollBar::up-arrow {
689	subcontrol-origin: padding;
690	subcontrol-position: top; /* position at the top right corner */
691	width: 16px;
692	height: 20px;
693	image: url(:/graphicGui/uieSpinup.png);
694	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(54, 54, 57), stop: 1 rgb(34, 34, 35));
695}
696
697QScrollBar::down-arrow {
698	subcontrol-origin: padding;
699	subcontrol-position: bottom; /* position at the bottom right corner */
700	width: 16px;
701	height: 20px;
702	image: url(:/graphicGui/uieSpindown.png);
703	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(54, 54, 57), stop: 1 rgb(34, 34, 35));
704}
705
706/*
707 * QScrollBar:horizontal
708 */
709
710QScrollBar:horizontal {
711	border: 0 solid rgb(116, 116, 116);
712	background: rgb(50, 50, 51);
713	height: 16px;
714	margin: 0 20px 0 20px;
715}
716
717QScrollBar::handle:horizontal {
718	border: 0;
719	background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgb(180, 180, 180), stop:1 rgb(143, 143, 143));
720	min-width: 20px;
721}
722
723QScrollBar::add-line:horizontal {
724	border: 0 solid rgb(92, 92, 92);
725	width: 20px;
726	subcontrol-position: left;
727	subcontrol-origin: margin;
728}
729
730QScrollBar::sub-line:horizontal {
731	border: 0 solid rgb(92, 92, 92);
732	width: 20px;
733	subcontrol-position: right;
734	subcontrol-origin: margin;
735}
736
737QScrollBar::add-page:horizontal,
738QScrollBar::sub-page:horizontal {
739	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(81, 81, 81), stop:1 rgb(116, 116, 116));
740}
741
742QScrollBar::right-arrow {
743	subcontrol-origin: padding;
744	subcontrol-position: left; /* position at the top right corner */
745	height: 16px;
746	width: 20px;
747	image: url(:/graphicGui/uieSpinleft.png);
748	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(54, 54, 57), stop: 1 rgb(34, 34, 35));
749}
750
751QScrollBar::left-arrow {
752	subcontrol-origin: padding;
753	subcontrol-position: right; /* position at the bottom right corner */
754	height: 16px;
755	width: 20px;
756	image: url(:/graphicGui/uieSpinright.png);
757	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(54, 54, 57), stop: 1 rgb(34, 34, 35));
758}
759
760/*
761 * QSlider:horizontal
762 */
763
764QSlider {
765	background: none;
766}
767
768QSlider::groove:horizontal {
769	border: none;
770	height: 4px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
771	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(0, 0, 0), stop: 1 rgb(54, 54, 54));
772	margin: 0;
773}
774
775QSlider::handle:horizontal {
776	border: 1px solid rgb(0, 0, 0);
777	border-radius: 2px;
778	width: 32px;
779	margin: -5px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
780	color: rgb(31, 31, 31);
781	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(183, 184, 185), stop: 1 rgb(111, 113, 114));
782}
783
784QSlider::handle:horizontal:hover {
785	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(183, 184, 165), stop: 1 rgb(111, 113, 94));
786}
787
788QSlider::groove:horizontal:disabled {
789	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(61, 61, 61), stop: 1 rgb(80, 80, 80));
790}
791
792QSlider::handle:horizontal:disabled {
793	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(150, 150, 153), stop: 1 rgb(120, 120, 120));
794        border: 1px solid rgb(64, 64, 64);
795}
796
797/**************************************************************************************************************
798 * shortcutsDialog
799 *************************************************************************************************************/
800
801QLineEdit[collision="true"] {
802	/*
803	 * Shortcut collision, when a user selects the same shortcut for two
804	 * functions
805	 */
806	color: red;
807}
808
809/**************************************************************************************************************
810 * dateTimeDialog
811 *************************************************************************************************************/
812
813#dateTimeDialogForm #dateTimeTabWidget QFrame {
814	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(235, 239, 249), stop: 1 rgb(210, 214, 224));
815	border: none;
816}
817
818#dateTimeDialogForm #dateTimeTabWidget QLabel {
819	padding: 0;
820	margin: 0;
821	font-size: 24px;
822	text-align: center;
823	background: none;
824}
825
826#dateTimeDialogForm QSpinBox,
827#dateTimeDialogForm QDoubleSpinBox {
828	border-image: none;
829	border: 0;
830	background: rgba(0, 0, 0, 0%);
831	padding-top: 16px;
832	padding-bottom: 16px;
833	font-size: 18px;
834	text-align: center;
835	padding-left: 3px;
836	padding-right: 3px;
837}
838
839#dateTimeDialogForm QSpinBox::up-button,
840#dateTimeDialogForm QDoubleSpinBox::up-button {
841	subcontrol-origin: border;
842	subcontrol-position: top center;
843	margin: 0;
844	width: 32px;
845	border: none;
846	background: none;
847	image: none;
848}
849
850#dateTimeDialogForm QSpinBox::up-arrow,
851#dateTimeDialogForm QDoubleSpinBox::up-arrow {
852	image: url(:/graphicGui/uieSpinup.png);
853	subcontrol-origin: border;
854	subcontrol-position: bottom center;
855	padding-bottom: 20px;
856}
857
858#dateTimeDialogForm QSpinBox::down-button,
859#dateTimeDialogForm QDoubleSpinBox::down-button {
860	subcontrol-origin: border;
861	subcontrol-position: bottom center;
862	margin: 0;
863	border: none;
864	width: 32px;
865	background: none;
866	image: none;
867}
868
869#dateTimeDialogForm QSpinBox::down-arrow,
870#dateTimeDialogForm QDoubleSpinBox::down-arrow {
871	image: url(:/graphicGui/uieSpindown.png);
872	subcontrol-origin: border;
873	subcontrol-position: top center;
874	padding-top: 20px;
875}
876
877/**************************************************************************************************************
878 * searchDialog
879 *************************************************************************************************************/
880
881QFrame#horizontalSearchLayout {
882	background: none;
883	border: none;
884	padding: 20px;
885	padding-bottom: 0;
886}
887
888QLineEdit#lineEditSearchSkyObject {
889	background: rgb(30, 30, 31);
890	margin: 0;
891	padding-left: 3px;
892	padding-top: 3px;
893	padding-bottom: 0;
894	border: 1px solid rgb(0, 0, 0);
895	border-right: none;
896	font-size: 123%;
897	color: rgb(255, 255, 255);
898}
899
900QListView#searchListView {
901	font-size: 108%;
902	padding-left: 20px;
903	padding-right: 15px;
904	border: none;
905	background: transparent;
906}
907
908QFrame#greekLettersFrame {
909	font-size: 139%;
910	padding: 10px 20px;
911	background: transparent;
912}
913
914QFrame#j2000Frame {
915	padding: 10px 20px;
916}
917
918QPushButton#pushButtonGotoSearchSkyObject {
919	border-radius: 0;
920	/* border-left: none; */
921	padding: 2px;
922	image: url(:/graphicGui/uibtSearch.png);
923}
924
925/**************************************************************************************************************
926 * locationDialog
927 *************************************************************************************************************/
928
929QLineEdit#citySearchLineEdit {
930	margin: 0 0 4px 0;
931	padding: 4px;
932	padding-left: 32px;
933	background-image: url(:/graphicGui/uieSearchBoxBackground.png);
934	background-repeat: none;
935	background-position: center left;
936	border: none;
937}
938
939QListView#citiesListView {
940        font-size: 100%;
941}
942
943QListView#citiesListView::item {
944	padding: 2px 0;
945}
946
947/**************************************************************************************************************
948 * configurationDialog
949 *************************************************************************************************************/
950
951QTextBrowser#deltaTAlgorithmDescription {
952	background: transparent;
953	padding: 0;
954	margin: 0;
955}
956
957/**************************************************************************************************************
958 * viewDialog
959 *************************************************************************************************************/
960
961QTextBrowser#projectionTextBrowser {
962	background: transparent;
963	padding: 0;
964	margin: 0;
965}
966
967/**************************************************************************************************************
968 * helpDialog
969 *************************************************************************************************************/
970
971QTextBrowser#helpBrowser,
972QTextBrowser#aboutBrowser {
973	padding-left: 11px;
974}
975
976/**************************************************************************************************************
977 * satellitesDialog
978 *************************************************************************************************************/
979
980QListWidget#satellitesList,
981QListWidget#sourceList {
982	font-size: 60%;
983}
984
985/**************************************************************************************************************
986 * TelescopeControl
987 *************************************************************************************************************/
988
989QTreeView::item:selected#treeView {
990	background-color: rgb(59, 144, 235);
991	color: rgb(255,255,255);
992}
993
994QTreeView::item:!enabled#treeView {
995	color : rgb(58,59,62);
996}
997
998/**************************************************************************************************************
999 * ocularDialog
1000 *************************************************************************************************************/
1001
1002QPushButton#pushButtonMoveSensorUp,
1003QPushButton#pushButtonMoveOcularUp,
1004QPushButton#pushButtonMoveTelescopeUp,
1005QPushButton#pushButtonMoveLensUp {
1006	image: url(:/graphicGui/uieSpinup.png);
1007}
1008
1009QPushButton#pushButtonMoveSensorDown,
1010QPushButton#pushButtonMoveOcularDown,
1011QPushButton#pushButtonMoveTelescopeDown,
1012QPushButton#pushButtonMoveLensDown {
1013	image: url(:/graphicGui/uieSpindown.png);
1014}
1015
1016QLabel#lensNote {
1017	margin-left: 5px;
1018}
1019
1020QMessageBox {
1021        font-weight: bold;
1022        background-color: rgb(143, 143, 143);
1023}
1024
1025QColorDialog {
1026        background-color: rgb(143, 143, 143);
1027}
1028