@3deye-toolkit/react-camera 0.0.1-alpha.7 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,949 @@
1
+ .x-3deye-player * {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ .x-3deye-player {
6
+ position: relative;
7
+ background-color: black;
8
+ }
9
+
10
+ .x-3deye-player__zoomable-wrapper {
11
+ width: 100%;
12
+ height: 100%;
13
+ overflow: hidden;
14
+ }
15
+
16
+ .x-3deye-player__zoomable {
17
+ width: 100%;
18
+ height: 100%;
19
+ }
20
+
21
+ .x-3deye-player video {
22
+ width: 100%;
23
+ height: 100%;
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ bottom: 0;
28
+ right: 0;
29
+ }
30
+
31
+ .x-3deye-button {
32
+ color: inherit;
33
+ background: none;
34
+ border: none;
35
+ position: relative;
36
+ padding: 0 8px;
37
+ height: 32px;
38
+ -webkit-user-select: none;
39
+ -moz-user-select: none;
40
+ -ms-user-select: none;
41
+ user-select: none;
42
+ display: inline-flex;
43
+ justify-content: center;
44
+ align-items: center;
45
+ border-radius: 4px;
46
+ letter-spacing: 0.0107142857em;
47
+ font-weight: 500;
48
+ }
49
+
50
+ .x-3deye-button sup {
51
+ position: relative;
52
+ top: -0.5em;
53
+ left: 0.25em;
54
+ }
55
+
56
+ .x-3deye-button.x-3deye-button--fullwidth {
57
+ width: 100%;
58
+ }
59
+
60
+ .x-3deye-button:focus,
61
+ .x-3deye-button.x-3deye-button:not(:disabled):hover {
62
+ background-color: rgba(var(--surface-highlight-rgb), 0.1);
63
+ }
64
+
65
+ .x-3deye-button--icon {
66
+ border-radius: 16px;
67
+ padding: 4px;
68
+ width: 32px;
69
+ height: 32px;
70
+ display: inline-flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ }
74
+
75
+ .x-3deye-button:disabled {
76
+ opacity: 0.4;
77
+ }
78
+
79
+ .x-3deye-button:not(:disabled) {
80
+ cursor: pointer;
81
+ }
82
+
83
+ .x-3deye-button.x-3deye-button--filled,
84
+ .x-3deye-button.x-3deye-button--text {
85
+ min-width: 80px;
86
+ text-transform: capitalize;
87
+ font-family: 'Roboto', sans-serif;
88
+ font-size: 0.875rem;
89
+ font-weight: 500;
90
+ border-radius: 0.25rem;
91
+ padding: 0 1rem;
92
+ }
93
+
94
+ .x-3deye-button.x-3deye-button--filled {
95
+ background-color: rgb(39, 185, 161);
96
+ color: white;
97
+ }
98
+
99
+ .x-3deye-button.x-3deye-button--filled:not(:disabled):hover {
100
+ background-color: rgb(34, 163, 142);
101
+ }
102
+
103
+ .x-3deye-button.x-3deye-button--filled:focus {
104
+ transition: box-shadow 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
105
+ box-shadow: 0 0 0 2px rgba(39, 185, 161, 0.33);
106
+ }
107
+
108
+ .x-3deye-button canvas {
109
+ color: rgb(var(--surface-highlight-rgb));
110
+ }
111
+
112
+ .x-3deye-button--overlay {
113
+ pointer-events: auto;
114
+ background: rgba(0, 0, 0, 0.5);
115
+ border: 2px solid rgba(255, 255, 255, 0.25);
116
+ color: white;
117
+ }
118
+
119
+ .x-3deye-button.x-3deye-button--overlay:focus,
120
+ .x-3deye-button.x-3deye-button--overlay:not(:disabled):hover {
121
+ background: rgba(0, 0, 0, 0.5);
122
+ border: 2px solid rgba(255, 255, 255, 0.5);
123
+ }
124
+
125
+ .x-3deye-button.x-3deye-button--overlay.x-3deye-button--overlay-danger:not(:disabled),
126
+ .x-3deye-button.x-3deye-button--overlay.x-3deye-button--overlay-danger:not(:disabled):hover {
127
+ background-color: rgba(156, 51, 49, 0.5);
128
+ }
129
+
130
+ .x-3deye-tooltip {
131
+ background: rgb(0 0 0 / 0.9);
132
+ color: white;
133
+ border: none;
134
+ border-radius: 4px;
135
+ padding: 0.5em 1em;
136
+ font-size: 12px;
137
+ border: rgb(255 255 255 / 0.15) 1px solid;
138
+ }
139
+
140
+ .spinner {
141
+ -webkit-animation: spinner-rotation 1.5s linear infinite;
142
+ animation: spinner-rotation 1.5s linear infinite;
143
+ width: 65px;
144
+ height: 65px;
145
+ }
146
+
147
+ .spinner circle {
148
+ stroke-dasharray: 207.34;
149
+ stroke-dashoffset: 0;
150
+ transform-origin: center;
151
+ -webkit-animation: spinner-dash 1.5s ease-in-out infinite;
152
+ animation: spinner-dash 1.5s ease-in-out infinite;
153
+ }
154
+
155
+ @-webkit-keyframes spinner-rotation {
156
+ 0% {
157
+ transform: rotate(0deg);
158
+ }
159
+ 100% {
160
+ transform: rotate(270deg);
161
+ }
162
+ }
163
+
164
+ @keyframes spinner-rotation {
165
+ 0% {
166
+ transform: rotate(0deg);
167
+ }
168
+ 100% {
169
+ transform: rotate(270deg);
170
+ }
171
+ }
172
+
173
+ @-webkit-keyframes spinner-dash {
174
+ 0% {
175
+ stroke-dashoffset: 207.34;
176
+ }
177
+ 50% {
178
+ stroke-dashoffset: 51.835; /* offset / 4 */
179
+ transform: rotate(135deg);
180
+ }
181
+ 100% {
182
+ stroke-dashoffset: 207.34;
183
+ transform: rotate(450deg);
184
+ }
185
+ }
186
+
187
+ @keyframes spinner-dash {
188
+ 0% {
189
+ stroke-dashoffset: 207.34;
190
+ }
191
+ 50% {
192
+ stroke-dashoffset: 51.835; /* offset / 4 */
193
+ transform: rotate(135deg);
194
+ }
195
+ 100% {
196
+ stroke-dashoffset: 207.34;
197
+ transform: rotate(450deg);
198
+ }
199
+ }
200
+
201
+ .x-3deye-player__camera-name-popover {
202
+ background-color: rgba(15, 15, 20, 0.8);
203
+ box-shadow: none;
204
+ color: white;
205
+ white-space: nowrap;
206
+ }
207
+
208
+ .x-3deye-popover-container.x-3deye-player__camera-name-popover svg {
209
+ --tip-background: rgb(15, 15, 20);
210
+ opacity: 0.8;
211
+ }
212
+
213
+ .x-3deye-player__camera-name-popover button.x-3deye-button {
214
+ pointer-events: auto;
215
+ font-size: inherit;
216
+ }
217
+
218
+ .x-3deye-player__camera-name-popover button.x-3deye-button:hover {
219
+ text-decoration: underline;
220
+ }
221
+
222
+ .x-3deye-player__camera-name {
223
+ background-color: rgba(0, 0, 0, 0.25);
224
+ text-shadow: 1px 1px 1px black;
225
+ opacity: 0.8;
226
+ padding: 2px 16px;
227
+ border-radius: 16px;
228
+ line-height: 16px;
229
+ cursor: pointer;
230
+ -webkit-backdrop-filter: blur(3px);
231
+ backdrop-filter: blur(3px);
232
+ }
233
+
234
+ .x-3deye-player__camera-name:hover {
235
+ text-decoration: underline;
236
+ }
237
+
238
+ .x-3deye-popover-container {
239
+ background: #222;
240
+ box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgb(0 0 0 / 0.1),
241
+ inset 0 0 0 1px rgb(255 255 255 /0.05);
242
+ color: white;
243
+ border-radius: 6px;
244
+ padding: 8px;
245
+ text-align: left;
246
+ -webkit-animation: slide-in 0.15s ease-in;
247
+ animation: slide-in 0.15s ease-in;
248
+ }
249
+
250
+ @media(prefers-reduced-motion: reduce) {
251
+ .x-3deye-popover-container {
252
+ -webkit-animation: none;
253
+ animation: none;
254
+ }
255
+ }
256
+
257
+
258
+ .x-3deye-popover-container .tip {
259
+ --tip-background: #222;
260
+ --tip-border: rgb(255 255 255 /0.05);
261
+ }
262
+
263
+ .x-3deye-player__stats > summary {
264
+ line-height: 24px;
265
+ }
266
+
267
+ .x-3deye-player__stats > summary:hover {
268
+ text-decoration: underline;
269
+ }
270
+
271
+ .x-3deye-player__stats dl {
272
+ font-size: 0.75rem;
273
+ line-height: 1.25rem;
274
+ display: table;
275
+ margin-top: 0;
276
+ margin-bottom: 0.75rem;
277
+ }
278
+
279
+ .x-3deye-player__stats dl > div {
280
+ display: table-row;
281
+ }
282
+
283
+ .x-3deye-player__stats dl > div > dt,
284
+ .x-3deye-player__stats dl > div > dd {
285
+ display: table-cell;
286
+ }
287
+
288
+ .x-3deye-player__stats dl > div > dd {
289
+ font-variant-numeric: tabular-nums;
290
+ text-align: right;
291
+ min-width: 100px;
292
+ }
293
+
294
+ .x-3deye-live-indicator {
295
+ -webkit-user-select: none;
296
+ -moz-user-select: none;
297
+ -ms-user-select: none;
298
+ user-select: none;
299
+ padding: 0 5px;
300
+ color: rgba(0, 0, 0, 0.7);
301
+ background-color: white;
302
+ font-weight: bold;
303
+ text-transform: uppercase;
304
+ opacity: 0.8;
305
+ }
306
+
307
+ .x-3deye-button--live {
308
+ height: 24px;
309
+ padding: 0 12px;
310
+ background-color: rgba(0, 0, 0, 0.25);
311
+ border-radius: 15px;
312
+ margin: 0;
313
+ color: orange;
314
+ text-shadow: 1px 1px 1px black;
315
+ text-transform: uppercase;
316
+ }
317
+
318
+ .x-3deye-player__overlay .x-3deye-button-go-live:focus {
319
+ box-shadow: 0 0 2px orange;
320
+ }
321
+
322
+ .x-3deye-delay-indicator:hover {
323
+ text-decoration: underline;
324
+ }
325
+
326
+ .x-3deye-delay-indicator {
327
+ background-color: rgba(0, 0, 0, 0.25);
328
+ border-radius: 15px;
329
+ padding: 2px 8px;
330
+ }
331
+
332
+ .x-3deye-player__playback-indicator {
333
+ pointer-events: none;
334
+ position: absolute;
335
+ top: 50%;
336
+ left: 50%;
337
+ transform: translate(-50%, -50%);
338
+ -webkit-animation: playback-indicator-fade-out 0.5s linear forwards;
339
+ animation: playback-indicator-fade-out 0.5s linear forwards;
340
+ display: none;
341
+ background-color: rgba(0, 0, 0, 0.5);
342
+ width: 48px;
343
+ height: 48px;
344
+ padding: 8px;
345
+ border-radius: 48px;
346
+ }
347
+
348
+ @-webkit-keyframes playback-indicator-fade-out {
349
+ 0% {
350
+ opacity: 1;
351
+ transform: translate(-50%, -50%) scale(1);
352
+ }
353
+
354
+ 100% {
355
+ opacity: 0;
356
+ transform: translate(-50%, -50%) scale(2);
357
+ }
358
+ }
359
+
360
+ @keyframes playback-indicator-fade-out {
361
+ 0% {
362
+ opacity: 1;
363
+ transform: translate(-50%, -50%) scale(1);
364
+ }
365
+
366
+ 100% {
367
+ opacity: 0;
368
+ transform: translate(-50%, -50%) scale(2);
369
+ }
370
+ }
371
+
372
+ .x-3deye-player__overlay {
373
+ position: absolute;
374
+ top: 0;
375
+ left: 0;
376
+ bottom: 0;
377
+ right: 0;
378
+ color: white;
379
+ }
380
+
381
+ .x-3deye-player__controls {
382
+ position: absolute;
383
+ left: 0;
384
+ bottom: 0;
385
+ right: 0;
386
+ height: 54px;
387
+ opacity: 0;
388
+ display: flex;
389
+ pointer-events: none;
390
+ }
391
+
392
+ .x-3deye-player__controls > * {
393
+ pointer-events: auto;
394
+ }
395
+
396
+ .x-3deye-player__overlay:hover .x-3deye-player__controls,
397
+ .x-3deye-player__controls:focus-within,
398
+ .x-3deye-player--paused .x-3deye-player__controls {
399
+ opacity: 1;
400
+ }
401
+
402
+ .x-3deye-player__indicators {
403
+ display: flex;
404
+ pointer-events: none;
405
+ align-items: center;
406
+ }
407
+
408
+ .x-3deye-player__indicators > * {
409
+ margin: 5px;
410
+ }
411
+
412
+ .x-3deye-player__overlay .x-3deye-button--live {
413
+ opacity: 0;
414
+ margin: 3px 5px;
415
+ }
416
+
417
+ .x-3deye-player__overlay:hover .x-3deye-button--live,
418
+ .x-3deye-button--live:focus {
419
+ opacity: 1;
420
+ }
421
+
422
+ .x-3deye-player__overlay .x-3deye-player__camera-name {
423
+ pointer-events: auto;
424
+ }
425
+
426
+ .x-3deye-player__current-time {
427
+ line-height: 16px;
428
+ font-size: 11px;
429
+ text-shadow: 1px 1px 1px black;
430
+ background-color: rgba(0, 0, 0, 0.25);
431
+ padding: 2px 16px;
432
+ border-radius: 16px;
433
+ }
434
+
435
+ .x-3deye-player__current-time--synced {
436
+ background-color: rgb(147, 221, 30, 0.6);
437
+ }
438
+
439
+ .x-3deye-player__zoom-preview {
440
+ display: flex;
441
+ flex-direction: column;
442
+ position: absolute;
443
+ right: 44px;
444
+ top: 50%;
445
+ transform: translateY(-50%);
446
+ background-color: rgba(0, 0, 0, 0.7);
447
+ border: 1px solid white;
448
+ }
449
+
450
+ .x-3deye-player__zoom-preview .zoom-value {
451
+ position: absolute;
452
+ top: 0;
453
+ left: 0;
454
+ right: 0;
455
+ bottom: 0;
456
+ display: flex;
457
+ justify-content: center;
458
+ align-items: center;
459
+ font-family: monospace;
460
+ font-size: 32px;
461
+ font-weight: bold;
462
+ color: white;
463
+ text-shadow: 0 1px 1px black;
464
+ }
465
+
466
+ .x-3deye-player__zoom-preview .x-3deye-player__zoomable {
467
+ position: relative;
468
+ flex: 1;
469
+ background-color: rgba(255, 255, 255, 0.5);
470
+ }
471
+
472
+ .x-3deye-player__zoom-slider {
473
+ position: absolute;
474
+ right: 10px;
475
+ top: 50%;
476
+ transform: translateY(-50%);
477
+ width: 34px;
478
+ padding: 10px 5px;
479
+ background-color: rgba(0, 0, 0, 0.5);
480
+ border: 2px solid rgba(255, 255, 255, 0.25);
481
+ border-radius: 4px;
482
+ -webkit-backdrop-filter: blur(2px);
483
+ backdrop-filter: blur(2px);
484
+ }
485
+
486
+ .x-3deye-player__zoom-slider .tick {
487
+ margin-left: 4px;
488
+ width: 12px;
489
+ height: 10px;
490
+ border-top: 1px solid rgba(255, 255, 255, 0.4);
491
+ }
492
+
493
+ .x-3deye-player__zoom-slider .tick:nth-child(5n + 1) {
494
+ margin-left: 0px;
495
+ width: 20px;
496
+ border-top-width: 2px;
497
+ }
498
+
499
+ .x-3deye-player__zoom-slider .tick:last-child {
500
+ height: 0;
501
+ }
502
+
503
+ .x-3deye-player__zoom-slider .rotation-button {
504
+ padding: 0;
505
+ margin-left: -4px;
506
+ margin-bottom: -4px;
507
+ width: 28px;
508
+ text-align: right;
509
+ color: white;
510
+ }
511
+
512
+ .x-3deye-player__zoom-preview {
513
+ display: none;
514
+ }
515
+
516
+ .x-3deye-player__zoom-slider:hover + .x-3deye-player__zoom-preview,
517
+ .x-3deye-player__zoom-slider + .x-3deye-player__zoom-preview:focus,
518
+ .x-3deye-player__zoom-preview:hover,
519
+ .x-3deye-player__zoom-preview:focus {
520
+ display: block;
521
+ }
522
+
523
+ .x-3deye-player__controls {
524
+ display: flex;
525
+ padding: 8px;
526
+ }
527
+
528
+ .x-3deye-player__controls .spacer {
529
+ pointer-events: none;
530
+ flex: 1;
531
+ }
532
+
533
+ .x-3deye-button.x-3deye-player__control {
534
+ width: 38px;
535
+ height: 38px;
536
+ background-color: rgb(26,30,29, 0.8);
537
+ color: rgba(255, 255, 255, 0.6);
538
+ border-radius: 0;
539
+ display: flex;
540
+ justify-content: center;
541
+ align-items: center;
542
+ }
543
+
544
+ .x-3deye-player__controls--compact .x-3deye-player__control {
545
+ padding: 0;
546
+ }
547
+
548
+ .x-3deye-player__controls--compact .x-3deye-player__control .icon {
549
+ width: 20px;
550
+ }
551
+
552
+ .x-3deye-player__control--reflowed {
553
+ width: 20px;
554
+ }
555
+
556
+ .x-3deye-player__control + .x-3deye-player__control {
557
+ border-left: 1px solid rgb(26,30,29);
558
+ }
559
+
560
+ .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control:hover {
561
+ background-color: #2a2e2d;
562
+ color: white;
563
+ }
564
+
565
+ .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control:focus {
566
+ box-shadow: 0 0 0 0.2rem rgba(52,58,64,.5);
567
+ background-color: rgb(26,30,29, 0.8);
568
+ z-index: 1;
569
+ }
570
+
571
+ .x-3deye-player__control:first-child {
572
+ border-top-left-radius: 4px;
573
+ border-bottom-left-radius: 4px;
574
+ }
575
+
576
+ .x-3deye-player__controls > .x-3deye-player__control:last-child {
577
+ border-top-right-radius: 4px;
578
+ border-bottom-right-radius: 4px;
579
+ }
580
+
581
+ .x-3deye-player__controls--spaced > .spacer+.x-3deye-player__control {
582
+ border-top-left-radius: 4px;
583
+ border-bottom-left-radius: 4px;
584
+ }
585
+
586
+ .x-3deye-player__controls--spaced > .x-3deye-player__control.before-spacer {
587
+ border-top-right-radius: 4px;
588
+ border-bottom-right-radius: 4px;
589
+ }
590
+
591
+ .x-3deye-button.x-3deye-player__control-close {
592
+ background-color: rgba(156, 51, 49, 0.8);
593
+ }
594
+
595
+ .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-close:hover {
596
+ background-color: rgba(156, 51, 49);
597
+ }
598
+
599
+ .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-close:focus {
600
+ background-color: rgba(156, 51, 49, 0.8);
601
+ box-shadow: 0 0 0 0.2rem rgba(101, 20, 46, 0.5);
602
+ }
603
+
604
+ .x-3deye-player--paused .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-playpause {
605
+ background-color: rgba(49, 106, 156, 0.8);
606
+ }
607
+
608
+ .x-3deye-player--paused .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-playpause:hover {
609
+ background-color: rgba(49, 106, 156);
610
+ }
611
+
612
+ .x-3deye-player--paused .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-playpause:focus {
613
+ background-color: rgba(49, 106, 156, 0.8);
614
+ box-shadow: 0 0 0 0.2rem rgba(20, 69, 101, 0.5);
615
+ }
616
+
617
+ .x-3deye-popover-container.popover-playbackrate {
618
+ background: white;
619
+ color: black;
620
+ }
621
+
622
+ .x-3deye-popover-container.popover-playbackrate .tip {
623
+ --tip-background: white;
624
+ --tip-border: transparent;
625
+ }
626
+
627
+ .volume-control:hover .volume-range,
628
+ .volume-control:focus .volume-range,
629
+ .volume-control:focus-within .volume-range {
630
+ visibility: visible;
631
+ transition: visibility 0s;
632
+ }
633
+
634
+ .volume-range {
635
+ --surface-inverse: rgba(255, 255, 255, 0.15);
636
+ --surface-highlight-rgb: 255, 255, 255;
637
+ --primary-color: #0067ac;
638
+ --on-primary-color: white;
639
+ background-color: rgba(26, 30, 29, 0.5);
640
+ padding: 16px 4px;
641
+ border-radius: 4px;
642
+ position: absolute;
643
+ display: flex;
644
+ justify-content: center;
645
+ width: 32px;
646
+ height: 140px;
647
+ bottom: 100%;
648
+ left: 0;
649
+ visibility: hidden;
650
+ transition: visibility 0s 0.5s;
651
+ transform-origin: 16px 12px;
652
+ }
653
+
654
+ .x-3deye-slider {
655
+ position: relative;
656
+ display: flex;
657
+ align-items: center;
658
+ }
659
+
660
+ .x-3deye-slider:focus-visible {
661
+ outline: none;
662
+ }
663
+
664
+ .x-3deye-slider.horizontal {
665
+ width: 100%;
666
+ height: 20px;
667
+ }
668
+
669
+ .x-3deye-slider.vertical {
670
+ width: 20px;
671
+ height: 100%;
672
+ flex-direction: column;
673
+ }
674
+
675
+ .x-3deye-slider__track {
676
+ background: var(--surface-inverse, gainsboro);
677
+ position: relative;
678
+ flex: 1;
679
+ }
680
+
681
+ .x-3deye-slider__bar {
682
+ background-color: var(--primary-color, #0067ac);
683
+ position: absolute;
684
+ }
685
+
686
+ .x-3deye-slider.disabled .x-3deye-slider__bar {
687
+ background-color: rgb(165, 165, 165);
688
+ }
689
+
690
+ .x-3deye-slider.horizontal .x-3deye-slider__bar {
691
+ top: 0;
692
+ bottom: 0;
693
+ left: 0;
694
+ }
695
+
696
+ .x-3deye-slider.vertical .x-3deye-slider__bar {
697
+ bottom: 0;
698
+ left: 0;
699
+ right: 0;
700
+ }
701
+
702
+ .x-3deye-slider.horizontal .x-3deye-slider__track {
703
+ height: 3px;
704
+ }
705
+
706
+ .x-3deye-slider.vertical .x-3deye-slider__track {
707
+ width: 3px;
708
+ }
709
+
710
+ .x-3deye-slider__thumb {
711
+ will-change: transform box-shadow;
712
+ background: white;
713
+ box-shadow: 0 0 0 6px rgba(0, 100, 255, 0), 0 0 0 1px rgba(0, 0, 0, 0.1) inset, 1px 1px 2px 0 rgba(0, 0, 0, 0.25);
714
+ width: 20px;
715
+ height: 20px;
716
+ border-radius: 50%;
717
+ transition: box-shadow 150ms cubic-bezier(0.45, 0.05, 0.55, 0.95) 0ms;
718
+ }
719
+
720
+ .x-3deye-slider:not(.disabled) .x-3deye-slider__thumb:hover,
721
+ .x-3deye-slider:focus .x-3deye-slider__thumb {
722
+ box-shadow: 0 0 0 6px rgba(var(--surface-highlight-rgb, 0, 100, 255), 0.1), 0 0 0 1px rgba(0, 0, 0, 0.1) inset,
723
+ 1px 1px 2px 0 rgba(0, 0, 0, 0.25);
724
+ }
725
+
726
+ .x-3deye-slider:focus .x-3deye-slider__thumb.active {
727
+ box-shadow: 0 0 0 6px rgba(var(--surface-highlight-rgb, 0, 100, 255), 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1) inset,
728
+ 1px 1px 2px 0 rgba(0, 0, 0, 0.25);
729
+ }
730
+
731
+ .x-3deye-slider.horizontal .x-3deye-slider__thumb {
732
+ margin-left: -10px;
733
+ }
734
+
735
+ .x-3deye-slider.vertical .x-3deye-slider__thumb {
736
+ margin-bottom: -10px;
737
+ }
738
+
739
+ .x-3deye-slider__label {
740
+ pointer-events: none;
741
+ touch-action: none;
742
+ will-change: transform;
743
+ transform: translate(-50%, -100%) scale(0);
744
+ background: var(--primary-color, #0067ac);
745
+ bottom: 50%;
746
+ left: 50%;
747
+ color: var(--on-primary-color, white);
748
+ font-size: 0.75rem;
749
+ border-radius: 4px;
750
+ width: -webkit-fit-content;
751
+ width: -moz-fit-content;
752
+ width: fit-content;
753
+ min-width: 24px;
754
+ padding: 4px 8px;
755
+ position: relative;
756
+ transition: transform 150ms cubic-bezier(0.45, 0.05, 0.55, 0.95) 0ms;
757
+ transform-origin: center bottom;
758
+ }
759
+
760
+ .x-3deye-slider__label.open,
761
+ .x-3deye-slider:not(.disabled) .x-3deye-slider__thumb:hover .x-3deye-slider__label,
762
+ .x-3deye-slider:focus .x-3deye-slider__label {
763
+ transform: translate(-50%, -100%) scale(1);
764
+ }
765
+
766
+ .x-3deye-slider__label::before {
767
+ content: '';
768
+ display: block;
769
+ position: absolute;
770
+ top: 100%;
771
+ left: calc(50% - 5px);
772
+ width: 0;
773
+ height: 0;
774
+ border-left: 5px solid transparent;
775
+ border-right: 5px solid transparent;
776
+ border-top: 5px solid var(--primary-color, #0067ac);
777
+ }
778
+
779
+ .ptz-popover.x-3deye-popover-container {
780
+ border-radius: 6px;
781
+ background-color: rgba(15, 15, 20, 0.7);
782
+ box-shadow: none;
783
+ color: rgba(255, 255, 255, 0.8);
784
+ border: 1px solid rgba(255, 255, 255, 0.2);
785
+ -webkit-backdrop-filter: blur(1px);
786
+ backdrop-filter: blur(1px);
787
+ }
788
+
789
+ .ptz-popover .tip {
790
+ --tip-background: rgba(15, 15, 20, 0.5);
791
+ --tip-border: rgba(255, 255, 255, 0.2);
792
+ }
793
+
794
+ .ptz-popover {
795
+ --surface-inverse: rgba(255, 255, 255, 0.15);
796
+ --surface-highlight-rgb: 255, 255, 255;
797
+ --primary-color: #0067ac;
798
+ --on-primary-color: white;
799
+ }
800
+
801
+ .segmented-control-wrapper {
802
+ display: inline-grid;
803
+ border-radius: 6px;
804
+ background-color: var(--surface-inverse);
805
+ }
806
+
807
+ .segmented-control {
808
+ display: grid;
809
+ margin: 2px;
810
+ position: relative;
811
+ grid-auto-flow: column;
812
+ grid-auto-columns: 1fr;
813
+ --indicator-offset: 0%;
814
+ }
815
+
816
+ .segmented-control-indicator {
817
+ position: absolute;
818
+ height: 100%;
819
+ pointer-events: none;
820
+ transform: translateX(var(--indicator-offset));
821
+ transition: 0.2s ease-in-out;
822
+ }
823
+
824
+ .segmented-control-indicator-inner {
825
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
826
+ border-radius: 6px;
827
+ background: #fff;
828
+ transition: 0.2s;
829
+ transform: scale(1);
830
+ position: absolute;
831
+ inset: 0;
832
+ }
833
+
834
+ .segmented-control-indicator.active .segmented-control-indicator-inner {
835
+ transform: scale(0.95);
836
+ }
837
+
838
+ .segmented-control-button {
839
+ font-family: inherit;
840
+ min-height: 24px;
841
+ margin: 2px;
842
+ background: none;
843
+ border: none;
844
+ color: currentColor;
845
+ -webkit-user-select: none;
846
+ -moz-user-select: none;
847
+ -ms-user-select: none;
848
+ user-select: none;
849
+ text-overflow: ellipsis;
850
+ overflow: hidden;
851
+ z-index: 1;
852
+ }
853
+
854
+ .segmented-control-button:not(.current):hover {
855
+ opacity: 0.6;
856
+ }
857
+
858
+ .segmented-control-button.current {
859
+ color: black;
860
+ }
861
+
862
+ .box-selector {
863
+ border: 2px solid deepskyblue;
864
+ background-color: rgba(0, 191, 255, 0.5);
865
+ }
866
+
867
+ .box-selector-close {
868
+ background-color: skyblue;
869
+ transition: 0.2s ease-in;
870
+ color: #026282;
871
+ }
872
+
873
+ .box-selector-close:hover {
874
+ color: white;
875
+ }
876
+
877
+ .box-selector-preview {
878
+ width: 40px;
879
+ height: 40px;
880
+ position: relative;
881
+ margin: 20px 20px 0px 10px;
882
+ }
883
+
884
+ @-webkit-keyframes expand-box-selector-preview {
885
+ from {
886
+ width: 20px;
887
+ height: 16px;
888
+ }
889
+
890
+ to {
891
+ width: 50px;
892
+ height: 30px;
893
+ }
894
+ }
895
+
896
+ @keyframes expand-box-selector-preview {
897
+ from {
898
+ width: 20px;
899
+ height: 16px;
900
+ }
901
+
902
+ to {
903
+ width: 50px;
904
+ height: 30px;
905
+ }
906
+ }
907
+
908
+ .box-selector-preview .box-selector {
909
+ /* width: 20px;
910
+ height: 16px; */
911
+ width: 50px;
912
+ height: 30px;
913
+ position: relative;
914
+ will-change: width, height;
915
+
916
+ -webkit-animation-duration: 0.5s;
917
+
918
+ animation-duration: 0.5s;
919
+ -webkit-animation-name: expand-box-selector-preview;
920
+ animation-name: expand-box-selector-preview;
921
+ }
922
+
923
+ .box-selector-preview .icon {
924
+ position: absolute;
925
+ bottom: -7px;
926
+ right: -7px;
927
+ }
928
+
929
+ /* .box-selector-select:hover .box-selector {
930
+ width: 50px;
931
+ height: 30px;
932
+ } */
933
+
934
+ .box-selector-select {
935
+ color: rgba(255, 255, 255, 0.8);
936
+ background-color: rgba(0, 0, 0, 0.5);
937
+ -webkit-backdrop-filter: blur(2px);
938
+ backdrop-filter: blur(2px);
939
+ text-transform: uppercase;
940
+ font-weight: bold;
941
+ text-align: center;
942
+ border-radius: 4px;
943
+ padding: 8px;
944
+ width: content-width;
945
+ }
946
+
947
+ .box-selector-cancel {
948
+ pointer-events: auto;
949
+ }