Debian Codegraph @

themes/frost/lxqt-panel.qss

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