@3deye-toolkit/react-camera 0.0.1-alpha.22 → 0.0.1-alpha.25
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.
- package/dist/react-camera.css +367 -204
- package/dist/react-camera.js +2 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +19 -18
- package/dist/react-camera.d.ts +0 -902
package/dist/react-camera.css
CHANGED
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
.x-3deye-player {
|
|
6
6
|
position: relative;
|
|
7
7
|
background-color: black;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.x-3deye-player__zoomable-wrapper {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
8
13
|
overflow: hidden;
|
|
9
14
|
}
|
|
10
15
|
|
|
@@ -28,18 +33,28 @@
|
|
|
28
33
|
background: none;
|
|
29
34
|
border: none;
|
|
30
35
|
position: relative;
|
|
31
|
-
padding:
|
|
36
|
+
padding: 0 8px;
|
|
37
|
+
height: 32px;
|
|
32
38
|
text-transform: uppercase;
|
|
33
39
|
-webkit-user-select: none;
|
|
34
40
|
-moz-user-select: none;
|
|
35
41
|
-ms-user-select: none;
|
|
36
42
|
user-select: none;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
align-items:
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
align-items: center;
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
letter-spacing: .0107142857em;
|
|
48
|
+
font-weight: 500;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.x-3deye-button sup {
|
|
52
|
+
position: relative;
|
|
53
|
+
top: -0.5em;
|
|
54
|
+
left: 0.25em;
|
|
40
55
|
}
|
|
41
56
|
|
|
42
|
-
.x-3deye-button.fullwidth {
|
|
57
|
+
.x-3deye-button.x-3deye-button--fullwidth {
|
|
43
58
|
width: 100%;
|
|
44
59
|
}
|
|
45
60
|
|
|
@@ -50,6 +65,7 @@
|
|
|
50
65
|
|
|
51
66
|
.x-3deye-button--icon {
|
|
52
67
|
border-radius: 16px;
|
|
68
|
+
padding: 4px;
|
|
53
69
|
width: 32px;
|
|
54
70
|
height: 32px;
|
|
55
71
|
display: inline-flex;
|
|
@@ -61,52 +77,49 @@
|
|
|
61
77
|
opacity: 0.4;
|
|
62
78
|
}
|
|
63
79
|
|
|
64
|
-
.x-3deye-button.x-3deye-button--ok,
|
|
65
|
-
.x-3deye-button.x-3deye-button--cancel {
|
|
66
|
-
color: white;
|
|
67
|
-
border-radius: 4px;
|
|
68
|
-
text-transform: none;
|
|
69
|
-
margin: 4px;
|
|
70
|
-
min-width: 80px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.x-3deye-button.x-3deye-button--ok.fullwidth,
|
|
74
|
-
.x-3deye-button.x-3deye-button--cancel.fullwidth {
|
|
75
|
-
width: calc(100% - 8px);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
80
|
.x-3deye-button:not(:disabled) {
|
|
79
81
|
cursor: pointer;
|
|
80
82
|
}
|
|
81
83
|
|
|
82
|
-
.x-3deye-button.x-3deye-button--
|
|
83
|
-
|
|
84
|
+
.x-3deye-button.x-3deye-button--filled,
|
|
85
|
+
.x-3deye-button.x-3deye-button--text {
|
|
86
|
+
min-width: 80px;
|
|
87
|
+
text-transform: capitalize;
|
|
88
|
+
font-family: 'Roboto', sans-serif;
|
|
89
|
+
font-size: 0.875rem;
|
|
90
|
+
font-weight: 500;
|
|
91
|
+
border-radius: 0.25rem;
|
|
92
|
+
padding: 0 1rem;
|
|
84
93
|
}
|
|
85
94
|
|
|
86
|
-
.x-3deye-button.x-3deye-button--
|
|
95
|
+
.x-3deye-button.x-3deye-button--filled {
|
|
96
|
+
background-color: #27b9a1;
|
|
97
|
+
color: white;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.x-3deye-button.x-3deye-button--filled:not(:disabled):hover {
|
|
87
101
|
background-color: #61beaf;
|
|
88
102
|
}
|
|
89
103
|
|
|
90
|
-
.x-3deye-button.x-3deye-button--
|
|
104
|
+
.x-3deye-button.x-3deye-button--filled:focus {
|
|
91
105
|
transition: box-shadow 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
92
106
|
box-shadow: 0 0 0 2px rgba(39, 185, 161, 0.33);
|
|
93
107
|
}
|
|
94
108
|
|
|
95
|
-
.x-3deye-button
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.x-3deye-button.x-3deye-button--cancel:not(:disabled):hover {
|
|
100
|
-
background-color: rgb(142, 122, 180);
|
|
109
|
+
.x-3deye-button canvas {
|
|
110
|
+
color: rgb(var(--surface-highlight-rgb));
|
|
101
111
|
}
|
|
102
112
|
|
|
103
|
-
.x-3deye-button
|
|
104
|
-
|
|
105
|
-
|
|
113
|
+
.x-3deye-button--overlay {
|
|
114
|
+
pointer-events: auto;
|
|
115
|
+
background: rgba(0, 0, 0, 0.5);
|
|
116
|
+
border: 2px solid rgba(255, 255, 255, 0.25);
|
|
117
|
+
color: white;
|
|
106
118
|
}
|
|
107
119
|
|
|
108
|
-
.x-3deye-button
|
|
109
|
-
|
|
120
|
+
.x-3deye-button.x-3deye-button--overlay:focus, .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);
|
|
110
123
|
}
|
|
111
124
|
|
|
112
125
|
:root {
|
|
@@ -333,149 +346,154 @@
|
|
|
333
346
|
}
|
|
334
347
|
|
|
335
348
|
.x-3deye-player__overlay {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
349
|
+
position: absolute;
|
|
350
|
+
top: 0;
|
|
351
|
+
left: 0;
|
|
352
|
+
bottom: 0;
|
|
353
|
+
right: 0;
|
|
354
|
+
color: white;
|
|
342
355
|
}
|
|
343
356
|
|
|
344
357
|
.x-3deye-player__controls {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
358
|
+
position: absolute;
|
|
359
|
+
left: 0;
|
|
360
|
+
bottom: 0;
|
|
361
|
+
right: 0;
|
|
362
|
+
height: 54px;
|
|
363
|
+
opacity: 0;
|
|
364
|
+
display: flex;
|
|
365
|
+
pointer-events: none;
|
|
353
366
|
}
|
|
354
367
|
|
|
355
368
|
.x-3deye-player__controls > * {
|
|
356
|
-
|
|
369
|
+
pointer-events: auto;
|
|
357
370
|
}
|
|
358
371
|
|
|
359
|
-
.x-3deye-player__overlay:hover .x-3deye-player__controls,
|
|
360
|
-
|
|
372
|
+
.x-3deye-player__overlay:hover .x-3deye-player__controls,
|
|
373
|
+
.x-3deye-player__controls:focus-within,
|
|
374
|
+
.x-3deye-player--paused .x-3deye-player__controls {
|
|
375
|
+
opacity: 1;
|
|
361
376
|
}
|
|
362
377
|
|
|
363
378
|
.x-3deye-player__indicators {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
379
|
+
display: flex;
|
|
380
|
+
pointer-events: none;
|
|
381
|
+
align-items: center;
|
|
367
382
|
}
|
|
368
383
|
|
|
369
384
|
.x-3deye-player__indicators > * {
|
|
370
|
-
|
|
385
|
+
margin: 5px;
|
|
371
386
|
}
|
|
372
387
|
|
|
373
388
|
.x-3deye-player__overlay .x-3deye-button--live {
|
|
374
|
-
|
|
375
|
-
|
|
389
|
+
opacity: 0;
|
|
390
|
+
margin: 3px 5px;
|
|
376
391
|
}
|
|
377
392
|
|
|
378
|
-
.x-3deye-player__overlay:hover .x-3deye-button--live,
|
|
379
|
-
|
|
393
|
+
.x-3deye-player__overlay:hover .x-3deye-button--live,
|
|
394
|
+
.x-3deye-button--live:focus {
|
|
395
|
+
opacity: 1;
|
|
380
396
|
}
|
|
381
397
|
|
|
382
398
|
.x-3deye-player__overlay .x-3deye-player__camera-name {
|
|
383
|
-
|
|
399
|
+
pointer-events: auto;
|
|
384
400
|
}
|
|
385
401
|
|
|
386
402
|
.x-3deye-player__current-time {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
403
|
+
line-height: 16px;
|
|
404
|
+
font-size: 11px;
|
|
405
|
+
text-shadow: 1px 1px 1px black;
|
|
406
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
407
|
+
padding: 2px 16px;
|
|
408
|
+
border-radius: 16px;
|
|
393
409
|
}
|
|
394
410
|
|
|
395
411
|
.x-3deye-player__current-time--synced {
|
|
396
|
-
|
|
412
|
+
background-color: rgb(147, 221, 30, 0.6);
|
|
397
413
|
}
|
|
398
414
|
|
|
399
415
|
.x-3deye-player__zoom-preview {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
416
|
+
display: flex;
|
|
417
|
+
flex-direction: column;
|
|
418
|
+
position: absolute;
|
|
419
|
+
right: 44px;
|
|
420
|
+
top: 50%;
|
|
421
|
+
transform: translateY(-50%);
|
|
422
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
423
|
+
border: 1px solid white;
|
|
408
424
|
}
|
|
409
425
|
|
|
410
426
|
.x-3deye-player__zoom-preview .zoom-value {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
427
|
+
position: absolute;
|
|
428
|
+
top: 0;
|
|
429
|
+
left: 0;
|
|
430
|
+
right: 0;
|
|
431
|
+
bottom: 0;
|
|
432
|
+
display: flex;
|
|
433
|
+
justify-content: center;
|
|
434
|
+
align-items: center;
|
|
435
|
+
font-family: monospace;
|
|
436
|
+
font-size: 32px;
|
|
437
|
+
font-weight: bold;
|
|
438
|
+
color: white;
|
|
439
|
+
text-shadow: 0 1px 1px black;
|
|
424
440
|
}
|
|
425
441
|
|
|
426
442
|
.x-3deye-player__zoom-preview .x-3deye-player__zoomable {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
443
|
+
position: relative;
|
|
444
|
+
flex: 1;
|
|
445
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
430
446
|
}
|
|
431
447
|
|
|
432
448
|
.x-3deye-player__zoom-slider {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
449
|
+
position: absolute;
|
|
450
|
+
right: 10px;
|
|
451
|
+
top: 50%;
|
|
452
|
+
transform: translateY(-50%);
|
|
453
|
+
width: 34px;
|
|
454
|
+
padding: 10px 5px;
|
|
455
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
456
|
+
border: 2px solid rgba(255, 255, 255, 0.25);
|
|
457
|
+
border-radius: 4px;
|
|
458
|
+
-webkit-backdrop-filter: blur(2px);
|
|
459
|
+
backdrop-filter: blur(2px);
|
|
443
460
|
}
|
|
444
461
|
|
|
445
462
|
.x-3deye-player__zoom-slider .tick {
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
463
|
+
margin-left: 4px;
|
|
464
|
+
width: 12px;
|
|
465
|
+
height: 10px;
|
|
466
|
+
border-top: 1px solid rgba(255, 255, 255, 0.4);
|
|
450
467
|
}
|
|
451
468
|
|
|
452
469
|
.x-3deye-player__zoom-slider .tick:nth-child(5n + 1) {
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
470
|
+
margin-left: 0px;
|
|
471
|
+
width: 20px;
|
|
472
|
+
border-top-width: 2px;
|
|
456
473
|
}
|
|
457
474
|
|
|
458
475
|
.x-3deye-player__zoom-slider .tick:last-child {
|
|
459
|
-
|
|
476
|
+
height: 0;
|
|
460
477
|
}
|
|
461
478
|
|
|
462
479
|
.x-3deye-player__zoom-slider .rotation-button {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
480
|
+
padding: 0;
|
|
481
|
+
margin-left: -4px;
|
|
482
|
+
margin-bottom: -4px;
|
|
483
|
+
width: 28px;
|
|
484
|
+
text-align: right;
|
|
485
|
+
color: white;
|
|
468
486
|
}
|
|
469
487
|
|
|
470
488
|
.x-3deye-player__zoom-preview {
|
|
471
|
-
|
|
489
|
+
display: none;
|
|
472
490
|
}
|
|
473
491
|
|
|
474
492
|
.x-3deye-player__zoom-slider:hover + .x-3deye-player__zoom-preview,
|
|
475
493
|
.x-3deye-player__zoom-slider + .x-3deye-player__zoom-preview:focus,
|
|
476
494
|
.x-3deye-player__zoom-preview:hover,
|
|
477
495
|
.x-3deye-player__zoom-preview:focus {
|
|
478
|
-
|
|
496
|
+
display: block;
|
|
479
497
|
}
|
|
480
498
|
|
|
481
499
|
.x-3deye-player__controls {
|
|
@@ -488,11 +506,12 @@
|
|
|
488
506
|
flex: 1;
|
|
489
507
|
}
|
|
490
508
|
|
|
491
|
-
.x-3deye-player__control {
|
|
509
|
+
.x-3deye-button.x-3deye-player__control {
|
|
492
510
|
width: 38px;
|
|
493
511
|
height: 38px;
|
|
494
512
|
background-color: rgb(26,30,29, 0.8);
|
|
495
513
|
color: rgba(255, 255, 255, 0.6);
|
|
514
|
+
border-radius: 0;
|
|
496
515
|
display: flex;
|
|
497
516
|
justify-content: center;
|
|
498
517
|
align-items: center;
|
|
@@ -502,6 +521,10 @@
|
|
|
502
521
|
padding: 0;
|
|
503
522
|
}
|
|
504
523
|
|
|
524
|
+
.x-3deye-player__controls--compact .x-3deye-player__control .icon {
|
|
525
|
+
width: 20px;
|
|
526
|
+
}
|
|
527
|
+
|
|
505
528
|
.x-3deye-player__control--reflowed {
|
|
506
529
|
width: 20px;
|
|
507
530
|
}
|
|
@@ -541,7 +564,7 @@
|
|
|
541
564
|
border-bottom-right-radius: 4px;
|
|
542
565
|
}
|
|
543
566
|
|
|
544
|
-
.x-3deye-player__control-close {
|
|
567
|
+
.x-3deye-button.x-3deye-player__control-close {
|
|
545
568
|
background-color: rgba(156, 51, 49, 0.8);
|
|
546
569
|
}
|
|
547
570
|
|
|
@@ -567,133 +590,184 @@
|
|
|
567
590
|
box-shadow: 0 0 0 0.2rem rgba(20, 69, 101, 0.5);
|
|
568
591
|
}
|
|
569
592
|
|
|
570
|
-
.volume-control:hover .volume-range,
|
|
571
|
-
|
|
572
|
-
|
|
593
|
+
.volume-control:hover .volume-range,
|
|
594
|
+
.volume-control:focus .volume-range,
|
|
595
|
+
.volume-control:focus-within .volume-range {
|
|
596
|
+
visibility: visible;
|
|
597
|
+
transition: visibility 0s;
|
|
573
598
|
}
|
|
574
599
|
|
|
575
600
|
.volume-range {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
601
|
+
--surface-inverse: rgba(255, 255, 255, 0.15);
|
|
602
|
+
--surface-highlight-rgb: 255, 255, 255;
|
|
603
|
+
--primary-color: #0067ac;
|
|
604
|
+
--on-primary-color: white;
|
|
605
|
+
background-color: rgba(26, 30, 29, 0.5);
|
|
606
|
+
padding: 16px 4px;
|
|
607
|
+
border-radius: 4px;
|
|
608
|
+
position: absolute;
|
|
609
|
+
display: flex;
|
|
610
|
+
justify-content: center;
|
|
611
|
+
width: 32px;
|
|
612
|
+
height: 140px;
|
|
613
|
+
bottom: 100%;
|
|
614
|
+
left: 0;
|
|
615
|
+
visibility: hidden;
|
|
616
|
+
transition: visibility 0s 0.5s;
|
|
617
|
+
transform-origin: 16px 12px;
|
|
587
618
|
}
|
|
588
619
|
|
|
620
|
+
.x-3deye-slider {
|
|
621
|
+
position: relative;
|
|
622
|
+
display: flex;
|
|
623
|
+
align-items: center;
|
|
624
|
+
}
|
|
589
625
|
|
|
590
|
-
.
|
|
591
|
-
|
|
592
|
-
background-color: rgba(0, 191, 255, 0.5);
|
|
626
|
+
.x-3deye-slider:focus-visible {
|
|
627
|
+
outline: none;
|
|
593
628
|
}
|
|
594
629
|
|
|
595
|
-
.
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
color: #026282;
|
|
630
|
+
.x-3deye-slider.horizontal {
|
|
631
|
+
width: 100%;
|
|
632
|
+
height: 20px;
|
|
599
633
|
}
|
|
600
634
|
|
|
601
|
-
.
|
|
602
|
-
|
|
635
|
+
.x-3deye-slider.vertical {
|
|
636
|
+
width: 20px;
|
|
637
|
+
height: 100%;
|
|
638
|
+
flex-direction: column;
|
|
603
639
|
}
|
|
604
640
|
|
|
605
|
-
.
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
margin: 20px 20px 0px 10px;
|
|
641
|
+
.x-3deye-slider__track {
|
|
642
|
+
background: var(--surface-inverse, gainsboro);
|
|
643
|
+
position: relative;
|
|
644
|
+
flex: 1;
|
|
610
645
|
}
|
|
611
646
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
}
|
|
647
|
+
.x-3deye-slider__bar {
|
|
648
|
+
background-color: var(--primary-color, #0067ac);
|
|
649
|
+
position: absolute;
|
|
650
|
+
}
|
|
617
651
|
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
height: 30px;
|
|
621
|
-
}
|
|
652
|
+
.x-3deye-slider.disabled .x-3deye-slider__bar {
|
|
653
|
+
background-color: rgb(165, 165, 165);
|
|
622
654
|
}
|
|
623
655
|
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
656
|
+
.x-3deye-slider.horizontal .x-3deye-slider__bar {
|
|
657
|
+
top: 0;
|
|
658
|
+
bottom: 0;
|
|
659
|
+
left: 0;
|
|
660
|
+
}
|
|
629
661
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
662
|
+
.x-3deye-slider.vertical .x-3deye-slider__bar {
|
|
663
|
+
bottom: 0;
|
|
664
|
+
left: 0;
|
|
665
|
+
right: 0;
|
|
634
666
|
}
|
|
635
667
|
|
|
636
|
-
.
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
width: 50px;
|
|
640
|
-
height: 30px;
|
|
641
|
-
position: relative;
|
|
642
|
-
will-change: width, height;
|
|
668
|
+
.x-3deye-slider.horizontal .x-3deye-slider__track {
|
|
669
|
+
height: 3px;
|
|
670
|
+
}
|
|
643
671
|
|
|
644
|
-
|
|
672
|
+
.x-3deye-slider.vertical .x-3deye-slider__track {
|
|
673
|
+
width: 3px;
|
|
674
|
+
}
|
|
645
675
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
676
|
+
.x-3deye-slider__thumb {
|
|
677
|
+
will-change: transform box-shadow;
|
|
678
|
+
background: white;
|
|
679
|
+
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);
|
|
680
|
+
width: 20px;
|
|
681
|
+
height: 20px;
|
|
682
|
+
border-radius: 50%;
|
|
683
|
+
transition: box-shadow 150ms cubic-bezier(0.45, 0.05, 0.55, 0.95) 0ms;
|
|
649
684
|
}
|
|
650
685
|
|
|
651
|
-
.
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
686
|
+
.x-3deye-slider:not(.disabled) .x-3deye-slider__thumb:hover,
|
|
687
|
+
.x-3deye-slider:focus .x-3deye-slider__thumb {
|
|
688
|
+
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,
|
|
689
|
+
1px 1px 2px 0 rgba(0, 0, 0, 0.25);
|
|
655
690
|
}
|
|
656
691
|
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
}
|
|
692
|
+
.x-3deye-slider:focus .x-3deye-slider__thumb.active {
|
|
693
|
+
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,
|
|
694
|
+
1px 1px 2px 0 rgba(0, 0, 0, 0.25);
|
|
695
|
+
}
|
|
661
696
|
|
|
662
|
-
.
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
697
|
+
.x-3deye-slider.horizontal .x-3deye-slider__thumb {
|
|
698
|
+
margin-left: -10px;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.x-3deye-slider.vertical .x-3deye-slider__thumb {
|
|
702
|
+
margin-bottom: -10px;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.x-3deye-slider__label {
|
|
706
|
+
pointer-events: none;
|
|
707
|
+
touch-action: none;
|
|
708
|
+
will-change: transform;
|
|
709
|
+
transform: translate(-50%, -100%) scale(0);
|
|
710
|
+
background: var(--primary-color, #0067ac);
|
|
711
|
+
bottom: 50%;
|
|
712
|
+
left: 50%;
|
|
713
|
+
color: var(--on-primary-color, white);
|
|
714
|
+
font-size: 0.75rem;
|
|
670
715
|
border-radius: 4px;
|
|
671
|
-
|
|
672
|
-
width: content
|
|
716
|
+
width: -webkit-fit-content;
|
|
717
|
+
width: -moz-fit-content;
|
|
718
|
+
width: fit-content;
|
|
719
|
+
min-width: 24px;
|
|
720
|
+
padding: 4px 8px;
|
|
721
|
+
position: relative;
|
|
722
|
+
transition: transform 150ms cubic-bezier(0.45, 0.05, 0.55, 0.95) 0ms;
|
|
723
|
+
transform-origin: center bottom;
|
|
673
724
|
}
|
|
674
725
|
|
|
675
|
-
.
|
|
676
|
-
|
|
726
|
+
.x-3deye-slider__label.open,
|
|
727
|
+
.x-3deye-slider:not(.disabled) .x-3deye-slider__thumb:hover .x-3deye-slider__label,
|
|
728
|
+
.x-3deye-slider:focus .x-3deye-slider__label {
|
|
729
|
+
transform: translate(-50%, -100%) scale(1);
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.x-3deye-slider__label::before {
|
|
733
|
+
content: '';
|
|
734
|
+
display: block;
|
|
735
|
+
position: absolute;
|
|
736
|
+
top: 100%;
|
|
737
|
+
left: calc(50% - 5px);
|
|
738
|
+
width: 0;
|
|
739
|
+
height: 0;
|
|
740
|
+
border-left: 5px solid transparent;
|
|
741
|
+
border-right: 5px solid transparent;
|
|
742
|
+
border-top: 5px solid var(--primary-color, #0067ac);
|
|
677
743
|
}
|
|
678
744
|
|
|
679
745
|
.ptz-popover.x-3deye-popover-body {
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
746
|
+
border-radius: 6px;
|
|
747
|
+
background-color: rgba(15, 15, 20, 0.7);
|
|
748
|
+
box-shadow: none;
|
|
749
|
+
color: rgba(255, 255, 255, 0.8);
|
|
750
|
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
751
|
+
-webkit-backdrop-filter: blur(1px);
|
|
752
|
+
backdrop-filter: blur(1px);
|
|
687
753
|
}
|
|
688
754
|
|
|
689
755
|
.ptz-popover .tip {
|
|
690
|
-
|
|
756
|
+
fill: rgba(15, 15, 20, 0.5);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.ptz-popover {
|
|
760
|
+
--surface-inverse: rgba(255, 255, 255, 0.15);
|
|
761
|
+
--surface-highlight-rgb: 255, 255, 255;
|
|
762
|
+
--primary-color: #0067ac;
|
|
763
|
+
--on-primary-color: white;
|
|
691
764
|
}
|
|
692
765
|
|
|
693
766
|
.segmented-control-wrapper {
|
|
694
767
|
display: inline-grid;
|
|
695
768
|
border-radius: 6px;
|
|
696
|
-
background: rgba(0, 0, 0, 0.065);
|
|
769
|
+
/* background: rgba(0, 0, 0, 0.065); */
|
|
770
|
+
background-color: var(--surface-inverse);
|
|
697
771
|
}
|
|
698
772
|
|
|
699
773
|
.segmented-control {
|
|
@@ -750,3 +824,92 @@
|
|
|
750
824
|
.segmented-control-button.current {
|
|
751
825
|
color: black;
|
|
752
826
|
}
|
|
827
|
+
|
|
828
|
+
.box-selector {
|
|
829
|
+
border: 2px solid deepskyblue;
|
|
830
|
+
background-color: rgba(0, 191, 255, 0.5);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.box-selector-close {
|
|
834
|
+
background-color: skyblue;
|
|
835
|
+
transition: 0.2s ease-in;
|
|
836
|
+
color: #026282;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.box-selector-close:hover {
|
|
840
|
+
color: white;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.box-selector-preview {
|
|
844
|
+
width: 40px;
|
|
845
|
+
height: 40px;
|
|
846
|
+
position: relative;
|
|
847
|
+
margin: 20px 20px 0px 10px;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
@-webkit-keyframes expand-box-selector-preview {
|
|
851
|
+
from {
|
|
852
|
+
width: 20px;
|
|
853
|
+
height: 16px;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
to {
|
|
857
|
+
width: 50px;
|
|
858
|
+
height: 30px;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
@keyframes expand-box-selector-preview {
|
|
863
|
+
from {
|
|
864
|
+
width: 20px;
|
|
865
|
+
height: 16px;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
to {
|
|
869
|
+
width: 50px;
|
|
870
|
+
height: 30px;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.box-selector-preview .box-selector {
|
|
875
|
+
/* width: 20px;
|
|
876
|
+
height: 16px; */
|
|
877
|
+
width: 50px;
|
|
878
|
+
height: 30px;
|
|
879
|
+
position: relative;
|
|
880
|
+
will-change: width, height;
|
|
881
|
+
|
|
882
|
+
-webkit-animation-duration: 0.5s;
|
|
883
|
+
|
|
884
|
+
animation-duration: 0.5s;
|
|
885
|
+
-webkit-animation-name: expand-box-selector-preview;
|
|
886
|
+
animation-name: expand-box-selector-preview;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.box-selector-preview .icon {
|
|
890
|
+
position: absolute;
|
|
891
|
+
bottom: -7px;
|
|
892
|
+
right: -7px;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/* .box-selector-select:hover .box-selector {
|
|
896
|
+
width: 50px;
|
|
897
|
+
height: 30px;
|
|
898
|
+
} */
|
|
899
|
+
|
|
900
|
+
.box-selector-select {
|
|
901
|
+
color: rgba(255, 255, 255, 0.8);
|
|
902
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
903
|
+
-webkit-backdrop-filter: blur(2px);
|
|
904
|
+
backdrop-filter: blur(2px);
|
|
905
|
+
text-transform: uppercase;
|
|
906
|
+
font-weight: bold;
|
|
907
|
+
text-align: center;
|
|
908
|
+
border-radius: 4px;
|
|
909
|
+
padding: 8px;
|
|
910
|
+
width: content-width;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.box-selector-cancel {
|
|
914
|
+
pointer-events: auto;
|
|
915
|
+
}
|