Debian Codegraph @

themes/dark/lxqt-panel.qss

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