Debian Codegraph @

themes/light/lxqt-panel.qss

raw
1 /*
2 * General panel settings
3 */
4 LXQtPanel #BackgroundWidget {
5 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #EFEFEF, stop:0.25 #e9e9e9, stop:0.5 #dfdfdf, stop:0.75 #d7d7d7, stop:1 #c0c0c0);
6 }
7
8 /* PositionBottom */
9 LXQtPanel[position="Bottom"] #BackgroundWidget {
10 border-top: 1px solid #B0B0B0;
11 }
12
13 /* PositionTop */
14 LXQtPanel[position="Top"] #BackgroundWidget {
15 border-bottom: 1px solid #B0B0B0;
16 }
17
18 /* PositionLeft */
19 LXQtPanel[position="Left"] #BackgroundWidget {
20 border-right: 1px solid #B0B0B0;
21 }
22
23 QToolTip {
24 border: 1px solid palette(text);
25 background: palette(window);
26 color: palette(text);
27 padding: 1px;
28 margin: 0px;
29 }
30
31 /* PositionRight */
32 LXQtPanel[position="Right"] #BackgroundWidget {
33 border-left: 1px solid #B0B0B0;
34 }
35
36 /*
37 * General plugins settings
38 */
39 Plugin {
40 padding: 0;
41 spacing: 20px;
42 }
43
44 Plugin[NeedsHandle="true"] {
45 background-color: transparent;
46 background-repeat: no-repeat;
47 }
48
49 LXQtPanel[position="Bottom"] Plugin[NeedsHandle="true"],
50 LXQtPanel[position="Top"] Plugin[NeedsHandle="true"] {
51 background-image: url(lxqt-panel/plugin-handle-horizontal.gif);
52 background-position: left center;
53 margin-left: 3px;
54 padding: 0 0 0 5px;
55 }
56
57 LXQtPanel[position="Bottom"][layoutDirection="1"] Plugin[NeedsHandle="true"],
58 LXQtPanel[position="Top"][layoutDirection="1"] Plugin[NeedsHandle="true"] {
59 background-position: right center;
60 margin-left: 0px;
61 margin-right: 3px;
62 }
63
64 LXQtPanel[position="Right"] Plugin[NeedsHandle="true"],
65 LXQtPanel[position="Left"] Plugin[NeedsHandle="true"] {
66 background-image: url(lxqt-panel/plugin-handle-vertical.gif);
67 background-position: center top;
68 margin-top: 3px;
69 padding: 5px 0 0 0;
70 }
71
72 Plugin > QToolButton,
73 Plugin > QWidget > QToolButton > QWidget > QToolButton,
74 Plugin > QWidget > QToolButton {
75 margin: 0;
76 border: 2px solid transparent;
77 border-radius: 3px;
78 color: black;
79 qproperty-iconSize: 22px;
80 }
81
82 Plugin > QToolButton:pressed,
83 Plugin > QWidget > QToolButton:pressed {
84 margin: 2px 0 0 2px;
85 border: none;
86 }
87
88 /*
89 * Menus
90 */
91 QMenu {
92 background: palette(window);
93 border: 1px solid #AAA;
94 border-radius: 2px;
95 color: palette(text);
96 }
97
98 QMenu::item {
99 color: palette(text);
100 padding: 5px 27px;
101 }
102
103 QMenu::item:selected {
104 background: palette(highlight);
105 color: palette(highlighted-text);
106 }
107
108 QMenu::icon {
109 border-color: 1px solid palette(window);
110 padding-left: 7px;
111 }
112
113 /*
114 * Desktopswitch
115 */
116 #DesktopSwitch {}
117
118 #DesktopSwitch QToolButton {
119 margin: 1px;
120 color: #555555;
121 border: 1px solid #B0B0B0;
122 background: rgba(0, 0, 0, 5%);
123 }
124
125 LXQtPanel[position="0"] #DesktopSwitch QToolButton,
126 LXQtPanel[position="1"] #DesktopSwitch QToolButton
127 {
128 margin-bottom: 4px;
129 margin-top: 4px;
130 }
131
132 #DesktopSwitch QToolButton:on {
133 background: rgba(255, 255, 255, 40%);
134 border: 1px solid #80a8d3;
135 }
136
137 #DesktopSwitch QToolButton:hover {
138 border: 1px solid #80a8d3;
139 }
140
141 #DesktopSwitch QToolButton[urgent="true"] {
142 color: palette(highlighted-text);
143 background: palette(highlight);
144 }
145
146 #QuickLaunchPlaceHolder {
147 color: #555555;
148 padding: 0 5px;
149 }
150
151 /*
152 * QuickLaunch
153 */
154 #QuickLaunch {
155 }
156
157 /*
158 * TaskBar
159 */
160 #TaskBar {}
161
162 LXQtTaskButton {
163 border: 2px groove silver;
164 border-radius: 6px;
165 margin: 2px 0 2px 0;
166 }
167
168 #TaskBar QToolButton:on {
169 background: rgba(255, 255, 255, 80%);
170 }
171
172 #TaskBar QToolButton:on,
173 #TaskBar QToolButton:hover {
174 margin: 2px 1px 2px 1px;
175 border-radius: 4px;
176 border: 1px solid #80a8d3;
177 }
178
179 #TaskBar QToolButton[urgent="true"] {
180 color: palette(highlighted-text);
181 background: palette(highlight);
182 }
183
184 #TaskBar LXQtGroupPopup {
185 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #EFEFEF, stop:0.25 #e9e9e9, stop:0.5 #dfdfdf, stop:0.75 #d7d7d7, stop:1 #c0c0c0);
186 border: 1px solid #80a8d3;
187 }
188
189 #TaskBar LXQtGroupPopup QToolButton {
190 margin: 0;
191 }
192
193 /*
194 * Clock
195 */
196 #Clock #TimeLabel {
197 font-size: 10pt;
198 color: #606060;
199 }
200 #Clock #DateLabel {
201 font-size: 8pt;
202 color: #606060;
203 }
204
205 /*
206 * Tray
207 */
208 #Tray {
209 min-width: 6px;
210 }
211
212 TrayIcon {
213 margin: 2px;
214 }
215
216 /*
217 * Main menu
218 */
219 #MainMenu {
220 margin: 1px;
221 border: 1px solid #004e6c;
222 border-radius: 3px;
223 background: qlineargradient(x1:1, y1:0, x2:0, y2:1, stop:0 #0078A6, stop:0.3 #006891, stop:1 #005576);
224 qproperty-icon: url(mainmenu.svg);
225 color: #EEEEEE;
226 }
227
228 #MainMenu ActionView::item {
229 padding: 2px 0;
230 }
231
232 #MainMenu ActionView {
233 background: palette(window);
234 border: none;
235 color: palette(text);
236 }
237
238
239 #MainMenu QLineEdit {
240 background: palette(window);
241 border: none;
242 color: palette(text);
243 padding: 6px;
244 margin-bottom: 1px;
245 }
246
247 /*
248 * Fancy menu
249 */
250 #FancyMenu {
251 margin: 1px;
252 border: 1px solid #004e6c;
253 border-radius: 3px;
254 background: qlineargradient(x1:1, y1:0, x2:0, y2:1, stop:0 #0078A6, stop:0.3 #006891, stop:1 #005576);
255 qproperty-icon: url(mainmenu.svg);
256 color: #EEEEEE;
257 }
258
259 LXQtFancyMenuWindow {
260 background: palette(window);
261 border: 1px solid palette(text);
262 }
263
264 #FancyMenu #AppView {
265 background: palette(window);
266 border: 1px solid palette(text);
267 color: palette(text);
268 }
269
270 #FancyMenu QListView::item {
271 color: palette(text);
272 padding: 5px 27px;
273 }
274
275 #FancyMenu QListView::item:selected{
276 background: palette(highlight);
277 color: palette(highlighted-text);
278 }
279
280 #FancyMenu QListView::item:hover {
281 background: palette(highlight);
282 color: palette(highlighted-text);
283 padding: 0px;
284 }
285
286 #FancyMenu QListView::item:focus {
287 padding: 0px;
288 }
289
290 #FancyMenu QListView::focus {
291 outline:transparent;
292 padding: 0px;
293 }
294
295 #FancyMenu QLineEdit {
296 background: palette(window);
297 border: none;
298 color: palette(text);
299 padding: 6px;
300 margin-bottom: 1px;
301 }
302
303 #FancyMenu QToolButton {
304 margin: 3px;
305 border-radius: 4px;
306 border: 1px solid transparent;
307 padding: 4px;
308 background: palette(view);
309 }
310
311 #FancyMenu QToolButton:hover,
312 #FancyMenu QToolButton:focus {
313 border: 1px solid #5070a0;
314 border-radius: 3px;
315 background-color: #c9e1ff;
316 }
317
318 #FancyMenu QToolButton:pressed {
319 background-color: #b6cce7;
320 }
321
322 #FancyMenu QToolButton::menu-indicator {
323 image: none;
324 }
325
326 #FancyMenu QScrollBar:vertical {
327 background-color: #f0f0f0;
328 width: 15px;
329 margin: 2px 2px 2px 2px;
330 border: 1px solid transparent;
331 border-radius: 2px;
332 }
333
334 #FancyMenu QScrollBar:horizontal {
335 background-color: #f0f0f0;
336 height: 15px;
337 margin: 2px 2px 2px 2px;
338 border: 1px solid transparent;
339 }
340
341 #FancyMenu QScrollBar::handle{
342 background-color: rgba(30, 145, 255, 10%);
343 border: 1px solid #2878c8;
344 min-height: 40px;
345 border-radius: 1px;
346 margin: 1px;
347 }
348
349 #FancyMenu QScrollBar::handle:hover {
350 background-color: #74a5f0;
351 border: 1px solid #74a5f0;
352 margin: 0px;
353 }
354
355 #FancyMenu QScrollBar::add-line,
356 #FancyMenu QScrollBar::sub-line {
357 border: 0px solid transparent;
358 background: transparent;
359 width: 0px;
360 }
361
362 #FancyMenu QAbstractScrollArea::corner {
363 background: transparent;
364 }
365 /*
366 * Mount plugin
367 */
368 #LXQtMountPopup {
369 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #EFEFEF, stop:0.25 #e9e9e9, stop:0.5 #dfdfdf, stop:0.75 #d7d7d7, stop:1 #c0c0c0);
370 border: 1px solid #a59f94;
371 padding: 2px;
372 }
373
374 #LXQtMountPopup * {
375 margin: 0;
376 padding: 0;
377 }
378
379 #LXQtMountPopup > MenuDiskItem {
380 padding: 2px;
381 }
382
383 #LXQtMountPopup > MenuDiskItem:hover {
384 border-radius: 4px;
385 border: 1px solid #80a8d3;
386 }
387
388 #LXQtMountPopup #EjectButton,
389 #LXQtMountPopup #DiskButton {
390 qproperty-iconSize: 22px;
391 background-color: transparent;
392 border: none;
393 }
394
395 #LXQtMountPopup #NoDiskLabel {
396 margin: 4px;
397 }
398
399 /*
400 * Volume plugin
401 */
402 VolumePopup > QPushButton {
403 padding: 2px;
404 margin: 2px;
405 qproperty-iconSize: 24px;
406 }
407
408 VolumePopup > QPushButton:hover {
409 margin: 1px;
410 border: 2px solid #80a8d3;
411 border-radius: 4px;
412 }
413
414 /*
415 * ShowDesktop
416 */
417 #ShowDesktop {
418 }
419
420 /*
421 * KbIndicator
422 */
423 #KbIndicator {
424 margin: 0px;
425 border: 0px;
426 padding: 0px;
427 }
428
429 #KbIndicator > QLabel {
430 color: gray;
431 border: 0px;
432 margin: 2px 0;
433 padding: 0px 3px;
434 border-radius: 3px;
435 border: none;
436 }
437
438 #KbIndicator > QLabel:enabled {
439 background: palette(highlight);
440 color: palette(highlighted-text);
441 margin: 0;
442 padding: 2px 3px;
443 }
444
445 /*
446 * #SysStat
447 */
448 #SysStat {
449 padding: 1px 1px 1px 1px;
450 }
451
452 #SysStat > QLabel {
453 font-size: 6pt;
454 }
455
456 #SysStat_Graph {
457 qproperty-gridColor: rgba(0, 0, 0, 25%);
458 qproperty-titleColor: rgba(0, 0, 0, 75%);
459 qproperty-cpuSystemColor: rgb(128, 0, 0);
460 qproperty-cpuUserColor: rgb(0, 0, 128);
461 qproperty-cpuNiceColor: rgb(0, 128, 0);
462 qproperty-cpuOtherColor: rgb(128, 128, 0);
463 qproperty-frequencyColor: rgb(160, 160, 160);
464 qproperty-memAppsColor: rgb(0, 0, 128);
465 qproperty-memBuffersColor: rgb(0, 128, 0);
466 qproperty-memCachedColor: rgb(128, 128, 0);
467 qproperty-swapUsedColor: rgb(128, 0, 0);
468 qproperty-netReceivedColor: rgb(0, 0, 128);
469 qproperty-netTransmittedColor: rgb(128, 128, 0);
470 }
471
472
473 /*
474 * WorldClock
475 */
476 #WorldClockContent {
477 color: #606060;
478 }
479
480 #WorldClockPopup > QLabel {
481 font-size: 12pt;
482 color: #606060;
483 }
484
485 /*
486 * CPU monitor
487 */
488 #LXQtCpuLoad {
489 qproperty-fontColor: #606060;
490 }
491
492 /*
493 * Spacer
494 */
495
496 #Spacer {
497 background-position: center center;
498 }
499
500 #Spacer[type="lined"] {
501 background-image: url(/spacer-plugin/spacer-line.svg);
502 }
503
504 #Spacer[type="dotted"] {
505 background-image: url(/spacer-plugin/spacer-dots.svg);
506 }
507
508 #Spacer[orientation="horizontal"] {
509 background-repeat: repeat-y;
510 margin-top: 2px;
511 margin-bottom: 2px;
512 }
513
514 #Spacer[orientation="vertical"] {
515 background-repeat: repeat-x;
516 margin-right: 2px;
517 margin-left: 2px;
518 }