Debian Codegraph @

themes/Valendas/lxqt-panel.qss

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