Debian Codegraph @

themes/graphite/lxqt-panel.qss

raw
1 /*
2 * General panel settings
3 */
4
5 LXQtPanel #BackgroundWidget {
6 background: #303030;
7 }
8
9 QToolTip {
10 background: palette(tooltip_base);
11 color: palette(tooltip_text);
12 padding: 3px;
13 margin: 0px;
14 border: 1px solid grey;
15 border-radius: 3px;
16 }
17
18 /*
19 * General plugins settings
20 */
21
22 Plugin,
23 LXQtPanelPlugin {
24 padding: 5px;
25 spacing: 20px;
26 qproperty-moveMarkerColor: #ecd000;
27 }
28
29 Plugin > QWidget,
30 Plugin > QWidget > QWidget {
31 color: #dedede;
32 }
33
34 Plugin > QToolButton,
35 Plugin > QWidget > QToolButton,
36 Plugin > QWidget > QToolButton > QWidget > QToolButton,
37 LXQtPanelPlugin > QToolButton {
38 border: 1px solid transparent;
39 border-radius: 3px;
40 qproperty-iconSize: 24px;
41 color: #dedede;
42 }
43
44 Plugin > QToolButton:hover,
45 Plugin > QWidget > QToolButton:hover,
46 LXQtPanelPlugin > QToolButton:hover {
47 background: rgba(255, 255, 255, 20%);
48 }
49
50 /*
51 * Volume plugin
52 */
53
54 VolumePopup {
55 background: #303030;
56 }
57 VolumePopup QScrollArea {
58 padding: 3px;
59 border: 1px solid grey;
60 }
61 VolumePopup QWidget {
62 background: #303030;
63 color: white;
64 }
65
66 VolumePopup QPushButton {
67 border: 1px solid rgba(255, 255, 255, 40%);
68 border-radius: 2px;
69 color: #dedede;
70 background: rgba(255, 255, 255, 10%);
71 padding: 2px;
72 margin: 2px;
73 qproperty-iconSize: 24px;
74 }
75
76 VolumePopup QPushButton:hover, VolumePopup QPushButton:on {
77 border: 1px solid rgba(255, 255, 255, 70%);
78 border-radius: 2px;
79 background: rgba(255, 255, 255, 20%);
80 }
81
82 VolumePopup QSlider {
83 margin: 0 5px;
84 }
85
86 VolumePopup QSlider::groove:horizontal {
87 background: #5b5b5b;
88 height: 6px;
89 border-radius: 3px;
90 }
91
92 VolumePopup QSlider::handle:horizontal {
93 width: 10px;
94 background: #dedede;
95 border-radius: 4px;
96 margin: -5px 0; /* expand outside the groove */
97 }
98
99 VolumePopup QSlider::sub-page:horizontal {
100 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
101 stop: 0 #787676, stop: 1 #ABABAB);
102 border: 1px solid rgba(0, 0, 0, 80%);
103 border-radius: 3px;
104 }
105
106 VolumePopup > QSlider::add-page:horizontal {
107 background: rgba(0, 0, 0, 90%);
108 border-radius: 3px;
109 }
110
111 /*
112 *Backlight Plugin
113 */
114
115 #Backlight QToolButton {
116 color: #f2f1f0;
117 background: #363532;
118 padding: 2px;
119 margin: 1px;
120 qproperty-iconSize: 24px;
121 }
122
123 #Backlight QToolButton:pressed {
124 padding: 4px;
125 }
126
127 #Backlight QToolButton:hover {
128 border: 1px solid rgba(255, 255, 255, 10%);
129 border-radius: 2px;
130 background: rgba(255, 255, 255, 20%);
131 }
132
133 #Backlight > SliderDialog {
134 background: #303030;
135 }
136
137 #Backlight > SliderDialog > QSlider::groove:vertical {
138 background: #303030;
139 width: 5px;
140 border-radius: 3px;
141 }
142
143 #Backlight > SliderDialog > QSlider::handle:vertical {
144 height: 10px;
145 background: #dedede;
146 border-radius: 4px;
147 margin: 0 -4px; /* expand outside the groove */
148 }
149
150 #Backlight > SliderDialog > QSlider::add-page:vertical {
151 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
152 stop: 0 #787676, stop: 1 #ABABAB);
153 border: 1px solid rgba(0, 0, 0, 80%);
154 }
155
156 #Backlight > SliderDialog > QSlider::sub-page:vertical {
157 background: rgba(0, 0, 0, 80%);
158 }
159
160 /*
161 * Desktopswitch
162 */
163
164 #DesktopSwitch {
165 border: 1px solid grey;
166 border-radius: 3px;
167 background: #303030;
168 color: #dedede;
169 }
170
171 #DesktopSwitch QToolButton {
172 margin: 0px;
173 }
174
175 #DesktopSwitch QToolButton:hover {
176 background: rgba(255, 255, 255, 20%);
177 }
178
179 #DesktopSwitch QToolButton:on {
180 background: rgba(255, 255, 255, 20%);
181 border-right: 1px solid grey;
182 border-left: 1px solid grey;
183 font: bold;
184 }
185
186 #DesktopSwitch QToolButton:hover:on {
187 background: rgba(255, 255, 255, 20%);
188 }
189
190 #DesktopSwitch QToolButton:pressed {
191 padding: 4px;
192 }
193
194 #DesktopSwitch QToolButton[urgent="true"],
195 #DesktopSwitch QToolButton:on[urgent="true"] {
196 border-bottom: 3px solid #ecd000;
197 }
198
199 /*
200 * QuickLaunch
201 */
202
203 #QuickLaunchPlaceHolder {
204 color: #d1d1d1;
205 background: #303030;
206 padding: 0 5px;
207 margin: 1px;
208 }
209
210 #QuickLaunch {
211 margin: 0px;
212 border: 1px solid grey;
213 border-radius: 5px;
214 }
215
216 #QuickLaunch QToolButton {
217 border: 0px;
218 padding: 2px;
219 }
220
221 #QuickLaunch QToolButton:hover {
222 background: rgba(255, 255, 255, 20%);
223 }
224
225 #QuickLaunch QToolButton:pressed {
226 padding: 4px;
227 }
228
229 /*
230 * TaskBar
231 */
232
233 #TaskBar {
234 border: 1px solid grey;
235 border-radius: 5px;
236 }
237
238 #TaskBar QToolButton {
239 margin: Opx;
240 padding: 2px;
241 border: 0px;
242 }
243
244 #TaskBar QToolButton:on {
245 background: rgba(255, 255, 255, 20%);
246 border-right: 1px solid grey;
247 border-left: 1px solid grey;
248 font: bold;
249 border-radius: 0px;
250 }
251
252 #TaskBar QToolButton:hover {
253 background: rgba(255, 255, 255, 20%);
254 border-radius: 0px;
255 }
256
257 #TaskBar QToolButton:pressed {
258 padding: 3px;
259 }
260
261 #TaskBar QToolButton[urgent="true"] {
262 margin: 1px;
263 border-bottom: 3px solid #ecd000;
264 }
265
266 #TaskBar LXQtGroupPopup {
267 margin: 7px 0;
268 background: #303030;
269 border: 1px solid grey;
270 border-radius: 5px;
271 }
272
273 #TaskBar LXQtGroupPopup LXQtTaskButton {
274 background: #303030;
275 margin: 1px 6px;
276 border: 1px solid transparent;
277 border-radius: 5px;
278 }
279 #TaskBar LXQtGroupPopup LXQtTaskButton:hover {
280 color: black;
281 background: #9b9b9b;
282 }
283
284 /*
285 * Calendar Widget
286 */
287
288 QCalendarWidget QAbstractItemView:enabled {
289 color: #dedede;
290 background: #303030;
291 selection-background-color: #9a9a9a;
292 selection-color: black;
293 }
294
295 QCalendarWidget QAbstractItemView:disabled {
296 color: #969696;
297 background: #303030;
298 }
299
300 QCalendarWidget QWidget {
301 alternate-background-color: #3c3c3c;
302 }
303
304 QCalendarWidget #qt_calendar_navigationbar {
305 border: 1px solid grey;
306 border-radius: 3px;
307 }
308
309 QCalendarWidget #qt_calendar_navigationbar,
310 QCalendarWidget #qt_calendar_navigationbar * {
311 background-color: #303030;
312 color: #dedede;
313 }
314
315 QCalendarWidget #qt_calendar_monthbutton,
316 QCalendarWidget #qt_calendar_yearbutton {
317 margin: 2px;
318 }
319
320 QCalendarWidget #qt_calendar_monthbutton:hover {
321 border: 1px solid rgba(0, 0, 0, 50%);
322 background: rgba(255, 255, 255, 20%);
323 border-radius: 5px;
324 }
325
326 QCalendarWidget #qt_calendar_monthbutton::menu-indicator {
327 image: none;
328 }
329
330 QCalendarWidget QTableView {
331 selection-background-color: #303030;
332 }
333
334 QCalendarWidget #qt_calendar_nextmonth {
335 max-height: 20px;
336 min-height: 20px;
337 qproperty-icon: url(calendar-popup/right-arrow.svg);
338 margin-right: 3px;
339 }
340
341 QCalendarWidget #qt_calendar_prevmonth {
342 max-height: 20px;
343 min-height: 20px;
344 qproperty-icon: url(calendar-popup/left-arrow.svg);
345 margin-left: 3px;
346 }
347
348 QCalendarWidget #qt_calendar_nextmonth:hover,
349 QCalendarWidget #qt_calendar_prevmonth:hover {
350 border: 1px solid rgba(0, 0, 0, 50%);
351 background: rgba(255, 255, 255, 20%);
352 border-radius: 5px;
353 }
354
355 QCalendarWidget QSpinBox {
356 margin: 2px;
357 }
358
359 /*
360 * StatusNotifier
361 */
362
363 #StatusNotifier QToolButton {
364 padding: 1px;
365 }
366
367 /*
368 * All menus
369 */
370
371 QMenu {
372 margin: 0px;
373 padding: 2px;
374 border: 1px solid grey;
375 border-radius: 3px;
376 background: #303030;
377 color: #dedede;
378 }
379
380 QMenu::icon {
381 background-color: transparent;
382 margin: 0 5px;
383 }
384
385 QMenu QToolButton {
386 background-color: #3c3c3c;
387 padding: 5px;
388 border: none;
389 color: #dedede;
390 font: bold italic;
391 }
392
393 QMenu::separator {
394 background-color: #4c4c4c;
395 height: 1px;
396 }
397
398 QMenu::item {
399 color: #dedede;
400 background: transparent;
401 margin: 1px 6px;
402 border: 1px solid transparent;
403 border-radius: 5px;
404 padding: 3px 40px 4px 16px;
405 }
406
407 QMenu::item:selected {
408 color: black;
409 background: #9b9b9b;
410 margin: 1px 6px;
411 border: 1px solid grey;
412 border-radius: 5px;
413 }
414
415 QMenu::item:selected:disabled {
416 background-color: transparent;
417 }
418
419 QMenu::item:disabled {
420 color: #6d6d6d;
421 background-color: transparent;
422 }
423
424 QMenu::right-arrow {
425 image: url(arrow-right.svg);
426 }
427
428 QMenu::right-arrow:selected {
429 image: url(arrow-right-selected.svg);
430 }
431
432 QMenu::left-arrow {
433 image: url(arrow-left.svg);
434 }
435
436 QMenu::left-arrow:selected {
437 image: url(arrow-left-selected.svg);
438 }
439
440 QMenu::indicator {
441 margin: 0 6px;
442 }
443
444 QMenu::indicator:non-exclusive:unchecked {
445 image: url(unchecked.svg);
446 }
447
448 QMenu::indicator:non-exclusive:checked {
449 image: url(checked.svg);
450 }
451
452 /*
453 * Main menu
454 */
455
456 #MainMenu {
457 color: #dedede;
458 background: transparent;
459 qproperty-icon: url(mainmenu.svg);
460 border: 1px solid grey;
461 border-radius: 5px;
462 }
463
464 #MainMenu:hover {
465 background: rgba(255, 255, 255, 20%);
466 }
467
468 #MainMenu QLineEdit {
469 border: 1px solid grey;
470 border-radius: 3px;
471 padding: 3px;
472 margin: 5px;
473 color: #dedede;
474 background: rgba(0, 0, 0, 35%);
475 selection-background-color: #9a9a9a;
476 }
477
478 #MainMenu TopLevelMainMenu {
479 margin: 7px 0px;
480 }
481
482 #MainMenu ActionView {
483 border: none;
484 background: #303030;
485 color: #dedede;
486 }
487
488 #MainMenu ActionView::item {
489 background: transparent;
490 color: #dedede;
491 border: 1px solid transparent;
492 padding: 4px 3px 4px 10px;
493 margin: 1px 7px;
494 }
495
496 #MainMenu ActionView::item:hover {
497 background: #7a7a7a;
498 color: black;
499 border: 1px solid transparent;
500 border-radius: 5px;
501 }
502 #MainMenu ActionView::item:selected {
503 background: #9b9b9b;
504 color: black;
505 border: 1px solid transparent;
506 border-radius: 5px;
507 }
508
509 /*
510 * Fancy menu
511 */
512
513 #FancyMenu {
514 color: #dedede;
515 background: transparent;
516 qproperty-icon: url(mainmenu.svg);
517 border: 1px solid grey;
518 border-radius: 5px;
519 }
520
521 #FancyMenu:hover {
522 background: rgba(255, 255, 255, 20%);
523 }
524
525 LXQtFancyMenuWindow {
526 background: #303030;
527 border: 1px solid grey;
528 border-radius: 3px;
529 }
530
531 #FancyMenu QLineEdit {
532 border: 1px solid grey;
533 border-radius: 3px;
534 padding: 3px;
535 margin-bottom: 1px;
536 color: #dedede;
537 background: rgba(0, 0, 0, 35%);
538 selection-background-color: #9a9a9a;
539 }
540
541 #FancyMenu #AppView {
542 border: 1px solid grey;
543 border-radius: 3px;
544 color: #dedede;
545 background: rgba(0, 0, 0, 35%);
546 padding: 4px 2px;
547 }
548
549 #FancyMenu QLabel {
550 color: #dedede;
551 }
552
553 #FancyMenu QListView::item {
554 color: #dedede;
555 border: 1px solid transparent;
556 padding: 1px 3px ;
557 margin: 1px 6px;
558 }
559
560 #FancyMenu QListView::item:hover {
561 color: black;
562 background: #7a7a7a;
563 margin: 1px 6px;
564 border: 1px solid grey;
565 border-radius: 5px;
566 }
567
568 #FancyMenu QListView::item:selected {
569 color: black;
570 background: #9b9b9b;
571 margin: 1 6px;
572 border: 1px solid grey;
573 border-radius: 5px;
574 }
575
576 #FancyMenu QListView::focus {
577 outline: transparent;
578 padding: 0px;
579 }
580
581 #FancyMenu QToolButton {
582 margin: 3px;
583 border-radius: 5px;
584 border: 1px solid transparent;
585 padding: 2px;
586 }
587
588 #FancyMenu QToolButton:hover,
589 #FancyMenu QToolButton:focus {
590 background: rgba(255, 255, 255, 20%);
591 border: 1px solid grey;
592 border-radius: 5px;
593 }
594
595 #FancyMenu QToolButton:pressed {
596 background: #9b9b9b;
597 padding: 3px;
598 }
599
600 #FancyMenu QScrollBar:vertical {
601 background-color: transparent;
602 width: 15px;
603 margin: 2px 2px 2px 2px;
604 border: 1px solid transparent;
605 }
606
607 #FancyMenu QScrollBar:horizontal {
608 background-color: transparent;
609 height: 15px;
610 margin: 2px 2px 2px 2px;
611 border: 1px solid transparent;
612 }
613
614 #FancyMenu QScrollBar::handle:vertical {
615 background-color: #7a7a7a;
616 border: 0px solid #7a7a7a;
617 min-height: 40px;
618 border-radius: 3px;
619 margin: 1px;
620 }
621
622 #FancyMenu QScrollBar::handle:horizontal {
623 background-color: #7a7a7a;
624 border: 0px solid #7a7a7a;
625 min-width: 40px;
626 border-radius: 3px;
627 margin: 1px;
628 }
629
630 #FancyMenu QScrollBar::handle:hover {
631 background-color: #9b9b9b;
632 margin: 0px;
633 }
634
635 #FancyMenu QScrollBar::add-line:vertical,
636 #FancyMenu QScrollBar::sub-line:vertical {
637 border: 0px solid transparent;
638 background: transparent;
639 width: 0px;
640 }
641
642 #FancyMenu QScrollBar::add-line:horizontal,
643 #FancyMenu QScrollBar::sub-line:horizontal {
644 border: 0px solid transparent;
645 background: transparent;
646 width: 0px;
647 }
648
649 #FancyMenu QAbstractScrollArea::corner {
650 background: transparent;
651 }
652
653 /*
654 * Mount plugin
655 */
656
657 #LXQtMountPlugin {
658 margin: 2px;
659 }
660
661 #LXQtMountPopup {
662 background-color: #303030;
663 padding: 4px;
664 }
665
666 #LXQtMountPopup > MenuDiskItem {
667 border-radius: 4px;
668 }
669
670 #LXQtMountPopup > MenuDiskItem:hover {
671 border: 1px solid rgba(0, 0, 0, 50%);
672 background: rgba(255, 255, 255, 20%);
673 }
674
675 #LXQtMountPopup #EjectButton,
676 #LXQtMountPopup #DiskButton {
677 qproperty-iconSize: 22px;
678 background-color: transparent;
679 border: none;
680 color: #eeeeee;
681 padding: 4px;
682 }
683
684 #LXQtMountPopup #NoDiskLabel {
685 margin: 6px;
686 color: #cccccc;
687 }
688
689 /*
690 * ShowDesktop
691 */
692
693 #ShowDesktop > QToolButton:hover {
694 border: 1px solid rgba(0, 0, 0, 50%);
695 background: rgba(255, 255, 255, 20%);
696 }
697
698 /*
699 * KbIndicator
700 */
701
702 #KbIndicator > QLabel {
703 padding: 3px;
704 border: 0px;
705 font: bold;
706 }
707
708 #KbIndicator > QLabel:disabled {
709 color: #b4b4b4;
710 }
711
712 #KbIndicator > QLabel:enabled {
713 color: #dedede;
714 background: rgba(255, 255, 255, 20%);
715 }
716
717 /*
718 * SysStat
719 */
720
721 #SysStat {
722 padding: 2px 2px 2px 2px;
723 margin: 2px;
724 }
725
726 #SysStat > QLabel {
727 font-size: 6pt;
728 }
729
730 #SysStat_Graph {
731 qproperty-gridColor: rgba(255, 255, 255, 25%);
732 qproperty-titleColor: rgba(255, 255, 255, 75%);
733 qproperty-cpuSystemColor: rgb(128, 0, 0);
734 qproperty-cpuUserColor: rgb(0, 0, 128);
735 qproperty-cpuNiceColor: rgb(0, 128, 0);
736 qproperty-cpuOtherColor: rgb(128, 128, 0);
737 qproperty-frequencyColor: rgb(96, 96, 96);
738 qproperty-memAppsColor: rgb(0, 0, 128);
739 qproperty-memBuffersColor: rgb(0, 128, 0);
740 qproperty-memCachedColor: rgb(128, 128, 0);
741 qproperty-swapUsedColor: rgb(128, 0, 0);
742 qproperty-netReceivedColor: rgb(0, 0, 128);
743 qproperty-netTransmittedColor: rgb(128, 128, 0);
744 }
745
746 /*
747 * WorldClock
748 */
749
750 #WorldClock {
751 color: #dedede;
752 background: transparent;
753 }
754
755 #WorldClockContent {
756 margin-right: 2px;
757 margin-left: 2px;
758 padding: 2px;
759 color: #dedede;
760 background: transparent;
761 }
762
763 /*
764 * CPU monitor
765 */
766
767 #LXQtCpuLoad {
768 qproperty-fontColor: #dedede;
769 }
770
771 /*
772 * Spacer
773 */
774
775 #Spacer {
776 background-position: center center;
777 }
778
779 #Spacer[type="lined"] {
780 background-image: url(/spacer-plugin/spacer-line.svg);
781 }
782
783 #Spacer[type="dotted"] {
784 background-image: url(/spacer-plugin/spacer-dots.svg);
785 }
786
787 #Spacer[orientation="horizontal"] {
788 background-repeat: repeat-y;
789 margin-top: 2px;
790 margin-bottom: 2px;
791 }
792
793 #Spacer[orientation="vertical"] {
794 background-repeat: repeat-x;
795 margin-right: 2px;
796 margin-left: 2px;
797 }
798
799 /*
800 * CustomCommand Plugin
801 */
802 #Custom {
803 margin: 0;
804 }
805
806 #Custom::hover {
807 background: rgba(255, 255, 255, 10%);
808 color: #f9f9f9;
809 border: 1px solid transparent;
810 border-radius: 3px;
811 }