Debian Codegraph @

frontend/gtkmm/theme/Windows10/gtk-3.20/gtk-contained.css

raw
1 * {
2 padding: 0;
3 -GtkToolButton-icon-spacing: 4;
4 -GtkTextView-error-underline-color: @error_color;
5 -GtkScrolledWindow-scrollbar-spacing: 0;
6 -GtkToolItemGroup-expander-size: 11;
7 -GtkTreeView-expander-size: 11;
8 -GtkTreeView-horizontal-separator: 4;
9 -GtkScrollbar-has-backward-stepper: true;
10 -GtkScrollbar-has-forward-stepper: true;
11 -GtkWidget-text-handle-width: 20;
12 -GtkWidget-text-handle-height: 24;
13 -GtkDialog-button-spacing: 4;
14 -GtkDialog-action-area-border: 0;
15 outline-color: @outline_color;
16 outline-style: dashed;
17 outline-offset: -3px;
18 outline-width: 0px;
19 -gtk-outline-radius: 0;
20 -gtk-secondary-caret-color: @selected_bg_color; }
21
22 /****************
23 * floating bar *
24 ***************/
25 .floating-bar {
26 background-image: image(@theme_bg_color);
27 background-color: transparent;
28 border: 1px solid @borders;
29
30 color: @theme_fg_color;
31 text-shadow: none;
32
33 border-radius: 0;
34 border-width: 1px;
35 border-style: solid;
36 box-shadow: none; }
37
38 .floating-bar.right {
39 border-right-width: 0;
40 border-top-right-radius: 0;
41 border-bottom-right-radius: 0; }
42
43 .floating-bar.bottom {
44 border-bottom-width: 0;
45 border-bottom-right-radius: 0;
46 border-bottom-left-radius: 0; }
47
48 .floating-bar.left {
49 border-left-width: 0;
50 border-top-left-radius: 0;
51 border-bottom-left-radius: 0; }
52
53 .floating-bar:backdrop {
54 border-color: transparent;
55 color: @theme_fg_color;
56 background-image: image(@theme_bg_color);
57 box-shadow: none; }
58
59 .floating-bar .button {
60 border-color: @borders;
61 background-image: none;
62 background-color: @theme_bg_color;
63 border-style: none;
64 box-shadow: none; }
65
66
67 /***************
68 * Base States *
69 ***************/
70 .background {
71 color: @theme_fg_color;
72 background-color: @theme_bg_color; }
73 .background:backdrop {
74 color: @theme_unfocused_fg_color;
75 background-color: @theme_bg_color;
76 text-shadow: none;
77 -gtk-icon-shadow: none; }
78
79 /*
80 These wildcard seems unavoidable, need to investigate.
81 Wildcards are bad and troublesome, use them with care,
82 or better, just don't.
83 Everytime a wildcard is used a kitten dies, painfully.
84 */
85 *:disabled {
86 -gtk-icon-effect: dim; }
87
88 .gtkstyle-fallback {
89 color: @theme_fg_color;
90 background-color: @theme_bg_color; }
91 .gtkstyle-fallback:hover {
92 color: @theme_fg_color;
93 background-color: @theme_bg_color; }
94 .gtkstyle-fallback:active {
95 color: @theme_fg_color;
96 background-color: #cfcfcd; }
97 .gtkstyle-fallback:disabled {
98 color: @insensitive_fg_color;
99 background-color: @insensitive_bg_color; }
100 .gtkstyle-fallback:selected {
101 color: @theme_selected_fg_color;
102 background-color: @theme_selected_bg_color; }
103
104 .view, iconview,
105 .view text,
106 iconview text,
107 textview text {
108 color: @theme_fg_color;
109 background-color: @theme_bg_color; }
110 .view:backdrop, iconview:backdrop,
111 .view text:backdrop,
112 iconview text:backdrop,
113 textview text:backdrop {
114 color: @theme_unfocused_fg_color;
115 background-color: @theme_unfocused_bg_color; }
116 .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected,
117 .view text:selected:focus,
118 iconview text:selected:focus,
119 textview text:selected:focus,
120 .view text:selected,
121 iconview text:selected,
122 textview text:selected {
123 border-radius: 0; }
124
125 textview border {
126 background-color: shade(@theme_bg_color, 0.95);
127 background-image: image(rgba(0, 0, 0, 0.2));
128 background-repeat: no-repeat; }
129 textview border:backdrop {
130 background-color: shade(@theme_bg_color, 0.95); }
131 textview border.bottom {
132 background-size: 100% 1px;
133 background-position: top; }
134 textview border.top {
135 background-size: 100% 1px;
136 background-position: bottom; }
137 textview border.left {
138 background-size: 1px 100%;
139 background-position: right; }
140 textview border.right {
141 background-size: 1px 100%;
142 background-position: left; }
143
144 .rubberband,
145 rubberband,
146 flowbox rubberband,
147 treeview.view rubberband,
148 .content-view rubberband {
149 border: 1px solid @borders;
150 background-color: rgba(42, 118, 198, 0.2); }
151
152 flowbox flowboxchild {
153 padding: 3px;
154 border-radius: 0; }
155 flowbox flowboxchild:selected {
156 outline-offset: -2px; }
157
158 label.separator {
159 color: @theme_fg_color; }
160 label.separator:backdrop {
161 color: @insensitive_fg_color; }
162 label selection {
163 background-color: @theme_selected_bg_color;
164 color: @theme_selected_fg_color; }
165 label:disabled {
166 color: @insensitive_fg_color; }
167 label:disabled:backdrop {
168 color: shade(@theme_unfocused_fg_color, 1.1); }
169 label:backdrop {
170 color: @insensitive_fg_color; }
171
172 .dim-label, label.separator, .titlebar:not(headerbar) .subtitle,
173 headerbar .subtitle {
174 opacity: 0.55;
175 text-shadow: none; }
176
177 assistant .sidebar {
178 background-color: @theme_bg_color;
179 border: none; }
180 assistant .sidebar:backdrop {
181 background-color: @theme_unfocused_bg_color;
182 border-color: transparent; }
183 assistant.csd .sidebar {
184 border-top-style: none; }
185 assistant .sidebar label {
186 padding: 6px 12px; }
187 assistant .sidebar label.highlight {
188 background-color: shade(@theme_fg_color, 0.85); }
189
190 .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.touch-selection, popover.background.magnifier, .csd popover.background.osd, popover.background.osd, .app-notification,
191 .app-notification.frame, .osd .scale-popup,
192 .osd {
193 color: @osd_fg_color;
194 border: none;
195 background-color: @osd_bg_color;
196 background-clip: padding-box;
197 outline-color: @osd_outline;
198 text-shadow: 0 1px @osd_txt_shadow;
199 -gtk-icon-shadow: 0 1px @osd_txt_shadow; }
200 popover.background.touch-selection:backdrop, popover.background.magnifier:backdrop, popover.background.osd:backdrop, .app-notification:backdrop, .osd .scale-popup:backdrop,
201 .osd:backdrop {
202 text-shadow: none;
203 -gtk-icon-shadow: none; }
204
205 /* nemo icon view entry */
206 .nemo-window .nemo-window-pane widget.entry {
207 border: 1px solid;
208 border-radius: 3px;
209 color: @theme_fg_color;
210 border-color: @theme_selected_bg_color;
211 background-color: @theme_base_color; }
212
213 .nemo-window .nemo-window-pane widget.entry:selected:focus, .nemo-window .nemo-window-pane widget.entry:selected {
214 background-color: @theme_selected_bg_color;
215 color: @theme_selected_fg_color; }
216
217 /*********************
218 * Spinner Animation *
219 *********************/
220 @keyframes spin {
221 to {
222 -gtk-icon-transform: rotate(1turn); } }
223 spinner {
224 background: none;
225 opacity: 0;
226 -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); }
227 spinner:checked {
228 opacity: 1;
229 animation: spin 1s linear infinite; }
230 spinner:checked:disabled {
231 opacity: 0.5; }
232
233 /****************
234 * Text Entries *
235 ****************/
236 spinbutton:not(.vertical),
237 entry {
238 min-height: 32px;
239 padding-left: 8px;
240 padding-right: 8px;
241 border: 1px solid;
242 border-radius: 0;
243 transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
244 color:@theme_fg_color;
245 border-color: shade(@theme_bg_color, 0.85);
246 background-color: @theme_bg_color;
247 box-shadow: none; }
248 spinbutton:not(.vertical) image.left,
249 entry image.left {
250 padding-left: 0;
251 padding-right: 6px; }
252 spinbutton:not(.vertical) image.right,
253 entry image.right {
254 padding-left: 6px;
255 padding-right: 0; }
256
257 spinbutton:not(.vertical) undershoot.left,
258 entry undershoot.left {
259 background-color: transparent;
260 background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
261 padding-left: 1px;
262 background-size: 1px 10px;
263 background-repeat: repeat-y;
264 background-origin: content-box;
265 background-position: left center;
266 border: none;
267 box-shadow: none; }
268 spinbutton:not(.vertical) undershoot.right,
269 entry undershoot.right {
270 background-color: transparent;
271 background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
272 padding-right: 1px;
273 background-size: 1px 10px;
274 background-repeat: repeat-y;
275 background-origin: content-box;
276 background-position: right center;
277 border: none;
278 box-shadow: none; }
279 spinbutton.flat:focus:not(.vertical), spinbutton.flat:not(.vertical),
280 entry.flat:focus,
281 entry.flat {
282 min-height: 0;
283 padding: 2px;
284 background-color: transparent;
285 border-color: transparent;
286 border-radius: 0; }
287 spinbutton:focus:not(.vertical),
288 entry:focus {
289 box-shadow: none;
290 border-color: shade(@theme_selected_bg_color, 0.6); }
291 spinbutton:disabled:not(.vertical),
292 entry:disabled {
293 color: @insensitive_fg_color;
294 border-color: shade(@borders, 1.1);
295 background-color: @insensitive_bg_color;
296 box-shadow: none; }
297 spinbutton:backdrop:not(.vertical),
298 entry:backdrop {
299 color: @theme_unfocused_fg_color;
300 border-color: shade(@borders, 0.95);
301 background-color: @theme_unfocused_bg_color;
302 box-shadow: none;
303 transition: 200ms ease-out; }
304 spinbutton:backdrop:disabled:not(.vertical),
305 entry:backdrop:disabled {
306 color: shade(@theme_unfocused_fg_color, 1.1);
307 border-color: shade(@borders, 0.95);
308 background-color: @insensitive_bg_color;
309 box-shadow: none; }
310 spinbutton.error:not(.vertical),
311 entry.error {
312 color: @error_color;
313 border-color: @error_color; }
314 spinbutton.error:focus:not(.vertical),
315 entry.error:focus {
316 box-shadow: none;
317 border-color: @error_color; }
318 spinbutton.error:selected:focus:not(.vertical), spinbutton.error:selected:not(.vertical),
319 entry.error:selected:focus,
320 entry.error:selected {
321 background-color: @error_color; }
322 spinbutton.warning:not(.vertical),
323 entry.warning {
324 color: @warning_color;
325 border-color: @warning_color; }
326 spinbutton.warning:focus:not(.vertical),
327 entry.warning:focus {
328 box-shadow: none;
329 border-color: @warning_color; }
330 spinbutton.warning:selected:focus:not(.vertical), spinbutton.warning:selected:not(.vertical),
331 entry.warning:selected:focus,
332 entry.warning:selected {
333 background-color: @warning_color; }
334 spinbutton:not(.vertical) image,
335 entry image {
336 color: @theme_fg_color; }
337 spinbutton:not(.vertical) image:hover,
338 entry image:hover {
339 color: shade(@theme_fg_color, 1.05); }
340 spinbutton:not(.vertical) image:active,
341 entry image:active {
342 color: @theme_selected_bg_color; }
343 spinbutton:not(.vertical) image:backdrop,
344 entry image:backdrop {
345 color: shade(@theme_bg_color, 0.85); }
346 spinbutton:drop(active):focus:not(.vertical), spinbutton:drop(active):not(.vertical),
347 entry:drop(active):focus,
348 entry:drop(active) {
349 border-color: @success_color;
350 box-shadow: none; }
351 .osd spinbutton:not(.vertical), .osd
352 entry {
353 color: @osd_fg_color;
354 border-color: @osd_borders;
355 background-color: @osd_bg_color;
356 background-clip: padding-box;
357 box-shadow: none;
358 text-shadow: 0 1px @osd_txt_shadow;
359 -gtk-icon-shadow: 0 1px @osd_txt_shadow; }
360 .osd spinbutton:focus:not(.vertical), .osd
361 entry:focus {
362 color: @osd_fg_color;
363 border-color: @theme_selected_bg_color;
364 background-color: @osd_bg_color;
365 background-clip: padding-box;
366 box-shadow: inset 0 0 0 1px @theme_selected_bg_color;
367 text-shadow: 0 1px @osd_txt_shadow;
368 -gtk-icon-shadow: 0 1px @osd_txt_shadow; }
369 .osd spinbutton:backdrop:not(.vertical), .osd
370 entry:backdrop {
371 color: @osd_fg_color;
372 border-color: @osd_borders;
373 background-color: @osd_bg_color;
374 background-clip: padding-box;
375 box-shadow: none;
376 text-shadow: none;
377 -gtk-icon-shadow: none; }
378 .osd spinbutton:disabled:not(.vertical), .osd
379 entry:disabled {
380 color: shade(@osd_fg_color, 0.85);
381 border-color: @osd_borders;
382 background-color: shade(@osd_bg_color, 0.95);
383 background-clip: padding-box;
384 box-shadow: none;
385 text-shadow: none;
386 -gtk-icon-shadow: none; }
387 spinbutton:not(.vertical) progress,
388 entry progress {
389 margin: 2px -6px;
390 background-color: transparent;
391 background-image: none;
392 border-radius: 0;
393 border-width: 0 0 2px;
394 border-color: shade(@theme_selected_bg_color, 0.6);
395 border-style: solid;
396 box-shadow: none; }
397 spinbutton:not(.vertical) progress:backdrop,
398 entry progress:backdrop {
399 background-color: transparent; }
400 .linked:not(.vertical) > spinbutton:focus:not(.vertical) + spinbutton:not(.vertical), .linked:not(.vertical) > spinbutton:focus:not(.vertical) + button, .linked:not(.vertical) > spinbutton:focus:not(.vertical) + combobox > box > button.combo, .linked:not(.vertical) >
401 entry:focus + spinbutton:not(.vertical), .linked:not(.vertical) >
402 entry:focus + button, .linked:not(.vertical) >
403 entry:focus + combobox > box > button.combo, .linked:not(.vertical) > spinbutton:focus:not(.vertical) +
404 entry, .linked:not(.vertical) >
405 entry:focus +
406 entry {
407 border-left-color: @theme_selected_bg_color; }
408 .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + spinbutton:not(.vertical), .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + button, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + combobox > box > button.combo, .linked:not(.vertical) >
409 entry:drop(active) + spinbutton:not(.vertical), .linked:not(.vertical) >
410 entry:drop(active) + button, .linked:not(.vertical) >
411 entry:drop(active) + combobox > box > button.combo, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) +
412 entry, .linked:not(.vertical) >
413 entry:drop(active) +
414 entry {
415 border-left-color: @success_color; }
416 .linked.vertical > spinbutton:not(:disabled):not(.vertical) + entry:not(:disabled), .linked.vertical > spinbutton:not(:disabled):not(.vertical) + spinbutton:not(:disabled):not(.vertical), .linked.vertical >
417 entry:not(:disabled) + entry:not(:disabled), .linked.vertical >
418 entry:not(:disabled) + spinbutton:not(:disabled):not(.vertical) {
419 border-top-color: @borders; }
420 .linked.vertical > spinbutton:not(:disabled):not(.vertical) + entry:not(:disabled):backdrop, .linked.vertical > spinbutton:not(:disabled):not(.vertical) + spinbutton:not(:disabled):backdrop:not(.vertical), .linked.vertical >
421 entry:not(:disabled) + entry:not(:disabled):backdrop, .linked.vertical >
422 entry:not(:disabled) + spinbutton:not(:disabled):backdrop:not(.vertical) {
423 border-top-color: @borders; }
424 .linked.vertical > spinbutton:disabled:not(.vertical) + spinbutton:disabled:not(.vertical), .linked.vertical > spinbutton:disabled:not(.vertical) + entry:disabled, .linked.vertical >
425 entry:disabled + spinbutton:disabled:not(.vertical), .linked.vertical >
426 entry:disabled + entry:disabled {
427 border-top-color: @borders; }
428 .linked.vertical > spinbutton:not(.vertical) + spinbutton:focus:not(:only-child):not(.vertical),
429 .linked.vertical > spinbutton:not(.vertical) + entry:focus:not(:only-child), .linked.vertical >
430 entry + spinbutton:focus:not(:only-child):not(.vertical),
431 .linked.vertical >
432 entry + entry:focus:not(:only-child) {
433 border-top-color: shade(@theme_selected_bg_color, 0.6); }
434 .linked.vertical > spinbutton:not(.vertical) + spinbutton:drop(active):not(:only-child):not(.vertical),
435 .linked.vertical > spinbutton:not(.vertical) + entry:drop(active):not(:only-child), .linked.vertical >
436 entry + spinbutton:drop(active):not(:only-child):not(.vertical),
437 .linked.vertical >
438 entry + entry:drop(active):not(:only-child) {
439 border-top-color: @success_color; }
440 .linked.vertical > spinbutton:focus:not(:only-child):not(.vertical) + spinbutton:not(.vertical),
441 .linked.vertical > spinbutton:focus:not(:only-child):not(.vertical) + entry,
442 .linked.vertical > spinbutton:focus:not(:only-child):not(.vertical) + button,
443 .linked.vertical > spinbutton:focus:not(:only-child):not(.vertical) + combobox > box > button.combo, .linked.vertical >
444 entry:focus:not(:only-child) + spinbutton:not(.vertical),
445 .linked.vertical >
446 entry:focus:not(:only-child) + entry,
447 .linked.vertical >
448 entry:focus:not(:only-child) + button,
449 .linked.vertical >
450 entry:focus:not(:only-child) + combobox > box > button.combo {
451 border-top-color: @theme_selected_bg_color; }
452 .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + spinbutton:not(.vertical),
453 .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + entry,
454 .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + button,
455 .linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + combobox > box > button.combo, .linked.vertical >
456 entry:drop(active):not(:only-child) + spinbutton:not(.vertical),
457 .linked.vertical >
458 entry:drop(active):not(:only-child) + entry,
459 .linked.vertical >
460 entry:drop(active):not(:only-child) + button,
461 .linked.vertical >
462 entry:drop(active):not(:only-child) + combobox > box > button.combo {
463 border-top-color: @success_color; }
464
465 treeview acceleditor > label {
466 background-color: @theme_selected_bg_color; }
467
468 treeview entry:focus:dir(rtl), treeview entry:focus:dir(ltr) {
469 background-color: @theme_bg_color;
470 transition-property: color, background; }
471 treeview entry.flat, treeview entry {
472 border-radius: 0;
473 background-image: none;
474 background-color: @theme_bg_color; }
475 treeview entry.flat:focus, treeview entry:focus {
476 border-color: @theme_selected_bg_color; }
477
478 /***********
479 * Buttons *
480 ***********/
481 @keyframes needs_attention {
482 from {
483 background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(@theme_selected_bg_color), to(transparent)); }
484 to {
485 background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(@theme_selected_bg_color), to(transparent)); } }
486
487 /* Header bar & toolbar buttons */
488
489 notebook > header > tabs > arrow, button.titlebutton {
490 min-height: 24px;
491 min-width: 16px;
492 padding: 4px 8px;
493 border: none;
494 border-radius: 0;
495 transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
496 color: @theme_fg_color;
497 outline-color: @outline_color;
498 border-color: @borders;
499 background-image: linear-gradient(to bottom, @theme_bg_color, @theme_bg_color);
500 text-shadow: 0 1px @txt_shadow;
501 -gtk-icon-shadow: 0 1px @txt_shadow;
502 box-shadow: none; }
503 notebook > header > tabs > arrow, button.sidebar-button, button.titlebutton,
504 button.flat {
505 border-color: transparent;
506 background-color: transparent;
507 background-image: none;
508 box-shadow: inset 0 1px transparent;
509 text-shadow: none;
510 -gtk-icon-shadow: none;
511 transition: none; }
512 notebook > header > tabs > arrow:hover, button.sidebar-button:hover, button.titlebutton:hover,
513 button.flat:hover {
514 transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
515 transition-duration: 500ms; }
516 notebook > header > tabs > arrow:hover:active, button.sidebar-button:hover:active, button.titlebutton:hover:active,
517 button.flat:hover:active {
518 transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
519 notebook > header > tabs > arrow:hover, button.titlebutton:hover {
520 color: @theme_fg_color;
521 outline-color: @outline_color;
522 border-color: shade(@theme_selected_bg_color, 0.7);
523 background-image: linear-gradient(to bottom, @theme_selected_bg_color, @theme_selected_bg_color);
524 text-shadow: none;
525 -gtk-icon-shadow: none;
526 box-shadow: none;
527 -gtk-icon-effect: highlight; }
528 notebook > header > tabs > arrow:active, button.titlebutton:active, notebook > header > tabs > arrow:checked, button.titlebutton:checked {
529 color: @theme_fg_color;
530 outline-color: @outline_color;
531 border-color: shade(@theme_selected_bg_color, 0.7);
532 background-image: none;
533 background-color: shade(@theme_selected_bg_color, 0.9);
534 box-shadow: none;
535 text-shadow: none;
536 -gtk-icon-shadow: none;
537 transition-duration: 50ms; }
538
539 notebook > header > tabs > arrow:backdrop, button.sidebar-button:backdrop, button.titlebutton:backdrop, notebook > header > tabs > arrow:backdrop, button.titlebutton:backdrop,
540 button:backdrop.flat {
541 border-color: shade(@borders, 0.95);
542 background-color: transparent;
543 background-image: image(@theme_bg_color);
544 text-shadow: none;
545 -gtk-icon-shadow: none;
546 box-shadow: inset 0 1px transparent;
547 transition: 200ms ease-out;
548 -gtk-icon-effect: none; }
549 notebook > header > tabs > arrow:backdrop label, button.sidebar-button:backdrop label, button.titlebutton:backdrop label, notebook > header > tabs > arrow:backdrop, button.sidebar-button:backdrop, button.titlebutton:backdrop, notebook > header > tabs > arrow:backdrop label, button.titlebutton:backdrop label, notebook > header > tabs > arrow:backdrop, button.titlebutton:backdrop,
550 button:backdrop.flat label,
551 button:backdrop.flat {
552 color: @insensitive_fg_color; }
553 notebook > header > tabs > arrow:backdrop:active, button.sidebar-button:backdrop:active, button.titlebutton:backdrop:active, notebook > header > tabs > arrow:backdrop:checked, button.sidebar-button:backdrop:checked, button.titlebutton:backdrop:checked, notebook > header > tabs > arrow:backdrop:active, button.titlebutton:backdrop:active, notebook > header > tabs > arrow:backdrop:checked, button.titlebutton:backdrop:checked,
554 button:backdrop.flat:active,
555 button:backdrop.flat:checked {
556 border-color: shade(@borders, 0.95);
557 background-color: shade(@theme_bg_color, 0.95);
558 background-image: none;
559 box-shadow: inset 0 1px transparent; }
560 notebook > header > tabs > arrow:backdrop:active label, button.sidebar-button:backdrop:active label, button.titlebutton:backdrop:active label, notebook > header > tabs > arrow:backdrop:active, button.sidebar-button:backdrop:active, button.titlebutton:backdrop:active, notebook > header > tabs > arrow:backdrop:checked label, button.sidebar-button:backdrop:checked label, button.titlebutton:backdrop:checked label, notebook > header > tabs > arrow:backdrop:checked, button.sidebar-button:backdrop:checked, button.titlebutton:backdrop:checked, notebook > header > tabs > arrow:backdrop:active label, button.titlebutton:backdrop:active label, notebook > header > tabs > arrow:backdrop:active, button.titlebutton:backdrop:active, notebook > header > tabs > arrow:backdrop:checked label, button.titlebutton:backdrop:checked label, notebook > header > tabs > arrow:backdrop:checked, button.titlebutton:backdrop:checked,
561 button:backdrop.flat:active label,
562 button:backdrop.flat:active,
563 button:backdrop.flat:checked label,
564 button:backdrop.flat:checked {
565 color: @insensitive_fg_color; }
566 notebook > header > tabs > arrow:backdrop:disabled, button.sidebar-button:backdrop:disabled, button.titlebutton:backdrop:disabled, notebook > header > tabs > arrow:backdrop:disabled, button.titlebutton:backdrop:disabled,
567 button:backdrop.flat:disabled {
568 border-color: shade(@borders, 0.95);
569 background-color: @insensitive_bg_color;
570 background-image: none;
571 text-shadow: none;
572 -gtk-icon-shadow: none;
573 box-shadow: inset 0 1px transparent; }
574 notebook > header > tabs > arrow:backdrop:disabled label, button.sidebar-button:backdrop:disabled label, button.titlebutton:backdrop:disabled label, notebook > header > tabs > arrow:backdrop:disabled, button.sidebar-button:backdrop:disabled, button.titlebutton:backdrop:disabled, notebook > header > tabs > arrow:backdrop:disabled label, button.titlebutton:backdrop:disabled label, notebook > header > tabs > arrow:backdrop:disabled, button.titlebutton:backdrop:disabled,
575 button:backdrop.flat:disabled label,
576 button:backdrop.flat:disabled {
577 color: shade(@theme_unfocused_fg_color, 1.1); }
578 notebook > header > tabs > arrow:backdrop:disabled:active, button.sidebar-button:backdrop:disabled:active, button.titlebutton:backdrop:disabled:active, notebook > header > tabs > arrow:backdrop:disabled:checked, button.sidebar-button:backdrop:disabled:checked, button.titlebutton:backdrop:disabled:checked, notebook > header > tabs > arrow:backdrop:disabled:active, button.titlebutton:backdrop:disabled:active, notebook > header > tabs > arrow:backdrop:disabled:checked, button.titlebutton:backdrop:disabled:checked,
579 button:backdrop.flat:disabled:active,
580 button:backdrop.flat:disabled:checked {
581 border-color: shade(@borders, 0.95);
582 background-color: shade(@theme_bg_color, 0.95);
583 background-image: none;
584 box-shadow: inset 0 1px transparent; }
585 notebook > header > tabs > arrow:backdrop:disabled:active label, button.sidebar-button:backdrop:disabled:active label, button.titlebutton:backdrop:disabled:active label, notebook > header > tabs > arrow:backdrop:disabled:checked label, button.sidebar-button:backdrop:disabled:checked label, button.titlebutton:backdrop:disabled:checked label, notebook > header > tabs > arrow:backdrop:disabled:active label, button.titlebutton:backdrop:disabled:active label, notebook > header > tabs > arrow:backdrop:disabled:checked label, button.titlebutton:backdrop:disabled:checked label,
586 button:backdrop.flat:disabled:active label,
587 button:backdrop.flat:disabled:checked label {
588 color: shade(@theme_unfocused_fg_color, 1.1); }
589 notebook > header > tabs > arrow:backdrop, button.sidebar-button:backdrop, button.titlebutton:backdrop, notebook > header > tabs > arrow:disabled, button.sidebar-button:disabled, button.titlebutton:disabled, notebook > header > tabs > arrow:backdrop:disabled, button.sidebar-button:backdrop:disabled, button.titlebutton:backdrop:disabled,
590 button.flat:backdrop,
591 button.flat:disabled,
592 button.flat:backdrop:disabled {
593 border-color: transparent;
594 background-color: transparent;
595 background-image: none;
596 box-shadow: inset 0 1px transparent;
597 text-shadow: none;
598 -gtk-icon-shadow: none; }
599 notebook > header > tabs > arrow:disabled, button.titlebutton:disabled {
600 border-color: @borders;
601 background-color: @insensitive_bg_color;
602 background-image: none;
603 text-shadow: none;
604 -gtk-icon-shadow: none;
605 box-shadow: inset 0 1px transparent; }
606 notebook > header > tabs > arrow:disabled label, button.titlebutton:disabled label, notebook > header > tabs > arrow:disabled, button.titlebutton:disabled {
607 color: @insensitive_fg_color; }
608 notebook > header > tabs > arrow:disabled:active, button.titlebutton:disabled:active, notebook > header > tabs > arrow:disabled:checked, button.titlebutton:disabled:checked {
609 border-color: @borders;
610 background-color: shade(@theme_bg_color, 0.95);
611 background-image: none;
612 box-shadow: inset 0 1px transparent; }
613 notebook > header > tabs > arrow:disabled:active label, button.titlebutton:disabled:active label, notebook > header > tabs > arrow:disabled:active, button.titlebutton:disabled:active, notebook > header > tabs > arrow:disabled:checked label, button.titlebutton:disabled:checked label, notebook > header > tabs > arrow:disabled:checked, button.titlebutton:disabled:checked {
614 color: @insensitive_fg_color; }
615
616 /* Regular buttons */
617
618 button {
619 min-height: 24px;
620 min-width: 16px;
621 padding: 4px 8px;
622 border: 1px solid;
623 border-radius: 0;
624 transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
625 color: @theme_fg_color;
626 outline-color: @outline_color;
627 border-color: @borders;
628 background-image: linear-gradient(to bottom, @theme_bg_color, @theme_bg_color);
629 text-shadow: 0 0 @txt_shadow;
630 -gtk-icon-shadow: 0 0 @txt_shadow;
631 box-shadow: none; }
632
633 button:hover {
634 color: @theme_fg_color;
635 outline-color: @outline_color;
636 border-color: shade(@theme_selected_bg_color, 0.8);
637 background-image: linear-gradient(to bottom, @theme_selected_bg_color, @theme_selected_bg_color);
638 text-shadow: none;
639 -gtk-icon-shadow: none;
640 box-shadow: none;
641 -gtk-icon-effect: highlight; }
642
643 button:active, button:checked {
644 color: @theme_fg_color;
645 outline-color: @outline_color;
646 border-color: shade(@theme_selected_bg_color, 0.6);
647 background-image: none;
648 background-color: shade(@theme_selected_bg_color, 0.9);
649 box-shadow: none;
650 text-shadow: none;
651 -gtk-icon-shadow: none;
652 transition-duration: 50ms; }
653
654 button:backdrop {
655 border-color: @borders;
656 background-color: transparent;
657 background-image: image(@theme_bg_color);
658 text-shadow: none;
659 -gtk-icon-shadow: none;
660 box-shadow: inset 0 0 transparent;
661 transition: 200ms ease-out;
662 -gtk-icon-effect: none; }
663
664 button:backdrop label, button:backdrop {
665 color: @insensitive_fg_color; }
666
667 button:backdrop:active, button:backdrop:checked {
668 border-color: @borders;
669 background-color: shade(@theme_unfocused_bg_color, 0.95);
670 background-image: none;
671 box-shadow: inset 0 0 transparent; }
672
673
674 button:backdrop:active label, button:backdrop:active, button:backdrop:checked label, button:backdrop:checked {
675 color: @insensitive_fg_color; }
676
677 button:backdrop:disabled {
678 border-color: shade(@borders, 0.95);
679 background-color: @insensitive_bg_color;
680 background-image: none;
681 text-shadow: none;
682 -gtk-icon-shadow: none;
683 box-shadow: inset 0 0 transparent; }
684
685 button:backdrop:disabled label,
686 button:backdrop:disabled {
687 color: shade(@theme_unfocused_fg_color, 1.1); }
688
689 button:backdrop:disabled:active, button:backdrop:disabled:checked {
690 border-color: shade(@borders, 0.95);
691 background-color: shade(@theme_bg_color, 0.95);
692 background-image: none;
693 box-shadow: inset 0 1px transparent; }
694
695 button:backdrop:disabled:active label, button:backdrop:disabled:checked label {
696 color: shade(@theme_unfocused_fg_color, 1.1); }
697
698 button:disabled {
699 border-color: @borders;
700 background-color: @insensitive_bg_color;
701 background-image: none;
702 text-shadow: none;
703 -gtk-icon-shadow: none;
704 box-shadow: inset 0 1px transparent; }
705
706 button:disabled label,
707 button:disabled {
708 color: @insensitive_fg_color; }
709
710 button:disabled:active,
711 button:disabled:checked {
712 border-color: @borders;
713 background-color: shade(@theme_bg_color, 0.95);
714 background-image: none;
715 box-shadow: inset 0 1px transparent; }
716
717 button:disabled:active label, button:disabled:active, button:disabled:checked label, button:disabled:checked {
718 color: @insensitive_fg_color; }
719
720
721 notebook > header > tabs > arrow.image-button, button.image-button.titlebutton,
722 button.image-button {
723 min-width: 24px;
724 padding-left: 4px;
725 padding-right: 4px; }
726 notebook > header > tabs > arrow.text-button, button.text-button.titlebutton,
727 button.text-button {
728 padding-left: 16px;
729 padding-right: 16px; }
730 notebook > header > tabs > arrow.text-button.image-button, button.text-button.image-button.titlebutton,
731 button.text-button.image-button {
732 padding-left: 8px;
733 padding-right: 8px; }
734 notebook > header > tabs > arrow.text-button.image-button label, button.text-button.image-button.titlebutton label,
735 button.text-button.image-button label {
736 padding-left: 8px;
737 padding-right: 8px; }
738 combobox:drop(active) button.combo, notebook > header > tabs > arrow:drop(active), button.titlebutton:drop(active),
739 button:drop(active) {
740 color: @success_color;
741 border-color: @success_color;
742 box-shadow: inset 0 0 0 1px @success_color; }
743 row:selected
744 button {
745 border-color: shade(@theme_selected_bg_color, 0.6); }
746 row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled), row:selected
747 button.flat:not(:active):not(:checked):not(:hover):not(disabled) {
748 color: @theme_selected_fg_color;
749 border-color: transparent; }
750 row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled):backdrop, row:selected
751 button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop {
752 color: @theme_unfocused_bg_color; }
753
754 /* OSD buttons */
755
756 button.osd {
757 min-width: 24px;
758 min-height: 32px;
759 color: @osd_fg_color;
760 border-radius: 0;
761 outline-color: @osd_outline;
762 color: @osd_fg_color;
763 border-color: @osd_borders;
764 background-color: transparent;
765 background-image: image(@osd_bg_color);
766 background-clip: padding-box;
767 box-shadow: inset 0 1px @osd_txt_shadow;
768 text-shadow: 0 1px @osd_txt_shadow;
769 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
770 outline-color: @osd_outline;
771 border: none;
772 box-shadow: none; }
773 button.osd.image-button {
774 min-width: 32px; }
775 button.osd:hover {
776 color: @osd_fg_color;
777 border-color: @osd_borders;
778 background-color: transparent;
779 background-image: image(shade(@osd_bg_color, 1.05));
780 background-clip: padding-box;
781 box-shadow: inset 0 1px @osd_txt_shadow;
782 text-shadow: 0 1px @osd_txt_shadow;
783 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
784 outline-color: @osd_outline;
785 border: none;
786 box-shadow: none; }
787 button.osd:active,
788 button.osd:checked {
789 color: @osd_fg_color;
790 border-color: @osd_borders;
791 background-color: transparent;
792 background-image: image(@osd_borders);
793 background-clip: padding-box;
794 box-shadow: none;
795 text-shadow: none;
796 -gtk-icon-shadow: none;
797 outline-color: @osd_outline;
798 border: none;
799 box-shadow: none; }
800 button.osd:disabled:backdrop,
801 button.osd:disabled {
802 color: shade(@osd_fg_color, 0.85);
803 border-color: @osd_borders;
804 background-color: transparent;
805 background-image: image(shade(@osd_bg_color, 0.95));
806 background-clip: padding-box;
807 box-shadow: none;
808 text-shadow: none;
809 -gtk-icon-shadow: none;
810 border: none; }
811 button.osd:backdrop {
812 color: @theme_unfocused_fg_color;
813 border-color: @osd_borders;
814 background-color: transparent;
815 background-image: image(@osd_bg_color);
816 background-clip: padding-box;
817 box-shadow: none;
818 text-shadow: none;
819 -gtk-icon-shadow: none;
820 border: none; }
821 .csd popover.background.touch-selection button, .csd popover.background.magnifier button, popover.background.touch-selection button, popover.background.magnifier button, .app-notification button,
822 .app-notification.frame button, .osd
823 button {
824 color: @osd_fg_color;
825 border-color: @osd_borders;
826 background-color: transparent;
827 background-image: image(@osd_bg_color);
828 background-clip: padding-box;
829 box-shadow: inset 0 1px @osd_txt_shadow;
830 text-shadow: 0 1px @txt_shadow;
831 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
832 outline-color: @osd_outline; }
833 popover.background.touch-selection button:hover, popover.background.magnifier button:hover, .app-notification button:hover, .osd
834 button:hover {
835 color: @osd_fg_color;
836 border-color: @osd_borders;
837 background-color: transparent;
838 background-image: image(shade(@osd_bg_color, 1.05));
839 background-clip: padding-box;
840 box-shadow: inset 0 1px @osd_txt_shadow;
841 text-shadow: 0 1px @osd_txt_shadow;
842 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
843 outline-color: @osd_outline; }
844 popover.background.touch-selection button:active:backdrop, popover.background.magnifier button:active:backdrop, .app-notification button:active:backdrop, popover.background.touch-selection button:active, popover.background.magnifier button:active, .app-notification button:active, popover.background.touch-selection button:checked:backdrop, popover.background.magnifier button:checked:backdrop, .app-notification button:checked:backdrop, popover.background.touch-selection button:checked, popover.background.magnifier button:checked, .app-notification button:checked, .osd
845 button:active:backdrop, .osd
846 button:active, .osd
847 button:checked:backdrop, .osd
848 button:checked {
849 color: @theme_fg_color;
850 border-color: @osd_borders;
851 background-color: transparent;
852 background-image: image(@osd_borders);
853 background-clip: padding-box;
854 box-shadow: none;
855 text-shadow: none;
856 -gtk-icon-shadow: none;
857 outline-color: @osd_outline; }
858 popover.background.touch-selection button:disabled:backdrop, popover.background.magnifier button:disabled:backdrop, .app-notification button:disabled:backdrop, popover.background.touch-selection button:disabled, popover.background.magnifier button:disabled, .app-notification button:disabled, .osd
859 button:disabled:backdrop, .osd
860 button:disabled {
861 color: shade(@osd_fg_color, 0.85);
862 border-color: @osd_borders;
863 background-color: transparent;
864 background-image: image(shade(@osd_bg_color, 0.95));
865 background-clip: padding-box;
866 box-shadow: none;
867 text-shadow: none;
868 -gtk-icon-shadow: none; }
869 popover.background.touch-selection button:backdrop, popover.background.magnifier button:backdrop, .app-notification button:backdrop, .osd
870 button:backdrop {
871 color: @theme_unfocused_fg_color;
872 border-color: @osd_borders;
873 background-color: transparent;
874 background-image: image(@osd_bg_color);
875 background-clip: padding-box;
876 box-shadow: none;
877 text-shadow: none;
878 -gtk-icon-shadow: none; }
879 popover.background.touch-selection button.flat, popover.background.magnifier button.flat, .app-notification button.flat, .osd
880 button.flat {
881 border-color: transparent;
882 background-color: transparent;
883 background-image: none;
884 box-shadow: inset 0 1px transparent;
885 text-shadow: none;
886 -gtk-icon-shadow: none;
887 box-shadow: none;
888 text-shadow: 0 1px @osd_txt_shadow;
889 -gtk-icon-shadow: 0 1px @osd_txt_shadow; }
890 popover.background.touch-selection button.flat:hover, popover.background.magnifier button.flat:hover, .app-notification button.flat:hover, .osd
891 button.flat:hover {
892 color: @osd_fg_color;
893 border-color: @osd_borders;
894 background-color: transparent;
895 background-image: image(shade(@osd_bg_color, 1.05));
896 background-clip: padding-box;
897 box-shadow: inset 0 1px @osd_txt_shadow;
898 text-shadow: 0 1px @osd_txt_shadow;
899 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
900 outline-color: @osd_outline; }
901 popover.background.touch-selection button.flat:disabled, popover.background.magnifier button.flat:disabled, .app-notification button.flat:disabled, .osd
902 button.flat:disabled {
903 color: shade(@osd_fg_color, 0.85);
904 border-color: @osd_borders;
905 background-color: transparent;
906 background-image: image(shade(@osd_bg_color, 0.95));
907 background-clip: padding-box;
908 box-shadow: none;
909 text-shadow: none;
910 -gtk-icon-shadow: none;
911 background-image: none;
912 border-color: transparent;
913 box-shadow: none; }
914 popover.background.touch-selection button.flat:backdrop, popover.background.magnifier button.flat:backdrop, .app-notification button.flat:backdrop, .osd
915 button.flat:backdrop {
916 border-color: transparent;
917 background-color: transparent;
918 background-image: none;
919 box-shadow: inset 0 1px transparent;
920 text-shadow: none;
921 -gtk-icon-shadow: none; }
922 popover.background.touch-selection button.flat:active, popover.background.magnifier button.flat:active, .app-notification button.flat:active, popover.background.touch-selection button.flat:checked, popover.background.magnifier button.flat:checked, .app-notification button.flat:checked, .osd
923 button.flat:active, .osd
924 button.flat:checked {
925 color: @osd_fg_color;
926 border-color: @osd_borders;
927 background-color: transparent;
928 background-image: image(@osd_borders);
929 background-clip: padding-box;
930 box-shadow: none;
931 text-shadow: none;
932 -gtk-icon-shadow: none;
933 outline-color: @osd_outline; }
934
935 /* button.default. Actually, this was present before but rarely used */
936
937 button.suggested-action {
938 color: @theme_fg_color;
939 outline-color: rgba(255, 255, 255, 0.3);
940 border-color: shade(@theme_selected_bg_color, 0.6);
941 border-bottom-color: shade(@theme_selected_bg_color, 0.6);
942 background-image: linear-gradient(to bottom, @theme_selected_bg_color, @theme_selected_bg_color);
943
944 /* unsure */
945 text-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
946 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
947 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
948 .selection-mode button.titlebutton,
949 button.suggested-action.flat {
950 border-color: transparent;
951 background-color: transparent;
952 background-image: none;
953 box-shadow: inset 0 1px transparent;
954 text-shadow: none;
955 -gtk-icon-shadow: none;
956 color: @theme_selected_bg_color; }
957 button.suggested-action:hover {
958 color: @theme_fg_color;
959 outline-color: rgba(255, 255, 255, 0.3);
960 border-color: shade(@theme_selected_bg_color, 0.6);
961 border-bottom-color: shade(@theme_selected_bg_color, 0.6);
962 background-image: linear-gradient(to bottom, @theme_selected_bg_color, @theme_selected_bg_color);
963 text-shadow: 0 -1px rgba(0, 0, 0, 0.49553);
964 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.49553);
965 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
966 button.suggested-action:active,
967 button.suggested-action:checked {
968 color: @theme_fg_color;
969 outline-color: rgba(255, 255, 255, 0.3);
970 border-color: shade(@theme_selected_bg_color, 0.6);
971 background-image: none;
972 background-color: shade(@theme_selected_bg_color, 0.8);
973 box-shadow: inset 0 1px transparent;
974 text-shadow: none;
975 -gtk-icon-shadow: none; }
976 .selection-mode button.titlebutton:backdrop,
977 button.suggested-action:backdrop,
978 button.suggested-action.flat:backdrop {
979 border-color: @theme_selected_bg_color;
980 background-color: transparent;
981 background-image: image(@theme_selected_bg_color);
982 text-shadow: none;
983 -gtk-icon-shadow: none;
984 box-shadow: inset 0 1px transparent; }
985 .selection-mode button.titlebutton:backdrop label, .selection-mode button.titlebutton:backdrop,
986 button.suggested-action:backdrop label,
987 button.suggested-action:backdrop,
988 button.suggested-action.flat:backdrop label,
989 button.suggested-action.flat:backdrop {
990 color: @theme_selected_bg_color; }
991 .selection-mode button.titlebutton:backdrop:active, .selection-mode button.titlebutton:backdrop:checked,
992 button.suggested-action:backdrop:active,
993 button.suggested-action:backdrop:checked,
994 button.suggested-action.flat:backdrop:active,
995 button.suggested-action.flat:backdrop:checked {
996 border-color: shade(@theme_selected_bg_color, 0.6);
997 background-color: shade(@theme_selected_bg_color, 0.6);
998 background-image: none;
999 box-shadow: inset 0 1px transparent; }
1000 .selection-mode button.titlebutton:backdrop:active label, .selection-mode button.titlebutton:backdrop:active, .selection-mode button.titlebutton:backdrop:checked label, .selection-mode button.titlebutton:backdrop:checked,
1001 button.suggested-action:backdrop:active label,
1002 button.suggested-action:backdrop:active,
1003 button.suggested-action:backdrop:checked label,
1004 button.suggested-action:backdrop:checked,
1005 button.suggested-action.flat:backdrop:active label,
1006 button.suggested-action.flat:backdrop:active,
1007 button.suggested-action.flat:backdrop:checked label,
1008 button.suggested-action.flat:backdrop:checked {
1009 color: @theme_selected_bg_color; }
1010 .selection-mode button.titlebutton:backdrop:disabled,
1011 button.suggested-action:backdrop:disabled,
1012 button.suggested-action.flat:backdrop:disabled {
1013 border-color: shade(@borders, 0.95);
1014 background-color: @insensitive_bg_color;
1015 background-image: none;
1016 text-shadow: none;
1017 -gtk-icon-shadow: none;
1018 box-shadow: inset 0 1px transparent; }
1019 .selection-mode button.titlebutton:backdrop:disabled label, .selection-mode button.titlebutton:backdrop:disabled,
1020 button.suggested-action:backdrop:disabled label,
1021 button.suggested-action:backdrop:disabled,
1022 button.suggested-action.flat:backdrop:disabled label,
1023 button.suggested-action.flat:backdrop:disabled {
1024 color: shade(@theme_unfocused_fg_color, 1.1); }
1025 .selection-mode button.titlebutton:backdrop:disabled:active, .selection-mode button.titlebutton:backdrop:disabled:checked,
1026 button.suggested-action:backdrop:disabled:active,
1027 button.suggested-action:backdrop:disabled:checked,
1028 button.suggested-action.flat:backdrop:disabled:active,
1029 button.suggested-action.flat:backdrop:disabled:checked {
1030 border-color: shade(@theme_selected_bg_color, 0.6);
1031 background-color: shade(@theme_selected_bg_color, 0.6);
1032 background-image: none;
1033 box-shadow: inset 0 1px transparent; }
1034 .selection-mode button.titlebutton:backdrop:disabled:active label, .selection-mode button.titlebutton:backdrop:disabled:checked label,
1035 button.suggested-action:backdrop:disabled:active label,
1036 button.suggested-action:backdrop:disabled:checked label,
1037 button.suggested-action.flat:backdrop:disabled:active label,
1038 button.suggested-action.flat:backdrop:disabled:checked label {
1039
1040 /* Hex color! */
1041
1042 color: #85b4e6; }
1043 .selection-mode button.titlebutton:backdrop, .selection-mode button.titlebutton:disabled, .selection-mode button.titlebutton:backdrop:disabled,
1044 button.suggested-action.flat:backdrop,
1045 button.suggested-action.flat:disabled,
1046 button.suggested-action.flat:backdrop:disabled {
1047 border-color: transparent;
1048 background-color: transparent;
1049 background-image: none;
1050 box-shadow: inset 0 1px transparent;
1051 text-shadow: none;
1052 -gtk-icon-shadow: none;
1053 color: @insensitive_fg_color; }
1054 button.suggested-action:disabled {
1055 border-color: @borders;
1056 background-color: @insensitive_bg_color;
1057 background-image: none;
1058 text-shadow: none;
1059 -gtk-icon-shadow: none;
1060 box-shadow: inset 0 1px transparent; }
1061 button.suggested-action:disabled label,
1062 button.suggested-action:disabled {
1063 color: @insensitive_fg_color; }
1064 button.suggested-action:disabled:active,
1065 button.suggested-action:disabled:checked {
1066 border-color: shade(@theme_selected_bg_color, 0.6);
1067 background-color: shade(@theme_selected_bg_color, 0.6);
1068 background-image: none;
1069 box-shadow: inset 0 1px transparent; }
1070 button.suggested-action:disabled:active label,
1071 button.suggested-action:disabled:active,
1072 button.suggested-action:disabled:checked label,
1073 button.suggested-action:disabled:checked {
1074 color: @insensitive_fg_color; }
1075 .osd
1076
1077 /* default button for OSD notifications */
1078
1079 button.suggested-action {
1080 color: @theme_fg_color;
1081 border-color: @osd_borders;
1082 background-color: transparent;
1083 background-image: image(shade(@theme_selected_bg_color, 0.5));
1084 background-clip: padding-box;
1085 box-shadow: inset 0 1px @osd_txt_shadow;
1086 text-shadow: 0 1px @osd_txt_shadow;
1087 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
1088 outline-color: @osd_outline; }
1089 .osd
1090 button.suggested-action:hover {
1091 color: @theme_fg_color;
1092 border-color: @osd_borders;
1093 background-color: transparent;
1094 background-image: image(shade(@theme_selected_bg_color, 0.7));
1095 background-clip: padding-box;
1096 box-shadow: inset 0 1px @osd_txt_shadow;
1097 text-shadow: 0 1px @osd_txt_shadow;
1098 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
1099 outline-color: @osd_outline; }
1100 .osd
1101 button.suggested-action:active:backdrop, .osd
1102 button.suggested-action:active, .osd
1103 button.suggested-action:checked:backdrop, .osd
1104 button.suggested-action:checked {
1105 color: @theme_selected_fg_color;
1106 border-color: @osd_borders;
1107 background-color: transparent;
1108 background-image: image(@theme_selected_bg_color);
1109 background-clip: padding-box;
1110 box-shadow: none;
1111 text-shadow: none;
1112 -gtk-icon-shadow: none;
1113 outline-color: @osd_outline; }
1114 .osd
1115 button.suggested-action:disabled:backdrop, .osd
1116 button.suggested-action:disabled {
1117 color: shade(@osd_fg_color, 0.85);
1118 border-color: @osd_borders;
1119 background-color: transparent;
1120 background-image: image(shade(@osd_bg_color, 0.95));
1121 background-clip: padding-box;
1122 box-shadow: none;
1123 text-shadow: none;
1124 -gtk-icon-shadow: none; }
1125 .osd
1126 button.suggested-action:backdrop {
1127 color: @theme_unfocused_fg_color;
1128 border-color: @osd_borders;
1129 background-color: transparent;
1130 background-image: image(shade(@theme_selected_bg_color, 0.5));
1131 background-clip: padding-box;
1132 box-shadow: none;
1133 text-shadow: none;
1134 -gtk-icon-shadow: none; }
1135
1136 /* Hex color! end */
1137
1138 button.destructive-action {
1139 color: @osd_fg_color;
1140 outline-color: rgba(255, 255, 255, 0.3);
1141 border-color: shade(@error_color, 0.9);
1142 border-bottom-color: shade(@error_color, 0.85);
1143 background-image: linear-gradient(to bottom, @error_color, @error_color);
1144 text-shadow: 0 -1px rgba(0, 0, 0, 0.56078);
1145 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.56078);
1146 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
1147 button.destructive-action.flat {
1148 border-color: transparent;
1149 background-color: transparent;
1150 background-image: none;
1151 box-shadow: inset 0 1px transparent;
1152 text-shadow: none;
1153 -gtk-icon-shadow: none;
1154 color: @error_color; }
1155 button.destructive-action:hover {
1156 color: @osd_fg_color;
1157 outline-color: rgba(255, 255, 255, 0.3);
1158 border-color: shade(@error_color, 0.9);
1159 border-bottom-color: shade(@error_color, 0.85);
1160 background-image: linear-gradient(to bottom, shade(@error_color, 1.1), shade(@error_color, 1.1));
1161 text-shadow: 0 -1px rgba(0, 0, 0, 0.51278);
1162 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.51278);
1163 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
1164 button.destructive-action:active,
1165 button.destructive-action:checked {
1166 color: @osd_fg_color;
1167 outline-color: rgba(255, 255, 255, 0.3);
1168 border-color: shade(@error_color, 0.9);
1169 background-image: none;
1170 background-color: @error_color;
1171 box-shadow: inset 0 1px transparent;
1172 text-shadow: none;
1173 -gtk-icon-shadow: none; }
1174 button.destructive-action:backdrop,
1175 button.destructive-action.flat:backdrop {
1176 border-color: @error_color;
1177 background-color: transparent;
1178 background-image: image(@error_color);
1179 text-shadow: none;
1180 -gtk-icon-shadow: none;
1181 box-shadow: inset 0 1px transparent; }
1182 button.destructive-action:backdrop label,
1183 button.destructive-action:backdrop,
1184 button.destructive-action.flat:backdrop label,
1185 button.destructive-action.flat:backdrop {
1186 color: shade(@error_color, 1.3); }
1187 button.destructive-action:backdrop:active,
1188 button.destructive-action:backdrop:checked,
1189 button.destructive-action.flat:backdrop:active,
1190 button.destructive-action.flat:backdrop:checked {
1191 border-color: @error_color;
1192 background-color: @error_color;
1193 background-image: none;
1194 box-shadow: inset 0 1px transparent; }
1195 button.destructive-action:backdrop:active label,
1196 button.destructive-action:backdrop:active,
1197 button.destructive-action:backdrop:checked label,
1198 button.destructive-action:backdrop:checked,
1199 button.destructive-action.flat:backdrop:active label,
1200 button.destructive-action.flat:backdrop:active,
1201 button.destructive-action.flat:backdrop:checked label,
1202 button.destructive-action.flat:backdrop:checked {
1203 color: shade(@error_color, 1.3); }
1204 button.destructive-action:backdrop:disabled,
1205 button.destructive-action.flat:backdrop:disabled {
1206 border-color: shade(@borders, 0.95);
1207 background-color: @insensitive_bg_color;
1208 background-image: none;
1209 text-shadow: none;
1210 -gtk-icon-shadow: none;
1211 box-shadow: inset 0 1px transparent; }
1212 button.destructive-action:backdrop:disabled label,
1213 button.destructive-action:backdrop:disabled,
1214 button.destructive-action.flat:backdrop:disabled label,
1215 button.destructive-action.flat:backdrop:disabled {
1216 color: shade(@theme_unfocused_fg_color, 1.1); }
1217 button.destructive-action:backdrop:disabled:active,
1218 button.destructive-action:backdrop:disabled:checked,
1219 button.destructive-action.flat:backdrop:disabled:active,
1220 button.destructive-action.flat:backdrop:disabled:checked {
1221 border-color: @error_color;
1222 background-color: @error_color;
1223 background-image: none;
1224 box-shadow: inset 0 1px transparent; }
1225 button.destructive-action:backdrop:disabled:active label,
1226 button.destructive-action:backdrop:disabled:checked label,
1227 button.destructive-action.flat:backdrop:disabled:active label,
1228 button.destructive-action.flat:backdrop:disabled:checked label {
1229 color: shade(@error_color, 1.2); }
1230 button.destructive-action.flat:backdrop,
1231 button.destructive-action.flat:disabled,
1232 button.destructive-action.flat:backdrop:disabled {
1233 border-color: transparent;
1234 background-color: transparent;
1235 background-image: none;
1236 box-shadow: inset 0 1px transparent;
1237 text-shadow: none;
1238 -gtk-icon-shadow: none;
1239 color: @error_color; }
1240 button.destructive-action:disabled {
1241 border-color: @borders;
1242 background-color: @insensitive_bg_color;
1243 background-image: none;
1244 text-shadow: none;
1245 -gtk-icon-shadow: none;
1246 box-shadow: inset 0 1px transparent; }
1247 button.destructive-action:disabled label,
1248 button.destructive-action:disabled {
1249 color: @insensitive_fg_color; }
1250 button.destructive-action:disabled:active,
1251 button.destructive-action:disabled:checked {
1252 border-color: shade(@error_color, 0.9);
1253 background-color: @error_color;
1254 background-image: none;
1255 box-shadow: inset 0 1px transparent; }
1256 button.destructive-action:disabled:active label,
1257 button.destructive-action:disabled:active,
1258 button.destructive-action:disabled:checked label,
1259 button.destructive-action:disabled:checked {
1260 color: shade(@error_color, 1.2); }
1261 .osd
1262 button.destructive-action {
1263 color: @theme_unfocused_fg_color;
1264 border-color: @osd_borders;
1265 background-color: transparent;
1266 background-image: image(@error_color);
1267 background-clip: padding-box;
1268 box-shadow: inset 0 1px @osd_txt_shadow;
1269 text-shadow: 0 1px @osd_txt_shadow;
1270 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
1271 outline-color: @osd_outline; }
1272 .osd
1273 button.destructive-action:hover {
1274 color: @osd_fg_color;
1275 border-color: @osd_borders;
1276 background-color: transparent;
1277 background-image: image(@error_color);
1278 background-clip: padding-box;
1279 box-shadow: inset 0 1px @osd_txt_shadow;
1280 text-shadow: 0 1px @osd_txt_shadow;
1281 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
1282 outline-color: @osd_outline; }
1283 .osd
1284 button.destructive-action:active:backdrop, .osd
1285 button.destructive-action:active, .osd
1286 button.destructive-action:checked:backdrop, .osd
1287 button.destructive-action:checked {
1288 color: @osd_fg_color;
1289 border-color: @osd_borders;
1290 background-color: transparent;
1291 background-image: image(@error_color);
1292 background-clip: padding-box;
1293 box-shadow: none;
1294 text-shadow: none;
1295 -gtk-icon-shadow: none;
1296 outline-color: @osd_outline; }
1297 .osd
1298 button.destructive-action:disabled:backdrop, .osd
1299 button.destructive-action:disabled {
1300 color: shade(@insensitive_fg_color, 0.6);
1301 border-color: @osd_borders;
1302 background-color: transparent;
1303 background-image: image(shade(@osd_bg_color, 0.95));
1304 background-clip: padding-box;
1305 box-shadow: none;
1306 text-shadow: none;
1307 -gtk-icon-shadow: none; }
1308 .osd
1309 button.destructive-action:backdrop {
1310 color: @theme_unfocused_fg_color;
1311 border-color: @osd_borders;
1312 background-color: transparent;
1313 background-image: image(@error_color);
1314 background-clip: padding-box;
1315 box-shadow: none;
1316 text-shadow: none;
1317 -gtk-icon-shadow: none; }
1318 .stack-switcher >
1319 button {
1320 outline-offset: -3px; }
1321 .stack-switcher >
1322 button > label {
1323 padding-left: 6px;
1324 padding-right: 6px; }
1325 .stack-switcher >
1326 button > image {
1327 padding-left: 6px;
1328 padding-right: 6px;
1329 padding-top: 3px;
1330 padding-bottom: 3px; }
1331 .stack-switcher >
1332 button.text-button {
1333 padding-left: 10px;
1334 padding-right: 10px; }
1335 .stack-switcher >
1336 button.image-button {
1337 padding-left: 2px;
1338 padding-right: 2px; }
1339 .stack-switcher >
1340 button.needs-attention:active > label,
1341 .stack-switcher >
1342 button.needs-attention:active > image, .stack-switcher >
1343 button.needs-attention:checked > label,
1344 .stack-switcher >
1345 button.needs-attention:checked > image {
1346 animation: none;
1347 background-image: none; }
1348 .inline-toolbar
1349 button, .inline-toolbar
1350 button:backdrop {
1351 border-radius: 0;
1352 border-width: 1px; }
1353 .primary-toolbar
1354 button {
1355 -gtk-icon-shadow: none; }
1356
1357 .stack-switcher >
1358 button.needs-attention > label,
1359 .stack-switcher >
1360 button.needs-attention > image, stacksidebar row.needs-attention > label {
1361 animation: needs_attention 150ms ease-in;
1362 background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(@theme_selected_bg_color), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.5, to(@txt_shadow), to(transparent));
1363 background-size: 6px 6px, 6px 6px;
1364 background-repeat: no-repeat;
1365 background-position: right 3px, right 4px; }
1366 .stack-switcher >
1367 button.needs-attention > label:backdrop,
1368 .stack-switcher >
1369 button.needs-attention > image:backdrop, stacksidebar row.needs-attention > label:backdrop {
1370 background-size: 6px 6px, 0 0; }
1371 .stack-switcher >
1372 button.needs-attention > label:dir(rtl),
1373 .stack-switcher >
1374 button.needs-attention > image:dir(rtl), stacksidebar row.needs-attention > label:dir(rtl) {
1375 background-position: left 3px, left 4px; }
1376
1377 /* Here we are */
1378
1379 .inline-toolbar toolbutton > button {
1380 color: @theme_fg_color;
1381 outline-color: @outline_color;
1382 border-color: @borders;
1383 background-image: linear-gradient(to bottom, @theme_bg_color, @theme_bg_color);
1384 text-shadow: 0 1px transparent;
1385 -gtk-icon-shadow: 0 1px transparent;
1386 box-shadow: inset 0 1px transparent; }
1387 .inline-toolbar toolbutton > button:hover {
1388 color: @theme_fg_color;
1389 outline-color: @outline_color;
1390 border-color: @borders;
1391 background-image: linear-gradient(to bottom, @theme_selected_bg_color, @theme_selected_bg_color);
1392 text-shadow: 0 1px @txt_shadow;
1393 -gtk-icon-shadow: 0 1px @txt_shadow;
1394 box-shadow: inset 0 1px @theme_bg_color; }
1395 .inline-toolbar toolbutton > button:active, .inline-toolbar toolbutton > button:checked {
1396 color: @theme_fg_color;
1397 outline-color: @outline_color;
1398 border-color: @borders;
1399 background-image: none;
1400 background-color: shade(@theme_bg_color, 0.9);
1401 box-shadow: inset 0 1px transparent;
1402 text-shadow: none;
1403 -gtk-icon-shadow: none; }
1404 .inline-toolbar toolbutton > button:disabled {
1405 border-color: @borders;
1406 background-color: @insensitive_bg_color;
1407 background-image: none;
1408 text-shadow: none;
1409 -gtk-icon-shadow: none;
1410 box-shadow: inset 0 1px transparent; }
1411 .inline-toolbar toolbutton > button:disabled label, .inline-toolbar toolbutton > button:disabled {
1412 color: @insensitive_fg_color; }
1413 .inline-toolbar toolbutton > button:disabled:active, .inline-toolbar toolbutton > button:disabled:checked {
1414 border-color: @borders;
1415 background-color: shade(@theme_bg_color, 0.95);
1416 background-image: none;
1417 box-shadow: inset 0 1px transparent; }
1418 .inline-toolbar toolbutton > button:disabled:active label, .inline-toolbar toolbutton > button:disabled:active, .inline-toolbar toolbutton > button:disabled:checked label, .inline-toolbar toolbutton > button:disabled:checked {
1419 color: @insensitive_fg_color; }
1420 .inline-toolbar toolbutton > button:backdrop {
1421 border-color: shade(@borders, 0.95);
1422 background-color: transparent;
1423 background-image: image(@theme_bg_color);
1424 text-shadow: none;
1425 -gtk-icon-shadow: none;
1426 box-shadow: inset 0 1px transparent; }
1427 .inline-toolbar toolbutton > button:backdrop label, .inline-toolbar toolbutton > button:backdrop {
1428 color: @insensitive_fg_color; }
1429 .inline-toolbar toolbutton > button:backdrop:active, .inline-toolbar toolbutton > button:backdrop:checked {
1430 border-color: shade(@borders, 0.95);
1431 background-color: shade(@theme_bg_color, 0.95);
1432 background-image: none;
1433 box-shadow: inset 0 1px transparent; }
1434 .inline-toolbar toolbutton > button:backdrop:active label, .inline-toolbar toolbutton > button:backdrop:active, .inline-toolbar toolbutton > button:backdrop:checked label, .inline-toolbar toolbutton > button:backdrop:checked {
1435 color: @insensitive_fg_color; }
1436 .inline-toolbar toolbutton > button:backdrop:disabled {
1437 border-color: shade(@borders, 0.95);
1438 background-color: @insensitive_bg_color;
1439 background-image: none;
1440 text-shadow: none;
1441 -gtk-icon-shadow: none;
1442 box-shadow: inset 0 1px transparent; }
1443 .inline-toolbar toolbutton > button:backdrop:disabled label, .inline-toolbar toolbutton > button:backdrop:disabled {
1444 color: shade(@theme_unfocused_fg_color, 1.1); }
1445 .inline-toolbar toolbutton > button:backdrop:disabled:active, .inline-toolbar toolbutton > button:backdrop:disabled:checked {
1446 border-color: shade(@borders, 0.95);
1447 background-color: shade(@theme_bg_color, 0.95);
1448 background-image: none;
1449 box-shadow: inset 0 1px transparent; }
1450 .inline-toolbar toolbutton > button:backdrop:disabled:active label, .inline-toolbar toolbutton > button:backdrop:disabled:checked label {
1451 color: shade(@theme_unfocused_fg_color, 1.1); }
1452
1453 toolbar.inline-toolbar toolbutton > button.flat,
1454 toolbar.inline-toolbar toolbutton:backdrop > button.flat, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) >
1455 entry, .inline-toolbar
1456 button, .inline-toolbar
1457 button:backdrop, .linked >
1458 button, .linked >
1459 button:hover, .linked >
1460 button:active, .linked >
1461 button:checked, .linked >
1462 button:backdrop, .linked > combobox > box > button.combo:dir(ltr), .linked > combobox > box > button.combo:dir(rtl) {
1463 border-radius: 0;
1464 border-right-style: none; }
1465
1466 .linked:not(.vertical) > spinbutton:first-child:not(.vertical), .linked:not(.vertical) >
1467 entry:first-child, .inline-toolbar
1468 button:first-child, .linked >
1469 button:first-child, toolbar.inline-toolbar toolbutton:first-child > button.flat,
1470 toolbar.inline-toolbar toolbutton:backdrop:first-child > button.flat, combobox.linked button:nth-child(2):dir(rtl), .linked:not(.vertical) > combobox:first-child > box > button.combo {
1471 border-top-left-radius: 0;
1472 border-bottom-left-radius: 0; }
1473 .linked:not(.vertical) > spinbutton:last-child:not(.vertical), .linked:not(.vertical) >
1474 entry:last-child, .inline-toolbar
1475 button:last-child, .linked >
1476 button:last-child, toolbar.inline-toolbar toolbutton:last-child > button.flat,
1477 toolbar.inline-toolbar toolbutton:backdrop:last-child > button.flat, combobox.linked button:nth-child(2):dir(ltr), .linked:not(.vertical) > combobox:last-child > box > button.combo {
1478 border-top-right-radius: 0;
1479 border-bottom-right-radius: 0;
1480 border-right-style: solid; }
1481 .linked:not(.vertical) > spinbutton:only-child:not(.vertical), .linked:not(.vertical) >
1482 entry:only-child, .inline-toolbar
1483 button:only-child, .linked >
1484 button:only-child, toolbar.inline-toolbar toolbutton:only-child > button.flat,
1485 toolbar.inline-toolbar toolbutton:backdrop:only-child > button.flat, .linked:not(.vertical) > combobox:only-child > box > button.combo {
1486 border-radius: 0;
1487 border-style: solid; }
1488
1489 .linked.vertical > spinbutton:not(.vertical), .linked.vertical >
1490 entry, .linked.vertical >
1491 button, .linked.vertical >
1492 button:hover, .linked.vertical >
1493 button:active, .linked.vertical >
1494 button:checked, .linked.vertical >
1495 button:backdrop, .linked.vertical > combobox > box > button.combo {
1496 border-style: solid solid none solid;
1497 border-radius: 0; }
1498
1499 .linked.vertical > spinbutton:first-child:not(.vertical), .linked.vertical >
1500 entry:first-child, .linked.vertical >
1501 button:first-child, .linked.vertical > combobox:first-child > box > button.combo {
1502 border-top-left-radius: 0;
1503 border-top-right-radius: 0; }
1504 .linked.vertical > spinbutton:last-child:not(.vertical), .linked.vertical >
1505 entry:last-child, .linked.vertical >
1506 button:last-child, .linked.vertical > combobox:last-child > box > button.combo {
1507 border-bottom-left-radius: 0;
1508 border-bottom-right-radius: 0;
1509 border-style: solid; }
1510 .linked.vertical > spinbutton:only-child:not(.vertical), .linked.vertical >
1511 entry:only-child, .linked.vertical >
1512 button:only-child, .linked.vertical > combobox:only-child > box > button.combo {
1513 border-radius: 0;
1514 border-style: solid; }
1515
1516 modelbutton.flat, popover.background checkbutton,
1517 popover.background radiobutton,
1518 .menuitem.button.flat, modelbutton.flat:backdrop, popover.background checkbutton:backdrop,
1519 popover.background radiobutton:backdrop, modelbutton.flat:backdrop:hover, popover.background checkbutton:backdrop:hover,
1520 popover.background radiobutton:backdrop:hover,
1521 .menuitem.button.flat:backdrop,
1522 .menuitem.button.flat:backdrop:hover, button:link,
1523 button:visited, button:link:hover, button:link:active, button:link:checked,
1524 button:visited:hover,
1525 button:visited:active,
1526 button:visited:checked, calendar.button, calendar.button:hover, calendar.button:backdrop, calendar.button:disabled, .scale-popup button:hover, .scale-popup button:backdrop:hover, .scale-popup button:backdrop:disabled, .scale-popup button:backdrop {
1527 background-color: transparent;
1528 background-image: none;
1529 border-color: transparent;
1530 box-shadow: inset 0 1px transparent, 0 1px transparent;
1531 text-shadow: none;
1532 -gtk-icon-shadow: none; }
1533
1534 /* menu buttons */
1535 modelbutton.flat, popover.background checkbutton,
1536 popover.background radiobutton,
1537 .menuitem.button.flat {
1538 min-height: 26px;
1539 padding-left: 5px;
1540 padding-right: 5px;
1541 border-radius: 0;
1542 outline-offset: -2px; }
1543 modelbutton.flat:hover, popover.background checkbutton:hover,
1544 popover.background radiobutton:hover,
1545 .menuitem.button.flat:hover {
1546 background-color: shade(@theme_bg_color, 0.95); }
1547 modelbutton.flat check:last-child, popover.background checkbutton check:last-child,
1548 popover.background radiobutton check:last-child,
1549 modelbutton.flat radio:last-child,
1550 popover.background checkbutton radio:last-child,
1551 popover.background radiobutton radio:last-child,
1552 .menuitem.button.flat check:last-child,
1553 .menuitem.button.flat radio:last-child {
1554 margin-left: 8px; }
1555 modelbutton.flat check:first-child, popover.background checkbutton check:first-child,
1556 popover.background radiobutton check:first-child,
1557 modelbutton.flat radio:first-child,
1558 popover.background checkbutton radio:first-child,
1559 popover.background radiobutton radio:first-child,
1560 .menuitem.button.flat check:first-child,
1561 .menuitem.button.flat radio:first-child {
1562 margin-right: 8px; }
1563
1564 modelbutton.flat arrow, popover.background checkbutton arrow,
1565 popover.background radiobutton arrow {
1566 background: none; }
1567 modelbutton.flat arrow:hover, popover.background checkbutton arrow:hover,
1568 popover.background radiobutton arrow:hover {
1569 background: none; }
1570 modelbutton.flat arrow.left, popover.background checkbutton arrow.left,
1571 popover.background radiobutton arrow.left {
1572 -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
1573 modelbutton.flat arrow.right, popover.background checkbutton arrow.right,
1574 popover.background radiobutton arrow.right {
1575 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
1576
1577 button.color {
1578 padding: 4px; }
1579 button.color colorswatch:only-child {
1580 box-shadow: 0 1px @txt_shadow; }
1581 button.color colorswatch:only-child, button.color colorswatch:only-child overlay {
1582 border-radius: 0; }
1583 button.color:disabled colorswatch:only-child, button.color:backdrop colorswatch:only-child, button.color:active colorswatch:only-child, button.color:checked colorswatch:only-child {
1584 box-shadow: none; }
1585
1586 /*********
1587 * Links *
1588 *********/
1589 button:link > label,
1590 button:visited > label,
1591 *:link,
1592 button:link,
1593 button:visited {
1594 color: @borders; }
1595 button:link > label:visited,
1596 button:visited > label:visited,
1597 *:link:visited,
1598 button:visited {
1599 color: shade(@theme_selected_bg_color, 0.6); }
1600 *:selected button:link > label:visited,
1601 *:selected button:visited > label:visited, *:selected
1602 *:link:visited, *:selected
1603 button:visited:link,
1604 *:selected button:visited {
1605 color: #b7d3f0; }
1606 button:link > label:hover,
1607 button:visited > label:hover,
1608 *:link:hover,
1609 button:hover:link,
1610 button:hover:visited {
1611 color: @theme_selected_bg_color; }
1612 *:selected button:link > label:hover,
1613 *:selected button:visited > label:hover, *:selected
1614 *:link:hover, *:selected
1615 button:hover:link,
1616 *:selected button:hover:visited {
1617 color: #edf4fb; }
1618 button:link > label:active,
1619 button:visited > label:active,
1620 *:link:active,
1621 button:active:link,
1622 button:active:visited {
1623 color: @borders; }
1624 *:selected button:link > label:active,
1625 *:selected button:visited > label:active, *:selected
1626 *:link:active, *:selected
1627 button:active:link,
1628 *:selected button:active:visited {
1629 color: @theme_selected_bg_color; }
1630 button:link > label:backdrop:backdrop:hover,
1631 button:visited > label:backdrop:backdrop:hover, button:link > label:backdrop:backdrop:hover:selected,
1632 button:visited > label:backdrop:backdrop:hover:selected, button:link > label:backdrop,
1633 button:visited > label:backdrop,
1634 *:link:backdrop:backdrop:hover,
1635 button:backdrop:backdrop:hover:link,
1636 button:backdrop:backdrop:hover:visited,
1637 *:link:backdrop:backdrop:hover:selected,
1638 button:backdrop:backdrop:hover:selected:link,
1639 button:backdrop:backdrop:hover:selected:visited,
1640 .selection-mode.titlebar:not(headerbar) .subtitle:backdrop:backdrop:hover:link,
1641 headerbar.selection-mode .subtitle:backdrop:backdrop:hover:link,
1642 *:link:backdrop,
1643 button:backdrop:link,
1644 button:backdrop:visited {
1645 color: @theme_selected_bg_color; }
1646 .info *:link, .info button:link,
1647 .info button:visited,
1648 .question *:link,
1649 .question button:link,
1650 .question button:visited,
1651 .warning *:link,
1652 .warning button:link,
1653 .warning button:visited,
1654 .error *:link,
1655 .error button:link,
1656 .error button:visited, button:link > label:selected,
1657 button:visited > label:selected, *:selected button:link > label,
1658 *:selected button:visited > label,
1659 *:link:selected,
1660 button:selected:link,
1661 button:selected:visited,
1662 .selection-mode.titlebar:not(headerbar) .subtitle:link,
1663 headerbar.selection-mode .subtitle:link, *:selected
1664 *:link, *:selected
1665 button:link,
1666 *:selected button:visited {
1667 color: @theme_selected_bg_color; }
1668
1669 button:link,
1670 button:visited {
1671 text-shadow: none; }
1672 button:link:hover, button:link:active, button:link:checked,
1673 button:visited:hover,
1674 button:visited:active,
1675 button:visited:checked {
1676 text-shadow: none; }
1677 button:link > label,
1678 button:visited > label {
1679 text-decoration-line: underline; }
1680
1681 /*****************
1682 * GtkSpinButton *
1683 *****************/
1684 spinbutton:not(.vertical) {
1685 padding: 0; }
1686 spinbutton:not(.vertical) entry {
1687 min-width: 28px;
1688 margin: 0;
1689 background: none;
1690 background-color: transparent;
1691 border: none;
1692 border-radius: 0;
1693 box-shadow: none; }
1694 spinbutton:not(.vertical) entry:backdrop:disabled {
1695 background-color: transparent; }
1696 spinbutton:not(.vertical) button {
1697 min-height: 16px;
1698 margin: 0;
1699 padding-bottom: 0;
1700 padding-top: 0;
1701 color: #43484a;
1702 background-image: none;
1703 border-style: none none none solid;
1704 border-color: rgba(182, 182, 179, 0.3);
1705 border-radius: 0;
1706 box-shadow: none; }
1707 spinbutton:not(.vertical) button:dir(rtl) {
1708 border-style: none solid none none; }
1709 spinbutton:not(.vertical) button:hover {
1710 color: @theme_fg_color;
1711 background-color: rgba(46, 52, 54, 0.05); }
1712 spinbutton:not(.vertical) button:disabled {
1713 color: rgba(139, 142, 143, 0.3);
1714 background-color: transparent; }
1715 spinbutton:not(.vertical) button:active {
1716 background-color: rgba(0, 0, 0, 0.1);
1717 box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2); }
1718 spinbutton:not(.vertical) button:backdrop {
1719 color: #96999a;
1720 background-color: transparent;
1721 border-color: rgba(192, 192, 189, 0.3);
1722 transition: 200ms ease-out; }
1723 spinbutton:not(.vertical) button:backdrop:disabled {
1724 color: rgba(195, 195, 192, 0.3);
1725 background-color: transparent;
1726 border-style: none none none solid; }
1727 spinbutton:not(.vertical) button:backdrop:disabled:dir(rtl) {
1728 border-style: none solid none none; }
1729 spinbutton:not(.vertical) button:dir(ltr):last-child {
1730 border-radius: 0; }
1731 spinbutton:not(.vertical) button:dir(rtl):first-child {
1732 border-radius: 0; }
1733 .osd spinbutton:not(.vertical) button {
1734 border-color: transparent;
1735 background-color: transparent;
1736 background-image: none;
1737 box-shadow: inset 0 1px transparent;
1738 text-shadow: none;
1739 -gtk-icon-shadow: none;
1740 color: @theme_unfocused_fg_color;
1741 border-style: none none none solid;
1742 border-color: rgba(0, 0, 0, 0.4);
1743 border-radius: 0;
1744 box-shadow: none;
1745 -gtk-icon-shadow: 0 1px @osd_txt_shadow; }
1746 .osd spinbutton:not(.vertical) button:dir(rtl) {
1747 border-style: none solid none none; }
1748 .osd spinbutton:not(.vertical) button:hover {
1749 border-color: transparent;
1750 background-color: transparent;
1751 background-image: none;
1752 box-shadow: inset 0 1px transparent;
1753 text-shadow: none;
1754 -gtk-icon-shadow: none;
1755 color: @theme_unfocused_fg_color;
1756 border-color: @osd_bg_color;
1757 background-color: rgba(238, 238, 236, 0.1);
1758 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
1759 box-shadow: none; }
1760 .osd spinbutton:not(.vertical) button:backdrop {
1761 border-color: transparent;
1762 background-color: transparent;
1763 background-image: none;
1764 box-shadow: inset 0 1px transparent;
1765 text-shadow: none;
1766 -gtk-icon-shadow: none;
1767 color: @theme_unfocused_fg_color;
1768 border-color: @osd_bg_color;
1769 -gtk-icon-shadow: none;
1770 box-shadow: none; }
1771 .osd spinbutton:not(.vertical) button:disabled {
1772 border-color: transparent;
1773 background-color: transparent;
1774 background-image: none;
1775 box-shadow: inset 0 1px transparent;
1776 text-shadow: none;
1777 -gtk-icon-shadow: none;
1778 color: shade(@osd_fg_color, 0.85);
1779 border-color: @osd_bg_color;
1780 -gtk-icon-shadow: none;
1781 box-shadow: none; }
1782 .osd spinbutton:not(.vertical) button:dir(ltr):last-child {
1783 border-radius: 0; }
1784 .osd spinbutton:not(.vertical) button:dir(rtl):first-child {
1785 border-radius: 0; }
1786 spinbutton.vertical:disabled {
1787 color: @insensitive_fg_color; }
1788 spinbutton.vertical:backdrop:disabled {
1789 color: shade(@theme_unfocused_fg_color, 1.1); }
1790 spinbutton.vertical:drop(active) {
1791 border-color: transparent;
1792 box-shadow: none; }
1793 spinbutton.vertical entry {
1794 min-height: 32px;
1795 min-width: 32px;
1796 padding: 0;
1797 border-radius: 0; }
1798 spinbutton.vertical button {
1799 min-height: 32px;
1800 min-width: 32px;
1801 padding: 0; }
1802 spinbutton.vertical button.up {
1803 border-radius: 0;
1804 border-style: solid solid none solid; }
1805 spinbutton.vertical button.down {
1806 border-radius: 0;
1807 border-style: none solid solid solid; }
1808 .osd spinbutton.vertical button:first-child {
1809 color: @theme_unfocused_fg_color;
1810 border-color: @osd_borders;
1811 background-color: transparent;
1812 background-image: image(@osd_bg_color);
1813 background-clip: padding-box;
1814 box-shadow: inset 0 1px @osd_txt_shadow;
1815 text-shadow: 0 1px @osd_txt_shadow;
1816 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
1817 outline-color: @osd_outline; }
1818 .osd spinbutton.vertical button:first-child:hover {
1819 color: @osd_fg_color;
1820 border-color: @osd_borders;
1821 background-color: transparent;
1822 background-image: image(shade(@osd_bg_color, 1.05));
1823 background-clip: padding-box;
1824 box-shadow: inset 0 1px @osd_txt_shadow;
1825 text-shadow: 0 1px @osd_txt_shadow;
1826 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
1827 outline-color: @osd_outline; }
1828 .osd spinbutton.vertical button:first-child:active {
1829 color: @osd_fg_color;
1830 border-color: @osd_borders;
1831 background-color: transparent;
1832 background-image: image(@osd_borders);
1833 background-clip: padding-box;
1834 box-shadow: none;
1835 text-shadow: none;
1836 -gtk-icon-shadow: none;
1837 outline-color: @osd_outline; }
1838 .osd spinbutton.vertical button:first-child:disabled {
1839 color: shade(@osd_fg_color, 0.85);
1840 border-color: @osd_borders;
1841 background-color: transparent;
1842 background-image: image(shade(@osd_bg_color, 0.95));
1843 background-clip: padding-box;
1844 box-shadow: none;
1845 text-shadow: none;
1846 -gtk-icon-shadow: none; }
1847 .osd spinbutton.vertical button:first-child:backdrop {
1848 color: @theme_unfocused_fg_color;
1849 border-color: @osd_borders;
1850 background-color: transparent;
1851 background-image: image(@osd_bg_color);
1852 background-clip: padding-box;
1853 box-shadow: none;
1854 text-shadow: none;
1855 -gtk-icon-shadow: none; }
1856 treeview spinbutton:not(.vertical) {
1857 min-height: 0;
1858 border-style: none;
1859 border-radius: 0; }
1860 treeview spinbutton:not(.vertical) entry {
1861 min-height: 0;
1862 padding: 1px 2px; }
1863
1864 /**************
1865 * ComboBoxes *
1866 **************/
1867 combobox arrow {
1868 -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
1869 min-height: 16px;
1870 min-width: 16px; }
1871 combobox:drop(active) {
1872 box-shadow: none; }
1873
1874 /************
1875 * Toolbars *
1876 ************/
1877 toolbar, .inline-toolbar, searchbar,
1878 .location-bar {
1879 -GtkWidget-window-dragging: true;
1880 padding: 4px;
1881 background-color: @theme_bg_color; }
1882
1883 toolbar {
1884 padding: 4px 3px 3px 4px; }
1885 .osd toolbar {
1886 background-color: transparent; }
1887 toolbar.osd {
1888 padding: 13px;
1889 border: none;
1890 border-radius: 0;
1891 background-color: @osd_bg_color; }
1892 toolbar.osd.left, toolbar.osd.right, toolbar.osd.top, toolbar.osd.bottom {
1893 border-radius: 0; }
1894 toolbar.horizontal separator {
1895 margin: 0 7px 1px 6px; }
1896 toolbar.vertical separator {
1897 margin: 6px 1px 7px 0; }
1898 toolbar:not(.inline-toolbar):not(.osd) switch,
1899 toolbar:not(.inline-toolbar):not(.osd) scale,
1900 toolbar:not(.inline-toolbar):not(.osd) entry,
1901 toolbar:not(.inline-toolbar):not(.osd) spinbutton,
1902 toolbar:not(.inline-toolbar):not(.osd) button {
1903 margin-right: 1px;
1904 margin-bottom: 1px; }
1905
1906 .inline-toolbar {
1907 padding: 3px;
1908 border-width: 0 1px 1px;
1909 border-radius: 0; }
1910
1911 searchbar,
1912 .location-bar {
1913 border-width: 0 0 1px;
1914 padding: 3px; }
1915
1916 .inline-toolbar, searchbar,
1917 .location-bar {
1918 border-style: solid;
1919 border-color: @borders;
1920 background-color: @theme_bg_color; } /*#d9d9d7*/
1921 .inline-toolbar:backdrop, searchbar:backdrop,
1922 .location-bar:backdrop {
1923 border-color: shade(@borders, 0.95);
1924 background-color: @theme_unfocused_bg_color; /*#dadad8*/
1925 box-shadow: none;
1926 transition: 200ms ease-out; }
1927
1928 /***************
1929 * Header bars *
1930 ***************/
1931 .titlebar:not(headerbar),
1932 headerbar {
1933 padding: 0 6px;
1934 min-height: 46px;
1935 border-width: 0 0 1px;
1936 border-style: solid;
1937 border-color: @borders;
1938 border-radius: 0;
1939 background-image: linear-gradient(to top, @theme_bg_color, @theme_bg_color);
1940 background-color: @theme_bg_color;
1941 box-shadow: inset 0 1px rgba(255, 255, 255, 0.8); }
1942 .titlebar:backdrop:not(headerbar),
1943 headerbar:backdrop {
1944 border-color: shade(@borders, 0.95);
1945 background-color: @theme_bg_color;
1946 background-image: none;
1947 box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
1948 transition: 200ms ease-out; }
1949 .titlebar:not(headerbar) .title,
1950 headerbar .title {
1951 padding-left: 12px;
1952 padding-right: 12px;
1953 font-weight: bold; }
1954 .titlebar:not(headerbar) .subtitle,
1955 headerbar .subtitle {
1956 font-size: smaller;
1957 padding-left: 12px;
1958 padding-right: 12px; }
1959 .selection-mode.titlebar:not(headerbar),
1960 headerbar.selection-mode {
1961 color: @theme_selected_fg_color;
1962 border-color: shade(@theme_selected_bg_color, 0.6);
1963 text-shadow: 0 -1px @osd_bg_color;
1964 background-image: none;
1965 background-color: @theme_selected_bg_color;
1966 box-shadow: inset 0 1px rgba(146, 188, 232, 0.9); }
1967 .selection-mode.titlebar:backdrop:not(headerbar),
1968 headerbar.selection-mode:backdrop {
1969 background-color: @theme_selected_bg_color;
1970 background-image: none;
1971 box-shadow: inset 0 1px rgba(165, 200, 236, 0.88); }
1972 .selection-mode.titlebar:not(headerbar) button,
1973 headerbar.selection-mode button {
1974 color: @theme_selected_fg_color;
1975 outline-color: rgba(255, 255, 255, 0.3);
1976 border-color: shade(@theme_selected_bg_color, 0.6);
1977 border-bottom-color: shade(@theme_selected_bg_color, 0.6);
1978 background-image: image(@theme_selected_bg_color);
1979 text-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
1980 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
1981 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
1982 .selection-mode.titlebar:not(headerbar) button.flat,
1983 headerbar.selection-mode button.flat {
1984 border-color: transparent;
1985 background-color: transparent;
1986 background-image: none;
1987 box-shadow: inset 0 1px transparent;
1988 text-shadow: none;
1989 -gtk-icon-shadow: none; }
1990 .selection-mode.titlebar:not(headerbar) button:hover,
1991 headerbar.selection-mode button:hover {
1992 color: @theme_selected_fg_color;
1993 outline-color: rgba(255, 255, 255, 0.3);
1994 border-color: shade(@theme_selected_bg_color, 0.6);
1995 border-bottom-color: shade(@theme_selected_bg_color, 0.6);
1996 background-image: image(@theme_selected_bg_color);
1997 text-shadow: 0 -1px rgba(0, 0, 0, 0.49553);
1998 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.49553);
1999 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
2000 .selection-mode.titlebar:not(headerbar) button:active, .selection-mode.titlebar:not(headerbar) button:checked,
2001 headerbar.selection-mode button:active,
2002 headerbar.selection-mode button:checked {
2003 color: @theme_selected_fg_color;
2004 outline-color: rgba(255, 255, 255, 0.3);
2005 border-color: shade(@theme_selected_bg_color, 0.6);
2006 background-image: none;
2007 background-color: shade(@theme_selected_bg_color, 0.8);
2008 box-shadow: inset 0 1px transparent;
2009 text-shadow: none;
2010 -gtk-icon-shadow: none; }
2011 .selection-mode.titlebar:not(headerbar) button:backdrop.flat, .selection-mode.titlebar:not(headerbar) button:backdrop,
2012 headerbar.selection-mode button:backdrop.flat,
2013 headerbar.selection-mode button:backdrop {
2014 border-color: @theme_selected_bg_color;
2015 background-color: transparent;
2016 background-image: image(@theme_selected_bg_color);
2017 text-shadow: none;
2018 -gtk-icon-shadow: none;
2019 box-shadow: inset 0 1px transparent;
2020 -gtk-icon-effect: none;
2021 border-color: shade(@theme_selected_bg_color, 0.6); }
2022 .selection-mode.titlebar:not(headerbar) button:backdrop.flat label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat, .selection-mode.titlebar:not(headerbar) button:backdrop label, .selection-mode.titlebar:not(headerbar) button:backdrop,
2023 headerbar.selection-mode button:backdrop.flat label,
2024 headerbar.selection-mode button:backdrop.flat,
2025 headerbar.selection-mode button:backdrop label,
2026 headerbar.selection-mode button:backdrop {
2027 color: @theme_selected_fg_color; }
2028 .selection-mode.titlebar:not(headerbar) button:backdrop.flat:active, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:checked, .selection-mode.titlebar:not(headerbar) button:backdrop:active, .selection-mode.titlebar:not(headerbar) button:backdrop:checked,
2029 headerbar.selection-mode button:backdrop.flat:active,
2030 headerbar.selection-mode button:backdrop.flat:checked,
2031 headerbar.selection-mode button:backdrop:active,
2032 headerbar.selection-mode button:backdrop:checked {
2033 border-color: shade(@theme_selected_bg_color, 0.6);
2034 background-color: shade(@theme_selected_bg_color, 0.6);
2035 background-image: none;
2036 box-shadow: inset 0 1px transparent;
2037 border-color: shade(@theme_selected_bg_color, 0.6); }
2038 .selection-mode.titlebar:not(headerbar) button:backdrop.flat:active label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:active, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:checked label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:checked, .selection-mode.titlebar:not(headerbar) button:backdrop:active label, .selection-mode.titlebar:not(headerbar) button:backdrop:active, .selection-mode.titlebar:not(headerbar) button:backdrop:checked label, .selection-mode.titlebar:not(headerbar) button:backdrop:checked,
2039 headerbar.selection-mode button:backdrop.flat:active label,
2040 headerbar.selection-mode button:backdrop.flat:active,
2041 headerbar.selection-mode button:backdrop.flat:checked label,
2042 headerbar.selection-mode button:backdrop.flat:checked,
2043 headerbar.selection-mode button:backdrop:active label,
2044 headerbar.selection-mode button:backdrop:active,
2045 headerbar.selection-mode button:backdrop:checked label,
2046 headerbar.selection-mode button:backdrop:checked {
2047 color: @theme_selected_fg_color; }
2048 .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled,
2049 headerbar.selection-mode button:backdrop.flat:disabled,
2050 headerbar.selection-mode button:backdrop:disabled {
2051 border-color: @theme_selected_bg_color;
2052 background-color: @theme_selected_bg_color;
2053 background-image: none;
2054 text-shadow: none;
2055 -gtk-icon-shadow: none;
2056 box-shadow: inset 0 1px transparent;
2057 border-color: shade(@theme_selected_bg_color, 0.6); }
2058 .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled label, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled,
2059 headerbar.selection-mode button:backdrop.flat:disabled label,
2060 headerbar.selection-mode button:backdrop.flat:disabled,
2061 headerbar.selection-mode button:backdrop:disabled label,
2062 headerbar.selection-mode button:backdrop:disabled {
2063 color: @theme_selected_fg_color; }
2064 .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled:active, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled:checked, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled:active, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled:checked,
2065 headerbar.selection-mode button:backdrop.flat:disabled:active,
2066 headerbar.selection-mode button:backdrop.flat:disabled:checked,
2067 headerbar.selection-mode button:backdrop:disabled:active,
2068 headerbar.selection-mode button:backdrop:disabled:checked {
2069 border-color: shade(@theme_selected_bg_color, 0.6);
2070 background-color: shade(@theme_selected_bg_color, 0.6);
2071 background-image: none;
2072 box-shadow: inset 0 1px transparent;
2073 border-color: shade(@theme_selected_bg_color, 0.6); }
2074 .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled:active label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled:checked label, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled:active label, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled:checked label,
2075 headerbar.selection-mode button:backdrop.flat:disabled:active label,
2076 headerbar.selection-mode button:backdrop.flat:disabled:checked label,
2077 headerbar.selection-mode button:backdrop:disabled:active label,
2078 headerbar.selection-mode button:backdrop:disabled:checked label {
2079 color: @insensitive_fg_color; }
2080 .selection-mode.titlebar:not(headerbar) button.flat:backdrop, .selection-mode.titlebar:not(headerbar) button.flat:disabled, .selection-mode.titlebar:not(headerbar) button.flat:backdrop:disabled,
2081 headerbar.selection-mode button.flat:backdrop,
2082 headerbar.selection-mode button.flat:disabled,
2083 headerbar.selection-mode button.flat:backdrop:disabled {
2084 border-color: transparent;
2085 background-color: transparent;
2086 background-image: none;
2087 box-shadow: inset 0 1px transparent;
2088 text-shadow: none;
2089 -gtk-icon-shadow: none; }
2090 .selection-mode.titlebar:not(headerbar) button:disabled,
2091 headerbar.selection-mode button:disabled {
2092 border-color: shade(@theme_selected_bg_color, 0.6);
2093 background-color: @theme_selected_bg_color;
2094 background-image: none;
2095 text-shadow: none;
2096 -gtk-icon-shadow: none;
2097 box-shadow: inset 0 1px transparent; }
2098 .selection-mode.titlebar:not(headerbar) button:disabled label, .selection-mode.titlebar:not(headerbar) button:disabled,
2099 headerbar.selection-mode button:disabled label,
2100 headerbar.selection-mode button:disabled {
2101 color: #b2d0ef; }
2102 .selection-mode.titlebar:not(headerbar) button:disabled:active, .selection-mode.titlebar:not(headerbar) button:disabled:checked,
2103 headerbar.selection-mode button:disabled:active,
2104 headerbar.selection-mode button:disabled:checked {
2105 border-color: shade(@theme_selected_bg_color, 0.6);
2106 background-color: shade(@theme_selected_bg_color, 0.6);
2107 background-image: none;
2108 box-shadow: inset 0 1px transparent; }
2109 .selection-mode.titlebar:not(headerbar) button:disabled:active label, .selection-mode.titlebar:not(headerbar) button:disabled:active, .selection-mode.titlebar:not(headerbar) button:disabled:checked label, .selection-mode.titlebar:not(headerbar) button:disabled:checked,
2110 headerbar.selection-mode button:disabled:active label,
2111 headerbar.selection-mode button:disabled:active,
2112 headerbar.selection-mode button:disabled:checked label,
2113 headerbar.selection-mode button:disabled:checked {
2114 color: @insensitive_fg_color; }
2115 .selection-mode.titlebar:not(headerbar) button.suggested-action,
2116 headerbar.selection-mode button.suggested-action {
2117 color: @theme_fg_color;
2118 outline-color: @outline_color;
2119 border-color: @borders;
2120 border-bottom-color: @borders;
2121 background-image: image(@theme_bg_color);
2122 text-shadow: 0 0 @txt_shadow;
2123 -gtk-icon-shadow: 0 0 @txt_shadow;
2124 box-shadow: inset 0 0 rgba(255, 255, 255, 0.8);
2125 border-color: shade(@theme_selected_bg_color, 0.6); }
2126 .selection-mode.titlebar:not(headerbar) button.suggested-action:hover,
2127 headerbar.selection-mode button.suggested-action:hover {
2128 color: @theme_fg_color;
2129 outline-color: @outline_color;
2130 border-color: @borders;
2131 border-bottom-color: @borders;
2132 background-image: linear-gradient(to bottom, @theme_selected_bg_color, @theme_selected_bg_color);
2133 text-shadow: 0 1px @txt_shadow;
2134 -gtk-icon-shadow: 0 0 @txt_shadow;
2135 box-shadow: inset 0 0 @theme_bg_color;
2136 border-color: shade(@theme_selected_bg_color, 0.6); }
2137 .selection-mode.titlebar:not(headerbar) button.suggested-action:active,
2138 headerbar.selection-mode button.suggested-action:active {
2139 color: @theme_fg_color;
2140 outline-color: @outline_color;
2141 border-color: @borders;
2142 background-image: none;
2143 background-color: shade(@theme_bg_color, 0.9);
2144 box-shadow: inset 0 0 transparent;
2145 text-shadow: none;
2146 -gtk-icon-shadow: none;
2147 border-color: shade(@theme_selected_bg_color, 0.6); }
2148 .selection-mode.titlebar:not(headerbar) button.suggested-action:disabled,
2149 headerbar.selection-mode button.suggested-action:disabled {
2150 border-color: @borders;
2151 background-color: @insensitive_bg_color;
2152 background-image: none;
2153 text-shadow: none;
2154 -gtk-icon-shadow: none;
2155 box-shadow: inset 0 0 transparent;
2156 border-color: shade(@theme_selected_bg_color, 0.6); }
2157 .selection-mode.titlebar:not(headerbar) button.suggested-action:disabled label, .selection-mode.titlebar:not(headerbar) button.suggested-action:disabled,
2158 headerbar.selection-mode button.suggested-action:disabled label,
2159 headerbar.selection-mode button.suggested-action:disabled {
2160 color: @insensitive_fg_color; }
2161 .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop,
2162 headerbar.selection-mode button.suggested-action:backdrop {
2163 border-color: shade(@borders, 0.95);
2164 background-color: transparent;
2165 background-image: image(@theme_bg_color);
2166 text-shadow: none;
2167 -gtk-icon-shadow: none;
2168 box-shadow: inset 0 0 transparent;
2169 border-color: shade(@theme_selected_bg_color, 0.6); }
2170 .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop label, .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop,
2171 headerbar.selection-mode button.suggested-action:backdrop label,
2172 headerbar.selection-mode button.suggested-action:backdrop {
2173 color: @insensitive_fg_color; }
2174 .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop:disabled,
2175 headerbar.selection-mode button.suggested-action:backdrop:disabled {
2176 border-color: shade(@borders, 0.95);
2177 background-color: @insensitive_bg_color;
2178 background-image: none;
2179 text-shadow: none;
2180 -gtk-icon-shadow: none;
2181 box-shadow: inset 0 1px transparent;
2182 border-color: shade(@theme_selected_bg_color, 0.6); }
2183 .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop:disabled label, .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop:disabled,
2184 headerbar.selection-mode button.suggested-action:backdrop:disabled label,
2185 headerbar.selection-mode button.suggested-action:backdrop:disabled {
2186 color: shade(@theme_unfocused_fg_color, 1.1); }
2187 .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop, .selection-mode.titlebar:not(headerbar) .selection-menu,
2188 headerbar.selection-mode .selection-menu:backdrop,
2189 headerbar.selection-mode .selection-menu {
2190 border-color: shade(@theme_selected_bg_color, 1.0);
2191 background-color: shade(@theme_selected_bg_color, 1.0);
2192 background-image: none;
2193 box-shadow: none;
2194 padding-left: 10px;
2195 padding-right: 10px; }
2196 .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop GtkArrow, .selection-mode.titlebar:not(headerbar) .selection-menu GtkArrow,
2197 headerbar.selection-mode .selection-menu:backdrop GtkArrow,
2198 headerbar.selection-mode .selection-menu GtkArrow {
2199 -GtkArrow-arrow-scaling: 1; }
2200 .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop .arrow, .selection-mode.titlebar:not(headerbar) .selection-menu .arrow,
2201 headerbar.selection-mode .selection-menu:backdrop .arrow,
2202 headerbar.selection-mode .selection-menu .arrow {
2203 -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
2204 color: @theme_selected_fg_color;
2205 -gtk-icon-shadow: none; }
2206 .tiled .titlebar:backdrop:not(headerbar), .tiled .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .tiled
2207 headerbar:backdrop, .tiled
2208 headerbar, .maximized
2209 headerbar:backdrop, .maximized
2210 headerbar {
2211 border-radius: 0; }
2212 .default-decoration.titlebar:not(headerbar),
2213 headerbar.default-decoration {
2214 min-height: 28px;
2215 padding: 4px; }
2216 .default-decoration.titlebar:not(headerbar) button.titlebutton,
2217 headerbar.default-decoration button.titlebutton {
2218 min-height: 26px;
2219 min-width: 26px;
2220 margin: 0;
2221 padding: 0; }
2222 .solid-csd .titlebar:backdrop:dir(rtl):not(headerbar), .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd
2223 headerbar:backdrop:dir(rtl), .solid-csd
2224 headerbar:backdrop:dir(ltr), .solid-csd
2225 headerbar:dir(rtl), .solid-csd
2226 headerbar:dir(ltr) {
2227 margin-left: -1px;
2228 margin-right: -1px;
2229 margin-top: -1px;
2230 border-radius: 0;
2231 box-shadow: none; }
2232
2233 headerbar entry,
2234 headerbar spinbutton,
2235 headerbar separator,
2236 headerbar button {
2237 margin-top: 6px;
2238 margin-bottom: 6px; }
2239
2240 .background:not(.tiled):not(.maximized) .titlebar:backdrop, .background:not(.tiled):not(.maximized) .titlebar {
2241 border-top-left-radius: 0;
2242 border-top-right-radius: 0; }
2243
2244 window:not(.tiled):not(.maximized) separator:first-child + headerbar:backdrop, window:not(.tiled):not(.maximized) separator:first-child + headerbar, window:not(.tiled):not(.maximized) headerbar:first-child:backdrop, window:not(.tiled):not(.maximized) headerbar:first-child {
2245 border-top-left-radius: 0; }
2246 window:not(.tiled):not(.maximized) headerbar:last-child:backdrop, window:not(.tiled):not(.maximized) headerbar:last-child {
2247 border-top-right-radius: 0; }
2248
2249 window.csd > .titlebar:not(headerbar) {
2250 padding: 0;
2251 background-color: transparent;
2252 background-image: none;
2253 border-style: none;
2254 border-color: transparent;
2255 box-shadow: none; }
2256 .titlebar:not(headerbar) > separator {
2257 background-color: @borders; }
2258
2259 /******************
2260 * Window actions *
2261 ******************/
2262
2263 .titlebar .titlebutton.minimize {
2264 color: transparent;
2265 border-image: none;
2266 box-shadow: none;
2267 padding: 6px 12px;
2268 background-position: center;
2269 background-repeat: no-repeat;
2270 border: none;
2271 background-image: -gtk-scaled(url("buttons/minimize-focused-normal.png")); }
2272
2273 .titlebar .titlebutton.minimize:backdrop {
2274 background-image: -gtk-scaled(url("buttons/minimize-unfocused-normal.png"));
2275 color: transparent; }
2276
2277 .titlebar .titlebutton.minimize:hover,
2278 .titlebar .titlebutton.minimize:active,
2279 .titlebar .titlebutton.minimize:checked {
2280 color: transparent;
2281 border-image: none;
2282 box-shadow: none;
2283 background-position: center;
2284 background-repeat: no-repeat;
2285 background-color: transparent;
2286 background-image: -gtk-scaled(url("buttons/minimize-focused-active.png")); }
2287
2288 .titlebar .titlebutton.maximize {
2289 color: transparent;
2290 border: none;
2291 padding: 6px 12px;
2292 border-image: none;
2293 box-shadow: none;
2294 background-position: center;
2295 background-repeat: no-repeat;
2296 background-image: -gtk-scaled(url("buttons/maximize-focused-normal.png")); }
2297
2298 .titlebar .titlebutton.maximize:backdrop {
2299 background-image: -gtk-scaled(url("buttons/maximize-unfocused-normal.png"));
2300 color: transparent; }
2301
2302
2303 .titlebar .titlebutton.maximize:hover,
2304 .titlebar .titlebutton.maximize:active,
2305 .titlebar .titlebutton.maximize:checked {
2306 color: transparent;
2307 border-image: none;
2308 box-shadow: none;
2309 background-position: center;
2310 background-repeat: no-repeat;
2311 background-color: transparent;
2312 background-image: -gtk-scaled(url("buttons/maximize-focused-active.png")); }
2313
2314 .titlebar .titlebutton.close {
2315 color: transparent;
2316 border: none;
2317 padding: 6px 12px;
2318 border-image: none;
2319 box-shadow: none;
2320 background-position: center;
2321 background-repeat: no-repeat;
2322 background-image: -gtk-scaled(url("buttons/close-focused-normal.png")); }
2323
2324 .titlebar .titlebutton.close:backdrop {
2325 background-image: -gtk-scaled(url("buttons/close-unfocused-normal.png"));
2326 color: transparent; }
2327
2328
2329 .titlebar .titlebutton.close:hover,
2330 .titlebar .titlebutton.close:active,
2331 .titlebar .titlebutton.close:checked {
2332 color: transparent;
2333 border-image: none;
2334 box-shadow: none;
2335 background-position: center;
2336 background-repeat: no-repeat;
2337 background-color: transparent;
2338 background-image: -gtk-scaled(url("buttons/close-focused-active.png")); }
2339
2340
2341
2342 /************
2343 * Pathbars *
2344 ************/
2345 .path-bar button.text-button, .path-bar button.image-button, .path-bar button {
2346 padding-left: 4px;
2347 padding-right: 4px; }
2348 .path-bar button.text-button.image-button label {
2349 padding-left: 0;
2350 padding-right: 0; }
2351 .path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child {
2352 padding-right: 8px; }
2353 .path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child {
2354 padding-left: 8px; }
2355 .path-bar button image {
2356 padding-left: 4px;
2357 padding-right: 4px; }
2358 .path-bar button.slider-button {
2359 padding-left: 0;
2360 padding-right: 0; }
2361
2362 /**************
2363 * Tree Views *
2364 **************/
2365 treeview.view {
2366 -GtkTreeView-grid-line-width: 1;
2367 -GtkTreeView-grid-line-pattern: '';
2368 -GtkTreeView-tree-line-width: 1;
2369 -GtkTreeView-tree-line-pattern: '';
2370 -GtkTreeView-expander-size: 16;
2371 border-left-color: #979a9b;
2372 border-top-color: @theme_bg_color; }
2373 treeview.view:selected:focus, treeview.view:selected {
2374 border-radius: 0; }
2375 treeview.view:selected:backdrop, treeview.view:selected {
2376 border-left-color: @theme_selected_bg_color;
2377 border-top-color: @theme_selected_bg_color; }
2378 treeview.view:disabled {
2379 color: @insensitive_fg_color; }
2380 treeview.view:disabled:selected {
2381 color: #92bce8; }
2382 treeview.view:disabled:selected:backdrop {
2383 color: #7fb0e4; }
2384 treeview.view:disabled:backdrop {
2385 color: shade(@theme_unfocused_fg_color, 1.1); }
2386 treeview.view.separator {
2387 min-height: 2px;
2388 color: @osd_fg_color; }
2389 treeview.view.separator:backdrop {
2390 color: rgba(232, 232, 231, 0.1); }
2391 treeview.view:backdrop {
2392 border-left-color: #babbbb;
2393 border-top: @theme_bg_color; }
2394 treeview.view:drop(active) {
2395 border-style: solid none;
2396 border-width: 1px;
2397 border-color: shade(@theme_selected_bg_color, 0.6); }
2398 treeview.view:drop(active).after {
2399 border-top-style: none; }
2400 treeview.view:drop(active).before {
2401 border-bottom-style: none; }
2402 treeview.view.expander {
2403 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
2404 color: #6d7172; }
2405 treeview.view.expander:dir(rtl) {
2406 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
2407 treeview.view.expander:hover {
2408 color: @theme_fg_color; }
2409 treeview.view.expander:selected {
2410 color: #c9def4; }
2411 treeview.view.expander:selected:hover {
2412 color: @theme_selected_fg_color; }
2413 treeview.view.expander:selected:backdrop {
2414 color: #c7dcf2; }
2415 treeview.view.expander:checked {
2416 -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
2417 treeview.view.expander:backdrop {
2418 color: #adafb0; }
2419 treeview.view.progressbar {
2420 color: @theme_selected_fg_color;
2421 border: 1px solid shade(@theme_selected_bg_color, 0.6);
2422 border-radius: 0;
2423 background-color: @progressbar_color;
2424 background-image: linear-gradient(to bottom, @progressbar_color, @progressbar_color);
2425 box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px rgba(0, 0, 0, 0.2); }
2426 treeview.view.progressbar:selected:focus, treeview.view.progressbar:selected {
2427 border-radius: 0;
2428 color: @theme_selected_bg_color;
2429 box-shadow: none;
2430 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); }
2431 treeview.view.progressbar:selected:focus:backdrop, treeview.view.progressbar:selected:backdrop {
2432 color: @theme_selected_bg_color;
2433 border-color: shade(@theme_selected_bg_color, 0.6);
2434 background-color: @theme_unfocused_bg_color; }
2435 treeview.view.progressbar:backdrop {
2436 color: @theme_unfocused_bg_color;
2437 background-image: none;
2438 box-shadow: none; }
2439 treeview.view.trough {
2440 background-color: rgba(46, 52, 54, 0.1);
2441 border-radius: 0; }
2442 treeview.view.trough:selected:focus, treeview.view.trough:selected {
2443 background-color: rgba(255, 255, 255, 0.3);
2444 border-radius: 0;
2445 border-width: 1px 0;
2446 border-style: solid;
2447 border-color: @theme_selected_bg_color; }
2448 treeview.view header button {
2449 color: #979a9b;
2450 background-color: @theme_bg_color;
2451 font-weight: bold;
2452 text-shadow: none;
2453 box-shadow: none; }
2454 treeview.view header button:hover {
2455 color: #636769;
2456 box-shadow: none;
2457 transition: none; }
2458 treeview.view header button:active {
2459 color: @theme_fg_color;
2460 transition: none; }
2461 treeview.view header button:last-child:backdrop, treeview.view header button:last-child {
2462 border-right-style: none; }
2463 treeview.view button.dnd:active, treeview.view button.dnd:selected, treeview.view button.dnd:hover, treeview.view button.dnd,
2464 treeview.view header.button.dnd:active,
2465 treeview.view header.button.dnd:selected,
2466 treeview.view header.button.dnd:hover,
2467 treeview.view header.button.dnd {
2468 padding: 0 6px;
2469 color: @theme_selected_fg_color;
2470 background-image: none;
2471 background-color: @theme_selected_bg_color;
2472 border-style: none;
2473 border-radius: 0;
2474 box-shadow: inset 0 0 0 1px #ffffff;
2475 text-shadow: none;
2476 transition: none; }
2477
2478 treeview.view header button, treeview.view header button:hover, treeview.view header button:active {
2479 padding: 0 6px;
2480 background-image: none;
2481 border-style: none solid solid none;
2482 border-color: @theme_bg_color;
2483 border-radius: 0;
2484 text-shadow: none; }
2485 treeview.view header button:disabled {
2486 border-color: @theme_bg_color;
2487 background-image: none; }
2488 treeview.view header button:backdrop {
2489 color: #babbbb;
2490 border-color: @theme_bg_color;
2491 border-style: none solid solid none;
2492 background-image: none;
2493 background-color: @theme_unfocused_bg_color; }
2494 treeview.view header button:backdrop:disabled {
2495 border-color: @theme_bg_color;
2496 background-image: none; }
2497
2498 /*********
2499 * Menus *
2500 *********/
2501 menubar,
2502 .menubar {
2503 -GtkWidget-window-dragging: true;
2504 padding: 0px;
2505 box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
2506 menubar:backdrop,
2507 .menubar:backdrop {
2508 background-color: @theme_bg_color; }
2509 menubar > menuitem,
2510 .menubar > menuitem {
2511 min-height: 16px;
2512 padding: 4px 8px; }
2513 menubar > menuitem:hover,
2514 .menubar > menuitem:hover {
2515 background-image: image(@theme_selected_bg_color);
2516 color: @borders; }
2517 menubar > menuitem:disabled,
2518 .menubar > menuitem:disabled {
2519 color: @insensitive_fg_color;
2520 box-shadow: none; }
2521
2522 menu,
2523 .menu {
2524 margin: 4px;
2525 padding: 2px 0px;
2526 background-color: @theme_bg_color;
2527 border: 1px solid @borders; }
2528 .csd menu, .csd
2529 .menu {
2530 border: none; }
2531 menu:backdrop,
2532 .menu:backdrop {
2533 background-color: @theme_unfocused_bg_color; }
2534 menu menuitem,
2535 .menu menuitem {
2536 min-height: 16px;
2537 min-width: 40px;
2538 padding: 4px 6px;
2539 text-shadow: none; }
2540 menu menuitem:hover,
2541 .menu menuitem:hover {
2542 color: @theme_selected_fg_color;
2543 background-color: @theme_selected_bg_color; }
2544 menu menuitem:disabled,
2545 .menu menuitem:disabled {
2546 color: @insensitive_fg_color; }
2547 menu menuitem:disabled:backdrop,
2548 .menu menuitem:disabled:backdrop {
2549 color: shade(@theme_unfocused_fg_color, 1.1); }
2550 menu menuitem:backdrop, menu menuitem:backdrop:hover,
2551 .menu menuitem:backdrop,
2552 .menu menuitem:backdrop:hover {
2553 color: @insensitive_fg_color;
2554 background-color: transparent; }
2555 menu menuitem arrow,
2556 .menu menuitem arrow {
2557 min-height: 16px;
2558 min-width: 16px; }
2559 menu menuitem arrow:dir(ltr),
2560 .menu menuitem arrow:dir(ltr) {
2561 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
2562 margin-left: 10px; }
2563 menu menuitem arrow:dir(rtl),
2564 .menu menuitem arrow:dir(rtl) {
2565 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
2566 margin-right: 10px; }
2567 menu > arrow,
2568 .menu > arrow {
2569 border-color: transparent;
2570 background-color: transparent;
2571 background-image: none;
2572 box-shadow: inset 0 1px transparent;
2573 text-shadow: none;
2574 -gtk-icon-shadow: none;
2575 min-height: 16px;
2576 min-width: 16px;
2577 padding: 4px;
2578 background-color: @theme_bg_color;
2579 border-radius: 0; }
2580 menu > arrow.top,
2581 .menu > arrow.top {
2582 margin-top: -6px;
2583 border-bottom: 1px solid #eaebeb;
2584 -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
2585 menu > arrow.bottom,
2586 .menu > arrow.bottom {
2587 margin-bottom: -6px;
2588 border-top: 1px solid #eaebeb;
2589 -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
2590 menu > arrow:hover,
2591 .menu > arrow:hover {
2592 background-color: #eaebeb; }
2593 menu > arrow:backdrop,
2594 .menu > arrow:backdrop {
2595 background-color: @theme_unfocused_bg_color; }
2596 menu > arrow:disabled,
2597 .menu > arrow:disabled {
2598 color: transparent;
2599 background-color: transparent;
2600 border-color: transparent; }
2601
2602 menuitem accelerator {
2603 color: alpha(currentColor,0.55); }
2604 menuitem check,
2605 menuitem radio {
2606 min-height: 16px;
2607 min-width: 16px; }
2608 menuitem check:dir(ltr),
2609 menuitem radio:dir(ltr) {
2610 margin-right: 7px; }
2611 menuitem check:dir(rtl),
2612 menuitem radio:dir(rtl) {
2613 margin-left: 7px; }
2614
2615 /***************
2616 * Popovers *
2617 ***************/
2618 popover.background {
2619 padding: 2px;
2620 border-radius: 0;
2621 background-color: @theme_bg_color;
2622 box-shadow: 0 1px 2px @borders; }
2623 .csd popover.background, popover.background {
2624 border: 1px solid @borders; }
2625 popover.background:backdrop {
2626 background-color: @theme_bg_color;
2627 box-shadow: none; }
2628 popover.background > list,
2629 popover.background > .view,
2630 popover.background > iconview,
2631 popover.background > toolbar {
2632 border-style: none;
2633 background-color: transparent; }
2634 .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.touch-selection, popover.background.magnifier {
2635 border: 1px solid @osd_txt_shadow; }
2636 popover.background separator {
2637 margin: 3px; }
2638 popover.background list separator {
2639 margin: 0px; }
2640
2641 /*************
2642 * Notebooks *
2643 *************/
2644 notebook > header {
2645 padding: 1px;
2646 border-color: @borders;
2647 border-width: 1px;
2648 background-color: transparent; }
2649 notebook > header:backdrop {
2650 border-color: shade(@borders, 0.95);
2651 background-color: transparent; }
2652 notebook > header tabs {
2653 margin: -1px;
2654 background-color: shade(@theme_bg_color, 0.95);}
2655 notebook > header.top {
2656 border-bottom-style: solid; }
2657 notebook > header.top > tabs {
2658 margin-bottom: -2px; }
2659 notebook > header.top > tabs > tab:hover {
2660 background-color: shade(@theme_bg_color, 0.97); }
2661 notebook > header.top > tabs > tab:backdrop {
2662 box-shadow: none; }
2663 notebook > header.top > tabs > tab:checked {
2664 background-color: @theme_bg_color; }
2665 notebook > header.bottom {
2666 border-top-style: solid; }
2667 notebook > header.bottom > tabs {
2668 margin-top: -2px;
2669 background-color: shade(@theme_bg_color, 0.95); }
2670 notebook > header.bottom > tabs > tab:hover {
2671 background-color: shade(@theme_bg_color, 0.97); }
2672 notebook > header.bottom > tabs > tab:backdrop {
2673 box-shadow: none; }
2674 notebook > header.bottom > tabs > tab:checked {
2675 background-color: @theme_bg_color; }
2676 notebook > header.left {
2677 border-right-style: solid; }
2678 notebook > header.left > tabs {
2679 margin-right: -2px;
2680 background-color: shade(@theme_bg_color, 0.95);}
2681 notebook > header.left > tabs > tab:hover {
2682 background-color: shade(@theme_bg_color, 0.97); }
2683 notebook > header.left > tabs > tab:backdrop {
2684 box-shadow: none; }
2685 notebook > header.left > tabs > tab:checked {
2686 background-color: @theme_bg_color; }
2687 notebook > header.right {
2688 border-left-style: solid; }
2689 notebook > header.right > tabs {
2690 margin-left: -2px;
2691 background-color: shade(@theme_bg_color, 0.95);}
2692 notebook > header.right > tabs > tab:hover {
2693 background-color: shade(@theme_bg_color, 0.97); }
2694 notebook > header.right > tabs > tab:backdrop {
2695 box-shadow: none; }
2696 notebook > header.right > tabs > tab:checked {
2697 background-color: @theme_bg_color; }
2698 notebook > header.top > tabs > arrow {
2699 border-top-style: none; }
2700 notebook > header.bottom > tabs > arrow {
2701 border-bottom-style: none; }
2702 notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow {
2703 margin-left: -5px;
2704 margin-right: -5px;
2705 padding-left: 4px;
2706 padding-right: 4px; }
2707 notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down {
2708 -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
2709 notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up {
2710 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
2711 notebook > header.left > tabs > arrow {
2712 border-left-style: none; }
2713 notebook > header.right > tabs > arrow {
2714 border-right-style: none; }
2715 notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow {
2716 margin-top: -5px;
2717 margin-bottom: -5px;
2718 padding-top: 4px;
2719 padding-bottom: 4px; }
2720 notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down {
2721 -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
2722 notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up {
2723 -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
2724 notebook > header > tabs > arrow {
2725 min-height: 16px;
2726 min-width: 16px;
2727 border-radius: 0; }
2728 notebook > header > tabs > arrow:hover:not(:active):not(:backdrop) {
2729 background-clip: padding-box;
2730 background-image: none;
2731 background-color: rgba(255, 255, 255, 0.3);
2732 border-color: transparent;
2733 box-shadow: none; }
2734 notebook > header > tabs > arrow:disabled {
2735 border-color: transparent;
2736 background-color: transparent;
2737 background-image: none;
2738 box-shadow: inset 0 1px transparent;
2739 text-shadow: none;
2740 -gtk-icon-shadow: none; }
2741 notebook > header tab {
2742 min-height: 30px;
2743 min-width: 30px;
2744 padding: 3px 12px;
2745 outline-offset: -5px;
2746 color: @insensitive_fg_color;
2747 font-weight: bold;
2748 border-width: 1px;
2749 border-color: transparent; }
2750 notebook > header tab:hover {
2751 color: @theme_selected_fg_color; }
2752 notebook > header tab:hover.reorderable-page {
2753 border-color: rgba(182, 182, 179, 0.3);
2754 background-color: rgba(232, 232, 231, 0.2); }
2755 notebook > header tab:backdrop {
2756 color: @theme_unfocused_fg_color; }
2757 notebook > header tab:backdrop.reorderable-page {
2758 border-color: transparent;
2759 background-color: transparent; }
2760 notebook > header tab:checked {
2761 color: @theme_fg_color; }
2762
2763 /* active notebook tab in gedit */
2764 notebook > header tab:checked.reorderable-page {
2765 border-color: rgba(182, 182, 179, 0.5);
2766 background-color: shade(@theme_bg_color, 0.7); }
2767 notebook > header tab:checked.reorderable-page:hover {
2768 background-color: @theme_selected_bg_color; }
2769 notebook > header tab:backdrop:checked {
2770 color: @insensitive_fg_color; }
2771 notebook > header tab:backdrop:checked.reorderable-page {
2772 border-color: shade(@borders, 0.95);
2773 background-color: @theme_bg_color; }
2774 notebook > header tab button.flat {
2775 padding: 0;
2776 margin-top: 4px;
2777 margin-bottom: 4px;
2778 min-width: 20px;
2779 min-height: 20px; }
2780 notebook > header tab button.flat:hover {
2781 color: currentColor; }
2782 notebook > header tab button.flat, notebook > header tab button.flat:backdrop {
2783 color: alpha(currentColor,0.3); }
2784 notebook > header tab button.flat:last-child {
2785 margin-left: 4px;
2786 margin-right: -4px; }
2787 notebook > header tab button.flat:first-child {
2788 margin-left: -4px;
2789 margin-right: 4px; }
2790 notebook > header.top tabs, notebook > header.bottom tabs {
2791 padding-left: 4px;
2792 padding-right: 4px; }
2793 notebook > header.top tabs:not(:only-child), notebook > header.bottom tabs:not(:only-child) {
2794 margin-left: 3px;
2795 margin-right: 3px; }
2796 notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child {
2797 margin-left: -1px; }
2798 notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child {
2799 margin-right: -1px; }
2800 notebook > header.top tabs tab, notebook > header.bottom tabs tab {
2801 margin-left: 4px;
2802 margin-right: 4px; }
2803 notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page {
2804 border-style: none solid; }
2805 notebook > header.left tabs, notebook > header.right tabs {
2806 padding-top: 4px;
2807 padding-bottom: 4px; }
2808 notebook > header.left tabs:not(:only-child), notebook > header.right tabs:not(:only-child) {
2809 margin-top: 3px;
2810 margin-bottom: 3px; }
2811 notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child {
2812 margin-top: -1px; }
2813 notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child {
2814 margin-bottom: -1px; }
2815 notebook > header.left tabs tab, notebook > header.right tabs tab {
2816 margin-top: 4px;
2817 margin-bottom: 4px; }
2818 notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
2819 border-style: solid none; }
2820 notebook > header.top tab {
2821 padding-bottom: 4px; }
2822 notebook > header.bottom tab {
2823 padding-top: 4px; }
2824 notebook > stack:not(:only-child) {
2825 background-color: @theme_bg_color; }
2826 notebook > stack:not(:only-child):backdrop {
2827 background-color: @theme_unfocused_bg_color; }
2828
2829 /*************
2830 * scrollbar *
2831 *************/
2832 scrollbar {
2833 border-width: 0;
2834 border-style: solid;
2835 padding: 0;
2836 border-radius: 0;
2837 background-color: shade(@theme_bg_color, 0.9);
2838 background-image: none;
2839 border-image: none; }
2840
2841 scrollbar button,
2842 scrollbar button:hover,
2843 scrollbar button:active:hover {
2844 border-width: 0;
2845 border-radius: 0;
2846 min-height: 12px;
2847 min-width: 1px;
2848 padding: 0;
2849 box-shadow: none;
2850 background-color: transparent;
2851 background-image: none;
2852 color: shade(@theme_fg_color, 0.4); }
2853
2854 scrollbar.horizontal button {
2855 min-height: 1px;
2856 min-width: 12px; }
2857
2858 scrollbar slider {
2859 border-width: 0;
2860 min-width: 45px;
2861 min-height: 14px;
2862 border-color: transparent;
2863 border-radius: 0;
2864 background-color: mix(@theme_bg_color, @theme_fg_color, 0.32); }
2865
2866 scrollbar.vertical slider {
2867 min-width: 14px;
2868 min-height: 45px; }
2869
2870 scrollbar slider:hover,
2871 scrollbar.vertical slider:hover {
2872 border-color: transparent;
2873 background-color: mix(@theme_bg_color, @theme_fg_color, 0.5); }
2874
2875 scrollbar slider:active,
2876 scrollbar.vertical slider:active {
2877 border-color: transparent;
2878 background-color: shade(@theme_bg_color, 0.5); }
2879
2880 scrollbar slider.fine-tune:hover:active {
2881 border-width: 2px;
2882 border-color: transparent; }
2883
2884 scrollbar.vertical button.down {
2885 -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
2886
2887 scrollbar.vertical button.up {
2888 -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
2889
2890 scrollbar.horizontal button.down {
2891 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
2892
2893 scrollbar.horizontal button.up {
2894 -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
2895
2896 treeview ~ scrollbar.vertical {
2897 border-top: 1px solid @borders;
2898 margin-top: -1px; }
2899
2900 /**********
2901 * Switch *
2902 **********/
2903 switch {
2904 font-weight: bold;
2905 font-size: smaller;
2906 outline-offset: -4px;
2907 border: 1px solid @borders;
2908 border-radius: 16px;
2909 color: transparent;
2910 background-color: @borders;
2911 text-shadow: 0 0 transparent; }
2912 switch:checked {
2913 color: transparent;
2914 border-color: shade(@theme_selected_bg_color, 0.6);
2915 background-color: shade(@theme_selected_bg_color, 0.6);
2916 text-shadow: 0 0 rgba(24, 68, 114, 0), 0 0 0 transparent; }
2917 switch:disabled {
2918 color: transparent;
2919 border-color: @borders;
2920 background-color: @borders;
2921 text-shadow: none; }
2922 switch:backdrop {
2923 color: transparent;
2924 border-color: shade(@borders, 1.3);
2925 background-color: shade(@borders, 1.3);
2926 text-shadow: none;
2927 transition: 200ms ease-out; }
2928 switch:backdrop:checked {
2929 color: transparent;
2930 border-color: @theme_selected_bg_color;
2931 background-color: @theme_selected_bg_color; }
2932 switch:backdrop:disabled {
2933 color: transparent;
2934 border-color: shade(@borders, 0.95);
2935 background-color: shade(@borders, 0.95); }
2936 switch slider {
2937 margin: -1px;
2938 min-width: 13px;
2939 min-height: 12px;
2940 border: 6px solid;
2941 border-radius: 14px;
2942 transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
2943 color: @theme_fg_color;
2944 outline-color: @outline_color;
2945 border-color: @borders;
2946 text-shadow: 0 1px @txt_shadow;
2947 -gtk-icon-shadow: 0 1px @txt_shadow;
2948 background-image: linear-gradient(to bottom, @theme_bg_color, @theme_bg_color);
2949 box-shadow: none; } /*inset 0 1px @theme_bg_color, inset 0 -2px #ededec, inset 0 -1px #cacac8, 0 1px rgba(0, 0, 0, 0.1)*/
2950 switch:hover slider {
2951 color: @theme_fg_color;
2952 outline-color: @outline_color;
2953 border-color: @borders;
2954 background-image: linear-gradient(to bottom, @theme_bg_color, @theme_bg_color);
2955 box-shadow: inset 0 0 @theme_bg_color, inset 0 0 #f4f4f4, inset 0 0 #cfcfcd, 0 1px rgba(0, 0, 0, 0.1); }
2956 switch:checked slider {
2957 border: 6px solid shade(@theme_selected_bg_color, 0.6); }
2958 switch:disabled slider {
2959 border-color: @borders;
2960 background-color: @insensitive_bg_color;
2961 background-image: none;
2962 text-shadow: none;
2963 -gtk-icon-shadow: none;
2964 box-shadow: inset 0 1px transparent; }
2965 switch:disabled slider label, switch:disabled slider {
2966 color: @insensitive_fg_color; }
2967 switch:backdrop slider {
2968 transition: 200ms ease-out;
2969 border-color: shade(@borders, 1.3);
2970 background-color: transparent;
2971 background-image: image(@theme_bg_color);
2972 text-shadow: none;
2973 -gtk-icon-shadow: none;
2974 box-shadow: inset 0 1px transparent; }
2975 switch:backdrop slider label, switch:backdrop slider {
2976 color: @insensitive_fg_color; }
2977 switch:backdrop:checked slider {
2978 border-color: @theme_selected_bg_color; }
2979 switch:backdrop:disabled slider {
2980 border-color: shade(@borders, 0.95);
2981 background-color: @insensitive_bg_color;
2982 background-image: none;
2983 text-shadow: none;
2984 -gtk-icon-shadow: none;
2985 box-shadow: inset 0 1px transparent; }
2986 switch:backdrop:disabled slider label, switch:backdrop:disabled slider {
2987 color: shade(@theme_unfocused_fg_color, 1.1); }
2988 row:selected switch {
2989 box-shadow: none;
2990 border-color: shade(@theme_selected_bg_color, 0.6); }
2991 row:selected switch:backdrop {
2992 border-color: shade(@theme_selected_bg_color, 0.6); }
2993 row:selected switch.slider:dir(rtl) {
2994 border-left-color: @borders; }
2995 row:selected switch.slider:dir(ltr) {
2996 border-right-color: @borders; }
2997 row:selected switch.slider:checked, row:selected switch.slider {
2998 border-color: shade(@theme_selected_bg_color, 0.6); }
2999
3000 /*************************
3001 * Check and Radio items *
3002 *************************/
3003 @keyframes check_radio_hover {
3004 from {
3005 background-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(alpha(rgba(38, 50, 56, 0.75), 0.1)), to(transparent)); }
3006 to {
3007 background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(rgba(38, 50, 56, 0.75), 0.1)), to(transparent)); } }
3008 @keyframes check_radio_active {
3009 from {
3010 background-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(alpha(#00BCD4, 0.1)), to(transparent)); }
3011 to {
3012 background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(#00BCD4, 0.1)), to(transparent)); } }
3013 @keyframes check_radio_active_reverse {
3014 from {
3015 background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(#00BCD4, 0.2)), to(transparent)); }
3016 to {
3017 background-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(alpha(#00BCD4, 0)), to(transparent)); } }
3018 .check, check {
3019 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/[email protected]"));
3020 -gtk-icon-shadow: none; }
3021 .check:backdrop, check:backdrop {
3022 opacity: 0.8;
3023 transition: 0.2s; }
3024
3025 .check:hover, check:hover {
3026 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-over.png"), url("assets/[email protected]"));
3027 -gtk-icon-shadow: none; }
3028 .check:hover:backdrop, check:hover:backdrop {
3029 opacity: 0.8;
3030 transition: 0.2s; }
3031
3032 .check:active, check:active {
3033 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-over.png"), url("assets/[email protected]"));
3034 -gtk-icon-shadow: none; }
3035 .check:active:backdrop, check:active:backdrop {
3036 opacity: 0.8;
3037 transition: 0.2s; }
3038
3039 .check:disabled, check:disabled {
3040 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-insensitive.png"), url("assets/[email protected]"));
3041 -gtk-icon-shadow: none; }
3042 .check:disabled:backdrop, check:disabled:backdrop {
3043 opacity: 0.8;
3044 transition: 0.2s; }
3045
3046 .check:indeterminate, check:indeterminate {
3047 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed.png"), url("assets/[email protected]"));
3048 -gtk-icon-shadow: none; }
3049 .check:indeterminate:backdrop, check:indeterminate:backdrop {
3050 opacity: 0.8;
3051 transition: 0.2s; }
3052
3053 .check:indeterminate:hover, check:indeterminate:hover {
3054 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-over.png"), url("assets/[email protected]"));
3055 -gtk-icon-shadow: none; }
3056 .check:indeterminate:hover:backdrop, check:indeterminate:hover:backdrop {
3057 opacity: 0.8;
3058 transition: 0.2s; }
3059
3060 .check:indeterminate:active, check:indeterminate:active {
3061 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-over.png"), url("assets/[email protected]"));
3062 -gtk-icon-shadow: none; }
3063 .check:indeterminate:active:backdrop, check:indeterminate:active:backdrop {
3064 opacity: 0.8;
3065 transition: 0.2s; }
3066
3067 .check:indeterminate:disabled, check:indeterminate:disabled {
3068 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-insensitive.png"), url("assets/[email protected]"));
3069 -gtk-icon-shadow: none; }
3070 .check:indeterminate:disabled:backdrop, check:indeterminate:disabled:backdrop {
3071 opacity: 0.8;
3072 transition: 0.2s; }
3073
3074 .check:checked, check:checked {
3075 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked.png"), url("assets/[email protected]"));
3076 -gtk-icon-shadow: none; }
3077 .check:checked:backdrop, check:checked:backdrop {
3078 opacity: 0.8;
3079 transition: 0.2s; }
3080
3081 .check:checked:hover, check:checked:hover {
3082 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-over.png"), url("assets/[email protected]"));
3083 -gtk-icon-shadow: none; }
3084 .check:checked:hover:backdrop, check:checked:hover:backdrop {
3085 opacity: 0.8;
3086 transition: 0.2s; }
3087
3088 .check:checked:active, check:checked:active {
3089 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-over.png"), url("assets/[email protected]"));
3090 -gtk-icon-shadow: none; }
3091 .check:checked:active:backdrop, check:checked:active:backdrop {
3092 opacity: 0.8;
3093 transition: 0.2s; }
3094
3095 .check:checked:disabled, check:checked:disabled {
3096 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-insensitive.png"), url("assets/[email protected]"));
3097 -gtk-icon-shadow: none; }
3098 .check:checked:disabled:backdrop, check:checked:disabled:backdrop {
3099 opacity: 0.8;
3100 transition: 0.2s; }
3101
3102 menu menuitem.check,
3103 menu menuitem check {
3104 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/[email protected]"));
3105 -gtk-icon-shadow: none; }
3106 menu menuitem.check:hover,
3107 menu menuitem check:hover {
3108 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/[email protected]"));
3109 animation: none;
3110 -gtk-icon-shadow: none;
3111 transition: none; }
3112 menu menuitem.check:backdrop,
3113 menu menuitem check:backdrop {
3114 opacity: 0.8;
3115 transition: 0.2s; }
3116
3117 menu menuitem.check:disabled,
3118 menu menuitem check:disabled {
3119 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-insensitive.png"), url("assets/[email protected]"));
3120 -gtk-icon-shadow: none; }
3121 menu menuitem.check:disabled:hover,
3122 menu menuitem check:disabled:hover {
3123 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-insensitive.png"), url("assets/[email protected]"));
3124 animation: none;
3125 -gtk-icon-shadow: none;
3126 transition: none; }
3127 menu menuitem.check:disabled:backdrop,
3128 menu menuitem check:disabled:backdrop {
3129 opacity: 0.8;
3130 transition: 0.2s; }
3131
3132 menu menuitem.check:indeterminate,
3133 menu menuitem check:indeterminate {
3134 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed.png"), url("assets/[email protected]"));
3135 -gtk-icon-shadow: none; }
3136 menu menuitem.check:indeterminate:hover,
3137 menu menuitem check:indeterminate:hover {
3138 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed.png"), url("assets/[email protected]"));
3139 animation: none;
3140 -gtk-icon-shadow: none;
3141 transition: none; }
3142 menu menuitem.check:indeterminate:backdrop,
3143 menu menuitem check:indeterminate:backdrop {
3144 opacity: 0.8;
3145 transition: 0.2s; }
3146
3147 menu menuitem.check:indeterminate:disabled,
3148 menu menuitem check:indeterminate:disabled {
3149 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-insensitive.png"), url("assets/[email protected]"));
3150 -gtk-icon-shadow: none; }
3151 menu menuitem.check:indeterminate:disabled:hover,
3152 menu menuitem check:indeterminate:disabled:hover {
3153 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-insensitive.png"), url("assets/[email protected]"));
3154 animation: none;
3155 -gtk-icon-shadow: none;
3156 transition: none; }
3157 menu menuitem.check:indeterminate:disabled:backdrop,
3158 menu menuitem check:indeterminate:disabled:backdrop {
3159 opacity: 0.8;
3160 transition: 0.2s; }
3161
3162 menu menuitem.check:checked,
3163 menu menuitem check:checked {
3164 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked.png"), url("assets/[email protected]"));
3165 -gtk-icon-shadow: none; }
3166 menu menuitem.check:checked:hover,
3167 menu menuitem check:checked:hover {
3168 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked.png"), url("assets/[email protected]"));
3169 animation: none;
3170 -gtk-icon-shadow: none;
3171 transition: none; }
3172 menu menuitem.check:checked:backdrop,
3173 menu menuitem check:checked:backdrop {
3174 opacity: 0.8;
3175 transition: 0.2s; }
3176
3177 menu menuitem.check:checked:disabled,
3178 menu menuitem check:checked:disabled {
3179 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-insensitive.png"), url("assets/[email protected]"));
3180 -gtk-icon-shadow: none; }
3181 menu menuitem.check:checked:disabled:hover,
3182 menu menuitem check:checked:disabled:hover {
3183 -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-insensitive.png"), url("assets/[email protected]"));
3184 animation: none;
3185 -gtk-icon-shadow: none;
3186 transition: none; }
3187 menu menuitem.check:checked:disabled:backdrop,
3188 menu menuitem check:checked:disabled:backdrop {
3189 opacity: 0.8;
3190 transition: 0.2s; }
3191
3192 .radio, radio {
3193 -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected.png"), url("assets/[email protected]"));
3194 -gtk-icon-shadow: none; }
3195 .radio:backdrop, radio:backdrop {
3196 opacity: 0.8;
3197 transition: 0.2s; }
3198
3199 .radio:hover, radio:hover {
3200 -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected-over.png"), url("assets/[email protected]"));
3201 -gtk-icon-shadow: none; }
3202 .radio:hover:backdrop, radio:hover:backdrop {
3203 opacity: 0.8;
3204 transition: 0.2s; }
3205
3206 .radio:active, radio:active {
3207 -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected-over.png"), url("assets/[email protected]"));
3208 -gtk-icon-shadow: none; }
3209 .radio:active:backdrop, radio:active:backdrop {
3210 opacity: 0.8;
3211 transition: 0.2s; }
3212
3213 .radio:disabled, radio:disabled {
3214 -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected-insensitive.png"), url("assets/[email protected]"));
3215 -gtk-icon-shadow: none; }
3216 .radio:disabled:backdrop, radio:disabled:backdrop {
3217 opacity: 0.8;
3218 transition: 0.2s; }
3219
3220 .radio:indeterminate, radio:indeterminate {
3221 -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed.png"), url("assets/[email protected]"));
3222 -gtk-icon-shadow: none; }
3223 .radio:indeterminate:backdrop, radio:indeterminate:backdrop {
3224 opacity: 0.8;
3225 transition: 0.2s; }
3226
3227 .radio:indeterminate:hover, radio:indeterminate:hover {
3228 -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-over.png"), url("assets/[email protected]"));
3229 -gtk-icon-shadow: none; }
3230 .radio:indeterminate:hover:backdrop, radio:indeterminate:hover:backdrop {
3231 opacity: 0.8;
3232 transition: 0.2s; }
3233
3234 .radio:indeterminate:active, radio:indeterminate:active {
3235 -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-over.png"), url("assets/[email protected]"));
3236 -gtk-icon-shadow: none; }
3237 .radio:indeterminate:active:backdrop, radio:indeterminate:active:backdrop {
3238 opacity: 0.8;
3239 transition: 0.2s; }
3240
3241 .radio:indeterminate:disabled, radio:indeterminate:disabled {
3242 -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-insensitive.png"), url("assets/[email protected]"));
3243 -gtk-icon-shadow: none; }
3244 .radio:indeterminate:disabled:backdrop, radio:indeterminate:disabled:backdrop {
3245 opacity: 0.8;
3246 transition: 0.2s; }
3247
3248 .radio:checked, radio:checked {
3249 -gtk-icon-source: -gtk-scaled(url("assets/radio-selected.png"), url("assets/[email protected]"));
3250 -gtk-icon-shadow: none; }
3251 .radio:checked:backdrop, radio:checked:backdrop {
3252 opacity: 0.8;
3253 transition: 0.2s; }
3254
3255 .radio:checked:hover, radio:checked:hover {
3256 -gtk-icon-source: -gtk-scaled(url("assets/radio-selected-over.png"), url("assets/[email protected]"));
3257 -gtk-icon-shadow: none; }
3258 .radio:checked:hover:backdrop, radio:checked:hover:backdrop {
3259 opacity: 0.8;
3260 transition: 0.2s; }
3261
3262 .radio:checked:active, radio:checked:active {
3263 -gtk-icon-source: -gtk-scaled(url("assets/radio-selected-over.png"), url("assets/[email protected]"));
3264 -gtk-icon-shadow: none; }
3265 .radio:checked:active:backdrop, radio:checked:active:backdrop {
3266 opacity: 0.8;
3267 transition: 0.2s; }
3268
3269 .radio:checked:disabled, radio:checked:disabled {
3270 -gtk-icon-source: -gtk-scaled(url("assets/radio-selected-insensitive.png"), url("assets/[email protected]"));
3271 -gtk-icon-shadow: none; }
3272 .radio:checked:disabled:backdrop, radio:checked:disabled:backdrop {
3273 opacity: 0.8;
3274 transition: 0.2s; }
3275
3276 menu menuitem.radio,
3277 menu menuitem radio {
3278 -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected.png"), url("assets/[email protected]"));
3279 -gtk-icon-shadow: none; }
3280 menu menuitem.radio:hover,
3281 menu menuitem radio:hover {
3282 -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected.png"), url("assets/[email protected]"));
3283 animation: none;
3284 -gtk-icon-shadow: none;
3285 transition: none; }
3286 menu menuitem.radio:backdrop,
3287 menu menuitem radio:backdrop {
3288 opacity: 0.8;
3289 transition: 0.2s; }
3290
3291 menu menuitem.radio:disabled,
3292 menu menuitem radio:disabled {
3293 -gtk-icon-source: -gtk-scaled(url("assets/radio-insensitive.png"), url("assets/[email protected]"));
3294 -gtk-icon-shadow: none; }
3295 menu menuitem.radio:disabled:hover,
3296 menu menuitem radio:disabled:hover {
3297 -gtk-icon-source: -gtk-scaled(url("assets/radio-insensitive.png"), url("assets/[email protected]"));
3298 animation: none;
3299 -gtk-icon-shadow: none;
3300 transition: none; }
3301 menu menuitem.radio:disabled:backdrop,
3302 menu menuitem radio:disabled:backdrop {
3303 opacity: 0.8;
3304 transition: 0.2s; }
3305
3306 menu menuitem.radio:indeterminate,
3307 menu menuitem radio:indeterminate {
3308 -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed.png"), url("assets/[email protected]"));
3309 -gtk-icon-shadow: none; }
3310 menu menuitem.radio:indeterminate:hover,
3311 menu menuitem radio:indeterminate:hover {
3312 -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed.png"), url("assets/[email protected]"));
3313 animation: none;
3314 -gtk-icon-shadow: none;
3315 transition: none; }
3316 menu menuitem.radio:indeterminate:backdrop,
3317 menu menuitem radio:indeterminate:backdrop {
3318 opacity: 0.8;
3319 transition: 0.2s; }
3320
3321 menu menuitem.radio:indeterminate:disabled,
3322 menu menuitem radio:indeterminate:disabled {
3323 -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-insensitive.png"), url("assets/[email protected]"));
3324 -gtk-icon-shadow: none; }
3325 menu menuitem.radio:indeterminate:disabled:hover,
3326 menu menuitem radio:indeterminate:disabled:hover {
3327 -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-insensitive.png"), url("assets/[email protected]"));
3328 animation: none;
3329 -gtk-icon-shadow: none;
3330 transition: none; }
3331 menu menuitem.radio:indeterminate:disabled:backdrop,
3332 menu menuitem radio:indeterminate:disabled:backdrop {
3333 opacity: 0.8;
3334 transition: 0.2s; }
3335
3336 menu menuitem.radio:checked,
3337 menu menuitem radio:checked {
3338 -gtk-icon-source: -gtk-scaled(url("assets/radio-selected.png"), url("assets/[email protected]"));
3339 -gtk-icon-shadow: none; }
3340 menu menuitem.radio:checked:hover,
3341 menu menuitem radio:checked:hover {
3342 -gtk-icon-source: -gtk-scaled(url("assets/radio-selected.png"), url("assets/[email protected]"));
3343 animation: none;
3344 -gtk-icon-shadow: none;
3345 transition: none; }
3346 menu menuitem.radio:checked:backdrop,
3347 menu menuitem radio:checked:backdrop {
3348 opacity: 0.8;
3349 transition: 0.2s; }
3350
3351 menu menuitem.radio:checked:disabled,
3352 menu menuitem radio:checked:disabled {
3353 -gtk-icon-source: -gtk-scaled(url("assets/radio-selected-insensitive.png"), url("assets/[email protected]"));
3354 -gtk-icon-shadow: none; }
3355 menu menuitem.radio:checked:disabled:hover,
3356 menu menuitem radio:checked:disabled:hover {
3357 -gtk-icon-source: -gtk-scaled(url("assets/radio-selected-insensitive.png"), url("assets/[email protected]"));
3358 animation: none;
3359 -gtk-icon-shadow: none;
3360 transition: none; }
3361 menu menuitem.radio:checked:disabled:backdrop,
3362 menu menuitem radio:checked:disabled:backdrop {
3363 opacity: 0.8;
3364 transition: 0.2s; }
3365
3366 treeview.view check:selected:focus, treeview.view check:selected,
3367 treeview.view radio:selected:focus,
3368 treeview.view radio:selected {
3369 color: @theme_fg_color;
3370 border-color: shade(@theme_selected_bg_color, 0.6); }
3371 treeview.view check:selected:disabled,
3372 treeview.view radio:selected:disabled {
3373 color: @insensitive_fg_color; }
3374 treeview.view check:selected:disabled:backdrop,
3375 treeview.view radio:selected:disabled:backdrop {
3376 color: shade(@theme_unfocused_fg_color, 1.1); }
3377 treeview.view check:backdrop:selected, treeview.view check:backdrop,
3378 treeview.view radio:backdrop:selected,
3379 treeview.view radio:backdrop {
3380 color: @insensitive_fg_color; }
3381
3382 /************
3383 * GtkScale *
3384 ************/
3385 scale trough, scale fill, progressbar trough {
3386 border: 1px solid @borders;
3387 border-radius: 0;
3388 background-color: #cfcfcd; }
3389 scale trough:disabled, scale fill:disabled, progressbar trough:disabled {
3390 background-color: @insensitive_bg_color; }
3391 scale trough:backdrop, scale fill:backdrop, progressbar trough:backdrop, progressbar:backdrop trough {
3392 background-color: #dadad8;
3393 border-color: shade(@borders, 0.95);
3394 transition: 200ms ease-out; }
3395 scale trough:backdrop:disabled, scale fill:backdrop:disabled, progressbar trough:backdrop:disabled, progressbar:backdrop trough:disabled {
3396 background-color: @insensitive_bg_color; }
3397 row:selected scale trough:disabled, scale row:selected trough:disabled, row:selected scale fill:disabled, scale row:selected fill:disabled, row:selected progressbar trough:disabled, progressbar row:selected trough:disabled, row:selected scale trough, scale row:selected trough, row:selected scale fill, scale row:selected fill, row:selected progressbar trough, progressbar row:selected trough {
3398 border-color: shade(@theme_selected_bg_color, 0.6); }
3399 .osd scale trough, scale .osd trough, .osd scale fill, scale .osd fill, .osd progressbar trough, progressbar .osd trough {
3400 border-color: @osd_borders;
3401 background-color: @osd_bg_color;
3402 outline-color: rgba(238, 238, 236, 0.2); }
3403 .osd scale trough:disabled, scale .osd trough:disabled, .osd scale fill:disabled, scale .osd fill:disabled, .osd progressbar trough:disabled, progressbar .osd trough:disabled {
3404 background-color: shade(@osd_bg_color, 0.95); }
3405
3406 progressbar progress {
3407 border: 1px solid @progressbar_color;
3408 border-radius: 0;
3409 background-color: @progressbar_color; }
3410
3411 /* progressbar color */
3412
3413 scale highlight {
3414 border: 1px solid shade(@theme_selected_bg_color, 0.6);
3415 border-radius: 0;
3416 background-color: shade(@theme_selected_bg_color, 0.6); }
3417
3418 scale highlight:disabled, progressbar progress:disabled {
3419 background-color: transparent;
3420 border-color: transparent; }
3421 scale highlight:backdrop, progressbar progress:backdrop, progressbar:backdrop progress {
3422 border-color: @theme_selected_bg_color; }
3423 scale highlight:backdrop:disabled, progressbar progress:backdrop:disabled, progressbar:backdrop progress:disabled {
3424 background-color: transparent;
3425 border-color: transparent; }
3426 row:selected scale highlight:disabled, scale row:selected highlight:disabled, row:selected progressbar progress:disabled, progressbar row:selected progress:disabled, row:selected scale highlight, scale row:selected highlight, row:selected progressbar progress, progressbar row:selected progress {
3427 border-color: shade(@theme_selected_bg_color, 0.6); }
3428 .osd scale highlight, scale .osd highlight, .osd progressbar progress, progressbar .osd progress {
3429 border-color: @osd_borders; }
3430 .osd scale highlight:disabled, scale .osd highlight:disabled, .osd progressbar progress:disabled, progressbar .osd progress:disabled {
3431 border-color: transparent; }
3432
3433 scale {
3434 min-height: 10px;
3435 min-width: 10px;
3436 padding: 12px; }
3437 scale fill,
3438 scale highlight {
3439 margin: -1px; }
3440 scale slider {
3441 min-height: 18px;
3442 min-width: 18px;
3443 margin: -9px; }
3444 scale.fine-tune.horizontal {
3445 padding-top: 9px;
3446 padding-bottom: 9px;
3447 min-height: 16px; }
3448 scale.fine-tune.vertical {
3449 padding-left: 9px;
3450 padding-right: 9px;
3451 min-width: 16px; }
3452 scale.fine-tune slider {
3453 margin: -6px; }
3454 scale.fine-tune fill,
3455 scale.fine-tune highlight,
3456 scale.fine-tune trough {
3457 border-radius: 0;
3458 -gtk-outline-radius: 0; }
3459 scale trough {
3460 outline-offset: 2px;
3461 -gtk-outline-radius: 0; }
3462 scale fill:backdrop, scale fill {
3463 background-color: @borders; }
3464 scale fill:disabled:backdrop, scale fill:disabled {
3465 border-color: transparent;
3466 background-color: transparent; }
3467 .osd scale fill {
3468 background-color: rgba(91, 91, 90, 0.775); }
3469 .osd scale fill:disabled:backdrop, .osd scale fill:disabled {
3470 border-color: transparent;
3471 background-color: transparent; }
3472
3473 scale slider,
3474 scale slider.horizontal {
3475 background-image: -gtk-scaled(url("assets/slider-horiz.png")); }
3476
3477 scale.vertical slider {
3478 background-image: -gtk-scaled(url("assets/slider-vert.png")); }
3479
3480 scale.vertical slider:hover,
3481 scale.vertical slider:active {
3482 background-image: -gtk-scaled(url("assets/slider-vert-hover.png"));
3483 }
3484
3485 scale.vertical slider:backdrop,
3486 scale.vertical slider:disabled,
3487 scale.vertical slider:backdrop:disabled {
3488 background-image: -gtk-scaled(url("assets/slider-vert-insensitive.png"));
3489 }
3490
3491 /* scale sliders */
3492
3493 scale slider {
3494 background-image: url("assets/slider-horiz.png");
3495 background-position: center;
3496 background-repeat: no-repeat; }
3497 scale slider:hover, scale slider:active {
3498 background-image: url("assets/slider-horiz-hover.png");
3499 background-position: center;
3500 background-repeat: no-repeat; }
3501 scale slider:disabled {
3502 background-image: url("assets/slider-horiz-insensitive.png");
3503 background-position: center;
3504 background-repeat: no-repeat; }
3505 scale slider:disabled label, scale slider:disabled {
3506 color: @insensitive_fg_color; }
3507 scale slider:backdrop {
3508 background-image: url("assets/slider-horiz-insensitive.png");
3509 background-position: center;
3510 background-repeat: no-repeat; }
3511 scale slider:backdrop:disabled {
3512 border-color: shade(@borders, 0.95);
3513 background-color: transparent;
3514 background-image: url("assets/slider-horiz-insensitive.png");
3515 text-shadow: none;
3516 -gtk-icon-shadow: none;
3517 box-shadow: inset 0 1px transparent; }
3518 scale slider:backdrop:disabled label, scale slider:backdrop:disabled {
3519 color: shade(@theme_unfocused_fg_color, 1.1); }
3520 row:selected scale slider:disabled, row:selected scale slider {
3521 border-color: shade(@theme_selected_bg_color, 0.6); }
3522 .osd scale slider {
3523 color: @theme_unfocused_fg_color;
3524 border-color: @osd_borders;
3525 background-color: transparent;
3526 background-image: image(@osd_bg_color);
3527 background-clip: padding-box;
3528 box-shadow: inset 0 1px @osd_txt_shadow;
3529 text-shadow: 0 1px @osd_txt_shadow;
3530 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
3531 outline-color: @osd_outline;
3532 border-color: @osd_borders;
3533 border-radius: 100%;
3534 background-color: #1c1f20; }
3535 .osd scale slider:hover {
3536 color: @osd_fg_color;
3537 border-color: @osd_borders;
3538 background-color: transparent;
3539 background-image: image(shade(@osd_bg_color, 1.05));
3540 background-clip: padding-box;
3541 box-shadow: inset 0 1px @osd_txt_shadow;
3542 text-shadow: 0 1px @osd_txt_shadow;
3543 -gtk-icon-shadow: 0 1px @osd_txt_shadow;
3544 outline-color: @osd_outline;
3545 background-color: #1c1f20; }
3546 .osd scale slider:active {
3547 color: @osd_fg_color;
3548 border-color: @osd_borders;
3549 background-color: transparent;
3550 background-image: image(@osd_borders);
3551 background-clip: padding-box;
3552 box-shadow: none;
3553 text-shadow: none;
3554 -gtk-icon-shadow: none;
3555 outline-color: @osd_outline;
3556 background-color: #1c1f20; }
3557 .osd scale slider:disabled {
3558 color: shade(@osd_fg_color, 0.85);
3559 border-color: @osd_borders;
3560 background-color: transparent;
3561 background-image: image(shade(@osd_bg_color, 0.95));
3562 background-clip: padding-box;
3563 box-shadow: none;
3564 text-shadow: none;
3565 -gtk-icon-shadow: none;
3566 background-color: #1c1f20; }
3567 .osd scale slider:backdrop {
3568 color: @theme_unfocused_fg_color;
3569 border-color: @osd_borders;
3570 background-color: transparent;
3571 background-image: image(@osd_bg_color);
3572 background-clip: padding-box;
3573 box-shadow: none;
3574 text-shadow: none;
3575 -gtk-icon-shadow: none;
3576 background-color: #1c1f20; }
3577 .osd scale slider:backdrop:disabled {
3578 background-color: #1c1f20; }
3579 scale value {
3580 color: alpha(currentColor,0.55); }
3581 scale marks {
3582 color: alpha(currentColor,0.55); }
3583 scale marks.top {
3584 margin-bottom: 6px;
3585 margin-top: -12px; }
3586 scale marks.bottom {
3587 margin-top: 6px;
3588 margin-bottom: -12px; }
3589 scale marks.top {
3590 margin-right: 6px;
3591 margin-left: -12px; }
3592 scale marks.bottom {
3593 margin-left: 6px;
3594 margin-right: -12px; }
3595 scale.fine-tune marks.top {
3596 margin-bottom: 6px;
3597 margin-top: -9px; }
3598 scale.fine-tune marks.bottom {
3599 margin-top: 6px;
3600 margin-bottom: -9px; }
3601 scale.fine-tune marks.top {
3602 margin-right: 6px;
3603 margin-left: -9px; }
3604 scale.fine-tune marks.bottom {
3605 margin-left: 6px;
3606 margin-right: -9px; }
3607 scale.horizontal indicator {
3608 min-height: 6px;
3609 min-width: 1px; }
3610 scale.horizontal.fine-tune indicator {
3611 min-height: 3px; }
3612 scale.vertical indicator {
3613 min-height: 1px;
3614 min-width: 6px; }
3615 scale.vertical.fine-tune indicator {
3616 min-width: 3px; }
3617
3618 /*****************
3619 * Progress bars *
3620 *****************/
3621 progressbar {
3622 font-size: smaller;
3623 color: @theme_selected_fg_color; }
3624 progressbar.horizontal trough,
3625 progressbar.horizontal progress {
3626 min-height: 10px; }
3627 progressbar.vertical trough,
3628 progressbar.vertical progress {
3629 min-width: 10px; }
3630 progressbar.horizontal progress {
3631 margin: 0 -1px; }
3632 progressbar.vertical progress {
3633 margin: -1px 0; }
3634 progressbar:backdrop {
3635 box-shadow: none;
3636 transition: 200ms ease-out; }
3637 progressbar progress {
3638 border-radius: 0; }
3639 progressbar progress.left {
3640 border-top-left-radius: 0;
3641 border-bottom-left-radius: 0; }
3642 progressbar progress.right {
3643 border-top-right-radius: 0;
3644 border-bottom-right-radius: 0; }
3645 progressbar progress.top {
3646 border-top-right-radius: 0;
3647 border-top-left-radius: 0; }
3648 progressbar progress.bottom {
3649 border-bottom-right-radius: 0;
3650 border-bottom-left-radius: 0; }
3651 progressbar.osd {
3652 min-width: 3px;
3653 min-height: 3px;
3654 background-color: transparent; }
3655 progressbar.osd trough {
3656 border-style: none;
3657 border-radius: 0;
3658 background-color: shade(@theme_selected_bg_color, 0.6);
3659 box-shadow: none; }
3660 progressbar.osd progress {
3661 border-style: none;
3662 border-radius: 0; }
3663
3664 /*************
3665 * Level Bar *
3666 *************/
3667 levelbar block {
3668 min-width: 32px;
3669 min-height: 1px; }
3670 levelbar.vertical block {
3671 min-width: 1px;
3672 min-height: 32px; }
3673 levelbar:backdrop {
3674 transition: 200ms ease-out; }
3675 levelbar trough {
3676 border: 1px solid;
3677 padding: 2px;
3678 border-radius: 0;
3679 color: @theme_fg_color;
3680 border-color: @borders;
3681 background-color: @theme_bg_color;
3682 box-shadow: inset 0 0 0 1px shade(@theme_selected_bg_color, 0); }
3683 levelbar trough:backdrop {
3684 color: @theme_unfocused_fg_color;
3685 border-color: shade(@borders, 0.95);
3686 background-color: @theme_unfocused_bg_color;
3687 box-shadow: none; }
3688 levelbar.horizontal.discrete block {
3689 margin: 0 1px; }
3690 levelbar.vertical.discrete block {
3691 margin: 1px 0; }
3692 levelbar block {
3693 border: 1px solid;
3694 border-radius: 0; }
3695 levelbar block.low {
3696 border-color: #8f4700;
3697 background-color: @warning_color; }
3698 levelbar block.low:backdrop {
3699 border-color: @warning_color; }
3700 levelbar block.high, levelbar block:not(.empty) {
3701 border-color: shade(@theme_selected_bg_color, 0.6);
3702 background-color: @theme_selected_bg_color; }
3703 levelbar block.high:backdrop, levelbar block:not(.empty):backdrop {
3704 border-color: @theme_selected_bg_color; }
3705 levelbar block.full {
3706 border-color: #40760c;
3707 background-color: #73d216; }
3708 levelbar block.full:backdrop {
3709 border-color: #73d216; }
3710 levelbar block.empty {
3711 background-color: transparent;
3712 border-color: rgba(46, 52, 54, 0.2); }
3713 levelbar block.empty:backdrop {
3714 border-color: rgba(139, 142, 143, 0.15); }
3715
3716 /****************
3717 * Print dialog *
3718 *****************/
3719 printdialog paper {
3720 color: @theme_fg_color;
3721 border: 1px solid @borders;
3722 background: @theme_bg_color;
3723 padding: 0; }
3724 printdialog paper:backdrop {
3725 color: @insensitive_fg_color;
3726 border-color: shade(@borders, 0.95); }
3727 printdialog .dialog-action-box {
3728 margin: 12px; }
3729
3730 /**********
3731 * Frames *
3732 **********/
3733 frame > border,
3734 .frame {
3735 box-shadow: none;
3736 margin: 0;
3737 padding: 0;
3738 border-radius: 0;
3739 border: 1px solid @borders; }
3740 frame > border.flat,
3741 .frame.flat {
3742 border-style: none; }
3743 frame > border:backdrop,
3744 .frame:backdrop {
3745 border-color: shade(@borders, 0.95); }
3746
3747 actionbar > revealer > box {
3748 padding: 6px;
3749 border-top: 1px solid @borders; }
3750 actionbar > revealer > box:backdrop {
3751 border-color: shade(@borders, 0.95); }
3752
3753 scrolledwindow viewport.frame {
3754 border-style: none; }
3755 scrolledwindow overshoot.top {
3756 background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(#9d9d99), to(rgba(157, 157, 153, 0))), -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(46, 52, 54, 0.07)), to(rgba(46, 52, 54, 0)));
3757 background-size: 100% 5%, 100% 100%;
3758 background-repeat: no-repeat;
3759 background-position: center top;
3760 background-color: transparent;
3761 border: none;
3762 box-shadow: none; }
3763 scrolledwindow overshoot.top:backdrop {
3764 background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(shade(@borders, 0.95)), to(rgba(192, 192, 189, 0)));
3765 background-size: 100% 5%;
3766 background-repeat: no-repeat;
3767 background-position: center top;
3768 background-color: transparent;
3769 border: none;
3770 box-shadow: none; }
3771 scrolledwindow overshoot.bottom {
3772 background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(#9d9d99), to(rgba(157, 157, 153, 0))), -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(46, 52, 54, 0.07)), to(rgba(46, 52, 54, 0)));
3773 background-size: 100% 5%, 100% 100%;
3774 background-repeat: no-repeat;
3775 background-position: center bottom;
3776 background-color: transparent;
3777 border: none;
3778 box-shadow: none; }
3779 scrolledwindow overshoot.bottom:backdrop {
3780 background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(shade(@borders, 0.95)), to(rgba(192, 192, 189, 0)));
3781 background-size: 100% 5%;
3782 background-repeat: no-repeat;
3783 background-position: center bottom;
3784 background-color: transparent;
3785 border: none;
3786 box-shadow: none; }
3787 scrolledwindow overshoot.left {
3788 background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(#9d9d99), to(rgba(157, 157, 153, 0))), -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(46, 52, 54, 0.07)), to(rgba(46, 52, 54, 0)));
3789 background-size: 5% 100%, 100% 100%;
3790 background-repeat: no-repeat;
3791 background-position: left center;
3792 background-color: transparent;
3793 border: none;
3794 box-shadow: none; }
3795 scrolledwindow overshoot.left:backdrop {
3796 background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(shade(@borders, 0.95)), to(rgba(192, 192, 189, 0)));
3797 background-size: 5% 100%;
3798 background-repeat: no-repeat;
3799 background-position: left center;
3800 background-color: transparent;
3801 border: none;
3802 box-shadow: none; }
3803 scrolledwindow overshoot.right {
3804 background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(#9d9d99), to(rgba(157, 157, 153, 0))), -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(46, 52, 54, 0.07)), to(rgba(46, 52, 54, 0)));
3805 background-size: 5% 100%, 100% 100%;
3806 background-repeat: no-repeat;
3807 background-position: right center;
3808 background-color: transparent;
3809 border: none;
3810 box-shadow: none; }
3811 scrolledwindow overshoot.right:backdrop {
3812 background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(shade(@borders, 0.95)), to(rgba(192, 192, 189, 0)));
3813 background-size: 5% 100%;
3814 background-repeat: no-repeat;
3815 background-position: right center;
3816 background-color: transparent;
3817 border: none;
3818 box-shadow: none; }
3819 scrolledwindow undershoot.top {
3820 background-color: transparent;
3821 background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
3822 padding-top: 1px;
3823 background-size: 10px 1px;
3824 background-repeat: repeat-x;
3825 background-origin: content-box;
3826 background-position: center top;
3827 border: none;
3828 box-shadow: none; }
3829 scrolledwindow undershoot.bottom {
3830 background-color: transparent;
3831 background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
3832 padding-bottom: 1px;
3833 background-size: 10px 1px;
3834 background-repeat: repeat-x;
3835 background-origin: content-box;
3836 background-position: center bottom;
3837 border: none;
3838 box-shadow: none; }
3839 scrolledwindow undershoot.left {
3840 background-color: transparent;
3841 background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
3842 padding-left: 1px;
3843 background-size: 1px 10px;
3844 background-repeat: repeat-y;
3845 background-origin: content-box;
3846 background-position: left center;
3847 border: none;
3848 box-shadow: none; }
3849 scrolledwindow undershoot.right {
3850 background-color: transparent;
3851 background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
3852 padding-right: 1px;
3853 background-size: 1px 10px;
3854 background-repeat: repeat-y;
3855 background-origin: content-box;
3856 background-position: right center;
3857 border: none;
3858 box-shadow: none; }
3859 scrolledwindow junction {
3860 border-color: transparent;
3861 border-image: linear-gradient(to bottom, @borders 1px, transparent 1px) 0 0 0 1/0 1px stretch;
3862 background-color: #c3c4c4; }
3863 scrolledwindow junction:dir(rtl) {
3864 border-image-slice: 0 1 0 0; }
3865 scrolledwindow junction:backdrop {
3866 border-image-source: linear-gradient(to bottom, shade(@borders, 0.95) 1px, transparent 1px);
3867 background-color: #e1e1df;
3868 transition: 200ms ease-out; }
3869
3870 separator {
3871 background: rgba(0, 0, 0, 0.1);
3872 min-width: 1px;
3873 min-height: 1px; }
3874
3875 /*********
3876 * Lists *
3877 *********/
3878 list {
3879 color: @theme_fg_color;
3880 background-color: @theme_bg_color;
3881 border-color: @borders; }
3882 list:backdrop {
3883 background-color: @theme_unfocused_bg_color;
3884 border-color: shade(@borders, 0.95); }
3885 list row {
3886 padding: 2px; }
3887
3888 row {
3889 transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
3890 row:hover {
3891 transition: none; }
3892 row:backdrop {
3893 transition: 200ms ease-out; }
3894 row.activatable.has-open-popup, row.activatable:hover {
3895 background-color: rgba(46, 52, 54, 0.05); }
3896 row.activatable:active {
3897 box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); }
3898 row.activatable:backdrop:hover {
3899 background-color: transparent; }
3900 row.activatable:selected:active {
3901 box-shadow: inset 0 2px 3px -1px @osd_bg_color; }
3902 row.activatable:selected.has-open-popup, row.activatable:selected:hover {
3903 background-color: shade(@theme_selected_bg_color, 1.05); }
3904 row.activatable:selected:backdrop {
3905 background-color: @theme_selected_bg_color; }
3906
3907 /*********************
3908 * App Notifications *
3909 *********************/
3910 .app-notification,
3911 .app-notification.frame {
3912 padding: 10px;
3913 border-radius: 0;
3914 background-color: @osd_bg_color;
3915 background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 2px);
3916 background-clip: padding-box; }
3917 .app-notification:backdrop,
3918 .app-notification.frame:backdrop {
3919 background-image: none;
3920 transition: 200ms ease-out; }
3921 .app-notification border,
3922 .app-notification.frame border {
3923 border: none; }
3924
3925 /*************
3926 * Expanders *
3927 *************/
3928 expander arrow {
3929 min-width: 16px;
3930 min-height: 16px;
3931 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
3932 expander arrow:dir(rtl) {
3933 -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
3934 expander arrow:hover {
3935 color: #748489; }
3936 expander arrow:checked {
3937 -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
3938
3939 /************
3940 * Calendar *
3941 ***********/
3942 calendar {
3943 color: @theme_fg_color;
3944 border: 1px solid @borders; }
3945 calendar:selected {
3946 border-radius: 0; }
3947 calendar.header {
3948 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
3949 border-radius: 0; }
3950 calendar.header:backdrop {
3951 border-color: rgba(0, 0, 0, 0.1); }
3952 calendar.button {
3953 color: rgba(46, 52, 54, 0.45); }
3954 calendar.button:hover {
3955 color: @theme_fg_color; }
3956 calendar.button:backdrop {
3957 color: rgba(139, 142, 143, 0.45); }
3958 calendar.button:disabled {
3959 color: rgba(139, 142, 143, 0.45); }
3960 calendar:indeterminate, calendar:indeterminate:backdrop {
3961 color: alpha(currentColor,0.55); }
3962 calendar.highlight, calendar.highlight:backdrop {
3963 font-size: smaller;
3964 color: @theme_fg_color; }
3965 calendar:backdrop {
3966 color: @theme_unfocused_fg_color;
3967 border-color: shade(@borders, 0.95); }
3968
3969 /***********
3970 * Dialogs *
3971 ***********/
3972 messagedialog .titlebar {
3973 min-height: 20px;
3974 background-image: none;
3975 background-color: @theme_bg_color;
3976 border-style: none;
3977 border-top-left-radius: 0;
3978 border-top-right-radius: 0; }
3979 messagedialog.csd.background {
3980 border-bottom-left-radius: 0;
3981 border-bottom-right-radius: 0; }
3982 messagedialog.csd .dialog-action-area button {
3983 padding: 10px 14px;
3984 border-radius: 0;
3985 border-left-style: solid;
3986 border-right-style: none;
3987 border-bottom-style: none; }
3988 messagedialog.csd .dialog-action-area button:first-child {
3989 border-left-style: none;
3990 border-bottom-left-radius: 0;
3991 -gtk-outline-bottom-left-radius: 0; }
3992 messagedialog.csd .dialog-action-area button:last-child {
3993 border-bottom-right-radius: 0;
3994 -gtk-outline-bottom-right-radius: 0; }
3995
3996 filechooser .dialog-action-box {
3997 border-top: 1px solid @borders; }
3998 filechooser .dialog-action-box:backdrop {
3999 border-top-color: shade(@borders, 0.95); }
4000 filechooser #pathbarbox {
4001 border-bottom: 1px solid @theme_bg_color; }
4002
4003 filechooserbutton:drop(active) {
4004 box-shadow: none;
4005 border-color: transparent; }
4006
4007 /***********
4008 * Sidebar *
4009 ***********/
4010 .sidebar {
4011 border-style: none;
4012 background-color: @theme_bg_color; }
4013 stacksidebar.sidebar:dir(ltr) list, stacksidebar.sidebar.left list, stacksidebar.sidebar.left:dir(rtl) list, .sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) {
4014 border-right: none;
4015 border-left-style: none; }
4016 stacksidebar.sidebar:dir(rtl) list
4017 .sidebar:dir(rtl), stacksidebar.sidebar.right list
4018 .sidebar:dir(rtl), .sidebar.right {
4019 border-left: 1px solid @borders;
4020 border-right-style: none; }
4021 .sidebar:backdrop {
4022 background-color: @theme_unfocused_bg_color;
4023 border-color: shade(@borders, 0.95);
4024 transition: 200ms ease-out; }
4025 .sidebar list {
4026 background-color: transparent; }
4027 paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar {
4028 border-style: none; }
4029
4030 stacksidebar row {
4031 padding: 10px 4px; }
4032 stacksidebar row > label {
4033 padding-left: 6px;
4034 padding-right: 6px; }
4035 stacksidebar row.needs-attention > label {
4036 background-size: 6px 6px, 0 0; }
4037
4038 /****************
4039 * File chooser *
4040 ****************/
4041 placessidebar > viewport.frame {
4042 border-style: none; }
4043 placessidebar row {
4044 min-height: 36px;
4045 padding: 0px; }
4046 placessidebar row > revealer {
4047 padding: 0 14px; }
4048 placessidebar row:selected {
4049 color: @theme_selected_fg_color; }
4050 placessidebar row:disabled {
4051 color: @insensitive_fg_color; }
4052 placessidebar row:backdrop {
4053 color: @insensitive_fg_color; }
4054 placessidebar row:backdrop:selected {
4055 color: @osd_bg_color; }
4056 placessidebar row:backdrop:disabled {
4057 color: shade(@theme_unfocused_fg_color, 1.1); }
4058 placessidebar row image.sidebar-icon {
4059 opacity: 0.7; }
4060 placessidebar row image.sidebar-icon:dir(ltr) {
4061 padding-right: 8px; }
4062 placessidebar row image.sidebar-icon:dir(rtl) {
4063 padding-left: 8px; }
4064 placessidebar row label.sidebar-label:dir(ltr) {
4065 padding-right: 2px; }
4066 placessidebar row label.sidebar-label:dir(rtl) {
4067 padding-left: 2px; }
4068 button.sidebar-button {
4069 min-height: 26px;
4070 min-width: 26px;
4071 margin-top: 3px;
4072 margin-bottom: 3px;
4073 padding: 0;
4074 border-radius: 100%;
4075 -gtk-outline-radius: 100%; }
4076 button.sidebar-button:not(:hover):not(:active) > image, button.sidebar-button:backdrop > image {
4077 opacity: 0.7; }
4078 placessidebar row:selected:active {
4079 box-shadow: none; }
4080 placessidebar row.sidebar-placeholder-row {
4081 padding: 0 8px;
4082 min-height: 2px;
4083 background-image: image(@success_color);
4084 background-clip: content-box; }
4085 placessidebar row.sidebar-new-bookmark-row {
4086 color: @theme_selected_bg_color; }
4087 placessidebar row:drop(active):not(:disabled) {
4088 color: @success_color;
4089 box-shadow: inset 0 1px @success_color, inset 0 -1px @success_color; }
4090 placessidebar row:drop(active):not(:disabled):selected {
4091 color: @theme_selected_fg_color;
4092 background-color: @success_color; }
4093
4094 placesview .server-list-button > image {
4095 transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
4096 -gtk-icon-transform: rotate(0turn); }
4097 placesview .server-list-button:checked > image {
4098 transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
4099 -gtk-icon-transform: rotate(-0.5turn); }
4100 placesview row.activatable:hover {
4101 background-color: transparent; }
4102 placesview > actionbar > revealer > box > label {
4103 padding-left: 8px;
4104 padding-right: 8px; }
4105
4106 /*********
4107 * Paned *
4108 *********/
4109 paned > separator {
4110 min-width: 1px;
4111 min-height: 1px;
4112 -gtk-icon-source: none;
4113 border-style: none;
4114 background-color: transparent;
4115 background-image: image(@borders);
4116 background-size: 1px 1px; }
4117 paned > separator:selected {
4118 background-image: image(@theme_selected_bg_color); }
4119 paned > separator:backdrop {
4120 background-image: image(shade(@borders, 0.95)); }
4121 paned > separator.wide {
4122 min-width: 5px;
4123 min-height: 5px;
4124 background-color: @theme_bg_color;
4125 background-image: image(@borders), image(@borders);
4126 background-size: 1px 1px, 1px 1px; }
4127 paned > separator.wide:backdrop {
4128 background-color: @theme_bg_color;
4129 background-image: image(shade(@borders, 0.95)), image(shade(@borders, 0.95)); }
4130 paned.horizontal > separator {
4131 background-repeat: repeat-y; }
4132 paned.horizontal > separator:dir(ltr) {
4133 margin: 0 -8px 0 0;
4134 padding: 0 8px 0 0;
4135 background-position: left; }
4136 paned.horizontal > separator:dir(rtl) {
4137 margin: 0 0 0 -8px;
4138 padding: 0 0 0 8px;
4139 background-position: right; }
4140 paned.horizontal > separator.wide {
4141 margin: 0;
4142 padding: 0;
4143 background-repeat: repeat-y, repeat-y;
4144 background-position: left, right; }
4145 paned.vertical > separator {
4146 margin: 0 0 -8px 0;
4147 padding: 0 0 8px 0;
4148 background-repeat: repeat-x;
4149 background-position: top; }
4150 paned.vertical > separator.wide {
4151 margin: 0;
4152 padding: 0;
4153 background-repeat: repeat-x, repeat-x;
4154 background-position: bottom, top; }
4155
4156 /**************
4157 * GtkInfoBar *
4158 **************/
4159 infobar {
4160 border-style: none; }
4161
4162 .info,
4163 .question,
4164 .warning,
4165 .error {
4166 text-shadow: 0 1px @borders; }
4167 .info:backdrop, .info,
4168 .question:backdrop,
4169 .question,
4170 .warning:backdrop,
4171 .warning,
4172 .error:backdrop,
4173 .error {
4174 background-color: @theme_selected_bg_color;
4175 border-color: @borders; }
4176 .info:backdrop label, .info:backdrop, .info label, .info,
4177 .question:backdrop label,
4178 .question:backdrop,
4179 .question label,
4180 .question,
4181 .warning:backdrop label,
4182 .warning:backdrop,
4183 .warning label,
4184 .warning,
4185 .error:backdrop label,
4186 .error:backdrop,
4187 .error label,
4188 .error {
4189 color: @theme_selected_fg_color; }
4190 .info:backdrop,
4191 .question:backdrop,
4192 .warning:backdrop,
4193 .error:backdrop {
4194 text-shadow: none; }
4195 .info button,
4196 .question button,
4197 .warning button,
4198 .error button {
4199 color: @theme_selected_fg_color;
4200 outline-color: rgba(255, 255, 255, 0.3);
4201 border-color: shade(@theme_selected_bg_color, 0.6);
4202 border-bottom-color: shade(@theme_selected_bg_color, 0.6);
4203 background-image: image(@theme_selected_bg_color);
4204 text-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
4205 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
4206 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
4207 .info button:hover,
4208 .question button:hover,
4209 .warning button:hover,
4210 .error button:hover {
4211 color: @theme_selected_fg_color;
4212 outline-color: rgba(255, 255, 255, 0.3);
4213 border-color: shade(@theme_selected_bg_color, 0.6);
4214 border-bottom-color: shade(@theme_selected_bg_color, 0.6);
4215 background-image: image(shade(@theme_selected_bg_color, 0.9));
4216 text-shadow: 0 -1px rgba(0, 0, 0, 0.49553);
4217 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.49553);
4218 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
4219 .info button:active, .info button:checked,
4220 .question button:active,
4221 .question button:checked,
4222 .warning button:active,
4223 .warning button:checked,
4224 .error button:active,
4225 .error button:checked {
4226 color: @theme_selected_fg_color;
4227 outline-color: rgba(255, 255, 255, 0.3);
4228 border-color: shade(@theme_selected_bg_color, 0.6);
4229 background-image: none;
4230 background-color: shade(@theme_selected_bg_color, 0.8);
4231 box-shadow: inset 0 1px transparent;
4232 text-shadow: none;
4233 -gtk-icon-shadow: none; }
4234 .info button:disabled,
4235 .question button:disabled,
4236 .warning button:disabled,
4237 .error button:disabled {
4238 border-color: shade(@theme_selected_bg_color, 0.6);
4239 background-color: @theme_selected_bg_color;
4240 background-image: none;
4241 text-shadow: none;
4242 -gtk-icon-shadow: none;
4243 box-shadow: inset 0 1px transparent; }
4244 .info button:disabled label, .info button:disabled,
4245 .question button:disabled label,
4246 .question button:disabled,
4247 .warning button:disabled label,
4248 .warning button:disabled,
4249 .error button:disabled label,
4250 .error button:disabled {
4251 color: #b2d0ef; }
4252 .info button:backdrop,
4253 .question button:backdrop,
4254 .warning button:backdrop,
4255 .error button:backdrop {
4256 border-color: @theme_selected_bg_color;
4257 background-color: transparent;
4258 background-image: image(@theme_selected_bg_color);
4259 text-shadow: none;
4260 -gtk-icon-shadow: none;
4261 box-shadow: inset 0 1px transparent;
4262 border-color: shade(@theme_selected_bg_color, 0.6); }
4263 .info button:backdrop label, .info button:backdrop,
4264 .question button:backdrop label,
4265 .question button:backdrop,
4266 .warning button:backdrop label,
4267 .warning button:backdrop,
4268 .error button:backdrop label,
4269 .error button:backdrop {
4270 color: @theme_selected_fg_color; }
4271 .info button:backdrop:disabled,
4272 .question button:backdrop:disabled,
4273 .warning button:backdrop:disabled,
4274 .error button:backdrop:disabled {
4275 border-color: @theme_selected_bg_color;
4276 background-color: @theme_selected_bg_color;
4277 background-image: none;
4278 text-shadow: none;
4279 -gtk-icon-shadow: none;
4280 box-shadow: inset 0 1px transparent;
4281 border-color: shade(@theme_selected_bg_color, 0.6); }
4282 .info button:backdrop:disabled label, .info button:backdrop:disabled,
4283 .question button:backdrop:disabled label,
4284 .question button:backdrop:disabled,
4285 .warning button:backdrop:disabled label,
4286 .warning button:backdrop:disabled,
4287 .error button:backdrop:disabled label,
4288 .error button:backdrop:disabled {
4289 color: @theme_unfocused_selected_fg_color; }
4290 .info label:selected:focus, .info label:selected:hover, .info label:selected,
4291 .question label:selected:focus,
4292 .question label:selected:hover,
4293 .question label:selected,
4294 .warning label:selected:focus,
4295 .warning label:selected:hover,
4296 .warning label:selected,
4297 .error label:selected:focus,
4298 .error label:selected:hover,
4299 .error label:selected {
4300 background-color: @borders; }
4301
4302 /************
4303 * Tooltips * *?*
4304 ************/
4305 tooltip {
4306 padding: 4px;
4307 /* not working */
4308 border-radius: 0;
4309 box-shadow: none;
4310 text-shadow: none; }
4311 tooltip.background {
4312 background-color: @tooltip_bg_color;
4313 background-clip: padding-box;
4314 border: 1px solid @osd_txt_shadow; }
4315 tooltip decoration {
4316 background-color: transparent; }
4317 tooltip * {
4318 padding: 4px;
4319 background-color: transparent;
4320 color: @theme_fg_color; }
4321
4322 /*****************
4323 * Color Chooser *
4324 *****************/
4325 colorswatch:drop(active), colorswatch {
4326 border-style: none; }
4327 colorswatch.top {
4328 border-top-left-radius: 0;
4329 border-top-right-radius: 0; }
4330 colorswatch.top overlay {
4331 border-top-left-radius: 0;
4332 border-top-right-radius: 0; }
4333 colorswatch.bottom {
4334 border-bottom-left-radius: 0;
4335 border-bottom-right-radius: 0; }
4336 colorswatch.bottom overlay {
4337 border-bottom-left-radius: 0;
4338 border-bottom-right-radius: 0; }
4339 colorswatch.left, colorswatch:first-child:not(.top) {
4340 border-top-left-radius: 0;
4341 border-bottom-left-radius: 0; }
4342 colorswatch.left overlay, colorswatch:first-child:not(.top) overlay {
4343 border-top-left-radius: 0;
4344 border-bottom-left-radius: 0; }
4345 colorswatch.right, colorswatch:last-child:not(.bottom) {
4346 border-top-right-radius: 0;
4347 border-bottom-right-radius: 0; }
4348 colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay {
4349 border-top-right-radius: 0;
4350 border-bottom-right-radius: 0; }
4351 colorswatch.dark overlay {
4352 color: @theme_selected_fg_color; }
4353 colorswatch.dark overlay:hover {
4354 border-color: rgba(0, 0, 0, 0.8); }
4355 colorswatch.dark overlay:backdrop {
4356 color: @theme_unfocused_bg_color; }
4357 colorswatch.light overlay {
4358 color: @theme_fg_color; }
4359 colorswatch.light overlay:hover {
4360 border-color: @osd_bg_color; }
4361 colorswatch.light overlay:backdrop {
4362 color: @theme_unfocused_fg_color; }
4363 colorswatch:drop(active) {
4364 box-shadow: none; }
4365 colorswatch:drop(active).light overlay {
4366 border-color: @success_color;
4367 box-shadow: inset 0 0 0 2px #3d7805, inset 0 0 0 1px @success_color; }
4368 colorswatch:drop(active).dark overlay {
4369 border-color: @success_color;
4370 box-shadow: inset 0 0 0 2px @borders, inset 0 0 0 1px @success_color; }
4371 colorswatch overlay {
4372 border: 1px solid @borders; }
4373 colorswatch overlay:hover {
4374 box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -1px rgba(0, 0, 0, 0.2); }
4375 colorswatch overlay:backdrop, colorswatch overlay:backdrop:hover {
4376 border-color: @borders;
4377 box-shadow: none; }
4378 colorswatch#add-color-button {
4379 border-radius: 0; }
4380 colorswatch#add-color-button:only-child {
4381 border-radius: 0; }
4382 colorswatch#add-color-button overlay {
4383 color: @theme_fg_color;
4384 outline-color: @outline_color;
4385 border-color: @borders;
4386 border-bottom-color: @borders;
4387 background-image: linear-gradient(to bottom, @theme_bg_color, @theme_bg_color);
4388 text-shadow: 0 1px @txt_shadow;
4389 -gtk-icon-shadow: 0 1px @txt_shadow;
4390 box-shadow: inset 0 1px rgba(255, 255, 255, 0.8); }
4391 colorswatch#add-color-button overlay:hover {
4392 color: @theme_fg_color;
4393 outline-color: @outline_color;
4394 border-color: @borders;
4395 border-bottom-color: @borders;
4396 background-image: linear-gradient(to bottom, @theme_selected_bg_color, @theme_selected_bg_color);
4397 text-shadow: 0 1px @txt_shadow;
4398 -gtk-icon-shadow: 0 1px @txt_shadow;
4399 box-shadow: inset 0 1px @theme_bg_color; }
4400 colorswatch#add-color-button overlay:backdrop {
4401 border-color: shade(@borders, 0.95);
4402 background-color: transparent;
4403 background-image: image(@theme_bg_color);
4404 text-shadow: none;
4405 -gtk-icon-shadow: none;
4406 box-shadow: inset 0 1px transparent; }
4407 colorswatch#add-color-button overlay:backdrop label, colorswatch#add-color-button overlay:backdrop {
4408 color: @insensitive_fg_color; }
4409 colorswatch:disabled {
4410 opacity: 0.5; }
4411 colorswatch:disabled overlay {
4412 border-color: rgba(0, 0, 0, 0.6);
4413 box-shadow: none; }
4414 row:selected colorswatch {
4415 box-shadow: 0 0 0 2px #ffffff; }
4416 colorswatch#editor-color-sample {
4417 border-radius: 0px; }
4418 colorswatch#editor-color-sample overlay {
4419 border-radius: 0px; }
4420
4421 colorchooser .popover.osd {
4422 border-radius: 0; }
4423
4424 /********
4425 * Misc *
4426 ********/
4427 .content-view {
4428 background-color: #d7d7d5; }
4429 .content-view:hover {
4430 -gtk-icon-effect: highlight; }
4431 .content-view:backdrop {
4432 background-color: #d7d7d5; }
4433
4434 .osd .scale-popup button.flat {
4435 border-style: none;
4436 border-radius: 0; }
4437 .scale-popup button:hover {
4438 background-color: rgba(46, 52, 54, 0.1);
4439 border-radius: 0; }
4440
4441 /**********************
4442 * Window Decorations *
4443 *********************/
4444 decoration {
4445 border-radius: 0;
4446 border-width: 0px;
4447 box-shadow: 0 3px 9px 1px @osd_bg_color, 0 0 0 1px rgba(0, 0, 0, 0.23);
4448 margin: 10px; }
4449 decoration:backdrop {
4450 box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18);
4451 transition: 200ms ease-out; }
4452 .maximized decoration, .fullscreen decoration, .tiled decoration {
4453 border-radius: 0; }
4454 .popup decoration {
4455 box-shadow: none; }
4456 .ssd decoration {
4457 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); }
4458 .csd.popup decoration {
4459 border-radius: 0;
4460 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
4461 tooltip.csd decoration {
4462 border-radius: 0;
4463 box-shadow: none; }
4464 messagedialog.csd decoration {
4465 border-radius: 0;
4466 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
4467 .solid-csd decoration {
4468 margin: 0;
4469 padding: 4px;
4470 background-color: @borders;
4471 border: solid 1px @borders;
4472 border-radius: 0;
4473 box-shadow: inset 0 0 0 3px @theme_bg_color, inset 0 1px rgba(255, 255, 255, 0.8); }
4474 .solid-csd decoration:backdrop {
4475 box-shadow: inset 0 0 0 3px @theme_bg_color, inset 0 1px rgba(255, 255, 255, 0.8); }
4476
4477 /* Server-side decoration (SSD) */
4478 .window-frame.ssd {
4479 border-radius: 0;
4480 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
4481 }
4482
4483 .window-frame.ssd,
4484 .window-frame.ssd:backdrop {
4485 background-color: @theme_bg_color; }
4486
4487 button.titlebutton {
4488 text-shadow: 0 1px @txt_shadow;
4489 -gtk-icon-shadow: 0 1px @txt_shadow; }
4490 button.titlebutton:backdrop {
4491 -gtk-icon-shadow: none; }
4492
4493 headerbar.selection-mode button.titlebutton,
4494 .titlebar.selection-mode button.titlebutton {
4495 text-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
4496 -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353); }
4497 headerbar.selection-mode button.titlebutton:backdrop,
4498 .titlebar.selection-mode button.titlebutton:backdrop {
4499 -gtk-icon-shadow: none; }
4500
4501 .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected,
4502 .view text:selected:focus,
4503 iconview text:selected:focus,
4504 textview text:selected:focus,
4505 .view text:selected,
4506 iconview text:selected,
4507 textview text:selected, .view text selection:focus, iconview text selection:focus, .view text selection, iconview text selection,
4508 textview text selection:focus,
4509 textview text selection, flowbox flowboxchild:selected, spinbutton:not(.vertical) selection:focus, spinbutton:not(.vertical) selection,
4510 entry selection:focus,
4511 entry selection, modelbutton.flat:selected, popover.background checkbutton:selected,
4512 popover.background radiobutton:selected,
4513 .menuitem.button.flat:selected, treeview.view:selected:focus, treeview.view:selected, row:selected, calendar:selected {
4514 background-color: @theme_selected_bg_color; }
4515 row:selected label, label:selected, .selection-mode button.titlebutton, .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected,
4516 .view text:selected:focus,
4517 iconview text:selected:focus,
4518 textview text:selected:focus,
4519 .view text:selected,
4520 iconview text:selected,
4521 textview text:selected, .view text selection:focus, iconview text selection:focus, .view text selection, iconview text selection,
4522 textview text selection:focus,
4523 textview text selection, flowbox flowboxchild:selected, spinbutton:not(.vertical) selection:focus, spinbutton:not(.vertical) selection,
4524 entry selection:focus,
4525 entry selection, modelbutton.flat:selected, popover.background checkbutton:selected,
4526 popover.background radiobutton:selected,
4527 .menuitem.button.flat:selected, treeview.view:selected:focus, treeview.view:selected, row:selected, calendar:selected {
4528 color: @theme_selected_fg_color;
4529 outline-color: rgba(255, 255, 255, 0.3); }
4530 row:selected label:disabled, label:disabled:selected, .selection-mode button.titlebutton:disabled, iconview:disabled:selected:focus, .view:disabled:selected, iconview:disabled:selected,
4531 iconview text:disabled:selected:focus,
4532 textview text:disabled:selected:focus,
4533 .view text:disabled:selected,
4534 iconview text:disabled:selected,
4535 textview text:disabled:selected, iconview text selection:disabled:focus, .view text selection:disabled, iconview text selection:disabled,
4536 textview text selection:disabled, flowbox flowboxchild:disabled:selected, label:disabled selection, spinbutton:not(.vertical) selection:disabled,
4537 entry selection:disabled, modelbutton.flat:disabled:selected, popover.background checkbutton:disabled:selected,
4538 popover.background radiobutton:disabled:selected,
4539 .menuitem.button.flat:disabled:selected, row:disabled:selected, calendar:disabled:selected {
4540 color: @theme_selected_bg_color; }
4541 row:selected label:backdrop, label:backdrop:selected, .selection-mode button.titlebutton:backdrop, iconview:backdrop:selected:focus, .view:backdrop:selected, iconview:backdrop:selected,
4542 iconview text:backdrop:selected:focus,
4543 textview text:backdrop:selected:focus,
4544 .view text:backdrop:selected,
4545 iconview text:backdrop:selected,
4546 textview text:backdrop:selected, iconview text selection:backdrop:focus, .view text selection:backdrop, iconview text selection:backdrop,
4547 textview text selection:backdrop, flowbox flowboxchild:backdrop:selected, label:backdrop selection, spinbutton:not(.vertical) selection:backdrop,
4548 entry selection:backdrop, modelbutton.flat:backdrop:selected, popover.background checkbutton:backdrop:selected,
4549 popover.background radiobutton:backdrop:selected,
4550 .menuitem.button.flat:backdrop:selected, row:backdrop:selected, calendar:backdrop:selected {
4551 color: @theme_unfocused_bg_color; }
4552 row:selected label:backdrop:disabled, label:backdrop:disabled:selected, .selection-mode button.titlebutton:backdrop:disabled, .view:backdrop:disabled:selected, iconview:backdrop:disabled:selected,
4553 .view text:backdrop:disabled:selected,
4554 iconview text:backdrop:disabled:selected,
4555 textview text:backdrop:disabled:selected, .view text selection:backdrop:disabled, iconview text selection:backdrop:disabled,
4556 textview text selection:backdrop:disabled, flowbox flowboxchild:backdrop:disabled:selected, label:disabled selection:backdrop, label:backdrop selection:disabled, spinbutton:not(.vertical) selection:backdrop:disabled,
4557 entry selection:backdrop:disabled, modelbutton.flat:backdrop:disabled:selected, popover.background checkbutton:backdrop:disabled:selected,
4558 popover.background radiobutton:backdrop:disabled:selected,
4559 .menuitem.button.flat:backdrop:disabled:selected, row:backdrop:disabled:selected, calendar:backdrop:disabled:selected {
4560 color: #7fb0e4; }
4561
4562 .monospace {
4563 font-family: monospace; }
4564
4565 /**********************
4566 * Touch Copy & Paste *
4567 *********************/
4568 cursor-handle {
4569 background-color: transparent;
4570 background-image: none;
4571 box-shadow: none;
4572 border-style: none; }
4573 cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) {
4574 -gtk-icon-source: -gtk-scaled(url("assets/text-select-start.png"), url("assets/[email protected]"));
4575 padding-left: 10px; }
4576 cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) {
4577 -gtk-icon-source: -gtk-scaled(url("assets/text-select-end.png"), url("assets/[email protected]"));
4578 padding-right: 10px; }
4579 cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) {
4580 -gtk-icon-source: -gtk-scaled(url("assets/slider-horiz-top.png"), url("assets/[email protected]")); }
4581 cursor-handle.top:hover:dir(ltr), cursor-handle.bottom:hover:dir(rtl) {
4582 -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-hover.png"), url("assets/[email protected]"));
4583 padding-left: 10px; }
4584 cursor-handle.bottom:hover:dir(ltr), cursor-handle.top:hover:dir(rtl) {
4585 -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-hover.png"), url("assets/[email protected]"));
4586 padding-right: 10px; }
4587 cursor-handle.insertion-cursor:hover:dir(ltr), cursor-handle.insertion-cursor:hover:dir(rtl) {
4588 -gtk-icon-source: -gtk-scaled(url("assets/slider-horiz-top-hover.png"), url("assets/[email protected]")); }
4589 cursor-handle.top:active:dir(ltr), cursor-handle.bottom:active:dir(rtl) {
4590 -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-active.png"), url("assets/[email protected]"));
4591 padding-left: 10px; }
4592 cursor-handle.bottom:active:dir(ltr), cursor-handle.top:active:dir(rtl) {
4593 -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-active.png"), url("assets/[email protected]"));
4594 padding-right: 10px; }
4595 cursor-handle.insertion-cursor:active:dir(ltr), cursor-handle.insertion-cursor:active:dir(rtl) {
4596 -gtk-icon-source: -gtk-scaled(url("assets/slider-horiz-top-active.png"), url("assets/[email protected]")); }
4597
4598 .context-menu {
4599 font: initial; }
4600
4601 button.circular {
4602 border-radius: 20px;
4603 -gtk-outline-radius: 20px; }
4604 button.circular label {
4605 padding: 0; }
4606
4607 .keycap {
4608 min-width: 20px;
4609 min-height: 25px;
4610 margin-top: 2px;
4611 padding-bottom: 3px;
4612 padding-left: 6px;
4613 padding-right: 6px;
4614 color: @theme_fg_color;
4615 background-color: @theme_bg_color;
4616 border: 1px solid;
4617 border-color: #cfcfcd;
4618 border-radius: 0;
4619 box-shadow: inset 0 -3px #ededec;
4620 font-size: smaller; }
4621 .keycap:backdrop {
4622 background-color: @theme_unfocused_bg_color;
4623 color: @insensitive_fg_color;
4624 transition: 200ms ease-out; }
4625
4626 *:drop(active):focus,
4627 *:drop(active) {
4628 border-color: @success_color;
4629 box-shadow: inset 0 0 0 1px @success_color;
4630 caret-color: @success_color; }
4631
4632 stackswitcher button.text-button {
4633 min-width: 100px; }
4634
4635 stackswitcher button.circular,
4636 stackswitcher button.text-button.circular {
4637 min-width: 32px;
4638 min-height: 32px;
4639 padding: 0; }