gtk.css
ASCII text, with very long lines (434)
1
@keyframes ripple_effect {
2
from {
3
background-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(alpha(currentColor, 0.08)), to(transparent));
4
}
5
to {
6
background-image: -gtk-gradient(radial, center center, 0, center center, 0.4, to(alpha(currentColor, 0.08)), to(transparent));
7
}
8
}
9
10
* {
11
padding: 0;
12
background-clip: padding-box;
13
-GtkToolButton-icon-spacing: 4;
14
-GtkTextView-error-underline-color: #EA4335;
15
-GtkCheckButton-indicator-size: 24;
16
-GtkCheckMenuItem-indicator-size: 16;
17
-GtkScrolledWindow-scrollbar-spacing: 0;
18
-GtkScrolledWindow-scrollbars-within-bevel: 1;
19
-GtkToolItemGroup-expander-size: 11;
20
-GtkExpander-expander-size: 16;
21
-GtkTreeView-expander-size: 11;
22
-GtkTreeView-horizontal-separator: 4;
23
-GtkMenu-horizontal-padding: 0;
24
-GtkMenu-vertical-padding: 0;
25
-GtkWidget-link-color: #4285F4;
26
-GtkWidget-visited-link-color: #E040FB;
27
-GtkWidget-focus-padding: 2;
28
-GtkWidget-focus-line-width: 1;
29
-GtkWidget-text-handle-width: 20;
30
-GtkWidget-text-handle-height: 20;
31
-GtkDialog-button-spacing: 4;
32
-GtkDialog-action-area-border: 0;
33
-GtkStatusbar-shadow-type: none;
34
outline-style: solid;
35
outline-width: 2px;
36
outline-color: alpha(currentColor, 0.24);
37
outline-offset: -4px;
38
outline-radius: 4px;
39
}
40
41
/***************
42
* Base States *
43
***************/
44
.background {
45
background-color: #F2F2F2;
46
color: rgba(0, 0, 0, 0.87);
47
}
48
49
/*
50
These wildcard seems unavoidable, need to investigate.
51
Wildcards are bad and troublesome, use them with care,
52
or better, just don't.
53
Everytime a wildcard is used a kitten dies, painfully.
54
*/
55
*:insensitive {
56
-gtk-image-effect: dim;
57
}
58
59
.gtkstyle-fallback {
60
background-color: #F2F2F2;
61
color: rgba(0, 0, 0, 0.87);
62
}
63
64
.gtkstyle-fallback:prelight {
65
background-color: #e5e5e5;
66
color: rgba(0, 0, 0, 0.87);
67
}
68
69
.gtkstyle-fallback:active {
70
background-color: #d9d9d9;
71
color: rgba(0, 0, 0, 0.87);
72
}
73
74
.gtkstyle-fallback:insensitive {
75
background-color: #F2F2F2;
76
color: rgba(0, 0, 0, 0.38);
77
}
78
79
.gtkstyle-fallback:selected {
80
background-color: #4285F4;
81
color: white;
82
}
83
84
.view {
85
background-color: #FFFFFF;
86
color: rgba(0, 0, 0, 0.87);
87
}
88
89
.view:hover, .view:active, .view:selected, GtkCalendar:selected {
90
border-radius: 4px;
91
}
92
93
.view:insensitive {
94
color: rgba(0, 0, 0, 0.38);
95
}
96
97
.rubberband, GtkTreeView.view.rubberband, .content-view.rubberband {
98
border: 1px solid #7BAAF7;
99
background-color: rgba(123, 170, 247, 0.3);
100
}
101
102
.label.separator {
103
color: rgba(0, 0, 0, 0.87);
104
}
105
106
.label:insensitive {
107
color: rgba(0, 0, 0, 0.38);
108
}
109
110
.dim-label, .label.separator, .titlebar .subtitle,
111
.header-bar .subtitle {
112
opacity: 0.6;
113
}
114
115
GtkAssistant .sidebar {
116
padding: 6px 0;
117
}
118
119
GtkAssistant .sidebar:dir(ltr) {
120
border-right: 1px solid rgba(0, 0, 0, 0.12);
121
}
122
123
GtkAssistant .sidebar:dir(rtl) {
124
border-left: 1px solid rgba(0, 0, 0, 0.12);
125
}
126
127
GtkAssistant .sidebar .label {
128
opacity: 0.5;
129
padding: 5px 12px 6px;
130
font-weight: 500;
131
}
132
133
GtkAssistant .sidebar .label.highlight {
134
opacity: 1;
135
}
136
137
GtkTextView {
138
background-color: #FAFAFA;
139
}
140
141
.grid-child {
142
padding: 4px;
143
border-radius: 4px;
144
}
145
146
/*********************
147
* Spinner Animation *
148
*********************/
149
@keyframes spin {
150
to {
151
-gtk-icon-transform: rotate(1turn);
152
}
153
}
154
155
.spinner {
156
background-color: blue;
157
background-image: none;
158
opacity: 0;
159
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
160
}
161
162
.spinner:active {
163
opacity: 1;
164
animation: spin 1s linear infinite;
165
}
166
167
.spinner:active:insensitive {
168
opacity: 0.5;
169
}
170
171
/****************
172
* Text Entries *
173
****************/
174
.entry {
175
padding: 7px 8px 8px;
176
border-radius: 4px;
177
transition: all 100ms cubic-bezier(0, 0, 0.2, 1);
178
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
179
background-color: #FFFFFF;
180
color: rgba(0, 0, 0, 0.87);
181
}
182
183
.entry:focus {
184
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
185
}
186
187
.entry:insensitive {
188
color: rgba(0, 0, 0, 0.38);
189
background-color: #FAFAFA;
190
}
191
192
.entry.flat, .notebook GtkGrid > .entry {
193
border-radius: 0;
194
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1);
195
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.001, to(#4285F4), to(transparent)) 0 0 0/0 0 0px;
196
border-radius: 0;
197
box-shadow: inset 0 -1px alpha(currentColor, 0.24);
198
background-color: transparent;
199
color: rgba(0, 0, 0, 0.87);
200
}
201
202
.entry.flat:focus, .notebook GtkGrid > .entry:focus {
203
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(#4285F4), to(transparent)) 0 0 2/0 0 2px;
204
box-shadow: inset 0 -2px #4285F4;
205
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0 225ms;
206
}
207
208
.entry.flat:insensitive, .notebook GtkGrid > .entry:insensitive {
209
box-shadow: inset 0 -1px alpha(currentColor, 0.24);
210
background-color: transparent;
211
color: rgba(0, 0, 0, 0.38);
212
}
213
214
.entry.image.left {
215
padding-left: 2px;
216
}
217
218
.entry.image.right {
219
padding-right: 2px;
220
}
221
222
.entry.progressbar, GtkTreeView.view.progressbar, GtkTreeView.view.trough {
223
margin: 2px;
224
border-style: none none solid;
225
border-width: 2px;
226
border-color: #4285F4;
227
border-radius: 0;
228
box-shadow: none;
229
background-color: transparent;
230
background-image: none;
231
}
232
233
.linked > .entry.flat, .notebook GtkGrid.linked > .entry,
234
.linked.vertical > .entry.flat, .notebook
235
GtkGrid.linked.vertical > .entry {
236
border-radius: 0;
237
}
238
239
.entry.error {
240
transition: all 100ms cubic-bezier(0, 0, 0.2, 1);
241
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
242
background-color: #EA4335;
243
color: white;
244
}
245
246
.entry.error:focus {
247
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
248
}
249
250
.entry.error:insensitive {
251
color: rgba(0, 0, 0, 0.38);
252
background-color: #FAFAFA;
253
}
254
255
.entry.error.flat, .notebook GtkGrid > .error.entry {
256
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1);
257
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.001, to(#EA4335), to(transparent)) 0 0 0/0 0 0px;
258
border-radius: 0;
259
box-shadow: inset 0 -1px #EA4335;
260
background-color: transparent;
261
color: rgba(0, 0, 0, 0.87);
262
}
263
264
.entry.error.flat:focus, .notebook GtkGrid > .error.entry:focus {
265
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(#EA4335), to(transparent)) 0 0 2/0 0 2px;
266
box-shadow: inset 0 -2px #EA4335;
267
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0 225ms;
268
}
269
270
.entry.error.flat:insensitive, .notebook GtkGrid > .error.entry:insensitive {
271
box-shadow: inset 0 -1px alpha(currentColor, 0.24);
272
background-color: transparent;
273
color: rgba(0, 0, 0, 0.38);
274
}
275
276
.entry.warning {
277
transition: all 100ms cubic-bezier(0, 0, 0.2, 1);
278
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
279
background-color: #FBBC05;
280
color: white;
281
}
282
283
.entry.warning:focus {
284
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
285
}
286
287
.entry.warning:insensitive {
288
color: rgba(0, 0, 0, 0.38);
289
background-color: #FAFAFA;
290
}
291
292
.entry.warning.flat, .notebook GtkGrid > .warning.entry {
293
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1);
294
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.001, to(#FBBC05), to(transparent)) 0 0 0/0 0 0px;
295
border-radius: 0;
296
box-shadow: inset 0 -1px #FBBC05;
297
background-color: transparent;
298
color: rgba(0, 0, 0, 0.87);
299
}
300
301
.entry.warning.flat:focus, .notebook GtkGrid > .warning.entry:focus {
302
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(#FBBC05), to(transparent)) 0 0 2/0 0 2px;
303
box-shadow: inset 0 -2px #FBBC05;
304
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0 225ms;
305
}
306
307
.entry.warning.flat:insensitive, .notebook GtkGrid > .warning.entry:insensitive {
308
box-shadow: inset 0 -1px alpha(currentColor, 0.24);
309
background-color: transparent;
310
color: rgba(0, 0, 0, 0.38);
311
}
312
313
.entry.image:not(:hover):not(:active) {
314
color: alpha(currentColor, 0.7);
315
}
316
317
.entry.image:insensitive {
318
color: alpha(currentColor, 0.5);
319
}
320
321
GtkTreeView .entry:not(:selected), GtkTreeView .entry:not(:selected):focus {
322
padding: 2px;
323
border-image: none;
324
border-radius: 0;
325
box-shadow: none;
326
background-color: #FFFFFF;
327
}
328
329
/***********
330
* Buttons *
331
***********/
332
@keyframes needs_attention {
333
from {
334
background-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(#01A299), to(transparent));
335
}
336
to {
337
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#01A299), to(transparent));
338
}
339
}
340
341
342
.button {
343
padding: 7px 10px 8px;
344
border-radius: 4px;
345
background-repeat: no-repeat;
346
background-position: center;
347
background-size: 90px 90px;
348
font-weight: 500;
349
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-image 900ms cubic-bezier(0, 0, 0.2, 1);
350
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), inset 0 0 0 9999px transparent;
351
background-color: #FAFAFA;
352
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(transparent), to(transparent));
353
color: rgba(0, 0, 0, 0.62);
354
}
355
356
357
.button:hover {
358
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23), inset 0 0 0 9999px transparent;
359
color: rgba(0, 0, 0, 0.87);
360
}
361
362
363
.button:active {
364
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-image 0;
365
animation: ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
366
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23), inset 0 0 0 9999px alpha(currentColor, 0.08);
367
color: rgba(0, 0, 0, 0.87);
368
}
369
370
371
.button:insensitive {
372
box-shadow: none;
373
background-color: alpha(currentColor, 0.24);
374
color: rgba(0, 0, 0, 0.26);
375
}
376
377
378
.button:insensitive > .label {
379
color: inherit;
380
}
381
382
383
.button:checked {
384
background-color: #4285F4;
385
color: white;
386
}
387
388
389
.button:checked:insensitive {
390
background-color: rgba(66, 133, 244, 0.3);
391
color: rgba(66, 133, 244, 0.5);
392
}
393
394
395
.button:checked:insensitive > .label {
396
color: inherit;
397
}
398
399
.spinbutton .button, .popover .linked > .button, .notebook tab .button, GtkCalendar.button, .message-dialog.csd .dialog-action-area .button, .sidebar-button.button, .toolbar:not(.search-bar) .button, .titlebar .button:not(.suggested-action):not(.destructive-action),
400
.header-bar .button:not(.suggested-action):not(.destructive-action), .frame.action-bar .button:not(.suggested-action):not(.destructive-action), .app-notification .button,
401
.app-notification.frame .button,
402
.button.flat {
403
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1), background-image 900ms cubic-bezier(0, 0, 0.2, 1);
404
box-shadow: inset 0 0 0 9999px transparent;
405
background-color: transparent;
406
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(transparent), to(transparent));
407
color: alpha(currentColor, 0.7);
408
}
409
410
.spinbutton .button:hover, .popover .linked > .button:hover, .notebook tab .button:hover, GtkCalendar.button:hover, .message-dialog.csd .dialog-action-area .button:hover, .sidebar-button.button:hover, .toolbar:not(.search-bar) .button:hover, .titlebar .button:hover:not(.suggested-action):not(.destructive-action),
411
.header-bar .button:hover:not(.suggested-action):not(.destructive-action), .frame.action-bar .button:hover:not(.suggested-action):not(.destructive-action), .app-notification .button:hover,
412
.button.flat:hover {
413
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
414
color: currentColor;
415
}
416
417
.spinbutton .button:active, .popover .linked > .button:active, .notebook tab .button:active, GtkCalendar.button:active, .message-dialog.csd .dialog-action-area .button:active, .sidebar-button.button:active, .toolbar:not(.search-bar) .button:active, .titlebar .button:active:not(.suggested-action):not(.destructive-action),
418
.header-bar .button:active:not(.suggested-action):not(.destructive-action), .frame.action-bar .button:active:not(.suggested-action):not(.destructive-action), .app-notification .button:active,
419
.button.flat:active {
420
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1), background-image 0;
421
animation: ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
422
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
423
color: currentColor;
424
}
425
426
.spinbutton .button:insensitive, .popover .linked > .button:insensitive, .notebook tab .button:insensitive, GtkCalendar.button:insensitive, .message-dialog.csd .dialog-action-area .button:insensitive, .sidebar-button.button:insensitive, .toolbar:not(.search-bar) .button:insensitive, .titlebar .button:insensitive:not(.suggested-action):not(.destructive-action),
427
.header-bar .button:insensitive:not(.suggested-action):not(.destructive-action), .frame.action-bar .button:insensitive:not(.suggested-action):not(.destructive-action), .app-notification .button:insensitive,
428
.button.flat:insensitive {
429
box-shadow: none;
430
background-color: transparent;
431
color: alpha(currentColor, 0.3);
432
}
433
434
.spinbutton .button:insensitive > .label, .popover .linked > .button:insensitive > .label, .notebook tab .button:insensitive > .label, GtkCalendar.button:insensitive > .label, .message-dialog.csd .dialog-action-area .button:insensitive > .label, .sidebar-button.button:insensitive > .label, .toolbar:not(.search-bar) .button:insensitive > .label, .titlebar .button:insensitive:not(.suggested-action):not(.destructive-action) > .label,
435
.header-bar .button:insensitive:not(.suggested-action):not(.destructive-action) > .label, .frame.action-bar .button:insensitive:not(.suggested-action):not(.destructive-action) > .label, .app-notification .button:insensitive > .label,
436
.button.flat:insensitive > .label {
437
color: inherit;
438
}
439
440
.toolbar:not(.search-bar) .button:checked, .titlebar .button:checked:not(.suggested-action):not(.destructive-action),
441
.header-bar .button:checked:not(.suggested-action):not(.destructive-action), .frame.action-bar .button:checked:not(.suggested-action):not(.destructive-action), .app-notification .button:checked,
442
.button.flat:checked {
443
background-color: alpha(currentColor, 0.24);
444
color: currentColor;
445
}
446
447
.toolbar:not(.search-bar) .button:checked:insensitive, .titlebar .button:checked:insensitive:not(.suggested-action):not(.destructive-action),
448
.header-bar .button:checked:insensitive:not(.suggested-action):not(.destructive-action), .frame.action-bar .button:checked:insensitive:not(.suggested-action):not(.destructive-action), .app-notification .button:checked:insensitive,
449
.button.flat:checked:insensitive {
450
background-color: alpha(currentColor, 0.24);
451
color: alpha(currentColor, 0.5);
452
}
453
454
.toolbar:not(.search-bar) .button:checked:insensitive > .label, .titlebar .button:checked:insensitive:not(.suggested-action):not(.destructive-action) > .label,
455
.header-bar .button:checked:insensitive:not(.suggested-action):not(.destructive-action) > .label, .frame.action-bar .button:checked:insensitive:not(.suggested-action):not(.destructive-action) > .label, .app-notification .button:checked:insensitive > .label,
456
.button.flat:checked:insensitive > .label {
457
color: inherit;
458
}
459
460
461
.button.osd.image-button {
462
padding: 16px;
463
background-size: 60px 60px;
464
}
465
466
467
.button.osd:insensitive {
468
opacity: 0;
469
}
470
471
472
.button.suggested-action {
473
background-color: #01A299;
474
color: white;
475
}
476
477
478
.button.suggested-action:insensitive {
479
box-shadow: none;
480
background-color: alpha(currentColor, 0.24);
481
color: rgba(0, 0, 0, 0.38);
482
}
483
484
485
.button.suggested-action:insensitive > .label {
486
color: inherit;
487
}
488
489
490
.button.suggested-action:checked {
491
background-color: #4dbeb8;
492
}
493
494
.toolbar:not(.search-bar) .suggested-action.button, .titlebar .suggested-action.button:not(.suggested-action):not(.destructive-action),
495
.header-bar .suggested-action.button:not(.suggested-action):not(.destructive-action), .frame.action-bar .suggested-action.button:not(.suggested-action):not(.destructive-action), .app-notification .suggested-action.button,
496
.button.suggested-action.flat {
497
background-color: transparent;
498
color: #01A299;
499
}
500
501
.toolbar:not(.search-bar) .suggested-action.button:insensitive, .titlebar .suggested-action.button:insensitive:not(.suggested-action):not(.destructive-action),
502
.header-bar .suggested-action.button:insensitive:not(.suggested-action):not(.destructive-action), .frame.action-bar .suggested-action.button:insensitive:not(.suggested-action):not(.destructive-action), .app-notification .suggested-action.button:insensitive,
503
.button.suggested-action.flat:insensitive {
504
box-shadow: none;
505
background-color: transparent;
506
color: alpha(currentColor, 0.5);
507
}
508
509
.toolbar:not(.search-bar) .suggested-action.button:insensitive > .label, .titlebar .suggested-action.button:insensitive:not(.suggested-action):not(.destructive-action) > .label,
510
.header-bar .suggested-action.button:insensitive:not(.suggested-action):not(.destructive-action) > .label, .frame.action-bar .suggested-action.button:insensitive:not(.suggested-action):not(.destructive-action) > .label, .app-notification .suggested-action.button:insensitive > .label,
511
.button.suggested-action.flat:insensitive > .label {
512
color: inherit;
513
}
514
515
.toolbar:not(.search-bar) .suggested-action.button:checked, .titlebar .suggested-action.button:checked:not(.suggested-action):not(.destructive-action),
516
.header-bar .suggested-action.button:checked:not(.suggested-action):not(.destructive-action), .frame.action-bar .suggested-action.button:checked:not(.suggested-action):not(.destructive-action), .app-notification .suggested-action.button:checked,
517
.button.suggested-action.flat:checked {
518
background-color: alpha(currentColor, 0.24);
519
}
520
521
522
.button.destructive-action {
523
background-color: #EA4335;
524
color: white;
525
}
526
527
528
.button.destructive-action:insensitive {
529
box-shadow: none;
530
background-color: alpha(currentColor, 0.24);
531
color: rgba(0, 0, 0, 0.38);
532
}
533
534
535
.button.destructive-action:insensitive > .label {
536
color: inherit;
537
}
538
539
540
.button.destructive-action:checked {
541
background-color: #f07b72;
542
}
543
544
.toolbar:not(.search-bar) .destructive-action.button, .titlebar .destructive-action.button:not(.suggested-action):not(.destructive-action),
545
.header-bar .destructive-action.button:not(.suggested-action):not(.destructive-action), .frame.action-bar .destructive-action.button:not(.suggested-action):not(.destructive-action), .app-notification .destructive-action.button,
546
.button.destructive-action.flat {
547
background-color: transparent;
548
color: #EA4335;
549
}
550
551
.toolbar:not(.search-bar) .destructive-action.button:insensitive, .titlebar .destructive-action.button:insensitive:not(.suggested-action):not(.destructive-action),
552
.header-bar .destructive-action.button:insensitive:not(.suggested-action):not(.destructive-action), .frame.action-bar .destructive-action.button:insensitive:not(.suggested-action):not(.destructive-action), .app-notification .destructive-action.button:insensitive,
553
.button.destructive-action.flat:insensitive {
554
box-shadow: none;
555
background-color: transparent;
556
color: alpha(currentColor, 0.5);
557
}
558
559
.toolbar:not(.search-bar) .destructive-action.button:insensitive > .label, .titlebar .destructive-action.button:insensitive:not(.suggested-action):not(.destructive-action) > .label,
560
.header-bar .destructive-action.button:insensitive:not(.suggested-action):not(.destructive-action) > .label, .frame.action-bar .destructive-action.button:insensitive:not(.suggested-action):not(.destructive-action) > .label, .app-notification .destructive-action.button:insensitive > .label,
561
.button.destructive-action.flat:insensitive > .label {
562
color: inherit;
563
}
564
565
.toolbar:not(.search-bar) .destructive-action.button:checked, .titlebar .destructive-action.button:checked:not(.suggested-action):not(.destructive-action),
566
.header-bar .destructive-action.button:checked:not(.suggested-action):not(.destructive-action), .frame.action-bar .destructive-action.button:checked:not(.suggested-action):not(.destructive-action), .app-notification .destructive-action.button:checked,
567
.button.destructive-action.flat:checked {
568
background-color: alpha(currentColor, 0.24);
569
}
570
571
572
.button.text-button,
573
GtkScaleButton.button.text-button,
574
GtkVolumeButton.button.text-button {
575
padding-left: 16px;
576
padding-right: 16px;
577
}
578
579
580
.button.text-button.image-button {
581
padding: 7px 10px 8px;
582
outline-radius: 4px;
583
border-radius: 4px;
584
background-size: 90px 90px;
585
}
586
587
588
.button.text-button.image-button .label:first-child {
589
padding-left: 6px;
590
}
591
592
593
.button.text-button.image-button .label:last-child {
594
padding-right: 6px;
595
}
596
597
.stack-switcher >
598
.button {
599
outline-offset: -4px;
600
}
601
602
.stack-switcher >
603
.button > .label {
604
padding-left: 6px;
605
padding-right: 6px;
606
}
607
608
.stack-switcher >
609
.button > GtkImage {
610
padding-left: 6px;
611
padding-right: 6px;
612
padding-top: 3px;
613
padding-bottom: 3px;
614
}
615
616
617
.stack-switcher >
618
.button.text-button {
619
padding: 7px 10px 8px;
620
}
621
622
.stack-switcher >
623
.button.image-button {
624
padding: 7px 4px;
625
}
626
627
.stack-switcher >
628
.button.needs-attention:checked > .label,
629
.stack-switcher >
630
.button.needs-attention:checked > GtkImage {
631
animation: none;
632
background-image: none;
633
}
634
635
.primary-toolbar
636
.button {
637
icon-shadow: none;
638
}
639
640
.toolbar:not(.search-bar) .linked > .button, .titlebar .linked > .button:not(.suggested-action):not(.destructive-action),
641
.header-bar .linked > .button:not(.suggested-action):not(.destructive-action), .frame.action-bar .linked > .button:not(.suggested-action):not(.destructive-action), .app-notification .linked > .button, .toolbar:not(.search-bar)
642
.linked.vertical > .button, .titlebar
643
.linked.vertical > .button:not(.suggested-action):not(.destructive-action),
644
.header-bar
645
.linked.vertical > .button:not(.suggested-action):not(.destructive-action), .frame.action-bar
646
.linked.vertical > .button:not(.suggested-action):not(.destructive-action), .app-notification
647
.linked.vertical > .button, .linked >
648
.button.flat,
649
.linked.vertical >
650
.button.flat {
651
border-radius: 4px;
652
}
653
654
.toolbar:not(.search-bar) .linked > .image-button.button, .titlebar .linked > .image-button.button:not(.suggested-action):not(.destructive-action),
655
.header-bar .linked > .image-button.button:not(.suggested-action):not(.destructive-action), .frame.action-bar .linked > .image-button.button:not(.suggested-action):not(.destructive-action), .app-notification .linked > .image-button.button, .toolbar:not(.search-bar)
656
.linked.vertical > .image-button.button, .titlebar
657
.linked.vertical > .image-button.button:not(.suggested-action):not(.destructive-action),
658
.header-bar
659
.linked.vertical > .image-button.button:not(.suggested-action):not(.destructive-action), .frame.action-bar
660
.linked.vertical > .image-button.button:not(.suggested-action):not(.destructive-action), .app-notification
661
.linked.vertical > .image-button.button, .linked >
662
.button.flat.image-button,
663
.linked.vertical >
664
.button.flat.image-button {
665
outline-radius: 9999px;
666
border-radius: 9999px;
667
}
668
669
.toolbar:not(.search-bar) .linked > .text-button.image-button.button, .titlebar .linked > .text-button.image-button.button:not(.suggested-action):not(.destructive-action),
670
.header-bar .linked > .text-button.image-button.button:not(.suggested-action):not(.destructive-action), .frame.action-bar .linked > .text-button.image-button.button:not(.suggested-action):not(.destructive-action), .app-notification .linked > .text-button.image-button.button, .toolbar:not(.search-bar)
671
.linked.vertical > .text-button.image-button.button, .titlebar
672
.linked.vertical > .text-button.image-button.button:not(.suggested-action):not(.destructive-action),
673
.header-bar
674
.linked.vertical > .text-button.image-button.button:not(.suggested-action):not(.destructive-action), .frame.action-bar
675
.linked.vertical > .text-button.image-button.button:not(.suggested-action):not(.destructive-action), .app-notification
676
.linked.vertical > .text-button.image-button.button,
677
.linked >
678
.button.flat.text-button.image-button,
679
.linked.vertical >
680
.button.flat.text-button.image-button {
681
outline-radius: 4px;
682
border-radius: 4px;
683
}
684
685
686
.button.image-button, .inline-toolbar .button, .spinbutton .button, .notebook tab .button, GtkScaleButton.button,
687
GtkVolumeButton.button, .header-bar .button.titlebutton,
688
.titlebar .button.titlebutton, .nautilus-circular-button {
689
padding: 10px;
690
outline-radius: 100px;
691
border-radius: 100px;
692
background-size: 45px 45px;
693
}
694
695
.stack-switcher >
696
.button.needs-attention > .label,
697
.stack-switcher >
698
.button.needs-attention > GtkImage, .sidebar-item.needs-attention > .label {
699
animation: needs_attention 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
700
background-repeat: no-repeat;
701
background-position: right 3px;
702
background-size: 6px 6px;
703
}
704
705
.stack-switcher >
706
.button.needs-attention > .label:dir(rtl),
707
.stack-switcher >
708
.button.needs-attention > GtkImage:dir(rtl), .sidebar-item.needs-attention > .label:dir(rtl) {
709
background-position: left 3px;
710
}
711
712
.linked > .entry, .linked > .button, .linked > GtkComboBox > .the-button-in-the-combobox:dir(ltr), .linked > GtkComboBox > .the-button-in-the-combobox:dir(rtl),
713
.linked > GtkComboBoxText > .the-button-in-the-combobox:dir(ltr),
714
.linked > GtkComboBoxText > .the-button-in-the-combobox:dir(rtl) {
715
outline-radius: 4px;
716
border-radius: 0;
717
}
718
719
.linked > .entry:first-child, .linked > .button:first-child, .linked > GtkComboBox:first-child > .the-button-in-the-combobox,
720
.linked > GtkComboBoxText:first-child > .the-button-in-the-combobox {
721
border-top-left-radius: 4px;
722
border-bottom-left-radius: 4px;
723
}
724
725
.linked > .entry:last-child, .linked > .button:last-child, .linked > GtkComboBox:last-child > .the-button-in-the-combobox,
726
.linked > GtkComboBoxText:last-child > .the-button-in-the-combobox {
727
border-top-right-radius: 4px;
728
border-bottom-right-radius: 4px;
729
}
730
731
.linked > .entry:only-child, .linked > .button:only-child, .linked > GtkComboBox:only-child > .the-button-in-the-combobox,
732
.linked > GtkComboBoxText:only-child > .the-button-in-the-combobox {
733
border-radius: 4px;
734
}
735
736
.linked.vertical > .entry, .linked.vertical > .button, .linked.vertical > GtkComboBoxText > .the-button-in-the-combobox,
737
.linked.vertical > GtkComboBox > .the-button-in-the-combobox {
738
outline-radius: 4px;
739
border-radius: 0;
740
}
741
742
.linked.vertical > .entry:first-child, .linked.vertical > .button:first-child, .linked.vertical > GtkComboBoxText:first-child > .the-button-in-the-combobox,
743
.linked.vertical > GtkComboBox:first-child > .the-button-in-the-combobox {
744
border-top-left-radius: 4px;
745
border-top-right-radius: 4px;
746
}
747
748
.linked.vertical > .entry:last-child, .linked.vertical > .button:last-child, .linked.vertical > GtkComboBoxText:last-child > .the-button-in-the-combobox,
749
.linked.vertical > GtkComboBox:last-child > .the-button-in-the-combobox {
750
border-bottom-left-radius: 4px;
751
border-bottom-right-radius: 4px;
752
}
753
754
.linked.vertical > .entry:only-child, .linked.vertical > .button:only-child, .linked.vertical > GtkComboBoxText:only-child > .the-button-in-the-combobox,
755
.linked.vertical > GtkComboBox:only-child > .the-button-in-the-combobox {
756
border-radius: 4px;
757
}
758
759
/* menu buttons */
760
GtkColorButton.button {
761
padding: 7px 8px 8px;
762
}
763
764
GtkColorButton.button GtkColorSwatch:first-child:last-child {
765
border-radius: 4px;
766
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
767
}
768
769
/*********
770
* Links *
771
*********/
772
*:link, .button:link, .button:visited {
773
color: #4285F4;
774
}
775
776
*:link:hover, .button:hover:link, .button:hover:visited, *:link:active, .button:active:link, .button:active:visited {
777
color: #4285F4;
778
}
779
780
*:link:visited, .button:visited {
781
color: #E040FB;
782
}
783
784
*:link:visited:hover, .button:visited:hover, *:link:visited:active, .button:visited:active {
785
color: #E040FB;
786
}
787
788
*:selected *:link:visited, *:selected .button:visited {
789
color: #b3cefb;
790
}
791
792
*:link:selected, .button:selected:link, .button:selected:visited, .titlebar.selection-mode .subtitle:link,
793
.header-bar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited {
794
color: #d9e7fd;
795
}
796
797
.button:link > .label, .button:visited > .label {
798
text-decoration-line: underline;
799
}
800
801
/*****************
802
* GtkSpinButton *
803
*****************/
804
.spinbutton .button {
805
padding: 4px;
806
border: solid 6px transparent;
807
color: rgba(0, 0, 0, 0.54);
808
}
809
810
.spinbutton .button:hover, .spinbutton .button:active {
811
color: rgba(0, 0, 0, 0.87);
812
}
813
814
.spinbutton .button:insensitive {
815
color: rgba(0, 0, 0, 0.26);
816
}
817
818
.spinbutton .button:active {
819
background-color: alpha(currentColor, 0.24);
820
}
821
822
.spinbutton.vertical .button {
823
padding-top: 10px;
824
padding-bottom: 10px;
825
border: none;
826
}
827
828
.spinbutton.vertical .button:first-child {
829
border-radius: 4px 4px 0 0;
830
}
831
832
.spinbutton.vertical .button:last-child {
833
border-radius: 0 0 4px 4px;
834
}
835
836
/**************
837
* ComboBoxes *
838
**************/
839
GtkComboBox {
840
-GtkComboBox-arrow-scaling: 0.5;
841
-GtkComboBox-shadow-type: none;
842
}
843
844
GtkComboBox > .the-button-in-the-combobox {
845
padding: 5px 6px 6px;
846
}
847
848
GtkComboBox .menu {
849
padding: 2px 0;
850
}
851
852
GtkComboBox .menu .menuitem {
853
padding: 5px 6px 6px;
854
}
855
856
GtkComboBox .separator.vertical {
857
-GtkWidget-wide-separators: true;
858
}
859
860
GtkComboBox.combobox-entry .entry:dir(ltr) {
861
border-top-right-radius: 0;
862
border-bottom-right-radius: 0;
863
}
864
865
GtkComboBox.combobox-entry .entry:dir(rtl) {
866
border-top-left-radius: 0;
867
border-bottom-left-radius: 0;
868
}
869
870
GtkComboBox.combobox-entry .button {
871
padding: 10px;
872
}
873
874
GtkComboBox.combobox-entry .button:dir(ltr) {
875
border-top-left-radius: 0;
876
border-bottom-left-radius: 0;
877
}
878
879
GtkComboBox.combobox-entry .button:dir(rtl) {
880
border-top-right-radius: 0;
881
border-bottom-right-radius: 0;
882
}
883
884
/************
885
* Toolbars *
886
************/
887
.toolbar {
888
-GtkWidget-window-dragging: true;
889
padding: 4px;
890
background-color: #F2F2F2;
891
}
892
893
.osd .toolbar, .toolbar.osd, .app-notification,
894
.app-notification.frame {
895
transition: border-image 100ms cubic-bezier(0, 0, 0.2, 1);
896
padding: 6px;
897
border-style: solid;
898
border-width: 8px;
899
border-image: -gtk-scaled(url("assets/box-shadow.png"), url("assets/box-shadow@2.png")) 10/10px stretch;
900
border-radius: 4px;
901
background-color: #FFFFFF;
902
}
903
904
.osd .toolbar:backdrop, .toolbar.osd:backdrop, .app-notification:backdrop {
905
border-image: -gtk-scaled(url("assets/box-shadow-backdrop.png"), url("assets/box-shadow-backdrop@2.png")) 10/10px stretch;
906
}
907
908
.inline-toolbar {
909
padding: 6px;
910
border-style: solid;
911
border-width: 0 1px 1px;
912
border-color: rgba(0, 0, 0, 0.12);
913
background-color: #FAFAFA;
914
}
915
916
.search-bar, .location-bar {
917
padding: 6px;
918
border-style: solid;
919
border-width: 0 0 1px;
920
border-color: rgba(0, 0, 0, 0.12);
921
background-color: #F2F2F2;
922
background-clip: border-box;
923
}
924
925
/***************
926
* Header bars *
927
***************/
928
.titlebar,
929
.header-bar {
930
transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1);
931
padding: 6px;
932
border-radius: 4px 4px 0 0;
933
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.1);
934
background-color: #383838;
935
color: white;
936
}
937
938
.titlebar:backdrop,
939
.header-bar:backdrop {
940
color: rgba(255, 255, 255, 0.7);
941
}
942
943
.titlebar .title,
944
.header-bar .title {
945
transition: all 100ms cubic-bezier(0, 0, 0.2, 1);
946
padding-left: 12px;
947
padding-right: 12px;
948
font-weight: bold;
949
}
950
951
.titlebar .subtitle,
952
.header-bar .subtitle {
953
transition: all 100ms cubic-bezier(0, 0, 0.2, 1);
954
padding-left: 12px;
955
padding-right: 12px;
956
font-size: smaller;
957
}
958
959
.titlebar .header-bar-separator,
960
.titlebar > GtkBox > .separator.vertical,
961
.header-bar .header-bar-separator,
962
.header-bar > GtkBox > .separator.vertical {
963
-GtkWidget-wide-separators: true;
964
-GtkWidget-separator-width: 1px;
965
border-style: solid;
966
border-width: 0 1px;
967
border-color: rgba(0, 0, 0, 0.12);
968
}
969
970
.titlebar .button:not(.suggested-action):not(.destructive-action),
971
.header-bar .button:not(.suggested-action):not(.destructive-action) {
972
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.001, to(currentColor), to(transparent)) 0 0 0/0 0 0px;
973
}
974
975
.titlebar .button:not(.suggested-action):not(.destructive-action):checked,
976
.header-bar .button:not(.suggested-action):not(.destructive-action):checked {
977
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(currentColor), to(transparent)) 0 0 2/0 0 2px;
978
}
979
980
.titlebar .button:not(.suggested-action):not(.destructive-action):checked, .titlebar .button:not(.suggested-action):not(.destructive-action):checked:insensitive,
981
.header-bar .button:not(.suggested-action):not(.destructive-action):checked,
982
.header-bar .button:not(.suggested-action):not(.destructive-action):checked:insensitive {
983
background-color: transparent;
984
}
985
986
.titlebar .button.suggested-action:insensitive, .titlebar .button.destructive-action:insensitive,
987
.header-bar .button.suggested-action:insensitive,
988
.header-bar .button.destructive-action:insensitive {
989
color: alpha(currentColor, 0.5);
990
}
991
992
.titlebar .button.suggested-action:insensitive > .label, .titlebar .button.destructive-action:insensitive > .label,
993
.header-bar .button.suggested-action:insensitive > .label,
994
.header-bar .button.destructive-action:insensitive > .label {
995
color: inherit;
996
}
997
998
.titlebar.selection-mode,
999
.header-bar.selection-mode {
1000
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.2);
1001
background-color: #4285F4;
1002
color: white;
1003
}
1004
1005
.titlebar.selection-mode:backdrop,
1006
.header-bar.selection-mode:backdrop {
1007
color: rgba(255, 255, 255, 0.7);
1008
}
1009
1010
.titlebar.selection-mode .button,
1011
.header-bar.selection-mode .button {
1012
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.001, to(white), to(transparent)) 0 0 0/0 0 0px;
1013
color: rgba(255, 255, 255, 0.7);
1014
}
1015
1016
.titlebar.selection-mode .button:hover, .titlebar.selection-mode .button:active, .titlebar.selection-mode .button:checked,
1017
.header-bar.selection-mode .button:hover,
1018
.header-bar.selection-mode .button:active,
1019
.header-bar.selection-mode .button:checked {
1020
color: white;
1021
}
1022
1023
.titlebar.selection-mode .button:checked,
1024
.header-bar.selection-mode .button:checked {
1025
border-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(white), to(transparent)) 0 0 2/0 0 2px;
1026
color: white;
1027
}
1028
1029
.titlebar.selection-mode .button:checked:insensitive,
1030
.header-bar.selection-mode .button:checked:insensitive {
1031
color: rgba(255, 255, 255, 0.5);
1032
}
1033
1034
.titlebar.selection-mode .button:checked:insensitive > .label,
1035
.header-bar.selection-mode .button:checked:insensitive > .label {
1036
color: inherit;
1037
}
1038
1039
.titlebar.selection-mode .button.suggested-action,
1040
.header-bar.selection-mode .button.suggested-action {
1041
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-image 900ms cubic-bezier(0, 0, 0.2, 1);
1042
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), inset 0 0 0 9999px transparent;
1043
background-color: #FAFAFA;
1044
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(transparent), to(transparent));
1045
color: rgba(0, 0, 0, 0.62);
1046
}
1047
1048
.titlebar.selection-mode .button.suggested-action:hover,
1049
.header-bar.selection-mode .button.suggested-action:hover {
1050
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23), inset 0 0 0 9999px transparent;
1051
color: rgba(0, 0, 0, 0.87);
1052
}
1053
1054
.titlebar.selection-mode .button.suggested-action:active,
1055
.header-bar.selection-mode .button.suggested-action:active {
1056
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-image 0;
1057
animation: ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
1058
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23), inset 0 0 0 9999px alpha(currentColor, 0.08);
1059
color: rgba(0, 0, 0, 0.87);
1060
}
1061
1062
.titlebar.selection-mode .button.suggested-action:insensitive,
1063
.header-bar.selection-mode .button.suggested-action:insensitive {
1064
box-shadow: none;
1065
background-color: alpha(currentColor, 0.24);
1066
color: rgba(0, 0, 0, 0.26);
1067
}
1068
1069
.titlebar.selection-mode .button.suggested-action:insensitive > .label,
1070
.header-bar.selection-mode .button.suggested-action:insensitive > .label {
1071
color: inherit;
1072
}
1073
1074
.titlebar.selection-mode .selection-menu,
1075
.header-bar.selection-mode .selection-menu {
1076
padding-left: 16px;
1077
padding-right: 16px;
1078
}
1079
1080
.titlebar.selection-mode .selection-menu GtkArrow,
1081
.header-bar.selection-mode .selection-menu GtkArrow {
1082
-GtkArrow-arrow-scaling: 1;
1083
}
1084
1085
.titlebar.selection-mode .selection-menu .arrow,
1086
.header-bar.selection-mode .selection-menu .arrow {
1087
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
1088
}
1089
1090
.tiled .titlebar, .maximized .titlebar, .tiled
1091
.header-bar, .maximized
1092
.header-bar {
1093
border-radius: 0;
1094
box-shadow: none;
1095
}
1096
1097
.titlebar.default-decoration,
1098
.header-bar.default-decoration {
1099
padding: 6px;
1100
border-width: 0;
1101
}
1102
1103
.titlebar.default-decoration .button,
1104
.header-bar.default-decoration .button {
1105
padding: 4px;
1106
}
1107
1108
/************
1109
* Pathbars *
1110
************/
1111
.path-bar .button {
1112
padding: 7px 6px 8px;
1113
}
1114
1115
.path-bar .button .label:last-child {
1116
padding-left: 2px;
1117
}
1118
1119
.path-bar .button .label:first-child {
1120
padding-right: 2px;
1121
}
1122
1123
.path-bar .button GtkImage {
1124
padding-top: 1px;
1125
}
1126
1127
.path-bar .button GtkImage:only-child {
1128
padding-right: 4px;
1129
padding-left: 4px;
1130
}
1131
1132
/**************
1133
* Tree Views *
1134
**************/
1135
GtkTreeView.view {
1136
-GtkTreeView-grid-line-width: 1;
1137
-GtkTreeView-grid-line-pattern: '';
1138
-GtkTreeView-tree-line-width: 1;
1139
-GtkTreeView-tree-line-pattern: '';
1140
-GtkTreeView-expander-size: 16;
1141
border-left-color: alpha(currentColor, 0.24);
1142
border-top-color: rgba(0, 0, 0, 0.12);
1143
border-radius: 0;
1144
}
1145
1146
GtkTreeView.view:hover, GtkTreeView.view:active, GtkTreeView.view:selected {
1147
border-radius: 0;
1148
}
1149
1150
GtkTreeView.view.dnd {
1151
border-style: solid none;
1152
border-width: 1px;
1153
border-color: rgba(37, 75, 138, 0.935);
1154
}
1155
1156
GtkTreeView.view.expander {
1157
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
1158
}
1159
1160
GtkTreeView.view.expander:dir(rtl) {
1161
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
1162
}
1163
1164
GtkTreeView.view.expander:checked {
1165
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
1166
}
1167
1168
GtkTreeView.view.expander:selected {
1169
color: rgba(255, 255, 255, 0.7);
1170
}
1171
1172
GtkTreeView.view.expander:selected:hover, GtkTreeView.view.expander:selected:active {
1173
color: white;
1174
}
1175
1176
GtkTreeView.view.progressbar {
1177
border-width: 4px;
1178
}
1179
1180
GtkTreeView.view.progressbar:selected {
1181
border-color: currentColor;
1182
}
1183
1184
GtkTreeView.view.trough {
1185
border-width: 4px;
1186
border-color: rgba(66, 133, 244, 0.3);
1187
}
1188
1189
GtkTreeView.view.trough:selected {
1190
border-color: alpha(currentColor, 0.24);
1191
}
1192
1193
column-header .button {
1194
padding: 3px 6px 4px;
1195
border-style: none solid solid none;
1196
border-width: 1px;
1197
border-color: rgba(0, 0, 0, 0.12);
1198
border-radius: 0;
1199
box-shadow: none;
1200
background-color: #FFFFFF;
1201
}
1202
1203
column-header .button:hover, column-header .button:active {
1204
box-shadow: none;
1205
}
1206
1207
column-header .button:insensitive {
1208
background-color: #FFFFFF;
1209
}
1210
1211
column-header:last-child .button, column-header:last-child.button {
1212
border-right-style: none;
1213
}
1214
1215
column-header.button.dnd, column-header .button.dnd {
1216
border-left-style: solid;
1217
background-clip: padding-box;
1218
color: #4285F4;
1219
}
1220
1221
/*********
1222
* Menus *
1223
*********/
1224
.menubar {
1225
-GtkWidget-window-dragging: true;
1226
padding: 0;
1227
background-color: #383838;
1228
}
1229
1230
.menubar > .menuitem {
1231
transition: all 100ms cubic-bezier(0, 0, 0.2, 1);
1232
padding: 4px 8px;
1233
color: rgba(255, 255, 255, 0.7);
1234
}
1235
1236
.menubar > .menuitem:hover {
1237
transition: none;
1238
background-color: rgba(255, 255, 255, 0.12);
1239
color: white;
1240
}
1241
1242
.menubar > .menuitem:insensitive {
1243
color: rgba(255, 255, 255, 0.3);
1244
box-shadow: none;
1245
}
1246
1247
.menu {
1248
margin: 4px 0;
1249
padding: 4px 0;
1250
box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
1251
background-color: #FFFFFF;
1252
border: 1px solid rgba(0, 0, 0, 0.12);
1253
}
1254
1255
.csd .menu {
1256
border: none;
1257
border-radius: 4px;
1258
}
1259
1260
.menu .menuitem {
1261
transition: all 100ms cubic-bezier(0, 0, 0.2, 1);
1262
padding: 3px 4px 4px;
1263
font: initial;
1264
text-shadow: none;
1265
}
1266
1267
.menu .menuitem:hover {
1268
transition: none;
1269
background-color: rgba(0, 0, 0, 0.12);
1270
}
1271
1272
.menu .menuitem:insensitive {
1273
color: rgba(0, 0, 0, 0.38);
1274
}
1275
1276
.menu .menuitem.arrow {
1277
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
1278
}
1279
1280
.menu .menuitem.arrow:dir(rtl) {
1281
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
1282
}
1283
1284
.menu.button {
1285
border-style: none;
1286
border-radius: 0;
1287
box-shadow: none;
1288
}
1289
1290
.menu.button.top {
1291
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
1292
}
1293
1294
.menu.button.bottom {
1295
border-top: 1px solid rgba(0, 0, 0, 0.12);
1296
}
1297
1298
.menu.button:hover {
1299
background-color: rgba(0, 0, 0, 0.12);
1300
}
1301
1302
.menu.button:insensitive {
1303
background-color: transparent;
1304
border-color: transparent;
1305
}
1306
1307
.menuitem .accelerator {
1308
color: rgba(0, 0, 0, 0.54);
1309
}
1310
1311
.csd.popup {
1312
border-radius: 4px;
1313
}
1314
1315
/***************
1316
* Popovers *
1317
***************/
1318
.popover {
1319
transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1);
1320
padding: 2px;
1321
border: 1px solid;
1322
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.3);
1323
border-radius: 5px;
1324
background-color: #FFFFFF;
1325
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
1326
}
1327
1328
.popover:backdrop {
1329
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
1330
}
1331
1332
.popover > .list,
1333
.popover > .view,
1334
.popover > .toolbar,
1335
.popover.osd > .toolbar {
1336
border-style: none;
1337
border-image: none;
1338
background-color: transparent;
1339
}
1340
1341
.popover .button.flat {
1342
padding: 5px 8px 6px;
1343
background-color: transparent;
1344
background-size: 160px 160px;
1345
color: rgba(0, 0, 0, 0.87);
1346
font: initial;
1347
}
1348
1349
.popover .linked > .button {
1350
border-radius: 4px;
1351
}
1352
1353
.popover .linked > .button:checked {
1354
background-color: #4285F4;
1355
color: white;
1356
}
1357
1358
.popover .linked > .button.image-button {
1359
padding: 8px;
1360
background-size: 90px 90px;
1361
}
1362
1363
/*****************
1364
* Notebooks and *
1365
* Tabs *
1366
*****************/
1367
.notebook {
1368
padding: 0;
1369
background-color: #FFFFFF;
1370
-GtkNotebook-initial-gap: 8;
1371
-GtkNotebook-arrow-spacing: 5;
1372
-GtkNotebook-tab-curvature: 0;
1373
-GtkNotebook-tab-overlap: 0;
1374
-GtkNotebook-has-tab-gap: false;
1375
-GtkWidget-focus-padding: 0;
1376
-GtkWidget-focus-line-width: 0;
1377
}
1378
1379
.notebook.frame {
1380
border: 1px solid rgba(0, 0, 0, 0.12);
1381
}
1382
1383
.notebook.frame.top {
1384
border-top-width: 0;
1385
}
1386
1387
.notebook.frame.bottom {
1388
border-bottom-width: 0;
1389
}
1390
1391
.notebook.frame.right {
1392
border-right-width: 0;
1393
}
1394
1395
.notebook.frame.left {
1396
border-left-width: 0;
1397
}
1398
1399
.notebook.header {
1400
background-color: #F2F2F2;
1401
}
1402
1403
.notebook.header.frame {
1404
border: 1px solid rgba(0, 0, 0, 0.12);
1405
}
1406
1407
.notebook.header.frame.top {
1408
border-bottom-width: 0;
1409
}
1410
1411
.notebook.header.frame.bottom {
1412
border-top-width: 0;
1413
}
1414
1415
.notebook.header.frame.right {
1416
border-left-width: 0;
1417
}
1418
1419
.notebook.header.frame.left {
1420
border-right-width: 0;
1421
}
1422
1423
.notebook.header.top {
1424
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12);
1425
}
1426
1427
.notebook.header.bottom {
1428
box-shadow: inset 0 1px rgba(0, 0, 0, 0.12);
1429
}
1430
1431
.notebook.header.right {
1432
box-shadow: inset 1px 0 rgba(0, 0, 0, 0.12);
1433
}
1434
1435
.notebook.header.left {
1436
box-shadow: inset -1px 0 rgba(0, 0, 0, 0.12);
1437
}
1438
1439
.notebook tab {
1440
border-width: 0;
1441
border-style: solid;
1442
border-color: transparent;
1443
background-color: transparent;
1444
background-clip: border-box;
1445
outline-offset: 0;
1446
/* works for testnotebookdnd, but there's a superfluous border
1447
in gedit or web, commented out for now, needs gtk fixes
1448
&.reorderable-page {
1449
&.top {
1450
padding-top: ($vt_vpadding - 1px);
1451
border-top-width: 1px;
1452
border-left-width: 1px;
1453
border-right-width: 1px;
1454
}
1455
&.bottom {
1456
padding-bottom: ($vt_vpadding - 1px);
1457
border-bottom-width: 1px;
1458
border-left-width: 1px;
1459
border-right-width: 1px;
1460
}
1461
&.left {
1462
padding-left: ($ht_hpadding - 1px);
1463
border-left-width: 1px;
1464
border-top-width: 1px;
1465
border-bottom-width: 1px;
1466
}
1467
&.right {
1468
padding-right: ($ht_hpadding - 1px);
1469
border-right-width: 1px;
1470
border-top-width: 1px;
1471
border-bottom-width: 1px;
1472
}
1473
}
1474
*/
1475
}
1476
1477
.notebook tab.top, .notebook tab.bottom {
1478
padding: 8px 12px;
1479
}
1480
1481
.notebook tab.left, .notebook tab.right {
1482
padding: 8px 12px;
1483
}
1484
1485
.notebook tab.reorderable-page.top, .notebook tab.reorderable-page.bottom {
1486
padding-left: 12px;
1487
padding-right: 12px;
1488
border-left-width: 1px;
1489
border-right-width: 1px;
1490
}
1491
1492
.notebook tab.reorderable-page.left, .notebook tab.reorderable-page.right {
1493
border-bottom-width: 1px;
1494
border-top-width: 1px;
1495
}
1496
1497
.notebook tab:hover, .notebook tab.prelight-page {
1498
background-color: alpha(currentColor, 0.08);
1499
}
1500
1501
.notebook tab.top:active, .notebook tab.top.active-page {
1502
box-shadow: inset 0 -2px #4285F4;
1503
}
1504
1505
.notebook tab.bottom:active, .notebook tab.bottom.active-page {
1506
box-shadow: inset 0 2px #4285F4;
1507
}
1508
1509
.notebook tab.left:active, .notebook tab.left.active-page {
1510
box-shadow: inset -2px 0 #4285F4;
1511
}
1512
1513
.notebook tab.right:active, .notebook tab.right.active-page {
1514
box-shadow: inset 2px 0 #4285F4;
1515
}
1516
1517
.notebook tab.reorderable-page:active, .notebook tab.reorderable-page.active-page {
1518
border-color: rgba(0, 0, 0, 0.12);
1519
background-color: #FFFFFF;
1520
background-clip: padding-box;
1521
}
1522
1523
.notebook tab .label {
1524
padding: 0 2px;
1525
font-weight: 500;
1526
color: rgba(0, 0, 0, 0.54);
1527
}
1528
1529
.notebook tab .prelight-page .label, .notebook tab .label.prelight-page {
1530
color: rgba(0, 0, 0, 0.87);
1531
}
1532
1533
.notebook tab .active-page .label, .notebook tab .label.active-page {
1534
color: rgba(0, 0, 0, 0.87);
1535
}
1536
1537
.notebook tab .button {
1538
padding: 0;
1539
background-size: 30px 30px;
1540
}
1541
1542
.notebook tab .button > GtkImage {
1543
padding: 4px;
1544
}
1545
1546
.notebook.arrow:not(:hover):not(:active) {
1547
color: rgba(0, 0, 0, 0.54);
1548
}
1549
1550
.notebook.arrow:insensitive {
1551
color: rgba(0, 0, 0, 0.26);
1552
}
1553
1554
/**************
1555
* Scrollbars *
1556
**************/
1557
.scrollbar {
1558
-GtkRange-slider-width: 17px;
1559
-GtkRange-trough-border: 0;
1560
-GtkScrollbar-has-backward-stepper: false;
1561
-GtkScrollbar-has-forward-stepper: false;
1562
-GtkScrollbar-min-slider-length: 32px;
1563
-GtkRange-stepper-spacing: 0;
1564
-GtkRange-trough-under-steppers: 1;
1565
}
1566
1567
.scrollbar .button {
1568
border: none;
1569
}
1570
1571
.scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
1572
-GtkRange-slider-width: 12px;
1573
}
1574
1575
.scrollbar.overlay-indicator:not(.dragging):not(.hovering) .slider {
1576
margin: 3px;
1577
border: 1px solid rgba(255, 255, 255, 0.3);
1578
}
1579
1580
.scrollbar.overlay-indicator:not(.dragging):not(.hovering) .trough {
1581
border-style: none;
1582
background-color: transparent;
1583
}
1584
1585
.scrollbar.overlay-indicator.dragging .trough, .scrollbar.overlay-indicator.hovering .trough {
1586
background-color: rgba(255, 255, 255, 0.9);
1587
}
1588
1589
.scrollbar .trough {
1590
border: 1px none rgba(0, 0, 0, 0.12);
1591
background-color: #FFFFFF;
1592
background-clip: padding-box;
1593
}
1594
1595
.scrollbar .slider {
1596
background-color: rgba(0, 0, 0, 0.38);
1597
}
1598
1599
.scrollbar .slider:hover {
1600
background-color: rgba(0, 0, 0, 0.54);
1601
}
1602
1603
.scrollbar .slider:active {
1604
background-color: rgba(0, 0, 0, 0.87);
1605
}
1606
1607
.scrollbar .slider:insensitive {
1608
opacity: 0.5;
1609
}
1610
1611
.scrollbar .slider {
1612
border-radius: 100px;
1613
margin: 4px;
1614
}
1615
1616
.scrollbar.fine-tune .slider {
1617
margin: 6px;
1618
}
1619
1620
.scrollbar.vertical .slider {
1621
margin-left: 5px;
1622
}
1623
1624
.scrollbar.vertical .slider:dir(rtl) {
1625
margin-left: 4px;
1626
margin-right: 5px;
1627
}
1628
1629
.scrollbar.vertical.fine-tune .slider {
1630
margin-left: 7px;
1631
}
1632
1633
.scrollbar.vertical.fine-tune .slider:dir(rtl) {
1634
margin-left: 6px;
1635
margin-right: 7px;
1636
}
1637
1638
.scrollbar.vertical .trough {
1639
border-left-style: solid;
1640
}
1641
1642
.scrollbar.vertical .trough:dir(rtl) {
1643
border-left-style: none;
1644
border-right-style: solid;
1645
}
1646
1647
.scrollbar.horizontal .slider {
1648
margin-top: 5px;
1649
}
1650
1651
.scrollbar.horizontal.fine-tune .slider {
1652
margin-top: 7px;
1653
}
1654
1655
.scrollbar.horizontal .trough {
1656
border-top-style: solid;
1657
}
1658
1659
.scrollbars-junction,
1660
.scrollbars-junction.frame {
1661
border-style: solid none none solid;
1662
background-color: #FFFFFF;
1663
}
1664
1665
.scrollbars-junction:dir(rtl),
1666
.scrollbars-junction.frame:dir(rtl) {
1667
border-style: solid solid none none;
1668
}
1669
1670
/**********
1671
* Switch *
1672
**********/
1673
GtkSwitch {
1674
-GtkSwitch-slider-width: 20px;
1675
-GtkSwitch-slider-height: 20px;
1676
outline-offset: -4px;
1677
outline-radius: 100px;
1678
font-size: 0;
1679
}
1680
1681
GtkSwitch:insensitive {
1682
opacity: 0.5;
1683
}
1684
1685
GtkSwitch.trough {
1686
border: 8px solid transparent;
1687
border-radius: 100px;
1688
background-color: rgba(0, 0, 0, 0.26);
1689
}
1690
1691
GtkSwitch.trough:active {
1692
background-color: rgba(1, 162, 153, 0.5);
1693
}
1694
1695
GtkSwitch.slider {
1696
padding: 5px 4px;
1697
border-radius: 100px;
1698
box-shadow: 0 0 0 10px transparent, 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
1699
background-color: #FFFFFF;
1700
}
1701
1702
GtkSwitch.slider:hover {
1703
box-shadow: 0 0 0 10px alpha(currentColor, 0.08), 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
1704
}
1705
1706
GtkSwitch.slider:active {
1707
background-color: #01A299;
1708
color: #01A299;
1709
}
1710
1711
/*************************
1712
* Check and Radio items *
1713
*************************/
1714
.check {
1715
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/checkbox-unchecked@2.png"));
1716
}
1717
1718
.check:hover {
1719
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-hover.png"), url("assets/checkbox-unchecked-hover@2.png"));
1720
}
1721
1722
.check:active {
1723
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-active.png"), url("assets/checkbox-unchecked-active@2.png"));
1724
}
1725
1726
.check:insensitive {
1727
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-disabled.png"), url("assets/checkbox-unchecked-disabled@2.png"));
1728
}
1729
1730
.check:inconsistent {
1731
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed.png"), url("assets/checkbox-mixed@2.png"));
1732
}
1733
1734
.check:inconsistent:hover {
1735
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-hover.png"), url("assets/checkbox-mixed-hover@2.png"));
1736
}
1737
1738
.check:inconsistent:active {
1739
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-active.png"), url("assets/checkbox-mixed-active@2.png"));
1740
}
1741
1742
.check:inconsistent:insensitive {
1743
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-disabled.png"), url("assets/checkbox-mixed-disabled@2.png"));
1744
}
1745
1746
.check:checked {
1747
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked.png"), url("assets/checkbox-checked@2.png"));
1748
}
1749
1750
.check:checked:hover {
1751
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover.png"), url("assets/checkbox-checked-hover@2.png"));
1752
}
1753
1754
.check:checked:active {
1755
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-active.png"), url("assets/checkbox-checked-active@2.png"));
1756
}
1757
1758
.check:checked:insensitive {
1759
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-disabled.png"), url("assets/checkbox-checked-disabled@2.png"));
1760
}
1761
1762
.menu .menuitem.check {
1763
-gtk-icon-source: -gtk-scaled(url("assets/menu-checkbox-unchecked.png"), url("assets/menu-checkbox-unchecked@2.png"));
1764
}
1765
1766
.menu .menuitem.check:insensitive {
1767
-gtk-icon-source: -gtk-scaled(url("assets/menu-checkbox-unchecked-disabled.png"), url("assets/menu-checkbox-unchecked-disabled@2.png"));
1768
}
1769
1770
.menu .menuitem.check:inconsistent {
1771
-gtk-icon-source: -gtk-scaled(url("assets/menu-checkbox-mixed.png"), url("assets/menu-checkbox-mixed@2.png"));
1772
}
1773
1774
.menu .menuitem.check:inconsistent:insensitive {
1775
-gtk-icon-source: -gtk-scaled(url("assets/menu-checkbox-mixed-disabled.png"), url("assets/menu-checkbox-mixed-disabled@2.png"));
1776
}
1777
1778
.menu .menuitem.check:checked {
1779
-gtk-icon-source: -gtk-scaled(url("assets/menu-checkbox-checked.png"), url("assets/menu-checkbox-checked@2.png"));
1780
}
1781
1782
.menu .menuitem.check:checked:insensitive {
1783
-gtk-icon-source: -gtk-scaled(url("assets/menu-checkbox-checked-disabled.png"), url("assets/menu-checkbox-checked-disabled@2.png"));
1784
}
1785
1786
.radio {
1787
-gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked.png"), url("assets/radio-unchecked@2.png"));
1788
}
1789
1790
.radio:hover {
1791
-gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-hover.png"), url("assets/radio-unchecked-hover@2.png"));
1792
}
1793
1794
.radio:active {
1795
-gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-active.png"), url("assets/radio-unchecked-active@2.png"));
1796
}
1797
1798
.radio:insensitive {
1799
-gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-disabled.png"), url("assets/radio-unchecked-disabled@2.png"));
1800
}
1801
1802
.radio:inconsistent {
1803
-gtk-icon-source: -gtk-scaled(url("assets/radio-mixed.png"), url("assets/radio-mixed@2.png"));
1804
}
1805
1806
.radio:inconsistent:hover {
1807
-gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-hover.png"), url("assets/radio-mixed-hover@2.png"));
1808
}
1809
1810
.radio:inconsistent:active {
1811
-gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-active.png"), url("assets/radio-mixed-active@2.png"));
1812
}
1813
1814
.radio:inconsistent:insensitive {
1815
-gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-disabled.png"), url("assets/radio-mixed-disabled@2.png"));
1816
}
1817
1818
.radio:checked {
1819
-gtk-icon-source: -gtk-scaled(url("assets/radio-checked.png"), url("assets/radio-checked@2.png"));
1820
}
1821
1822
.radio:checked:hover {
1823
-gtk-icon-source: -gtk-scaled(url("assets/radio-checked-hover.png"), url("assets/radio-checked-hover@2.png"));
1824
}
1825
1826
.radio:checked:active {
1827
-gtk-icon-source: -gtk-scaled(url("assets/radio-checked-active.png"), url("assets/radio-checked-active@2.png"));
1828
}
1829
1830
.radio:checked:insensitive {
1831
-gtk-icon-source: -gtk-scaled(url("assets/radio-checked-disabled.png"), url("assets/radio-checked-disabled@2.png"));
1832
}
1833
1834
.menu .menuitem.radio {
1835
-gtk-icon-source: -gtk-scaled(url("assets/menu-radio-unchecked.png"), url("assets/menu-radio-unchecked@2.png"));
1836
}
1837
1838
.menu .menuitem.radio:insensitive {
1839
-gtk-icon-source: -gtk-scaled(url("assets/menu-radio-unchecked-disabled.png"), url("assets/menu-radio-unchecked-disabled@2.png"));
1840
}
1841
1842
.menu .menuitem.radio:inconsistent {
1843
-gtk-icon-source: -gtk-scaled(url("assets/menu-radio-mixed.png"), url("assets/menu-radio-mixed@2.png"));
1844
}
1845
1846
.menu .menuitem.radio:inconsistent:insensitive {
1847
-gtk-icon-source: -gtk-scaled(url("assets/menu-radio-mixed-disabled.png"), url("assets/menu-radio-mixed-disabled@2.png"));
1848
}
1849
1850
.menu .menuitem.radio:checked {
1851
-gtk-icon-source: -gtk-scaled(url("assets/menu-radio-checked.png"), url("assets/menu-radio-checked@2.png"));
1852
}
1853
1854
.menu .menuitem.radio:checked:insensitive {
1855
-gtk-icon-source: -gtk-scaled(url("assets/menu-radio-checked-disabled.png"), url("assets/menu-radio-checked-disabled@2.png"));
1856
}
1857
1858
.view.content-view.check:not(.list) {
1859
-gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-unchecked.png"), url("assets/selectionmode-checkbox-unchecked@2.png"));
1860
background-color: transparent;
1861
icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
1862
}
1863
1864
.view.content-view.check:not(.list):hover, .view.content-view.check:not(.list):active {
1865
icon-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
1866
}
1867
1868
.view.content-view.check:checked:not(.list) {
1869
-gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-checked.png"), url("assets/selectionmode-checkbox-checked@2.png"));
1870
background-color: transparent;
1871
icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
1872
}
1873
1874
.view.content-view.check:checked:not(.list):hover, .view.content-view.check:checked:not(.list):active {
1875
icon-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
1876
}
1877
1878
GtkCheckButton.text-button, GtkRadioButton.text-button {
1879
padding: 2px 4px;
1880
outline-offset: 0;
1881
}
1882
1883
/************
1884
* GtkScale *
1885
************/
1886
.scale,
1887
.scale.scale-has-marks-above.scale-has-marks-below,
1888
.scale.vertical.scale-has-marks-above.scale-has-marks-below {
1889
-GtkScale-slider-length: 24;
1890
-GtkRange-slider-width: 24;
1891
-GtkRange-trough-border: 2;
1892
outline-offset: -8px;
1893
outline-radius: 100px;
1894
}
1895
1896
.scale.fine-tune.slider,
1897
.scale.scale-has-marks-above.scale-has-marks-below.fine-tune.slider,
1898
.scale.vertical.scale-has-marks-above.scale-has-marks-below.fine-tune.slider {
1899
background-size: 50%;
1900
}
1901
1902
.scale.slider,
1903
.scale.scale-has-marks-above.scale-has-marks-below.slider,
1904
.scale.vertical.scale-has-marks-above.scale-has-marks-below.slider {
1905
border-radius: 50%;
1906
background-repeat: no-repeat;
1907
background-position: center;
1908
}
1909
1910
.scale.slider.slider,
1911
.scale.scale-has-marks-above.scale-has-marks-below.slider.slider,
1912
.scale.vertical.scale-has-marks-above.scale-has-marks-below.slider.slider {
1913
background-image: -gtk-scaled(url("assets/scale-slider.png"), url("assets/scale-slider@2.png"));
1914
}
1915
1916
.scale.slider.slider:insensitive,
1917
.scale.scale-has-marks-above.scale-has-marks-below.slider.slider:insensitive,
1918
.scale.vertical.scale-has-marks-above.scale-has-marks-below.slider.slider:insensitive {
1919
background-image: -gtk-scaled(url("assets/scale-slider-disabled.png"), url("assets/scale-slider-disabled@2.png"));
1920
}
1921
1922
.scale.slider:hover,
1923
.scale.scale-has-marks-above.scale-has-marks-below.slider:hover,
1924
.scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:hover {
1925
background-color: rgba(1, 162, 153, 0.08);
1926
}
1927
1928
.scale.slider:active,
1929
.scale.scale-has-marks-above.scale-has-marks-below.slider:active,
1930
.scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:active {
1931
background-color: rgba(1, 162, 153, 0.16);
1932
}
1933
1934
.scale.trough,
1935
.scale.scale-has-marks-above.scale-has-marks-below.trough,
1936
.scale.vertical.scale-has-marks-above.scale-has-marks-below.trough {
1937
margin: 13px 14px;
1938
background-color: alpha(currentColor, 0.24);
1939
}
1940
1941
.scale.trough.highlight,
1942
.scale.scale-has-marks-above.scale-has-marks-below.trough.highlight,
1943
.scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.highlight {
1944
background-color: #01A299;
1945
}
1946
1947
.scale.trough.highlight:insensitive,
1948
.scale.scale-has-marks-above.scale-has-marks-below.trough.highlight:insensitive,
1949
.scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.highlight:insensitive {
1950
background-color: alpha(currentColor, 0.24);
1951
}
1952
1953
.scale.trough:insensitive,
1954
.scale.scale-has-marks-above.scale-has-marks-below.trough:insensitive,
1955
.scale.vertical.scale-has-marks-above.scale-has-marks-below.trough:insensitive {
1956
color: rgba(0, 0, 0, 0.38);
1957
}
1958
1959
.scale.trough.vertical,
1960
.scale.scale-has-marks-above.scale-has-marks-below.trough.vertical,
1961
.scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.vertical {
1962
margin: 14px 13px;
1963
}
1964
1965
.scale.separator,
1966
.scale.scale-has-marks-above.scale-has-marks-below.separator,
1967
.scale.vertical.scale-has-marks-above.scale-has-marks-below.separator {
1968
color: alpha(currentColor, 0.24);
1969
}
1970
1971
.scale.scale-has-marks-below.slider {
1972
background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider.png"), url("assets/scale-horz-marks-after-slider@2.png"));
1973
}
1974
1975
.scale.scale-has-marks-below.slider:insensitive {
1976
background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-disabled.png"), url("assets/scale-horz-marks-after-slider-disabled@2.png"));
1977
}
1978
1979
.scale.scale-has-marks-above.slider {
1980
background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png"));
1981
}
1982
1983
.scale.scale-has-marks-above.slider:insensitive {
1984
background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-disabled.png"), url("assets/scale-horz-marks-before-slider-disabled@2.png"));
1985
}
1986
1987
.scale.vertical.scale-has-marks-below.slider {
1988
background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider.png"), url("assets/scale-vert-marks-after-slider@2.png"));
1989
}
1990
1991
.scale.vertical.scale-has-marks-below.slider:insensitive {
1992
background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-disabled.png"), url("assets/scale-vert-marks-after-slider-disabled@2.png"));
1993
}
1994
1995
.scale.vertical.scale-has-marks-above.slider {
1996
background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider.png"), url("assets/scale-vert-marks-before-slider@2.png"));
1997
}
1998
1999
.scale.vertical.scale-has-marks-above.slider:insensitive {
2000
background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-disabled.png"), url("assets/scale-vert-marks-before-slider-disabled@2.png"));
2001
}
2002
2003
/*****************
2004
* Progress bars *
2005
*****************/
2006
GtkProgressBar {
2007
-GtkProgressBar-min-horizontal-bar-height: 4;
2008
-GtkProgressBar-min-vertical-bar-width: 4;
2009
padding: 0;
2010
font-size: smaller;
2011
color: rgba(0, 0, 0, 0.38);
2012
}
2013
2014
GtkProgressBar.osd {
2015
-GtkProgressBar-xspacing: 0;
2016
-GtkProgressBar-yspacing: 0;
2017
-GtkProgressBar-min-horizontal-bar-height: 4;
2018
}
2019
2020
GtkProgressBar.trough {
2021
border-radius: 0;
2022
background-color: rgba(66, 133, 244, 0.3);
2023
}
2024
2025
GtkProgressBar.trough.osd {
2026
border-style: none;
2027
box-shadow: none;
2028
}
2029
2030
.progressbar {
2031
border-radius: 0;
2032
background-color: #4285F4;
2033
}
2034
2035
.progressbar.left {
2036
border-top-left-radius: 0;
2037
border-bottom-left-radius: 0;
2038
}
2039
2040
.progressbar.right {
2041
border-top-right-radius: 0;
2042
border-bottom-right-radius: 0;
2043
}
2044
2045
.progressbar.left.right {
2046
box-shadow: none;
2047
}
2048
2049
.progressbar.vertical.bottom {
2050
border-bottom-left-radius: 0;
2051
border-bottom-right-radius: 0;
2052
box-shadow: none;
2053
}
2054
2055
.progressbar.vertical.top {
2056
border-top-left-radius: 0;
2057
border-top-right-radius: 0;
2058
}
2059
2060
.progressbar.osd {
2061
background-image: none;
2062
background-color: #4285F4;
2063
border-style: none;
2064
border-radius: 0;
2065
}
2066
2067
/*************
2068
* Level Bar *
2069
*************/
2070
.level-bar {
2071
-GtkLevelBar-min-block-width: 36;
2072
-GtkLevelBar-min-block-height: 4;
2073
}
2074
2075
.level-bar.vertical {
2076
-GtkLevelBar-min-block-width: 4;
2077
-GtkLevelBar-min-block-height: 36;
2078
}
2079
2080
.level-bar.fill-block {
2081
background-color: #4285F4;
2082
}
2083
2084
.level-bar.fill-block.indicator-discrete.horizontal {
2085
margin: 0 1px;
2086
}
2087
2088
.level-bar.fill-block.indicator-discrete.vertical {
2089
margin: 1px 0;
2090
}
2091
2092
.level-bar.fill-block.level-high {
2093
background-color: #34A853;
2094
}
2095
2096
.level-bar.fill-block.level-low {
2097
background-color: #FBBC05;
2098
}
2099
2100
.level-bar.fill-block.empty-fill-block {
2101
background-color: rgba(0, 0, 0, 0.12);
2102
}
2103
2104
/**********
2105
* Frames *
2106
**********/
2107
.frame {
2108
border: 1px solid rgba(0, 0, 0, 0.12);
2109
padding: 0;
2110
}
2111
2112
.frame.flat {
2113
border-style: none;
2114
}
2115
2116
.frame.action-bar {
2117
padding: 6px;
2118
border-width: 1px 0 0;
2119
}
2120
2121
GtkScrolledWindow GtkViewport.frame {
2122
border-style: none;
2123
}
2124
2125
.separator {
2126
color: rgba(0, 0, 0, 0.12);
2127
}
2128
2129
GtkFileChooserButton .separator.vertical,
2130
GtkFontButton .separator.vertical {
2131
-GtkWidget-wide-separators: true;
2132
}
2133
2134
/*********
2135
* Lists *
2136
*********/
2137
.list {
2138
border-color: rgba(0, 0, 0, 0.12);
2139
background-color: #FFFFFF;
2140
}
2141
2142
.list-row,
2143
.grid-child {
2144
padding: 2px;
2145
}
2146
2147
.list-row.activatable, .view, column-header .button {
2148
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, background-image 900ms cubic-bezier(0, 0, 0.2, 1);
2149
box-shadow: inset 0 0 0 10000px transparent;
2150
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(transparent), to(transparent));
2151
background-repeat: no-repeat;
2152
background-position: center;
2153
background-size: 240px 240px;
2154
}
2155
2156
.list-row.activatable:hover, .view:hover, column-header .button:hover {
2157
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, background-image 900ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0;
2158
box-shadow: inset 0 0 0 10000px alpha(currentColor, 0.08);
2159
}
2160
2161
.list-row.activatable:active, .view:active, column-header .button:active, GtkPlacesSidebar.sidebar .has-open-popup {
2162
transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, background-image 0;
2163
animation: ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
2164
box-shadow: inset 0 0 0 10000px alpha(currentColor, 0.08);
2165
}
2166
2167
.list-row:selected .button:insensitive {
2168
color: rgba(255, 255, 255, 0.3);
2169
}
2170
2171
.list-row:selected .button.flat {
2172
color: rgba(255, 255, 255, 0.7);
2173
}
2174
2175
.list-row:selected .button.flat:hover, .list-row:selected .button.flat:active {
2176
color: white;
2177
}
2178
2179
.list-row:selected .button.flat:insensitive {
2180
color: rgba(255, 255, 255, 0.3);
2181
}
2182
2183
/*********************
2184
* App Notifications *
2185
*********************/
2186
/*************
2187
* Expanders *
2188
*************/
2189
.expander {
2190
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
2191
}
2192
2193
.expander:dir(rtl) {
2194
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
2195
}
2196
2197
.expander:checked {
2198
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
2199
}
2200
2201
.expander:not(:hover):not(:active) {
2202
color: alpha(currentColor, 0.7);
2203
}
2204
2205
.expander:selected {
2206
color: white;
2207
}
2208
2209
/************
2210
* Calendar *
2211
***********/
2212
GtkCalendar {
2213
padding: 1px;
2214
border: 1px solid rgba(0, 0, 0, 0.12);
2215
color: rgba(0, 0, 0, 0.87);
2216
}
2217
2218
GtkCalendar:insensitive {
2219
color: rgba(0, 0, 0, 0.38);
2220
}
2221
2222
GtkCalendar:selected {
2223
border-radius: 5px;
2224
}
2225
2226
GtkCalendar.header {
2227
border-style: none none solid;
2228
border-radius: 0;
2229
}
2230
2231
GtkCalendar:inconsistent {
2232
color: rgba(0, 0, 0, 0.26);
2233
}
2234
2235
GtkCalendar.highlight {
2236
font-size: smaller;
2237
color: rgba(0, 0, 0, 0.54);
2238
}
2239
2240
/***********
2241
* Dialogs *
2242
***********/
2243
.message-dialog .dialog-action-area .button {
2244
padding: 8px;
2245
}
2246
2247
.message-dialog.background {
2248
background-color: #FFFFFF;
2249
}
2250
2251
.message-dialog .titlebar {
2252
border-style: none;
2253
box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
2254
background-color: #FFFFFF;
2255
}
2256
2257
.message-dialog.csd.background {
2258
border-bottom-left-radius: 4px;
2259
border-bottom-right-radius: 4px;
2260
}
2261
2262
.message-dialog.csd .dialog-action-area .button {
2263
padding: 9px 16px 10px;
2264
border-top: 1px solid rgba(0, 0, 0, 0.12);
2265
border-radius: 0;
2266
background-size: 240px 240px;
2267
}
2268
2269
.message-dialog.csd .dialog-action-area .button:first-child {
2270
border-radius: 0 0 0 4px;
2271
}
2272
2273
.message-dialog.csd .dialog-action-area .button:last-child {
2274
border-radius: 0 0 4px 0;
2275
}
2276
2277
GtkFileChooserDialog .dialog-action-box {
2278
border-top: 1px solid rgba(0, 0, 0, 0.12);
2279
}
2280
2281
/***********
2282
* Sidebar *
2283
***********/
2284
.sidebar {
2285
border: none;
2286
background-color: #FAFAFA;
2287
}
2288
2289
GtkSidebarRow.list-row {
2290
padding: 0px;
2291
}
2292
2293
GtkSidebarRow .sidebar-revealer {
2294
padding: 4px 14px 4px 12px;
2295
}
2296
2297
GtkSidebarRow .sidebar-icon {
2298
opacity: 0.7;
2299
}
2300
2301
GtkSidebarRow .sidebar-icon:dir(ltr) {
2302
padding-right: 8px;
2303
}
2304
2305
GtkSidebarRow .sidebar-icon:dir(rtl) {
2306
padding-left: 8px;
2307
}
2308
2309
GtkSidebarRow .sidebar-label:dir(ltr) {
2310
padding-right: 2px;
2311
}
2312
2313
GtkSidebarRow .sidebar-label:dir(rtl) {
2314
padding-left: 2px;
2315
}
2316
2317
GtkPlacesSidebar.sidebar .sidebar-placeholder-row {
2318
border: solid 1px #4285F4;
2319
}
2320
2321
GtkPlacesSidebar.sidebar .sidebar-new-bookmark-row {
2322
color: #01A299;
2323
}
2324
2325
.sidebar-button.button.image-button {
2326
padding: 4px;
2327
}
2328
2329
.sidebar-item {
2330
padding: 10px 4px;
2331
}
2332
2333
.sidebar-item > .label {
2334
padding-left: 6px;
2335
padding-right: 6px;
2336
}
2337
2338
/****************
2339
* File chooser *
2340
****************/
2341
GtkPlacesView .server-list-button > GtkImage {
2342
-gtk-icon-transform: rotate(0turn);
2343
}
2344
2345
GtkPlacesView .server-list-button:checked > GtkImage {
2346
-gtk-icon-transform: rotate(-0.5turn);
2347
}
2348
2349
/*********
2350
* Paned *
2351
*********/
2352
GtkPaned {
2353
-GtkPaned-handle-size: 1;
2354
-gtk-icon-source: none;
2355
margin: 0 8px 8px 0;
2356
}
2357
2358
GtkPaned:dir(rtl) {
2359
margin-right: 0;
2360
margin-left: 8px;
2361
}
2362
2363
GtkPaned .pane-separator {
2364
background-color: rgba(0, 0, 0, 0.12);
2365
}
2366
2367
GtkPaned.wide {
2368
-GtkPaned-handle-size: 6;
2369
margin: 0;
2370
}
2371
2372
GtkPaned.wide .pane-separator {
2373
background-color: transparent;
2374
border-style: none solid;
2375
border-color: rgba(0, 0, 0, 0.12);
2376
border-width: 1px;
2377
}
2378
2379
GtkPaned.wide.vertical .pane-separator {
2380
border-style: solid none;
2381
}
2382
2383
/**************
2384
* GtkInfoBar *
2385
**************/
2386
GtkInfoBar {
2387
border-style: none;
2388
}
2389
2390
.info {
2391
background-color: #34A853;
2392
}
2393
2394
.question {
2395
background-color: #4285F4;
2396
}
2397
2398
.warning {
2399
background-color: #FBBC05;
2400
}
2401
2402
.error {
2403
background-color: #EA4335;
2404
}
2405
2406
.info,
2407
.question,
2408
.warning,
2409
.error {
2410
color: white;
2411
}
2412
2413
.info .button:insensitive,
2414
.question .button:insensitive,
2415
.warning .button:insensitive,
2416
.error .button:insensitive {
2417
color: rgba(255, 255, 255, 0.3);
2418
}
2419
2420
/************
2421
* Tooltips *
2422
************/
2423
.tooltip {
2424
color: white;
2425
padding: 4px;
2426
/* not working */
2427
border-radius: 4px;
2428
box-shadow: none;
2429
}
2430
2431
.tooltip.background {
2432
background-color: rgba(97, 97, 97, 0.9);
2433
}
2434
2435
.tooltip.window-frame.csd {
2436
background-color: transparent;
2437
}
2438
2439
.tooltip * {
2440
padding: 0 2px;
2441
background-color: transparent;
2442
color: inherit;
2443
}
2444
2445
/*****************
2446
* Color Chooser *
2447
*****************/
2448
GtkColorSwatch {
2449
transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1);
2450
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
2451
}
2452
2453
GtkColorSwatch:insensitive {
2454
opacity: 0.5;
2455
box-shadow: none;
2456
}
2457
2458
GtkColorSwatch.top {
2459
border-top-left-radius: 4px;
2460
border-top-right-radius: 4px;
2461
}
2462
2463
GtkColorSwatch.bottom {
2464
border-bottom-left-radius: 4px;
2465
border-bottom-right-radius: 4px;
2466
}
2467
2468
GtkColorSwatch.left, GtkColorSwatch:first-child:not(.overlay):not(.top) {
2469
border-top-left-radius: 4px;
2470
border-bottom-left-radius: 4px;
2471
}
2472
2473
GtkColorSwatch.right, GtkColorSwatch:last-child:not(.overlay):not(.bottom) {
2474
border-top-right-radius: 4px;
2475
border-bottom-right-radius: 4px;
2476
}
2477
2478
GtkColorSwatch:only-child:not(.overlay) {
2479
border-radius: 4px;
2480
}
2481
2482
GtkColorSwatch.top > .overlay {
2483
border-top-left-radius: 4px;
2484
border-top-right-radius: 4px;
2485
}
2486
2487
GtkColorSwatch.bottom > .overlay {
2488
border-bottom-left-radius: 4px;
2489
border-bottom-right-radius: 4px;
2490
}
2491
2492
GtkColorSwatch:first-child:not(.top) > .overlay {
2493
border-top-left-radius: 4px;
2494
border-bottom-left-radius: 4px;
2495
}
2496
2497
GtkColorSwatch:last-child:not(.bottom) > .overlay {
2498
border-top-right-radius: 4px;
2499
border-bottom-right-radius: 4px;
2500
}
2501
2502
GtkColorSwatch:only-child > .overlay {
2503
border-radius: 4px;
2504
}
2505
2506
GtkColorSwatch:hover {
2507
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
2508
}
2509
2510
GtkColorEditor GtkColorSwatch {
2511
border-radius: 4px;
2512
}
2513
2514
GtkColorEditor GtkColorSwatch:hover {
2515
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
2516
}
2517
2518
GtkColorSwatch.color-dark {
2519
color: white;
2520
}
2521
2522
GtkColorSwatch.color-light {
2523
color: rgba(0, 0, 0, 0.87);
2524
}
2525
2526
GtkColorSwatch#add-color-button {
2527
background-image: linear-gradient(to right, #EA4335 25%, #FBBC05 25%, #FBBC05 50%, #34A853 50%, #34A853 75%, #4285F4 75%);
2528
color: white;
2529
}
2530
2531
/********
2532
* Misc *
2533
********/
2534
.content-view {
2535
background-color: #F2F2F2;
2536
}
2537
2538
.scale-popup .button {
2539
padding: 10px;
2540
}
2541
2542
/**********************
2543
* Window Decorations *
2544
*********************/
2545
.window-frame {
2546
transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1);
2547
border-radius: 4px 4px 0 0;
2548
box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22);
2549
/* this is used for the resize cursor area */
2550
margin: 8px;
2551
}
2552
2553
.window-frame:backdrop {
2554
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
2555
}
2556
2557
.window-frame.tiled {
2558
border-radius: 0;
2559
}
2560
2561
.window-frame.popup {
2562
box-shadow: none;
2563
}
2564
2565
.window-frame.ssd {
2566
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
2567
}
2568
2569
.window-frame.csd.popup {
2570
border-radius: 4px;
2571
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
2572
}
2573
2574
.window-frame.csd.tooltip {
2575
border-radius: 4px;
2576
box-shadow: none;
2577
}
2578
2579
.window-frame.csd.message-dialog {
2580
border-radius: 4px;
2581
box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22);
2582
}
2583
2584
.window-frame.csd.message-dialog:backdrop {
2585
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
2586
}
2587
2588
.window-frame.solid-csd {
2589
border-radius: 0;
2590
margin: 0;
2591
background-color: #383838;
2592
box-shadow: none;
2593
}
2594
2595
.header-bar .button.titlebutton:active,
2596
.titlebar .button.titlebutton:active {
2597
background-image: -gtk-gradient(radial, center center, 0, center center, 0.4, to(alpha(currentColor, 0.08)), to(transparent));
2598
}
2599
2600
.view:selected, GtkCalendar:selected, .label:selected, .grid-child:selected, .entry:selected, .menuitem.button.flat:selected, .list-row:selected, .sidebar:selected {
2601
background-color: #4285F4;
2602
color: white;
2603
}
2604
2605
.view:insensitive:selected, GtkCalendar:insensitive:selected, .label:insensitive:selected, .grid-child:insensitive:selected, .entry:insensitive:selected, .menuitem.button.flat:insensitive:selected, .list-row:insensitive:selected, .sidebar:insensitive:selected, GtkPlacesSidebar.sidebar .list-row:selected:insensitive .label {
2606
color: rgba(255, 255, 255, 0.5);
2607
}
2608
2609
.monospace {
2610
font: Monospace;
2611
}
2612
2613
/**********************
2614
* Touch Copy & Paste *
2615
*********************/
2616
.entry.cursor-handle,
2617
.cursor-handle {
2618
background-color: #01A299;
2619
background-image: none;
2620
box-shadow: none;
2621
border-style: none;
2622
}
2623
2624
.entry.cursor-handle.insertion-cursor:dir(ltr), .entry.cursor-handle.insertion-cursor:dir(rtl),
2625
.cursor-handle.insertion-cursor:dir(ltr),
2626
.cursor-handle.insertion-cursor:dir(rtl) {
2627
-gtk-icon-source: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png"));
2628
}
2629
2630
.entry.cursor-handle.insertion-cursor:dir(ltr), .entry.cursor-handle.insertion-cursor:dir(rtl),
2631
.cursor-handle.insertion-cursor:dir(ltr),
2632
.cursor-handle.insertion-cursor:dir(rtl) {
2633
-gtk-icon-source: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png"));
2634
}
2635
2636
/* Decouple the font of context menus from their entry/textview */
2637
.context-menu {
2638
font: initial;
2639
}
2640
2641
.touch-selection {
2642
font: initial;
2643
color: rgba(0, 0, 0, 0.87);
2644
background-color: #FFFFFF;
2645
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23);
2646
}
2647
2648
.touch-selection:backdrop {
2649
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
2650
}
2651
2652
.overshoot.top {
2653
background-image: -gtk-gradient(radial, center top, 0, center top, 0.75, to(rgba(123, 170, 247, 0.3)), to(transparent));
2654
background-repeat: no-repeat;
2655
background-position: center top;
2656
background-color: transparent;
2657
border: none;
2658
box-shadow: none;
2659
}
2660
2661
.overshoot.bottom {
2662
background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.75, to(rgba(123, 170, 247, 0.3)), to(transparent));
2663
background-repeat: no-repeat;
2664
background-position: center bottom;
2665
background-color: transparent;
2666
border: none;
2667
box-shadow: none;
2668
}
2669
2670
.overshoot.left {
2671
background-image: -gtk-gradient(radial, left center, 0, left center, 0.75, to(rgba(123, 170, 247, 0.3)), to(transparent));
2672
background-repeat: no-repeat;
2673
background-position: left center;
2674
background-color: transparent;
2675
border: none;
2676
box-shadow: none;
2677
}
2678
2679
.overshoot.right {
2680
background-image: -gtk-gradient(radial, right center, 0, right center, 0.75, to(rgba(123, 170, 247, 0.3)), to(transparent));
2681
background-repeat: no-repeat;
2682
background-position: right center;
2683
background-color: transparent;
2684
border: none;
2685
box-shadow: none;
2686
}
2687
2688
.undershoot.top {
2689
background-color: transparent;
2690
background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%);
2691
padding-top: 1px;
2692
background-size: 12px 1px;
2693
background-repeat: repeat-x;
2694
background-origin: content-box;
2695
background-position: left top;
2696
}
2697
2698
.undershoot.bottom {
2699
background-color: transparent;
2700
background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%);
2701
padding-bottom: 1px;
2702
background-size: 12px 1px;
2703
background-repeat: repeat-x;
2704
background-origin: content-box;
2705
background-position: left bottom;
2706
}
2707
2708
.undershoot.left {
2709
background-color: transparent;
2710
background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%);
2711
padding-left: 1px;
2712
background-size: 1px 12px;
2713
background-repeat: repeat-y;
2714
background-origin: content-box;
2715
background-position: left top;
2716
}
2717
2718
.undershoot.right {
2719
background-color: transparent;
2720
background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%);
2721
padding-right: 1px;
2722
background-size: 1px 12px;
2723
background-repeat: repeat-y;
2724
background-origin: content-box;
2725
background-position: right top;
2726
}
2727
2728
.floating-bar {
2729
padding: 3px 0 4px;
2730
border-width: 1px;
2731
border-style: solid solid none;
2732
border-color: rgba(0, 0, 0, 0.12);
2733
border-radius: 5px 5px 0 0;
2734
background-color: rgba(255, 255, 255, 0.9);
2735
background-clip: padding-box;
2736
}
2737
2738
.floating-bar.left {
2739
border-left-style: none;
2740
border-top-left-radius: 0;
2741
}
2742
2743
.floating-bar.right {
2744
border-right-style: none;
2745
border-top-right-radius: 0;
2746
}
2747
2748
.floating-bar .button {
2749
padding: 4px;
2750
}
2751
2752
/************
2753
* Nautilus *
2754
************/
2755
EelEditableLabel.entry {
2756
transition: none;
2757
}
2758
2759
.nautilus-canvas-item.dim-label, .nautilus-canvas-item.label.separator, .titlebar .nautilus-canvas-item.subtitle,
2760
.header-bar .nautilus-canvas-item.subtitle,
2761
.nautilus-list-dim-label {
2762
color: rgba(0, 0, 0, 0.54);
2763
}
2764
2765
.nautilus-canvas-item.dim-label:selected, .nautilus-canvas-item.label.separator:selected, .titlebar .nautilus-canvas-item.subtitle:selected,
2766
.header-bar .nautilus-canvas-item.subtitle:selected,
2767
.nautilus-list-dim-label:selected {
2768
color: rgba(255, 255, 255, 0.7);
2769
}
2770
2771
.nautilus-desktop.nautilus-canvas-item {
2772
color: white;
2773
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
2774
}
2775
2776
.nautilus-desktop.nautilus-canvas-item:selected {
2777
text-shadow: none;
2778
}
2779
2780
/* Toolbar */
2781
@keyframes needs_attention_keyframes {
2782
0% {
2783
background-color: transparent;
2784
}
2785
50% {
2786
background-color: alpha(currentColor, 0.24);
2787
}
2788
100% {
2789
background-color: transparent;
2790
}
2791
}
2792
2793
.nautilus-operations-button-needs-attention {
2794
color: #01A299;
2795
animation: needs_attention_keyframes 2s cubic-bezier(0.4, 0, 0.2, 1);
2796
}
2797
2798
.nautilus-operations-button-needs-attention-multiple {
2799
color: #01A299;
2800
animation: needs_attention_keyframes 2s cubic-bezier(0.4, 0, 0.2, 1);
2801
animation-iteration-count: 2;
2802
}
2803
2804
.disk-space-display.unknown {
2805
background-color: #FBBC05;
2806
}
2807
2808
.disk-space-display.used {
2809
background-color: #4285F4;
2810
}
2811
2812
.disk-space-display.free {
2813
background-color: alpha(currentColor, 0.24);
2814
color: rgba(0, 0, 0, 0.38);
2815
}
2816
2817
/* View */
2818
/********
2819
* Nemo *
2820
*******/
2821
NemoWindow .nemo-inactive-pane .view, NemoWindow .nemo-inactive-pane iconview {
2822
background-color: #FAFAFA;
2823
color: rgba(0, 0, 0, 0.87);
2824
}
2825
2826
NemoWindow .sidebar .cell {
2827
background-color: #F2F2F2;
2828
color: rgba(0, 0, 0, 0.87);
2829
}
2830
2831
NemoWindow .sidebar .cell:selected {
2832
color: white;
2833
background-color: #4285F4;
2834
}
2835
2836
.nemo-desktop.nemo-canvas-item {
2837
color: white;
2838
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
2839
}
2840
2841
.nemo-desktop.nemo-canvas-item:selected {
2842
text-shadow: none;
2843
}
2844
2845
/**************
2846
* Tweak Tool *
2847
**************/
2848
.tweak-categories {
2849
background-color: #FAFAFA;
2850
background-image: linear-gradient(to bottom, #FAFAFA);
2851
}
2852
2853
.tweak-categories .separator {
2854
-GtkWidget-wide-separators: true;
2855
color: transparent;
2856
}
2857
2858
/************
2859
* Software *
2860
************/
2861
.button.install-progress:insensitive {
2862
background-color: alpha(currentColor, 0.24);
2863
}
2864
2865
/***********
2866
* Builder *
2867
***********/
2868
GbTerminalView {
2869
background-color: #FFFFFF;
2870
}
2871
2872
/***********
2873
* Firefox *
2874
***********/
2875
.menubar {
2876
color: rgba(255, 255, 255, 0.7);
2877
}
2878
2879
.menubar:hover {
2880
color: white;
2881
}
2882
2883
/***********
2884
* Synapse *
2885
***********/
2886
SynapseGuiMatchListView GtkWidget:selected {
2887
background-color: #4285F4;
2888
}
2889
2890
/*********
2891
* Unity *
2892
*********/
2893
UnityDecoration {
2894
-UnityDecoration-extents: 28px 0 0 0;
2895
-UnityDecoration-input-extents: 8px;
2896
-UnityDecoration-shadow-offset-x: 0;
2897
-UnityDecoration-shadow-offset-y: 3px;
2898
-UnityDecoration-active-shadow-color: rgba(0, 0, 0, 0.48);
2899
-UnityDecoration-active-shadow-radius: 18px;
2900
-UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, 0.32);
2901
-UnityDecoration-inactive-shadow-radius: 6px;
2902
-UnityDecoration-glow-size: 8px;
2903
-UnityDecoration-glow-color: #4285F4;
2904
-UnityDecoration-title-indent: 4px;
2905
-UnityDecoration-title-fade: 32px;
2906
-UnityDecoration-title-alignment: 0.0;
2907
}
2908
2909
UnityDecoration.top {
2910
padding: 0 2px;
2911
border-style: none;
2912
border-radius: 4px 4px 0 0;
2913
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
2914
background-color: #383838;
2915
color: white;
2916
}
2917
2918
UnityDecoration.top:backdrop {
2919
color: rgba(255, 255, 255, 0.7);
2920
}
2921
2922
UnityDecoration.menuitem,
2923
UnityDecoration .menuitem {
2924
color: rgba(255, 255, 255, 0.7);
2925
}
2926
2927
UnityDecoration.menubar.menuitem:hover,
2928
UnityDecoration.menubar .menuitem *:hover {
2929
box-shadow: inset 0 -2px currentColor;
2930
background-color: transparent;
2931
color: white;
2932
}
2933
2934
.background:not(.csd) :not(.titlebar) .header-bar {
2935
border-radius: 0;
2936
box-shadow: none;
2937
}
2938
2939
.background:not(.csd) :not(.titlebar) .header-bar.inline-toolbar {
2940
border-style: none;
2941
}
2942
2943
UnityPanelWidget,
2944
.unity-panel {
2945
background-color: #212121;
2946
background-image: linear-gradient(to bottom, #212121);
2947
color: white;
2948
}
2949
2950
UnityPanelWidget:backdrop,
2951
.unity-panel:backdrop {
2952
color: rgba(255, 255, 255, 0.7);
2953
}
2954
2955
.unity-panel.menuitem,
2956
.unity-panel .menuitem {
2957
color: rgba(255, 255, 255, 0.7);
2958
}
2959
2960
.unity-panel.menubar.menuitem:hover,
2961
.unity-panel.menubar .menuitem *:hover {
2962
box-shadow: inset 0 -2px currentColor;
2963
background-color: transparent;
2964
color: white;
2965
}
2966
2967
@keyframes playbackmenuitem_spinner {
2968
to {
2969
-gtk-icon-transform: rotate(1turn);
2970
}
2971
}
2972
2973
.menu IdoPlaybackMenuItem.menuitem:active {
2974
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
2975
animation: playbackmenuitem_spinner 1s infinite linear;
2976
color: #4285F4;
2977
}
2978
2979
/* GTK NAMED COLORS
2980
----------------
2981
use responsibly! */
2982
/*
2983
widget text/foreground color */
2984
@define-color theme_fg_color rgba(0, 0, 0, 0.87);
2985
/*
2986
text color for entries, views and content in general */
2987
@define-color theme_text_color rgba(0, 0, 0, 0.87);
2988
/*
2989
widget base background color */
2990
@define-color theme_bg_color #F2F2F2;
2991
/*
2992
text widgets and the like base background color */
2993
@define-color theme_base_color #FFFFFF;
2994
/*
2995
base background color of selections */
2996
@define-color theme_selected_bg_color #4285F4;
2997
/*
2998
text/foreground color of selections */
2999
@define-color theme_selected_fg_color white;
3000
/*
3001
base background color of insensitive widgets */
3002
@define-color insensitive_bg_color #F2F2F2;
3003
/*
3004
text foreground color of insensitive widgets */
3005
@define-color insensitive_fg_color rgba(0, 0, 0, 0.38);
3006
/*
3007
insensitive text widgets and the like base background color */
3008
@define-color insensitive_base_color #FAFAFA;
3009
/*
3010
widget text/foreground color on backdrop windows */
3011
@define-color theme_unfocused_fg_color rgba(0, 0, 0, 0.87);
3012
/*
3013
text color for entries, views and content in general on backdrop windows */
3014
@define-color theme_unfocused_text_color rgba(0, 0, 0, 0.87);
3015
/*
3016
widget base background color on backdrop windows */
3017
@define-color theme_unfocused_bg_color #F2F2F2;
3018
/*
3019
text widgets and the like base background color on backdrop windows */
3020
@define-color theme_unfocused_base_color #FFFFFF;
3021
/*
3022
base background color of selections on backdrop windows */
3023
@define-color theme_unfocused_selected_bg_color #4285F4;
3024
/*
3025
text/foreground color of selections on backdrop windows */
3026
@define-color theme_unfocused_selected_fg_color white;
3027
/*
3028
insensitive color on backdrop windows */
3029
@define-color unfocused_insensitive_color rgba(0, 0, 0, 0.38);
3030
/*
3031
widgets main borders color */
3032
@define-color borders rgba(0, 0, 0, 0.12);
3033
/*
3034
widgets main borders color on backdrop windows */
3035
@define-color unfocused_borders rgba(0, 0, 0, 0.12);
3036
/*
3037
these are pretty self explicative */
3038
@define-color warning_color #FBBC05;
3039
@define-color error_color #EA4335;
3040
@define-color success_color #34A853;
3041
/*
3042
these colors are exported for the window manager and shouldn't be used in applications,
3043
read if you used those and something break with a version upgrade you're on your own... */
3044
@define-color wm_title white;
3045
@define-color wm_unfocused_title rgba(255, 255, 255, 0.7);
3046
@define-color wm_highlight rgba(255, 255, 255, 0.1);
3047
@define-color wm_bg #383838;
3048
/*
3049
FIXME this is really an API */
3050
@define-color content_view_bg #FFFFFF;
3051
@define-color placeholder_text_color #757575;
3052