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

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,938 @@
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:hover {
264
+ text-decoration: underline;
265
+ }
266
+
267
+ .x-3deye-player__stats dl {
268
+ display: table;
269
+ }
270
+
271
+ .x-3deye-player__stats dl > div {
272
+ display: table-row;
273
+ }
274
+
275
+ .x-3deye-player__stats dl > div > dt, .x-3deye-player__stats dl > div > dd {
276
+ display: table-cell;
277
+ }
278
+
279
+ .x-3deye-player__stats dl > div > dd {
280
+ text-align: right;
281
+ }
282
+
283
+ .x-3deye-live-indicator {
284
+ -webkit-user-select: none;
285
+ -moz-user-select: none;
286
+ -ms-user-select: none;
287
+ user-select: none;
288
+ padding: 0 5px;
289
+ color: rgba(0, 0, 0, 0.7);
290
+ background-color: white;
291
+ font-weight: bold;
292
+ text-transform: uppercase;
293
+ opacity: 0.8;
294
+ }
295
+
296
+ .x-3deye-button--live {
297
+ height: 24px;
298
+ padding: 0 12px;
299
+ background-color: rgba(0, 0, 0, 0.25);
300
+ border-radius: 15px;
301
+ margin: 0;
302
+ color: orange;
303
+ text-shadow: 1px 1px 1px black;
304
+ text-transform: uppercase;
305
+ }
306
+
307
+ .x-3deye-player__overlay .x-3deye-button-go-live:focus {
308
+ box-shadow: 0 0 2px orange;
309
+ }
310
+
311
+ .x-3deye-delay-indicator:hover {
312
+ text-decoration: underline;
313
+ }
314
+
315
+ .x-3deye-delay-indicator {
316
+ background-color: rgba(0, 0, 0, 0.25);
317
+ border-radius: 15px;
318
+ padding: 2px 8px;
319
+ }
320
+
321
+ .x-3deye-player__playback-indicator {
322
+ pointer-events: none;
323
+ position: absolute;
324
+ top: 50%;
325
+ left: 50%;
326
+ transform: translate(-50%, -50%);
327
+ -webkit-animation: playback-indicator-fade-out 0.5s linear forwards;
328
+ animation: playback-indicator-fade-out 0.5s linear forwards;
329
+ display: none;
330
+ background-color: rgba(0, 0, 0, 0.5);
331
+ width: 48px;
332
+ height: 48px;
333
+ padding: 8px;
334
+ border-radius: 48px;
335
+ }
336
+
337
+ @-webkit-keyframes playback-indicator-fade-out {
338
+ 0% {
339
+ opacity: 1;
340
+ transform: translate(-50%, -50%) scale(1);
341
+ }
342
+
343
+ 100% {
344
+ opacity: 0;
345
+ transform: translate(-50%, -50%) scale(2);
346
+ }
347
+ }
348
+
349
+ @keyframes playback-indicator-fade-out {
350
+ 0% {
351
+ opacity: 1;
352
+ transform: translate(-50%, -50%) scale(1);
353
+ }
354
+
355
+ 100% {
356
+ opacity: 0;
357
+ transform: translate(-50%, -50%) scale(2);
358
+ }
359
+ }
360
+
361
+ .x-3deye-player__overlay {
362
+ position: absolute;
363
+ top: 0;
364
+ left: 0;
365
+ bottom: 0;
366
+ right: 0;
367
+ color: white;
368
+ }
369
+
370
+ .x-3deye-player__controls {
371
+ position: absolute;
372
+ left: 0;
373
+ bottom: 0;
374
+ right: 0;
375
+ height: 54px;
376
+ opacity: 0;
377
+ display: flex;
378
+ pointer-events: none;
379
+ }
380
+
381
+ .x-3deye-player__controls > * {
382
+ pointer-events: auto;
383
+ }
384
+
385
+ .x-3deye-player__overlay:hover .x-3deye-player__controls,
386
+ .x-3deye-player__controls:focus-within,
387
+ .x-3deye-player--paused .x-3deye-player__controls {
388
+ opacity: 1;
389
+ }
390
+
391
+ .x-3deye-player__indicators {
392
+ display: flex;
393
+ pointer-events: none;
394
+ align-items: center;
395
+ }
396
+
397
+ .x-3deye-player__indicators > * {
398
+ margin: 5px;
399
+ }
400
+
401
+ .x-3deye-player__overlay .x-3deye-button--live {
402
+ opacity: 0;
403
+ margin: 3px 5px;
404
+ }
405
+
406
+ .x-3deye-player__overlay:hover .x-3deye-button--live,
407
+ .x-3deye-button--live:focus {
408
+ opacity: 1;
409
+ }
410
+
411
+ .x-3deye-player__overlay .x-3deye-player__camera-name {
412
+ pointer-events: auto;
413
+ }
414
+
415
+ .x-3deye-player__current-time {
416
+ line-height: 16px;
417
+ font-size: 11px;
418
+ text-shadow: 1px 1px 1px black;
419
+ background-color: rgba(0, 0, 0, 0.25);
420
+ padding: 2px 16px;
421
+ border-radius: 16px;
422
+ }
423
+
424
+ .x-3deye-player__current-time--synced {
425
+ background-color: rgb(147, 221, 30, 0.6);
426
+ }
427
+
428
+ .x-3deye-player__zoom-preview {
429
+ display: flex;
430
+ flex-direction: column;
431
+ position: absolute;
432
+ right: 44px;
433
+ top: 50%;
434
+ transform: translateY(-50%);
435
+ background-color: rgba(0, 0, 0, 0.7);
436
+ border: 1px solid white;
437
+ }
438
+
439
+ .x-3deye-player__zoom-preview .zoom-value {
440
+ position: absolute;
441
+ top: 0;
442
+ left: 0;
443
+ right: 0;
444
+ bottom: 0;
445
+ display: flex;
446
+ justify-content: center;
447
+ align-items: center;
448
+ font-family: monospace;
449
+ font-size: 32px;
450
+ font-weight: bold;
451
+ color: white;
452
+ text-shadow: 0 1px 1px black;
453
+ }
454
+
455
+ .x-3deye-player__zoom-preview .x-3deye-player__zoomable {
456
+ position: relative;
457
+ flex: 1;
458
+ background-color: rgba(255, 255, 255, 0.5);
459
+ }
460
+
461
+ .x-3deye-player__zoom-slider {
462
+ position: absolute;
463
+ right: 10px;
464
+ top: 50%;
465
+ transform: translateY(-50%);
466
+ width: 34px;
467
+ padding: 10px 5px;
468
+ background-color: rgba(0, 0, 0, 0.5);
469
+ border: 2px solid rgba(255, 255, 255, 0.25);
470
+ border-radius: 4px;
471
+ -webkit-backdrop-filter: blur(2px);
472
+ backdrop-filter: blur(2px);
473
+ }
474
+
475
+ .x-3deye-player__zoom-slider .tick {
476
+ margin-left: 4px;
477
+ width: 12px;
478
+ height: 10px;
479
+ border-top: 1px solid rgba(255, 255, 255, 0.4);
480
+ }
481
+
482
+ .x-3deye-player__zoom-slider .tick:nth-child(5n + 1) {
483
+ margin-left: 0px;
484
+ width: 20px;
485
+ border-top-width: 2px;
486
+ }
487
+
488
+ .x-3deye-player__zoom-slider .tick:last-child {
489
+ height: 0;
490
+ }
491
+
492
+ .x-3deye-player__zoom-slider .rotation-button {
493
+ padding: 0;
494
+ margin-left: -4px;
495
+ margin-bottom: -4px;
496
+ width: 28px;
497
+ text-align: right;
498
+ color: white;
499
+ }
500
+
501
+ .x-3deye-player__zoom-preview {
502
+ display: none;
503
+ }
504
+
505
+ .x-3deye-player__zoom-slider:hover + .x-3deye-player__zoom-preview,
506
+ .x-3deye-player__zoom-slider + .x-3deye-player__zoom-preview:focus,
507
+ .x-3deye-player__zoom-preview:hover,
508
+ .x-3deye-player__zoom-preview:focus {
509
+ display: block;
510
+ }
511
+
512
+ .x-3deye-player__controls {
513
+ display: flex;
514
+ padding: 8px;
515
+ }
516
+
517
+ .x-3deye-player__controls .spacer {
518
+ pointer-events: none;
519
+ flex: 1;
520
+ }
521
+
522
+ .x-3deye-button.x-3deye-player__control {
523
+ width: 38px;
524
+ height: 38px;
525
+ background-color: rgb(26,30,29, 0.8);
526
+ color: rgba(255, 255, 255, 0.6);
527
+ border-radius: 0;
528
+ display: flex;
529
+ justify-content: center;
530
+ align-items: center;
531
+ }
532
+
533
+ .x-3deye-player__controls--compact .x-3deye-player__control {
534
+ padding: 0;
535
+ }
536
+
537
+ .x-3deye-player__controls--compact .x-3deye-player__control .icon {
538
+ width: 20px;
539
+ }
540
+
541
+ .x-3deye-player__control--reflowed {
542
+ width: 20px;
543
+ }
544
+
545
+ .x-3deye-player__control + .x-3deye-player__control {
546
+ border-left: 1px solid rgb(26,30,29);
547
+ }
548
+
549
+ .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control:hover {
550
+ background-color: #2a2e2d;
551
+ color: white;
552
+ }
553
+
554
+ .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control:focus {
555
+ box-shadow: 0 0 0 0.2rem rgba(52,58,64,.5);
556
+ background-color: rgb(26,30,29, 0.8);
557
+ z-index: 1;
558
+ }
559
+
560
+ .x-3deye-player__control:first-child {
561
+ border-top-left-radius: 4px;
562
+ border-bottom-left-radius: 4px;
563
+ }
564
+
565
+ .x-3deye-player__controls > .x-3deye-player__control:last-child {
566
+ border-top-right-radius: 4px;
567
+ border-bottom-right-radius: 4px;
568
+ }
569
+
570
+ .x-3deye-player__controls--spaced > .spacer+.x-3deye-player__control {
571
+ border-top-left-radius: 4px;
572
+ border-bottom-left-radius: 4px;
573
+ }
574
+
575
+ .x-3deye-player__controls--spaced > .x-3deye-player__control.before-spacer {
576
+ border-top-right-radius: 4px;
577
+ border-bottom-right-radius: 4px;
578
+ }
579
+
580
+ .x-3deye-button.x-3deye-player__control-close {
581
+ background-color: rgba(156, 51, 49, 0.8);
582
+ }
583
+
584
+ .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-close:hover {
585
+ background-color: rgba(156, 51, 49);
586
+ }
587
+
588
+ .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-close:focus {
589
+ background-color: rgba(156, 51, 49, 0.8);
590
+ box-shadow: 0 0 0 0.2rem rgba(101, 20, 46, 0.5);
591
+ }
592
+
593
+ .x-3deye-player--paused .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-playpause {
594
+ background-color: rgba(49, 106, 156, 0.8);
595
+ }
596
+
597
+ .x-3deye-player--paused .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-playpause:hover {
598
+ background-color: rgba(49, 106, 156);
599
+ }
600
+
601
+ .x-3deye-player--paused .x-3deye-button.x-3deye-button:not(:disabled).x-3deye-player__control-playpause:focus {
602
+ background-color: rgba(49, 106, 156, 0.8);
603
+ box-shadow: 0 0 0 0.2rem rgba(20, 69, 101, 0.5);
604
+ }
605
+
606
+ .x-3deye-popover-container.popover-playbackrate {
607
+ background: white;
608
+ color: black;
609
+ }
610
+
611
+ .x-3deye-popover-container.popover-playbackrate .tip {
612
+ --tip-background: white;
613
+ --tip-border: transparent;
614
+ }
615
+
616
+ .volume-control:hover .volume-range,
617
+ .volume-control:focus .volume-range,
618
+ .volume-control:focus-within .volume-range {
619
+ visibility: visible;
620
+ transition: visibility 0s;
621
+ }
622
+
623
+ .volume-range {
624
+ --surface-inverse: rgba(255, 255, 255, 0.15);
625
+ --surface-highlight-rgb: 255, 255, 255;
626
+ --primary-color: #0067ac;
627
+ --on-primary-color: white;
628
+ background-color: rgba(26, 30, 29, 0.5);
629
+ padding: 16px 4px;
630
+ border-radius: 4px;
631
+ position: absolute;
632
+ display: flex;
633
+ justify-content: center;
634
+ width: 32px;
635
+ height: 140px;
636
+ bottom: 100%;
637
+ left: 0;
638
+ visibility: hidden;
639
+ transition: visibility 0s 0.5s;
640
+ transform-origin: 16px 12px;
641
+ }
642
+
643
+ .x-3deye-slider {
644
+ position: relative;
645
+ display: flex;
646
+ align-items: center;
647
+ }
648
+
649
+ .x-3deye-slider:focus-visible {
650
+ outline: none;
651
+ }
652
+
653
+ .x-3deye-slider.horizontal {
654
+ width: 100%;
655
+ height: 20px;
656
+ }
657
+
658
+ .x-3deye-slider.vertical {
659
+ width: 20px;
660
+ height: 100%;
661
+ flex-direction: column;
662
+ }
663
+
664
+ .x-3deye-slider__track {
665
+ background: var(--surface-inverse, gainsboro);
666
+ position: relative;
667
+ flex: 1;
668
+ }
669
+
670
+ .x-3deye-slider__bar {
671
+ background-color: var(--primary-color, #0067ac);
672
+ position: absolute;
673
+ }
674
+
675
+ .x-3deye-slider.disabled .x-3deye-slider__bar {
676
+ background-color: rgb(165, 165, 165);
677
+ }
678
+
679
+ .x-3deye-slider.horizontal .x-3deye-slider__bar {
680
+ top: 0;
681
+ bottom: 0;
682
+ left: 0;
683
+ }
684
+
685
+ .x-3deye-slider.vertical .x-3deye-slider__bar {
686
+ bottom: 0;
687
+ left: 0;
688
+ right: 0;
689
+ }
690
+
691
+ .x-3deye-slider.horizontal .x-3deye-slider__track {
692
+ height: 3px;
693
+ }
694
+
695
+ .x-3deye-slider.vertical .x-3deye-slider__track {
696
+ width: 3px;
697
+ }
698
+
699
+ .x-3deye-slider__thumb {
700
+ will-change: transform box-shadow;
701
+ background: white;
702
+ 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);
703
+ width: 20px;
704
+ height: 20px;
705
+ border-radius: 50%;
706
+ transition: box-shadow 150ms cubic-bezier(0.45, 0.05, 0.55, 0.95) 0ms;
707
+ }
708
+
709
+ .x-3deye-slider:not(.disabled) .x-3deye-slider__thumb:hover,
710
+ .x-3deye-slider:focus .x-3deye-slider__thumb {
711
+ 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,
712
+ 1px 1px 2px 0 rgba(0, 0, 0, 0.25);
713
+ }
714
+
715
+ .x-3deye-slider:focus .x-3deye-slider__thumb.active {
716
+ 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,
717
+ 1px 1px 2px 0 rgba(0, 0, 0, 0.25);
718
+ }
719
+
720
+ .x-3deye-slider.horizontal .x-3deye-slider__thumb {
721
+ margin-left: -10px;
722
+ }
723
+
724
+ .x-3deye-slider.vertical .x-3deye-slider__thumb {
725
+ margin-bottom: -10px;
726
+ }
727
+
728
+ .x-3deye-slider__label {
729
+ pointer-events: none;
730
+ touch-action: none;
731
+ will-change: transform;
732
+ transform: translate(-50%, -100%) scale(0);
733
+ background: var(--primary-color, #0067ac);
734
+ bottom: 50%;
735
+ left: 50%;
736
+ color: var(--on-primary-color, white);
737
+ font-size: 0.75rem;
738
+ border-radius: 4px;
739
+ width: -webkit-fit-content;
740
+ width: -moz-fit-content;
741
+ width: fit-content;
742
+ min-width: 24px;
743
+ padding: 4px 8px;
744
+ position: relative;
745
+ transition: transform 150ms cubic-bezier(0.45, 0.05, 0.55, 0.95) 0ms;
746
+ transform-origin: center bottom;
747
+ }
748
+
749
+ .x-3deye-slider__label.open,
750
+ .x-3deye-slider:not(.disabled) .x-3deye-slider__thumb:hover .x-3deye-slider__label,
751
+ .x-3deye-slider:focus .x-3deye-slider__label {
752
+ transform: translate(-50%, -100%) scale(1);
753
+ }
754
+
755
+ .x-3deye-slider__label::before {
756
+ content: '';
757
+ display: block;
758
+ position: absolute;
759
+ top: 100%;
760
+ left: calc(50% - 5px);
761
+ width: 0;
762
+ height: 0;
763
+ border-left: 5px solid transparent;
764
+ border-right: 5px solid transparent;
765
+ border-top: 5px solid var(--primary-color, #0067ac);
766
+ }
767
+
768
+ .ptz-popover.x-3deye-popover-container {
769
+ border-radius: 6px;
770
+ background-color: rgba(15, 15, 20, 0.7);
771
+ box-shadow: none;
772
+ color: rgba(255, 255, 255, 0.8);
773
+ border: 1px solid rgba(255, 255, 255, 0.2);
774
+ -webkit-backdrop-filter: blur(1px);
775
+ backdrop-filter: blur(1px);
776
+ }
777
+
778
+ .ptz-popover .tip {
779
+ --tip-background: rgba(15, 15, 20, 0.5);
780
+ --tip-border: rgba(255, 255, 255, 0.2);
781
+ }
782
+
783
+ .ptz-popover {
784
+ --surface-inverse: rgba(255, 255, 255, 0.15);
785
+ --surface-highlight-rgb: 255, 255, 255;
786
+ --primary-color: #0067ac;
787
+ --on-primary-color: white;
788
+ }
789
+
790
+ .segmented-control-wrapper {
791
+ display: inline-grid;
792
+ border-radius: 6px;
793
+ background-color: var(--surface-inverse);
794
+ }
795
+
796
+ .segmented-control {
797
+ display: grid;
798
+ margin: 2px;
799
+ position: relative;
800
+ grid-auto-flow: column;
801
+ grid-auto-columns: 1fr;
802
+ --indicator-offset: 0%;
803
+ }
804
+
805
+ .segmented-control-indicator {
806
+ position: absolute;
807
+ height: 100%;
808
+ pointer-events: none;
809
+ transform: translateX(var(--indicator-offset));
810
+ transition: 0.2s ease-in-out;
811
+ }
812
+
813
+ .segmented-control-indicator-inner {
814
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
815
+ border-radius: 6px;
816
+ background: #fff;
817
+ transition: 0.2s;
818
+ transform: scale(1);
819
+ position: absolute;
820
+ inset: 0;
821
+ }
822
+
823
+ .segmented-control-indicator.active .segmented-control-indicator-inner {
824
+ transform: scale(0.95);
825
+ }
826
+
827
+ .segmented-control-button {
828
+ font-family: inherit;
829
+ min-height: 24px;
830
+ margin: 2px;
831
+ background: none;
832
+ border: none;
833
+ color: currentColor;
834
+ -webkit-user-select: none;
835
+ -moz-user-select: none;
836
+ -ms-user-select: none;
837
+ user-select: none;
838
+ text-overflow: ellipsis;
839
+ overflow: hidden;
840
+ z-index: 1;
841
+ }
842
+
843
+ .segmented-control-button:not(.current):hover {
844
+ opacity: 0.6;
845
+ }
846
+
847
+ .segmented-control-button.current {
848
+ color: black;
849
+ }
850
+
851
+ .box-selector {
852
+ border: 2px solid deepskyblue;
853
+ background-color: rgba(0, 191, 255, 0.5);
854
+ }
855
+
856
+ .box-selector-close {
857
+ background-color: skyblue;
858
+ transition: 0.2s ease-in;
859
+ color: #026282;
860
+ }
861
+
862
+ .box-selector-close:hover {
863
+ color: white;
864
+ }
865
+
866
+ .box-selector-preview {
867
+ width: 40px;
868
+ height: 40px;
869
+ position: relative;
870
+ margin: 20px 20px 0px 10px;
871
+ }
872
+
873
+ @-webkit-keyframes expand-box-selector-preview {
874
+ from {
875
+ width: 20px;
876
+ height: 16px;
877
+ }
878
+
879
+ to {
880
+ width: 50px;
881
+ height: 30px;
882
+ }
883
+ }
884
+
885
+ @keyframes expand-box-selector-preview {
886
+ from {
887
+ width: 20px;
888
+ height: 16px;
889
+ }
890
+
891
+ to {
892
+ width: 50px;
893
+ height: 30px;
894
+ }
895
+ }
896
+
897
+ .box-selector-preview .box-selector {
898
+ /* width: 20px;
899
+ height: 16px; */
900
+ width: 50px;
901
+ height: 30px;
902
+ position: relative;
903
+ will-change: width, height;
904
+
905
+ -webkit-animation-duration: 0.5s;
906
+
907
+ animation-duration: 0.5s;
908
+ -webkit-animation-name: expand-box-selector-preview;
909
+ animation-name: expand-box-selector-preview;
910
+ }
911
+
912
+ .box-selector-preview .icon {
913
+ position: absolute;
914
+ bottom: -7px;
915
+ right: -7px;
916
+ }
917
+
918
+ /* .box-selector-select:hover .box-selector {
919
+ width: 50px;
920
+ height: 30px;
921
+ } */
922
+
923
+ .box-selector-select {
924
+ color: rgba(255, 255, 255, 0.8);
925
+ background-color: rgba(0, 0, 0, 0.5);
926
+ -webkit-backdrop-filter: blur(2px);
927
+ backdrop-filter: blur(2px);
928
+ text-transform: uppercase;
929
+ font-weight: bold;
930
+ text-align: center;
931
+ border-radius: 4px;
932
+ padding: 8px;
933
+ width: content-width;
934
+ }
935
+
936
+ .box-selector-cancel {
937
+ pointer-events: auto;
938
+ }