Debian Codegraph @

themes/KDE-Plasma/lxqt-panel.qss

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