-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy pathstylesheet.css
More file actions
699 lines (649 loc) · 34 KB
/
stylesheet.css
File metadata and controls
699 lines (649 loc) · 34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
.deck-widget {
margin: var(--widget-margin, 12px);
box-sizing: border-box;
}
/* Common button container styles */
.deck-widget-button,
.deck-widget-button-group {
background: var(--button-stroke, rgba(255, 255, 255, 0.3));
border-radius: var(--button-corner-radius, 8px);
box-shadow: var(--button-shadow, 0px 0px 8px 0px rgba(0, 0, 0, 0.25));
display: flex;
align-items: center;
justify-content: center;
}
/* Single button */
.deck-widget-button {
width: var(--button-size, 28px);
height: var(--button-size, 28px);
}
/* Button group */
.deck-widget-button-group {
width: calc(var(--button-size, 28px) - 2);
height: calc((var(--button-size, 28px) * 2) - 1);
flex-direction: row;
padding: 1px;
gap: 1px;
}
.deck-widget-button-group > .deck-widget-button {
display: contents;
}
.deck-widget-button-group.vertical {
display: inline-flex;
flex-direction: column;
}
/* Common button background styles */
.deck-widget-button-group button,
.deck-widget-button button {
width: calc(var(--button-size, 28px) - 2px);
height: calc(var(--button-size, 28px) - 2px);
box-sizing: border-box;
background: var(--button-background, #fff);
backdrop-filter: var(--button-backdrop-filter, unset);
border: var(--button-inner-stroke, unset);
border-radius: calc(var(--button-corner-radius, 8px) - 1px);
pointer-events: auto;
cursor: pointer;
outline: none;
padding: 0;
}
/* Border radius adjustments for grouped buttons */
.deck-widget-button-group.vertical > *:not(:last-child),
.deck-widget-button-group.vertical > *:not(:last-child) > button {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.deck-widget-button-group.vertical > *:not(:first-child),
.deck-widget-button-group.vertical > *:not(:first-child) > button {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.deck-widget-button-group.horizontal > *:not(:last-child),
.deck-widget-button-group.horizontal > *:not(:last-child) > button {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.deck-widget-button-group.horizontal > *:not(:first-child),
.deck-widget-button-group.horizontal > *:not(:first-child) > button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
/* Icon button foreground styles */
.deck-widget button .deck-widget-icon {
background-color: var(--button-icon-idle, #616166);
background-position: 50%;
background-repeat: no-repeat;
display: block;
height: 100%;
width: 100%;
}
.deck-widget button .deck-widget-icon:hover {
background-color: var(--button-icon-hover, rgb(24, 24, 26));
}
/* Icon menu styles */
.deck-widget .deck-widget-icon-menu {
position: absolute;
top: 100%;
left: 0;
margin-top: var(--menu-gap, 4px);
z-index: 100;
}
/* Fullscreen styles */
.deck-widget.deck-widget-fullscreen button.deck-widget-fullscreen-enter .deck-widget-icon {
mask-image: var(
--icon-fullscreen-enter,
url('data:image/svg+xml,<svg fill="black" height="100%" viewBox="0 0 28 28" width="100%" xmlns="http://www.w3.org/2000/svg"><path d="M7.90474 20.0953H10.6286C10.8984 20.0953 11.1246 20.1868 11.3071 20.37C11.4897 20.5532 11.5809 20.7802 11.5809 21.051C11.5809 21.3218 11.4897 21.5476 11.3071 21.7286C11.1246 21.9095 10.8984 22 10.6286 22H6.95237C6.68254 22 6.45635 21.9087 6.2738 21.7262C6.09127 21.5436 6 21.3175 6 21.0476V17.3714C6 17.1016 6.09159 16.8754 6.27477 16.6929C6.45795 16.5103 6.68493 16.4191 6.95571 16.4191C7.2265 16.4191 7.45236 16.5103 7.63331 16.6929C7.81427 16.8754 7.90474 17.1016 7.90474 17.3714V20.0953ZM7.90474 7.90474V10.6286C7.90474 10.8984 7.81315 11.1246 7.62997 11.3071C7.44679 11.4897 7.21981 11.5809 6.94903 11.5809C6.67825 11.5809 6.45238 11.4897 6.27143 11.3071C6.09048 11.1246 6 10.8984 6 10.6286V6.95237C6 6.68254 6.09127 6.45635 6.2738 6.2738C6.45635 6.09127 6.68254 6 6.95237 6H10.6286C10.8984 6 11.1246 6.09159 11.3071 6.27477C11.4897 6.45795 11.5809 6.68493 11.5809 6.95571C11.5809 7.2265 11.4897 7.45236 11.3071 7.63331C11.1246 7.81427 10.8984 7.90474 10.6286 7.90474H7.90474ZM20.0953 20.0953V17.3714C20.0953 17.1016 20.1868 16.8754 20.37 16.6929C20.5532 16.5103 20.7802 16.4191 21.051 16.4191C21.3218 16.4191 21.5476 16.5103 21.7286 16.6929C21.9095 16.8754 22 17.1016 22 17.3714V21.0476C22 21.3175 21.9087 21.5436 21.7262 21.7262C21.5436 21.9087 21.3175 22 21.0476 22H17.3714C17.1016 22 16.8754 21.9084 16.6929 21.7252C16.5103 21.542 16.4191 21.3151 16.4191 21.0443C16.4191 20.7735 16.5103 20.5476 16.6929 20.3667C16.8754 20.1857 17.1016 20.0953 17.3714 20.0953H20.0953ZM20.0953 7.90474H17.3714C17.1016 7.90474 16.8754 7.81315 16.6929 7.62997C16.5103 7.44679 16.4191 7.21981 16.4191 6.94903C16.4191 6.67825 16.5103 6.45238 16.6929 6.27143C16.8754 6.09048 17.1016 6 17.3714 6H21.0476C21.3175 6 21.5436 6.09127 21.7262 6.2738C21.9087 6.45635 22 6.68254 22 6.95237V10.6286C22 10.8984 21.9084 11.1246 21.7252 11.3071C21.542 11.4897 21.3151 11.5809 21.0443 11.5809C20.7735 11.5809 20.5476 11.4897 20.3667 11.3071C20.1857 11.1246 20.0953 10.8984 20.0953 10.6286V7.90474Z" /></svg>')
);
-webkit-mask-image: var(
--icon-fullscreen-enter,
url('data:image/svg+xml,<svg fill="black" height="100%" viewBox="0 0 28 28" width="100%" xmlns="http://www.w3.org/2000/svg"><path d="M7.90474 20.0953H10.6286C10.8984 20.0953 11.1246 20.1868 11.3071 20.37C11.4897 20.5532 11.5809 20.7802 11.5809 21.051C11.5809 21.3218 11.4897 21.5476 11.3071 21.7286C11.1246 21.9095 10.8984 22 10.6286 22H6.95237C6.68254 22 6.45635 21.9087 6.2738 21.7262C6.09127 21.5436 6 21.3175 6 21.0476V17.3714C6 17.1016 6.09159 16.8754 6.27477 16.6929C6.45795 16.5103 6.68493 16.4191 6.95571 16.4191C7.2265 16.4191 7.45236 16.5103 7.63331 16.6929C7.81427 16.8754 7.90474 17.1016 7.90474 17.3714V20.0953ZM7.90474 7.90474V10.6286C7.90474 10.8984 7.81315 11.1246 7.62997 11.3071C7.44679 11.4897 7.21981 11.5809 6.94903 11.5809C6.67825 11.5809 6.45238 11.4897 6.27143 11.3071C6.09048 11.1246 6 10.8984 6 10.6286V6.95237C6 6.68254 6.09127 6.45635 6.2738 6.2738C6.45635 6.09127 6.68254 6 6.95237 6H10.6286C10.8984 6 11.1246 6.09159 11.3071 6.27477C11.4897 6.45795 11.5809 6.68493 11.5809 6.95571C11.5809 7.2265 11.4897 7.45236 11.3071 7.63331C11.1246 7.81427 10.8984 7.90474 10.6286 7.90474H7.90474ZM20.0953 20.0953V17.3714C20.0953 17.1016 20.1868 16.8754 20.37 16.6929C20.5532 16.5103 20.7802 16.4191 21.051 16.4191C21.3218 16.4191 21.5476 16.5103 21.7286 16.6929C21.9095 16.8754 22 17.1016 22 17.3714V21.0476C22 21.3175 21.9087 21.5436 21.7262 21.7262C21.5436 21.9087 21.3175 22 21.0476 22H17.3714C17.1016 22 16.8754 21.9084 16.6929 21.7252C16.5103 21.542 16.4191 21.3151 16.4191 21.0443C16.4191 20.7735 16.5103 20.5476 16.6929 20.3667C16.8754 20.1857 17.1016 20.0953 17.3714 20.0953H20.0953ZM20.0953 7.90474H17.3714C17.1016 7.90474 16.8754 7.81315 16.6929 7.62997C16.5103 7.44679 16.4191 7.21981 16.4191 6.94903C16.4191 6.67825 16.5103 6.45238 16.6929 6.27143C16.8754 6.09048 17.1016 6 17.3714 6H21.0476C21.3175 6 21.5436 6.09127 21.7262 6.2738C21.9087 6.45635 22 6.68254 22 6.95237V10.6286C22 10.8984 21.9084 11.1246 21.7252 11.3071C21.542 11.4897 21.3151 11.5809 21.0443 11.5809C20.7735 11.5809 20.5476 11.4897 20.3667 11.3071C20.1857 11.1246 20.0953 10.8984 20.0953 10.6286V7.90474Z" /></svg>')
);
}
.deck-widget.deck-widget-fullscreen button.deck-widget-fullscreen-exit .deck-widget-icon {
mask-image: var(
--icon-fullscreen-exit,
url('data:image/svg+xml,<svg fill="black" height="100%" viewBox="0 0 28 28" width="100%" xmlns="http://www.w3.org/2000/svg"><path d="M9.6762 18.3238H6.95237C6.68254 18.3238 6.45635 18.2322 6.2738 18.049C6.09127 17.8658 6 17.6389 6 17.3681C6 17.0973 6.09127 16.8714 6.2738 16.6905C6.45635 16.5095 6.68254 16.4191 6.95237 16.4191H10.6286C10.8984 16.4191 11.1246 16.5103 11.3071 16.6929C11.4897 16.8754 11.5809 17.1016 11.5809 17.3714V21.0476C11.5809 21.3175 11.4894 21.5436 11.3062 21.7262C11.123 21.9087 10.896 22 10.6252 22C10.3544 22 10.1286 21.9087 9.94763 21.7262C9.76668 21.5436 9.6762 21.3175 9.6762 21.0476V18.3238ZM18.3238 18.3238V21.0476C18.3238 21.3175 18.2322 21.5436 18.049 21.7262C17.8658 21.9087 17.6389 22 17.3681 22C17.0973 22 16.8714 21.9087 16.6905 21.7262C16.5095 21.5436 16.4191 21.3175 16.4191 21.0476V17.3714C16.4191 17.1016 16.5103 16.8754 16.6929 16.6929C16.8754 16.5103 17.1016 16.4191 17.3714 16.4191H21.0476C21.3175 16.4191 21.5436 16.5106 21.7262 16.6938C21.9087 16.877 22 17.104 22 17.3748C22 17.6456 21.9087 17.8714 21.7262 18.0524C21.5436 18.2333 21.3175 18.3238 21.0476 18.3238H18.3238ZM9.6762 9.6762V6.95237C9.6762 6.68254 9.76779 6.45635 9.95097 6.2738C10.1342 6.09127 10.3611 6 10.6319 6C10.9027 6 11.1286 6.09127 11.3095 6.2738C11.4905 6.45635 11.5809 6.68254 11.5809 6.95237V10.6286C11.5809 10.8984 11.4897 11.1246 11.3071 11.3071C11.1246 11.4897 10.8984 11.5809 10.6286 11.5809H6.95237C6.68254 11.5809 6.45635 11.4894 6.2738 11.3062C6.09127 11.123 6 10.896 6 10.6252C6 10.3544 6.09127 10.1286 6.2738 9.94763C6.45635 9.76668 6.68254 9.6762 6.95237 9.6762H9.6762ZM18.3238 9.6762H21.0476C21.3175 9.6762 21.5436 9.76779 21.7262 9.95097C21.9087 10.1342 22 10.3611 22 10.6319C22 10.9027 21.9087 11.1286 21.7262 11.3095C21.5436 11.4905 21.3175 11.5809 21.0476 11.5809H17.3714C17.1016 11.5809 16.8754 11.4897 16.6929 11.3071C16.5103 11.1246 16.4191 10.8984 16.4191 10.6286V6.95237C16.4191 6.68254 16.5106 6.45635 16.6938 6.2738C16.877 6.09127 17.104 6 17.3748 6C17.6456 6 17.8714 6.09127 18.0524 6.2738C18.2333 6.45635 18.3238 6.68254 18.3238 6.95237V9.6762Z" /></svg>')
);
-webkit-mask-image: var(
--icon-fullscreen-exit,
url('data:image/svg+xml,<svg fill="black" height="100%" viewBox="0 0 28 28" width="100%" xmlns="http://www.w3.org/2000/svg"><path d="M9.6762 18.3238H6.95237C6.68254 18.3238 6.45635 18.2322 6.2738 18.049C6.09127 17.8658 6 17.6389 6 17.3681C6 17.0973 6.09127 16.8714 6.2738 16.6905C6.45635 16.5095 6.68254 16.4191 6.95237 16.4191H10.6286C10.8984 16.4191 11.1246 16.5103 11.3071 16.6929C11.4897 16.8754 11.5809 17.1016 11.5809 17.3714V21.0476C11.5809 21.3175 11.4894 21.5436 11.3062 21.7262C11.123 21.9087 10.896 22 10.6252 22C10.3544 22 10.1286 21.9087 9.94763 21.7262C9.76668 21.5436 9.6762 21.3175 9.6762 21.0476V18.3238ZM18.3238 18.3238V21.0476C18.3238 21.3175 18.2322 21.5436 18.049 21.7262C17.8658 21.9087 17.6389 22 17.3681 22C17.0973 22 16.8714 21.9087 16.6905 21.7262C16.5095 21.5436 16.4191 21.3175 16.4191 21.0476V17.3714C16.4191 17.1016 16.5103 16.8754 16.6929 16.6929C16.8754 16.5103 17.1016 16.4191 17.3714 16.4191H21.0476C21.3175 16.4191 21.5436 16.5106 21.7262 16.6938C21.9087 16.877 22 17.104 22 17.3748C22 17.6456 21.9087 17.8714 21.7262 18.0524C21.5436 18.2333 21.3175 18.3238 21.0476 18.3238H18.3238ZM9.6762 9.6762V6.95237C9.6762 6.68254 9.76779 6.45635 9.95097 6.2738C10.1342 6.09127 10.3611 6 10.6319 6C10.9027 6 11.1286 6.09127 11.3095 6.2738C11.4905 6.45635 11.5809 6.68254 11.5809 6.95237V10.6286C11.5809 10.8984 11.4897 11.1246 11.3071 11.3071C11.1246 11.4897 10.8984 11.5809 10.6286 11.5809H6.95237C6.68254 11.5809 6.45635 11.4894 6.2738 11.3062C6.09127 11.123 6 10.896 6 10.6252C6 10.3544 6.09127 10.1286 6.2738 9.94763C6.45635 9.76668 6.68254 9.6762 6.95237 9.6762H9.6762ZM18.3238 9.6762H21.0476C21.3175 9.6762 21.5436 9.76779 21.7262 9.95097C21.9087 10.1342 22 10.3611 22 10.6319C22 10.9027 21.9087 11.1286 21.7262 11.3095C21.5436 11.4905 21.3175 11.5809 21.0476 11.5809H17.3714C17.1016 11.5809 16.8754 11.4897 16.6929 11.3071C16.5103 11.1246 16.4191 10.8984 16.4191 10.6286V6.95237C16.4191 6.68254 16.5106 6.45635 16.6938 6.2738C16.877 6.09127 17.104 6 17.3748 6C17.6456 6 17.8714 6.09127 18.0524 6.2738C18.2333 6.45635 18.3238 6.68254 18.3238 6.95237V9.6762Z" /></svg>')
);
}
.deck-pseudo-fullscreen {
height: 100% !important;
left: 0 !important;
position: fixed !important;
top: 0 !important;
width: 100% !important;
z-index: 99999;
}
/* Zoom styles */
.deck-widget.deck-widget-zoom button.deck-widget-zoom-in .deck-widget-icon {
mask-image: var(
--icon-zoom-in,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 26 26" fill="black"><path d="M12.1029 13.8971H7.89332C7.64334 13.8971 7.43196 13.8105 7.25918 13.6373C7.08639 13.4641 7 13.2521 7 13.0014C7 12.7508 7.08639 12.5396 7.25918 12.368C7.43196 12.1963 7.64334 12.1105 7.89332 12.1105H12.1029V7.90097C12.1029 7.65161 12.1895 7.43912 12.3627 7.26348C12.5359 7.08783 12.7479 7 12.9986 7C13.2492 7 13.4604 7.08783 13.632 7.26348C13.8037 7.43912 13.8895 7.65161 13.8895 7.90097V12.1105H18.099C18.3484 12.1105 18.5609 12.1971 18.7365 12.3703C18.9122 12.5436 19 12.7555 19 13.0062C19 13.2569 18.9122 13.468 18.7365 13.6397C18.5609 13.8113 18.3484 13.8971 18.099 13.8971H13.8895V18.1067C13.8895 18.3567 13.8029 18.568 13.6297 18.7408C13.4564 18.9136 13.2445 19 12.9938 19C12.7431 19 12.532 18.9136 12.3603 18.7408C12.1887 18.568 12.1029 18.3567 12.1029 18.1067V13.8971Z"/></svg>')
);
-webkit-mask-image: var(
--icon-zoom-in,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 26 26" fill="black"><path d="M12.1029 13.8971H7.89332C7.64334 13.8971 7.43196 13.8105 7.25918 13.6373C7.08639 13.4641 7 13.2521 7 13.0014C7 12.7508 7.08639 12.5396 7.25918 12.368C7.43196 12.1963 7.64334 12.1105 7.89332 12.1105H12.1029V7.90097C12.1029 7.65161 12.1895 7.43912 12.3627 7.26348C12.5359 7.08783 12.7479 7 12.9986 7C13.2492 7 13.4604 7.08783 13.632 7.26348C13.8037 7.43912 13.8895 7.65161 13.8895 7.90097V12.1105H18.099C18.3484 12.1105 18.5609 12.1971 18.7365 12.3703C18.9122 12.5436 19 12.7555 19 13.0062C19 13.2569 18.9122 13.468 18.7365 13.6397C18.5609 13.8113 18.3484 13.8971 18.099 13.8971H13.8895V18.1067C13.8895 18.3567 13.8029 18.568 13.6297 18.7408C13.4564 18.9136 13.2445 19 12.9938 19C12.7431 19 12.532 18.9136 12.3603 18.7408C12.1887 18.568 12.1029 18.3567 12.1029 18.1067V13.8971Z"/></svg>')
);
}
.deck-widget.deck-widget-zoom button.deck-widget-zoom-out .deck-widget-icon {
mask-image: var(
--icon-zoom-out,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 26 26" fill="black"> wBox="0 0 26 26" fill="none"><path d="M7.89332 13.8866C7.64334 13.8866 7.43196 13.8 7.25918 13.6268C7.08639 13.4535 7 13.2416 7 12.9909C7 12.7403 7.08639 12.5291 7.25918 12.3575C7.43196 12.1858 7.64334 12.1 7.89332 12.1H18.099C18.349 12.1 18.5617 12.1866 18.737 12.3598C18.9123 12.5331 19 12.745 19 12.9957C19 13.2463 18.9123 13.4575 18.737 13.6291C18.5617 13.8008 18.349 13.8866 18.099 13.8866H7.89332Z"/></svg>')
);
-webkit-mask-image: var(
--icon-zoom-out,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 26 26" fill="black"> wBox="0 0 26 26" fill="none"><path d="M7.89332 13.8866C7.64334 13.8866 7.43196 13.8 7.25918 13.6268C7.08639 13.4535 7 13.2416 7 12.9909C7 12.7403 7.08639 12.5291 7.25918 12.3575C7.43196 12.1858 7.64334 12.1 7.89332 12.1H18.099C18.349 12.1 18.5617 12.1866 18.737 12.3598C18.9123 12.5331 19 12.745 19 12.9957C19 13.2463 18.9123 13.4575 18.737 13.6291C18.5617 13.8008 18.349 13.8866 18.099 13.8866H7.89332Z"/></svg>')
);
}
/* Screenshot styles */
.deck-widget.deck-widget-screenshot button.deck-widget-camera .deck-widget-icon {
mask-image: var(
--icon-camera,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 -960 960 960" fill="black"><path d="M480-260q75 0 127.5-52.5T660-440q0-75-52.5-127.5T480-620q-75 0-127.5 52.5T300-440q0 75 52.5 127.5T480-260Zm0-80q-42 0-71-29t-29-71q0-42 29-71t71-29q42 0 71 29t29 71q0 42-29 71t-71 29ZM160-120q-33 0-56.5-23.5T80-200v-480q0-33 23.5-56.5T160-760h126l74-80h240l74 80h126q33 0 56.5 23.5T880-680v480q0 33-23.5 56.5T800-120H160Zm0-80h640v-480H638l-73-80H395l-73 80H160v480Zm320-240Z"/></svg>')
);
-webkit-mask-image: var(
--icon-camera,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 -960 960 960" fill="black"><path d="M480-260q75 0 127.5-52.5T660-440q0-75-52.5-127.5T480-620q-75 0-127.5 52.5T300-440q0 75 52.5 127.5T480-260Zm0-80q-42 0-71-29t-29-71q0-42 29-71t71-29q42 0 71 29t29 71q0 42-29 71t-71 29ZM160-120q-33 0-56.5-23.5T80-200v-480q0-33 23.5-56.5T160-760h126l74-80h240l74 80h126q33 0 56.5 23.5T880-680v480q0 33-23.5 56.5T800-120H160Zm0-80h640v-480H638l-73-80H395l-73 80H160v480Zm320-240Z"/></svg>')
);
}
/* Theme widget styles */
.deck-widget.deck-widget-theme button.deck-widget-sun .deck-widget-icon {
mask-image: var(
--icon-sun,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="black" stroke="black"><g ><circle cx="12" cy="12" r="6" /><line x1="12" y1="1" x2="12" y2="3" /><line x1="12" y1="21" x2="12" y2="23" /><line x1="4.22" y1="4.22" x2="5.64" y2="5.64" /><line x1="18.36" y1="18.36" x2="19.78" y2="19.78" /><line x1="1" y1="12" x2="3" y2="12" /><line x1="21" y1="12" x2="23" y2="12" /><line x1="4.22" y1="19.78" x2="5.64" y2="18.36" /><line x1="18.36" y1="5.64" x2="19.78" y2="4.22" /></g></svg>')
);
}
.deck-widget.deck-widget-theme button.deck-widget-moon .deck-widget-icon {
mask-image: var(
--icon-moon,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" ><circle cx="12" cy="12" r="6" fill="black" mask="url(%23moon-mask)" /><mask id="moon-mask" viewBox="0 0 24 24" ><rect x="0" y="0" width="24" height="24" fill="white" /><circle cx="24" cy="10" r="12" fill="black"/></mask></svg>')
);
-webbit-mask-image: var(
--icon-moon,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24"><circle x="12" cy="12" r="6" /></svg>')
);
}
/* Reset view styles */
.deck-widget.deck-widget-reset-view button.deck-widget-reset-focus .deck-widget-icon {
mask-image: var(
--icon-camera,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="black"><path d="M480-320v-100q0-25 17.5-42.5T540-480h100v60H540v100h-60Zm60 240q-25 0-42.5-17.5T480-140v-100h60v100h100v60H540Zm280-240v-100H720v-60h100q25 0 42.5 17.5T880-420v100h-60ZM720-80v-60h100v-100h60v100q0 25-17.5 42.5T820-80H720Zm111-480h-83q-26-88-99-144t-169-56q-117 0-198.5 81.5T200-480q0 72 32.5 132t87.5 98v-110h80v240H160v-80h94q-62-50-98-122.5T120-480q0-75 28.5-140.5t77-114q48.5-48.5 114-77T480-840q129 0 226.5 79.5T831-560Z"/></svg>')
);
-webkit-mask-image: var(
--icon-camera,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="black"><path d="M480-320v-100q0-25 17.5-42.5T540-480h100v60H540v100h-60Zm60 240q-25 0-42.5-17.5T480-140v-100h60v100h100v60H540Zm280-240v-100H720v-60h100q25 0 42.5 17.5T880-420v100h-60ZM720-80v-60h100v-100h60v100q0 25-17.5 42.5T820-80H720Zm111-480h-83q-26-88-99-144t-169-56q-117 0-198.5 81.5T200-480q0 72 32.5 132t87.5 98v-110h80v240H160v-80h94q-62-50-98-122.5T120-480q0-75 28.5-140.5t77-114q48.5-48.5 114-77T480-840q129 0 226.5 79.5T831-560Z"/></svg>')
);
}
/* Timeline widget styles */
.deck-widget.deck-widget-timeline {
position: absolute;
margin: var(--widget-margin, 12px);
left: 0;
right: 0;
pointer-events: all;
}
.deck-widget.deck-widget-timeline[data-placement^=top-] {
top: 0;
}
.deck-widget.deck-widget-timeline[data-placement^=bottom-] {
bottom: 0;
}
.deck-widget.deck-widget-timeline .deck-widget-button-group {
box-sizing: border-box;
gap: var(--widget-margin, 12px);
padding: var(--widget-margin, 12px);
}
.deck-widget-timeline button.deck-widget-timeline-pause .deck-widget-icon {
mask-image: var(
--icon-pause,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="black"><path d="M560-200v-560h160v560H560Zm-320 0v-560h160v560H240Z"/></svg>')
);
-webkit-mask-image: var(
--icon-pause,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="black"><path d="M560-200v-560h160v560H560Zm-320 0v-560h160v560H240Z"/></svg>')
);
}
.deck-widget-timeline button.deck-widget-timeline-play .deck-widget-icon {
mask-image: var(
--icon-play,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="black"><path d="M320-200v-560l440 280-440 280Z"/></svg>')
);
-webkit-mask-image: var(
--icon-play,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="black"><path d="M320-200v-560l440 280-440 280Z"/></svg>')
);
}
.deck-widget-timeline-label {
position: relative;
pointer-events: none;
width: fit-content;
font-size: 13px;
color: var(--menu-text, rgb(24, 24, 26));
white-space: nowrap;
}
.deck-widget-timeline-label--current {
transform: translate(-50%, -100%);
border-radius: var(--button-corner-radius, 8px);
background: var(--menu-background, #fff);
padding: 4px;
}
/* Loading styles */
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.deck-widget.deck-widget-loading button.deck-widget-spinner .deck-widget-icon {
animation: spin 1s linear infinite;
}
.deck-widget.deck-widget-loading button.deck-widget-spinner .deck-widget-icon {
mask-image: var(
--loading-icon,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" ><path d="M21 12a9 9 0 1 1-6.219-8.56" /></svg>')
);
-webkit-mask-image: var(
--loading-icon,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" ><path d="M21 12a9 9 0 1 1-6.219-8.56" /></svg>')
);
}
/* Scale styles */
.deck-widget .deck-widget-scale {
background-color: var(--button-icon-idle, #616166);
background-position: 50%;
display: block;
}
/* Geocoder styles */
.deck-widget .deck-widget-geocoder {
pointer-events: auto;
position: relative;
z-index: 1;
display: flex;
align-items: center;
flex-wrap: wrap;
background: var(--button-stroke, rgba(255, 255, 255, 0.3));
border-radius: var(--button-corner-radius, 8px);
box-shadow: var(--button-shadow, 0px 0px 8px 0px rgba(0, 0, 0, 0.25));
padding: 1px;
gap: 1px;
}
.deck-widget .deck-widget-geocoder-input {
flex: 1 1 auto;
min-width: 200px;
height: calc(var(--button-size, 28px) - 2px);
margin: 0;
padding: 0 8px;
box-sizing: border-box;
background: var(--button-background, #fff);
backdrop-filter: var(--button-backdrop-filter, unset);
color: var(--button-text, rgb(24, 24, 26));
border: var(--button-inner-stroke, unset);
border-radius: calc(var(--button-corner-radius, 8px) - 1px);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 13px;
}
.deck-widget .deck-widget-geocoder-input:focus {
outline: none;
}
.deck-widget .deck-widget-geocoder-input::placeholder {
color: var(--button-icon-idle, rgba(97, 97, 102, 1));
}
.deck-widget .deck-widget-geocoder-error {
position: absolute;
top: calc(100% + var(--menu-gap, 4px));
left: 1px;
right: 1px;
padding: 6px 10px;
background: var(--button-background, #fff);
backdrop-filter: var(--button-backdrop-filter, unset);
border: var(--button-inner-stroke, unset);
border-radius: var(--button-corner-radius, 8px);
box-shadow: var(--button-shadow, 0px 0px 8px 0px rgba(0, 0, 0, 0.25));
color: rgb(220, 80, 80);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 12px;
text-align: center;
}
/* When dropdown is not present, input should have full rounded corners */
.deck-widget .deck-widget-geocoder-input:last-child {
border-top-right-radius: calc(var(--button-corner-radius, 8px) - 1px);
border-bottom-right-radius: calc(var(--button-corner-radius, 8px) - 1px);
}
/* Dropdown menu styles */
.deck-widget .deck-widget-dropdown-container {
position: static;
display: inline-block;
}
.deck-widget .deck-widget-dropdown-button {
width: calc(var(--button-size, 28px) - 2px);
height: calc(var(--button-size, 28px) - 2px);
display: flex;
align-items: center;
justify-content: center;
padding: 0;
cursor: pointer;
background: var(--button-background, #fff);
backdrop-filter: var(--button-backdrop-filter, unset);
border: var(--button-inner-stroke, unset);
border-radius: calc(var(--button-corner-radius, 8px) - 1px);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
outline: none;
}
.deck-widget .deck-widget-dropdown-icon {
width: 12px;
height: 12px;
background-color: var(--button-icon-idle, rgba(97, 97, 102, 1));
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"/></svg>');
-webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"/></svg>');
mask-size: contain;
-webkit-mask-size: contain;
transition: transform 0.2s ease;
}
.deck-widget .deck-widget-dropdown-icon.open {
transform: rotate(180deg);
}
.deck-widget .deck-widget-dropdown-button:hover .deck-widget-dropdown-icon {
background-color: var(--button-icon-hover, rgba(24, 24, 26, 1));
}
.deck-widget .deck-widget-dropdown-menu {
top: calc(100% + var(--menu-gap, 4px));
left: 1px;
right: 1px;
margin: 0;
padding: 4px 0;
list-style: none;
z-index: 1000;
background: var(--menu-background, #fff);
backdrop-filter: var(--menu-backdrop-filter, unset);
border: var(--menu-border, unset);
border-radius: var(--button-corner-radius, 8px);
box-shadow: var(--menu-shadow, 0px 0px 8px 0px rgba(0, 0, 0, 0.25));
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 13px;
}
.deck-widget .deck-widget-dropdown-item {
padding: 8px 12px;
white-space: nowrap;
overflow: hidden;
cursor: default;
user-select: none;
text-overflow: ellipsis;
color: var(--menu-text, rgb(24, 24, 26));
}
.deck-widget .deck-widget-dropdown-item:not(.disabled):hover {
cursor: pointer;
background: var(--menu-item-hover, rgba(128, 128, 128, 0.15));
}
.deck-widget .deck-widget-dropdown-item-icon {
display: inline-block;
width: 16px;
height: 16px;
margin-right: 8px;
vertical-align: text-bottom;
background-color: var(--menu-text, rgb(24, 24, 26));
mask-size: contain;
-webkit-mask-size: contain;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
}
/* Stats styles */
.deck-widget.deck-widget-stats button .text {
color: var(--button-text, rgb(24, 24, 26));
font-family: monospace;
font-size: 8px;
font-weight: 700;
}
.deck-widget-stats-container {
border-radius: var(--button-corner-radius, 8px);
display: inline-flex;
flex-direction: column;
font-size: 0.7rem;
/* Approximately 14px */
line-height: 1.6;
font-family: monospace;
background-color: var(--menu-background, #fff);
color: var(--menu-text, rgb(24, 24, 26));
box-shadow: var(--menu-shadow, 0px 0px 8px 0px rgba(0, 0, 0, 0.25));
}
.deck-widget-stats-header {
color: var(--button-icon-idle, rgba(97, 97, 102, 1));
padding-left: 8px;
display: flex;
align-items: center;
gap: 4px;
}
.deck-widget-stats-device {
padding: 1px 6px;
border-radius: 999px;
font-size: 0.65rem;
line-height: 1.2;
background: color-mix(in srgb, currentColor 12%, transparent);
color: inherit;
}
.deck-widget-stats-header:hover {
color: var(--button-icon-hover, rgb(24, 24, 26));
}
.deck-widget-stats-header .deck-widget-dropdown-button {
background: none;
border: none;
}
.deck-widget-stats-content {
padding: 4px 8px 8px;
}
/* Popup styles */
.deck-widget.deck-widget-popover {
margin: 0 !important;
}
.deck-widget-popup-marker {
position: absolute;
pointer-events: all;
cursor: pointer;
}
.deck-widget-popup-content {
border-radius: var(--button-corner-radius, 8px);
background: var(--menu-background, #fff);
color: var(--menu-text, rgb(24, 24, 26));
box-shadow: var(--menu-shadow, 0px 0px 8px 0px rgba(0, 0, 0, 0.25));
padding: 10px;
}
.deck-widget-popup-content .deck-widget-popup-controls {
--button-size: 20px;
}
.deck-widget-popup-content .deck-widget-popup-controls .deck-widget-button {
box-shadow: none;
}
.deck-widget-popup-content button.deck-widget-popup-close-button .deck-widget-icon {
mask-image: var(
--icon-close,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 -120 120 120" fill="black"><path d="m32-25-7-7 28-28-28-28 7-7 28 28 28-28 7 7-28 28 28 28-7 7-28-28-28 28Z"/></svg>')
);
-webkit-mask-image: var(
--icon-close,
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 -120 120 120" fill="black"><path d="m32-25-7-7 28-28-28-28 7-7 28 28 28-28 7 7-28 28 28 28-7 7-28-28-28 28Z"/></svg>')
);
}
/** Range input */
.deck-widget-range {
position: relative;
pointer-events: all;
display: flex;
align-items: center;
user-select: none;
touch-action: none;
box-sizing: border-box;
margin: 0;
}
.deck-widget-range__track {
position: relative;
cursor: pointer;
flex: 1;
background: var(--range-track-color, #888);
border-radius: calc(var(--range-track-size, 16px) / 2);
}
.deck-widget-range__decorations {
position: absolute;
}
.deck-widget-range__decoration {
position: absolute;
}
.deck-widget-range__decoration:active {
background-color: var(--range-decoration-active-color, gold) !important;
}
.deck-widget-range__thumb {
position: relative;
box-sizing: content-box;
padding: calc(var(--range-thumb-size, 10px) / 2);
border-radius: calc(var(--range-thumb-size, 10px) / 2);
margin: calc(var(--range-thumb-size, 10px) * -0.5);
background: var(--range-thumb-color, #444);
}
.deck-widget-range__button {
cursor: pointer;
opacity: 0.4;
background-color: transparent;
width: var(--range-step-button-size, 24px);
height: var(--range-step-button-size, 24px);
background-size: cover;
border: none;
padding: 0;
}
.deck-widget-range__button:hover {
opacity: 1;
}
.deck-widget-range:not(.deck-widget-range--disabled) .deck-widget-range__button:disabled {
pointer-events: none;
opacity: 0.1;
}
.deck-widget-range--disabled {
display: none;
}
.deck-widget-range--vertical {
flex-direction: column;
height: 100%;
top: 0;
}
.deck-widget-range--horizontal {
flex-direction: row;
width: 100%;
left: 0;
}
.deck-widget-range--vertical .deck-widget-range__track {
width: var(--range-track-size, 16px);
padding-top: calc(var(--range-track-size, 16px) / 2);
padding-bottom: calc(var(--range-track-size, 16px) / 2);
height: 100%;
min-height: calc(var(--range-track-size, 16px) * 3);
}
.deck-widget-range--vertical .deck-widget-range__thumb {
width: 0;
left: 50%;
cursor: ns-resize;
}
.deck-widget-range--vertical .deck-widget-range__decorations {
top: calc(var(--range-track-size, 16px) / 2);
bottom: calc(var(--range-track-size, 16px) / 2);
left: 0;
right: 0;
}
.deck-widget-range--vertical .deck-widget-range__button--start .deck-widget-icon {
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 -960 960 960" fill="black"><path d="M480-528 296-344l-56-56 240-240 240 240-56 56-184-184Z"/></svg>');
}
.deck-widget-range--vertical .deck-widget-range__button--end .deck-widget-icon {
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 -960 960 960" fill="black"><path d="M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z"/></svg>');
}
.deck-widget-range--horizontal .deck-widget-range__track {
height: var(--range-track-size, 16px);
padding-left: calc(var(--range-track-size, 16px) / 2);
padding-right: calc(var(--range-track-size, 16px) / 2);
width: 100%;
min-width: calc(var(--range-track-size, 16px) * 3);
}
.deck-widget-range--horizontal .deck-widget-range__thumb {
height: 0;
top: 50%;
cursor: ew-resize;
}
.deck-widget-range--horizontal .deck-widget-range__decorations {
left: calc(var(--range-track-size, 16px) / 2);
right: calc(var(--range-track-size, 16px) / 2);
top: 0;
bottom: 0;
}
.deck-widget-range--horizontal .deck-widget-range__button--start .deck-widget-icon {
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 -960 960 960" fill="black"><path d="M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"/></svg>');
}
.deck-widget-range--horizontal .deck-widget-range__button--end .deck-widget-icon {
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 -960 960 960" fill="black"><path d="M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"/></svg>');
}
/** Scrollbar */
.deck-widget-scrollbar .deck-widget-range {
position: absolute;
}
.deck-widget-scrollbar .deck-widget-range--vertical {
top: var(--range-step-button-size, 24px);
height: calc(100% - var(--range-step-button-size, 24px) * 2);
}
.deck-widget-scrollbar[data-placement$=-left] .deck-widget-range--vertical {
left: 0;
}
.deck-widget-scrollbar[data-placement$=-right] .deck-widget-range--vertical {
right: 0;
}
.deck-widget-scrollbar .deck-widget-range--horizontal {
left: var(--range-step-button-size, 24px);
width: calc(100% - var(--range-step-button-size, 24px) * 2);
}
.deck-widget-scrollbar[data-placement^=top-] .deck-widget-range--horizontal {
top: 0;
}
.deck-widget-scrollbar[data-placement^=bottom-] .deck-widget-range--horizontal {
bottom: 0;
}
/** Splitter */
.deck-widget.deck-widget-splitter {
position: absolute;
margin: 0;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.deck-widget-splitter-handle {
position: absolute;
background: var(--button-background, #fff);
z-index: 10;
pointer-events: auto;
box-shadow: inset 1px 1px 1px var(--button-icon-idle, #616166);
}
.deck-widget-splitter-handle.active {
box-shadow: var(--button-shadow, 0px 0px 8px 0px rgba(0, 0, 0, 0.25));
}
.deck-widget-splitter-handle:before {
content: ' ';
display: block;
position: absolute;
box-sizing: content-box;
width: 100%;
height: 100%;
padding: 4px;
margin: -4px;
}
.deck-widget-splitter-handle--horizontal {
top: 0;
bottom: 0;
width: 2px;
margin-left: -1px;
cursor: col-resize;
}
.deck-widget-splitter-handle--vertical {
left: 0;
right: 0;
height: 2px;
margin-top: -1px;
cursor: row-resize;
}