@layers-app/editor-video 0.1.5 → 0.1.7
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/context/VideoContext.d.ts +4 -2
- package/dist/context/VideoContext.d.ts.map +1 -1
- package/dist/factory.d.ts.map +1 -1
- package/dist/index.css +378 -182
- package/dist/index.js +1911 -1287
- package/dist/index.js.map +1 -1
- package/dist/node/VideoNode.d.ts.map +1 -1
- package/dist/node/utils.d.ts.map +1 -1
- package/dist/plugin/VideoPlugin.d.ts.map +1 -1
- package/dist/plugin/behaviour.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/ui/VideoBlock.d.ts.map +1 -1
- package/dist/ui/VideoUploadComponent.d.ts +2 -1
- package/dist/ui/VideoUploadComponent.d.ts.map +1 -1
- package/dist/ui/components/ActionButtons.d.ts.map +1 -1
- package/dist/ui/components/ProgressBar.d.ts +3 -1
- package/dist/ui/components/ProgressBar.d.ts.map +1 -1
- package/dist/ui/components/VideoCustomControls.d.ts +2 -1
- package/dist/ui/components/VideoCustomControls.d.ts.map +1 -1
- package/dist/ui/components/VideoIcons.d.ts +8 -1
- package/dist/ui/components/VideoIcons.d.ts.map +1 -1
- package/dist/ui/components/VideoMenu.d.ts +5 -1
- package/dist/ui/components/VideoMenu.d.ts.map +1 -1
- package/dist/ui/components/VideoQualityMenu/index.d.ts.map +1 -1
- package/dist/ui/components/VideoSettingsMenu/index.d.ts.map +1 -1
- package/dist/ui/components/VideoSettingsModal/ChaptersSection.d.ts +6 -5
- package/dist/ui/components/VideoSettingsModal/ChaptersSection.d.ts.map +1 -1
- package/dist/ui/components/VideoSettingsModal/CoverSection.d.ts +2 -1
- package/dist/ui/components/VideoSettingsModal/CoverSection.d.ts.map +1 -1
- package/dist/ui/components/VideoSettingsModal/FooterActions.d.ts +2 -1
- package/dist/ui/components/VideoSettingsModal/FooterActions.d.ts.map +1 -1
- package/dist/ui/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts +2 -1
- package/dist/ui/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts.map +1 -1
- package/dist/ui/components/VideoSettingsModal/SubtitlesSection.d.ts.map +1 -1
- package/dist/ui/components/VideoSettingsModal/index.d.ts +5 -1
- package/dist/ui/components/VideoSettingsModal/index.d.ts.map +1 -1
- package/dist/ui/components/VideoSpeedMenu/index.d.ts.map +1 -1
- package/dist/ui/components/VideoSubtitlesMenu/index.d.ts.map +1 -1
- package/dist/ui/hooks/useVideoTranscoding.d.ts.map +1 -1
- package/dist/ui/hooks/useVideoUpload.d.ts.map +1 -1
- package/dist/ui/states/ErrorStates.d.ts.map +1 -1
- package/dist/ui/states/LinkState.d.ts.map +1 -1
- package/dist/ui/states/UploadState.d.ts.map +1 -1
- package/dist/ui/states/VideoPlayerState.d.ts +5 -1
- package/dist/ui/states/VideoPlayerState.d.ts.map +1 -1
- package/dist/ui/utils/api.d.ts.map +1 -1
- package/dist/ui/utils/videoSettings.d.ts +2 -0
- package/dist/ui/utils/videoSettings.d.ts.map +1 -1
- package/dist/ui/utils/videoSubtitlesApi.d.ts +6 -0
- package/dist/ui/utils/videoSubtitlesApi.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -3,6 +3,12 @@ div.doc-space-styles-provider .video-upload-container div.video-upload-plugin {
|
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
.resizable-container--video:has(.video-upload-container:not([data-state=video-preview])) {
|
|
7
|
+
width: 100% !important;
|
|
8
|
+
max-width: 100% !important;
|
|
9
|
+
padding-right: 0 !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
6
12
|
div.doc-space-styles-provider .video-upload-container,
|
|
7
13
|
div.doc-space-styles-provider .video-upload-container *,
|
|
8
14
|
div.doc-space-styles-provider .video-upload-container *::before,
|
|
@@ -18,14 +24,19 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
18
24
|
align-items: flex-start;
|
|
19
25
|
width: 100%;
|
|
20
26
|
align-self: stretch;
|
|
21
|
-
|
|
22
|
-
|
|
27
|
+
border-radius: 12px;
|
|
28
|
+
overflow: hidden;
|
|
23
29
|
background: var(--mantine-color-gray-light, rgba(134, 142, 150, 0.1));
|
|
24
30
|
gap: 0;
|
|
25
31
|
}
|
|
26
32
|
|
|
33
|
+
.video-upload-container[data-state=analysis],
|
|
34
|
+
.video-upload-container[data-state=conversion] {
|
|
35
|
+
padding: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
27
38
|
.video-upload-container[data-state=video-preview] {
|
|
28
|
-
padding: 0
|
|
39
|
+
padding: 0;
|
|
29
40
|
background: var(--mantine-color-gray-light, rgba(134, 142, 150, 0.1));
|
|
30
41
|
gap: 0;
|
|
31
42
|
}
|
|
@@ -35,6 +46,10 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
35
46
|
background: transparent;
|
|
36
47
|
}
|
|
37
48
|
|
|
49
|
+
.video-upload-container[data-state=video-preview][data-ready=true]:has(.video-upload-processing-banner) {
|
|
50
|
+
background: var(--mantine-color-gray-light, rgba(134, 142, 150, 0.1));
|
|
51
|
+
}
|
|
52
|
+
|
|
38
53
|
.video-upload-header {
|
|
39
54
|
display: flex;
|
|
40
55
|
align-items: center;
|
|
@@ -67,13 +82,15 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
67
82
|
width: auto;
|
|
68
83
|
min-width: 0;
|
|
69
84
|
white-space: nowrap;
|
|
70
|
-
border-radius:
|
|
85
|
+
border-radius: 6px;
|
|
71
86
|
background-color: var(--mantine-color-body, #fff);
|
|
72
87
|
font-size: 14px;
|
|
88
|
+
font-weight: 400;
|
|
73
89
|
line-height: 1.45;
|
|
74
|
-
padding:
|
|
75
|
-
|
|
76
|
-
|
|
90
|
+
padding-top: 2px;
|
|
91
|
+
padding-bottom: 2px;
|
|
92
|
+
padding-left: 8px;
|
|
93
|
+
border: 2px solid var(--mantine-color-body, #fff);
|
|
77
94
|
pointer-events: auto !important;
|
|
78
95
|
cursor: pointer;
|
|
79
96
|
}
|
|
@@ -82,6 +99,29 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
82
99
|
pointer-events: auto !important;
|
|
83
100
|
}
|
|
84
101
|
|
|
102
|
+
.media-actions .media-action {
|
|
103
|
+
border: none;
|
|
104
|
+
background-color: var(--mantine-color-body, white);
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.media-wrapper:has(.video-upload-container[data-state=video-preview]) > .media-actions {
|
|
111
|
+
top: 4px;
|
|
112
|
+
right: 4px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.media-wrapper:has(.video-upload-container:not([data-state=video-preview])) > .media-actions {
|
|
116
|
+
top: 5px;
|
|
117
|
+
right: 6px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.media-wrapper:has(.video-upload-processing-banner) > .media-actions {
|
|
121
|
+
top: 44px;
|
|
122
|
+
right: 4px;
|
|
123
|
+
}
|
|
124
|
+
|
|
85
125
|
.video-upload-link {
|
|
86
126
|
display: flex;
|
|
87
127
|
flex-direction: column;
|
|
@@ -97,15 +137,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
97
137
|
}
|
|
98
138
|
|
|
99
139
|
.video-upload-link-input .mantine-TextInput-input {
|
|
100
|
-
background: var(--input-filled-input-bg, #f1f3f5);
|
|
101
140
|
border: 1px solid transparent;
|
|
102
|
-
height: 36px;
|
|
103
|
-
min-height: 36px;
|
|
104
|
-
border-radius: var(--mantine-radius-md, 8px);
|
|
105
|
-
padding: 0 12px;
|
|
106
|
-
font-size: 14px;
|
|
107
|
-
line-height: 1.45;
|
|
108
|
-
width: 100%;
|
|
109
141
|
pointer-events: auto !important;
|
|
110
142
|
}
|
|
111
143
|
|
|
@@ -135,7 +167,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
135
167
|
width: 100%;
|
|
136
168
|
aspect-ratio: 16/9;
|
|
137
169
|
min-height: 200px;
|
|
138
|
-
border-radius:
|
|
170
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
139
171
|
background: #000;
|
|
140
172
|
overflow: hidden;
|
|
141
173
|
pointer-events: auto;
|
|
@@ -149,22 +181,26 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
149
181
|
display: block;
|
|
150
182
|
}
|
|
151
183
|
|
|
152
|
-
.video-upload-container[data-state=video-preview] .video-upload-processing-banner,
|
|
153
184
|
.video-upload-container[data-state=video-preview] .video-upload-title-text {
|
|
154
185
|
width: calc(100% - 16px);
|
|
155
186
|
margin: 0 8px;
|
|
156
187
|
height: 32px;
|
|
157
188
|
border-radius: 8px;
|
|
158
189
|
background: transparent;
|
|
159
|
-
color:
|
|
190
|
+
color: var(--mantine-color-text);
|
|
160
191
|
box-shadow: none;
|
|
161
192
|
border: none;
|
|
162
193
|
}
|
|
163
194
|
|
|
195
|
+
.video-upload-container[data-state=video-preview] .video-upload-processing-banner {
|
|
196
|
+
height: 40px;
|
|
197
|
+
padding: 0 var(--mantine-spacing-xs);
|
|
198
|
+
}
|
|
199
|
+
|
|
164
200
|
.video-upload-container[data-state=video-preview] .video-upload-processing-text,
|
|
165
201
|
.video-upload-container[data-state=video-preview] .video-upload-title-text {
|
|
166
202
|
color: var(--mantine-color-default-color, #000);
|
|
167
|
-
font-size: var(--
|
|
203
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
168
204
|
font-style: normal;
|
|
169
205
|
font-weight: 500;
|
|
170
206
|
display: flex;
|
|
@@ -188,10 +224,11 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
188
224
|
align-items: center;
|
|
189
225
|
gap: var(--mantine-spacing-xs);
|
|
190
226
|
width: 100%;
|
|
191
|
-
height:
|
|
227
|
+
height: 40px;
|
|
228
|
+
padding: 0 var(--mantine-spacing-xs);
|
|
192
229
|
}
|
|
193
230
|
|
|
194
|
-
.video-upload-processing-text {
|
|
231
|
+
.video-upload-processing-text.video-upload-processing-text {
|
|
195
232
|
color: var(--mantine-color-bright);
|
|
196
233
|
font-size: var(--mantine-font-size-sm, 14px);
|
|
197
234
|
font-style: normal;
|
|
@@ -239,7 +276,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
239
276
|
width: 100%;
|
|
240
277
|
display: flex;
|
|
241
278
|
flex-direction: column;
|
|
242
|
-
gap:
|
|
279
|
+
gap: 6px;
|
|
243
280
|
}
|
|
244
281
|
|
|
245
282
|
.video-upload-progress-header {
|
|
@@ -253,8 +290,30 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
253
290
|
display: flex;
|
|
254
291
|
gap: var(--mantine-spacing-xs);
|
|
255
292
|
align-items: center;
|
|
293
|
+
justify-content: center;
|
|
294
|
+
padding-top: 8px;
|
|
256
295
|
font-size: var(--mantine-font-size-xs);
|
|
257
|
-
color: var(--mantine-color-
|
|
296
|
+
color: var(--mantine-color-dimmed);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.video-upload-progress-dot {
|
|
300
|
+
width: 2px;
|
|
301
|
+
height: 2px;
|
|
302
|
+
border-radius: 1px;
|
|
303
|
+
background: var(--mantine-color-dimmed);
|
|
304
|
+
flex-shrink: 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
@keyframes video-upload-spin {
|
|
308
|
+
from {
|
|
309
|
+
transform: rotate(0deg);
|
|
310
|
+
}
|
|
311
|
+
to {
|
|
312
|
+
transform: rotate(360deg);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
.video-upload-spinner {
|
|
316
|
+
animation: video-upload-spin 1s linear infinite;
|
|
258
317
|
}
|
|
259
318
|
|
|
260
319
|
.video-upload-actions {
|
|
@@ -514,8 +573,8 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
514
573
|
min-height: 200px;
|
|
515
574
|
overflow: hidden;
|
|
516
575
|
--video-timeline-hitbox-padding: 6px;
|
|
517
|
-
--video-timeline-height:
|
|
518
|
-
--video-controls-gap:
|
|
576
|
+
--video-timeline-height: 12px;
|
|
577
|
+
--video-controls-gap: 4px;
|
|
519
578
|
--video-controls-row-height: 28px;
|
|
520
579
|
--video-controls-padding-bottom: 12px;
|
|
521
580
|
--video-subtitles-offset: 48px;
|
|
@@ -540,33 +599,32 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
540
599
|
.video-player-container--with-player {
|
|
541
600
|
aspect-ratio: 16/9;
|
|
542
601
|
cursor: pointer;
|
|
543
|
-
border-radius:
|
|
602
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
544
603
|
background: #000;
|
|
545
604
|
}
|
|
546
605
|
|
|
547
606
|
.video-player-container video {
|
|
548
607
|
width: 100%;
|
|
549
608
|
height: 100%;
|
|
550
|
-
object-fit:
|
|
609
|
+
object-fit: contain;
|
|
551
610
|
display: block;
|
|
552
611
|
}
|
|
553
612
|
|
|
554
613
|
.video-player-media {
|
|
555
614
|
width: 100%;
|
|
556
615
|
height: 100%;
|
|
557
|
-
border-radius:
|
|
616
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
558
617
|
display: block;
|
|
559
|
-
object-fit:
|
|
618
|
+
object-fit: contain;
|
|
560
619
|
}
|
|
561
620
|
|
|
562
621
|
.video-player-container video::cue {
|
|
563
622
|
color: #fff;
|
|
564
|
-
background: rgba(0, 0, 0, 0.
|
|
565
|
-
font-size:
|
|
566
|
-
font-weight:
|
|
567
|
-
line-height: 1.
|
|
568
|
-
padding: 0
|
|
569
|
-
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
|
623
|
+
background: rgba(0, 0, 0, 0.8);
|
|
624
|
+
font-size: var(--mantine-font-size-md, 16px);
|
|
625
|
+
font-weight: 400;
|
|
626
|
+
line-height: 1.55;
|
|
627
|
+
padding: 0 4px;
|
|
570
628
|
}
|
|
571
629
|
|
|
572
630
|
.video-player-container .shaka-text-container {
|
|
@@ -584,13 +642,11 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
584
642
|
.video-player-container .shaka-text-container .shaka-text-wrapper span,
|
|
585
643
|
.video-player-container .shaka-text-container span {
|
|
586
644
|
color: #fff;
|
|
587
|
-
background: rgba(0, 0, 0, 0.
|
|
588
|
-
font-size:
|
|
589
|
-
font-weight:
|
|
590
|
-
line-height: 1.
|
|
591
|
-
padding: 0
|
|
592
|
-
border-radius: 4px;
|
|
593
|
-
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
|
645
|
+
background: rgba(0, 0, 0, 0.8);
|
|
646
|
+
font-size: var(--mantine-font-size-md, 16px);
|
|
647
|
+
font-weight: 400;
|
|
648
|
+
line-height: 1.55;
|
|
649
|
+
padding: 0 4px;
|
|
594
650
|
}
|
|
595
651
|
|
|
596
652
|
.video-player-overlay {
|
|
@@ -598,7 +654,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
598
654
|
left: 0;
|
|
599
655
|
right: 0;
|
|
600
656
|
bottom: 0;
|
|
601
|
-
padding:
|
|
657
|
+
padding: 0 12px 12px;
|
|
602
658
|
pointer-events: none;
|
|
603
659
|
}
|
|
604
660
|
|
|
@@ -611,8 +667,8 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
611
667
|
left: 50%;
|
|
612
668
|
top: 50%;
|
|
613
669
|
transform: translate(-50%, -50%);
|
|
614
|
-
width:
|
|
615
|
-
height:
|
|
670
|
+
width: 64px;
|
|
671
|
+
height: 64px;
|
|
616
672
|
border-radius: 999px;
|
|
617
673
|
border: none;
|
|
618
674
|
background: transparent;
|
|
@@ -637,8 +693,8 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
637
693
|
left: 0;
|
|
638
694
|
right: 0;
|
|
639
695
|
bottom: 0;
|
|
640
|
-
height:
|
|
641
|
-
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.
|
|
696
|
+
height: 136px;
|
|
697
|
+
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.31) 51.56%, rgba(0, 0, 0, 0.7) 100%);
|
|
642
698
|
pointer-events: none;
|
|
643
699
|
}
|
|
644
700
|
|
|
@@ -646,7 +702,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
646
702
|
position: relative;
|
|
647
703
|
display: flex;
|
|
648
704
|
flex-direction: column;
|
|
649
|
-
gap:
|
|
705
|
+
gap: 4px;
|
|
650
706
|
width: 100%;
|
|
651
707
|
pointer-events: auto;
|
|
652
708
|
}
|
|
@@ -654,7 +710,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
654
710
|
.video-player-timeline {
|
|
655
711
|
position: relative;
|
|
656
712
|
width: 100%;
|
|
657
|
-
height:
|
|
713
|
+
height: 12px;
|
|
658
714
|
display: flex;
|
|
659
715
|
align-items: center;
|
|
660
716
|
}
|
|
@@ -673,7 +729,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
673
729
|
width: 100%;
|
|
674
730
|
height: 4px;
|
|
675
731
|
border-radius: 4px;
|
|
676
|
-
background: rgba(255, 255, 255, 0.
|
|
732
|
+
background: rgba(255, 255, 255, 0.4);
|
|
677
733
|
cursor: pointer;
|
|
678
734
|
}
|
|
679
735
|
|
|
@@ -728,19 +784,19 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
728
784
|
display: flex;
|
|
729
785
|
align-items: center;
|
|
730
786
|
justify-content: space-between;
|
|
731
|
-
gap:
|
|
787
|
+
gap: var(--mantine-spacing-lg, 20px);
|
|
732
788
|
}
|
|
733
789
|
|
|
734
790
|
.video-player-left,
|
|
735
791
|
.video-player-right {
|
|
736
792
|
display: flex;
|
|
737
793
|
align-items: center;
|
|
738
|
-
gap:
|
|
794
|
+
gap: 6px;
|
|
739
795
|
}
|
|
740
796
|
|
|
741
797
|
.video-player-button {
|
|
742
|
-
width:
|
|
743
|
-
height:
|
|
798
|
+
width: 28px;
|
|
799
|
+
height: 28px;
|
|
744
800
|
border-radius: 8px;
|
|
745
801
|
border: none;
|
|
746
802
|
background: transparent;
|
|
@@ -756,6 +812,46 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
756
812
|
background: rgba(255, 255, 255, 0.16);
|
|
757
813
|
}
|
|
758
814
|
|
|
815
|
+
.video-player-volume-slider .mantine-Slider-root {
|
|
816
|
+
height: 10px;
|
|
817
|
+
}
|
|
818
|
+
.video-player-volume-slider .mantine-Slider-track {
|
|
819
|
+
height: 3px !important;
|
|
820
|
+
border: none !important;
|
|
821
|
+
background: transparent !important;
|
|
822
|
+
top: 50% !important;
|
|
823
|
+
transform: translateY(-50%) !important;
|
|
824
|
+
cursor: pointer;
|
|
825
|
+
}
|
|
826
|
+
.video-player-volume-slider .mantine-Slider-track::after {
|
|
827
|
+
content: "";
|
|
828
|
+
position: absolute;
|
|
829
|
+
inset: -8px 0;
|
|
830
|
+
}
|
|
831
|
+
.video-player-volume-slider .mantine-Slider-track::before {
|
|
832
|
+
background: rgba(255, 255, 255, 0.08) !important;
|
|
833
|
+
}
|
|
834
|
+
.video-player-volume-slider .mantine-Slider-bar {
|
|
835
|
+
height: 3px !important;
|
|
836
|
+
background: #fff !important;
|
|
837
|
+
left: 0 !important;
|
|
838
|
+
inset-inline-start: 0 !important;
|
|
839
|
+
width: calc(var(--slider-bar-width) - 2 * var(--slider-size)) !important;
|
|
840
|
+
}
|
|
841
|
+
.video-player-volume-slider .mantine-Slider-thumb {
|
|
842
|
+
width: 10px;
|
|
843
|
+
height: 10px;
|
|
844
|
+
min-width: 10px;
|
|
845
|
+
background: #fff;
|
|
846
|
+
border: 2px solid #fff;
|
|
847
|
+
box-shadow: none;
|
|
848
|
+
}
|
|
849
|
+
.video-player-volume-slider .mantine-Slider-thumb::before {
|
|
850
|
+
content: "";
|
|
851
|
+
position: absolute;
|
|
852
|
+
inset: -8px;
|
|
853
|
+
}
|
|
854
|
+
|
|
759
855
|
.video-player-time {
|
|
760
856
|
font-size: var(--mantine-font-size-sm, 14px);
|
|
761
857
|
font-weight: 400;
|
|
@@ -764,19 +860,20 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
764
860
|
display: flex;
|
|
765
861
|
align-items: center;
|
|
766
862
|
gap: 4px;
|
|
767
|
-
padding: 0
|
|
863
|
+
padding: 0 6px;
|
|
768
864
|
}
|
|
769
865
|
|
|
770
866
|
.video-player-title {
|
|
771
867
|
display: flex;
|
|
772
868
|
align-items: center;
|
|
773
869
|
gap: 4px;
|
|
774
|
-
padding: 0
|
|
870
|
+
padding: 0 8px;
|
|
775
871
|
color: #fff;
|
|
776
872
|
font-size: var(--mantine-font-size-sm, 14px);
|
|
777
873
|
font-weight: 400;
|
|
778
874
|
line-height: 1.45;
|
|
779
|
-
|
|
875
|
+
height: 28px;
|
|
876
|
+
max-width: 427px;
|
|
780
877
|
white-space: nowrap;
|
|
781
878
|
overflow: hidden;
|
|
782
879
|
text-overflow: ellipsis;
|
|
@@ -786,12 +883,13 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
786
883
|
display: flex;
|
|
787
884
|
align-items: center;
|
|
788
885
|
gap: 4px;
|
|
789
|
-
padding: 0
|
|
886
|
+
padding: 0 8px;
|
|
790
887
|
color: #fff;
|
|
791
888
|
font-size: var(--mantine-font-size-sm, 14px);
|
|
792
889
|
font-weight: 400;
|
|
793
890
|
line-height: 1.45;
|
|
794
|
-
|
|
891
|
+
height: 28px;
|
|
892
|
+
max-width: 427px;
|
|
795
893
|
white-space: nowrap;
|
|
796
894
|
overflow: hidden;
|
|
797
895
|
text-overflow: ellipsis;
|
|
@@ -806,14 +904,14 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
806
904
|
display: flex;
|
|
807
905
|
gap: 2px;
|
|
808
906
|
width: 100%;
|
|
809
|
-
height:
|
|
907
|
+
height: 4px;
|
|
810
908
|
}
|
|
811
909
|
|
|
812
910
|
.video-player-chapter-segment {
|
|
813
911
|
position: relative;
|
|
814
|
-
height:
|
|
912
|
+
height: 4px;
|
|
815
913
|
border-radius: 4px;
|
|
816
|
-
background: rgba(255, 255, 255, 0.
|
|
914
|
+
background: rgba(255, 255, 255, 0.4);
|
|
817
915
|
overflow: hidden;
|
|
818
916
|
}
|
|
819
917
|
|
|
@@ -822,8 +920,9 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
822
920
|
top: 0;
|
|
823
921
|
left: 0;
|
|
824
922
|
height: 100%;
|
|
825
|
-
background:
|
|
923
|
+
background: var(--mantine-primary-color-filled);
|
|
826
924
|
border-radius: 4px;
|
|
925
|
+
z-index: 1;
|
|
827
926
|
}
|
|
828
927
|
|
|
829
928
|
.video-player-chapter-segment-buffered {
|
|
@@ -879,9 +978,10 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
879
978
|
display: flex;
|
|
880
979
|
gap: 2px;
|
|
881
980
|
overflow-x: auto;
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
981
|
+
overflow-y: hidden;
|
|
982
|
+
padding: 6px;
|
|
983
|
+
background: black;
|
|
984
|
+
border-top: 1px solid var(--mantine-color-dark-5, #3b3b3b);
|
|
885
985
|
border-radius: 0 0 var(--mantine-radius-default, 8px) var(--mantine-radius-default, 8px);
|
|
886
986
|
}
|
|
887
987
|
.video-player-chapters-list::-webkit-scrollbar {
|
|
@@ -891,7 +991,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
891
991
|
background: transparent;
|
|
892
992
|
}
|
|
893
993
|
.video-player-chapters-list::-webkit-scrollbar-thumb {
|
|
894
|
-
background: #424242;
|
|
994
|
+
background: var(--mantine-color-dark-4, #424242);
|
|
895
995
|
border-radius: 8px;
|
|
896
996
|
}
|
|
897
997
|
|
|
@@ -907,9 +1007,9 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
907
1007
|
|
|
908
1008
|
.video-player-chapters-item {
|
|
909
1009
|
display: flex;
|
|
910
|
-
align-items:
|
|
911
|
-
gap:
|
|
912
|
-
padding:
|
|
1010
|
+
align-items: flex-start;
|
|
1011
|
+
gap: 6px;
|
|
1012
|
+
padding: 8px;
|
|
913
1013
|
border-radius: var(--mantine-radius-default, 8px);
|
|
914
1014
|
border: none;
|
|
915
1015
|
background: transparent;
|
|
@@ -924,7 +1024,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
924
1024
|
}
|
|
925
1025
|
|
|
926
1026
|
.video-player-chapters-item--active .video-player-chapters-item-time {
|
|
927
|
-
background:
|
|
1027
|
+
background: var(--mantine-primary-color-filled);
|
|
928
1028
|
color: #fff;
|
|
929
1029
|
}
|
|
930
1030
|
|
|
@@ -934,12 +1034,12 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
934
1034
|
justify-content: center;
|
|
935
1035
|
padding: 0 4px;
|
|
936
1036
|
min-width: 45px;
|
|
937
|
-
background: rgba(
|
|
1037
|
+
background: rgba(34, 139, 230, 0.2);
|
|
938
1038
|
border-radius: 16px;
|
|
939
1039
|
font-size: var(--mantine-font-size-xs, 12px);
|
|
940
1040
|
font-weight: 600;
|
|
941
1041
|
line-height: 1.4;
|
|
942
|
-
color:
|
|
1042
|
+
color: var(--mantine-primary-color-text);
|
|
943
1043
|
}
|
|
944
1044
|
|
|
945
1045
|
.video-player-chapters-item-title {
|
|
@@ -948,7 +1048,6 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
948
1048
|
line-height: 1.45;
|
|
949
1049
|
overflow: hidden;
|
|
950
1050
|
text-overflow: ellipsis;
|
|
951
|
-
max-width: 223px;
|
|
952
1051
|
}
|
|
953
1052
|
|
|
954
1053
|
.video-settings-anchor {
|
|
@@ -957,8 +1056,42 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
957
1056
|
align-items: center;
|
|
958
1057
|
}
|
|
959
1058
|
|
|
1059
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown {
|
|
1060
|
+
--menu-bg: rgba(0, 0, 0, 0.9);
|
|
1061
|
+
--menu-bd: none;
|
|
1062
|
+
background: rgba(0, 0, 0, 0.9) !important;
|
|
1063
|
+
border: none !important;
|
|
1064
|
+
backdrop-filter: blur(4px);
|
|
1065
|
+
border-radius: var(--mantine-radius-md, 8px);
|
|
1066
|
+
}
|
|
1067
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-item + .mantine-Menu-item {
|
|
1068
|
+
margin-top: 2px;
|
|
1069
|
+
}
|
|
1070
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-item {
|
|
1071
|
+
color: #fff;
|
|
1072
|
+
}
|
|
1073
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-item:hover, div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-item[data-hovered] {
|
|
1074
|
+
background: rgba(255, 255, 255, 0.1);
|
|
1075
|
+
}
|
|
1076
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-itemSection {
|
|
1077
|
+
color: #fff;
|
|
1078
|
+
}
|
|
1079
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-divider {
|
|
1080
|
+
border-color: rgba(255, 255, 255, 0.15);
|
|
1081
|
+
}
|
|
1082
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown::-webkit-scrollbar {
|
|
1083
|
+
width: 4px;
|
|
1084
|
+
}
|
|
1085
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown::-webkit-scrollbar-track {
|
|
1086
|
+
background: transparent;
|
|
1087
|
+
}
|
|
1088
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown::-webkit-scrollbar-thumb {
|
|
1089
|
+
background: var(--mantine-color-dark-4, #424242);
|
|
1090
|
+
border-radius: 8px;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
960
1093
|
div.video-player-menu-dropdown .video-menu-header {
|
|
961
|
-
font-size: var(--
|
|
1094
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
962
1095
|
font-style: normal;
|
|
963
1096
|
font-weight: 600;
|
|
964
1097
|
}
|
|
@@ -967,24 +1100,37 @@ div.video-player-menu-dropdown div.mantine-Menu-item,
|
|
|
967
1100
|
div.video-player-menu-dropdown div.mantine-Menu-itemLabel,
|
|
968
1101
|
div.video-player-menu-dropdown div.mantine-Menu-itemSection,
|
|
969
1102
|
div.video-player-menu-dropdown .video-menu-item-text {
|
|
970
|
-
font-size: var(--
|
|
1103
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
971
1104
|
font-weight: 400;
|
|
972
1105
|
}
|
|
973
1106
|
|
|
974
|
-
.video-menu-item {
|
|
1107
|
+
.video-menu-item.video-menu-item {
|
|
975
1108
|
display: flex;
|
|
976
1109
|
height: 36px;
|
|
977
1110
|
min-height: 36px;
|
|
978
|
-
padding: 6px var(--mantine-spacing-
|
|
1111
|
+
padding: 6px var(--mantine-spacing-sm, 12px) !important;
|
|
979
1112
|
align-items: center;
|
|
980
1113
|
gap: var(--mantine-spacing-xs, 10px);
|
|
981
1114
|
}
|
|
982
1115
|
|
|
983
|
-
.video-menu-
|
|
984
|
-
|
|
1116
|
+
.video-menu-icon {
|
|
1117
|
+
display: inline-flex;
|
|
1118
|
+
align-items: center;
|
|
1119
|
+
justify-content: center;
|
|
1120
|
+
flex-shrink: 0;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
.video-menu-item-text.video-menu-item-text {
|
|
1124
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
985
1125
|
font-weight: 400;
|
|
986
1126
|
}
|
|
987
1127
|
|
|
1128
|
+
.video-menu-hd-badge {
|
|
1129
|
+
font-size: 9px;
|
|
1130
|
+
font-weight: 600;
|
|
1131
|
+
vertical-align: super;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
988
1134
|
.video-menu-row {
|
|
989
1135
|
display: flex;
|
|
990
1136
|
align-items: center;
|
|
@@ -1006,10 +1152,11 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1006
1152
|
|
|
1007
1153
|
.video-menu-value {
|
|
1008
1154
|
text-align: right;
|
|
1155
|
+
color: var(--mantine-color-gray-4, #ced4da);
|
|
1009
1156
|
}
|
|
1010
1157
|
|
|
1011
1158
|
.video-menu-chevron {
|
|
1012
|
-
width:
|
|
1159
|
+
width: 16px;
|
|
1013
1160
|
display: inline-flex;
|
|
1014
1161
|
align-items: center;
|
|
1015
1162
|
justify-content: flex-end;
|
|
@@ -1022,30 +1169,84 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1022
1169
|
display: none !important;
|
|
1023
1170
|
}
|
|
1024
1171
|
|
|
1172
|
+
.video-settings-modal .mantine-Modal-content {
|
|
1173
|
+
display: flex;
|
|
1174
|
+
flex-direction: column;
|
|
1175
|
+
max-height: min(664px, 100dvh - 2 * var(--mantine-spacing-xl, 32px));
|
|
1176
|
+
overflow: hidden;
|
|
1177
|
+
}
|
|
1178
|
+
.video-settings-modal .mantine-Modal-header {
|
|
1179
|
+
padding: var(--mantine-spacing-md, 16px);
|
|
1180
|
+
}
|
|
1181
|
+
.video-settings-modal .mantine-Modal-close {
|
|
1182
|
+
width: 24px;
|
|
1183
|
+
height: 24px;
|
|
1184
|
+
min-width: 24px;
|
|
1185
|
+
min-height: 24px;
|
|
1186
|
+
border-radius: var(--mantine-radius-sm, 4px);
|
|
1187
|
+
color: var(--mantine-color-gray-7, #495057);
|
|
1188
|
+
}
|
|
1189
|
+
.video-settings-modal .mantine-Modal-close svg {
|
|
1190
|
+
width: 20px !important;
|
|
1191
|
+
height: 20px !important;
|
|
1192
|
+
}
|
|
1193
|
+
.video-settings-modal .mantine-Modal-title {
|
|
1194
|
+
font-size: var(--mantine-font-size-sm);
|
|
1195
|
+
font-weight: 700;
|
|
1196
|
+
line-height: 21px;
|
|
1197
|
+
color: var(--mantine-color-bright);
|
|
1198
|
+
}
|
|
1025
1199
|
.video-settings-modal .mantine-Modal-body {
|
|
1026
1200
|
padding: 0;
|
|
1201
|
+
display: flex;
|
|
1202
|
+
flex-direction: column;
|
|
1203
|
+
overflow: hidden;
|
|
1204
|
+
flex: 1;
|
|
1205
|
+
min-height: 0;
|
|
1206
|
+
}
|
|
1207
|
+
.video-settings-modal .video-settings-modal-body {
|
|
1208
|
+
padding: 0 var(--mantine-spacing-md, 16px) var(--mantine-spacing-md, 16px);
|
|
1209
|
+
overflow-y: auto;
|
|
1210
|
+
flex: 1;
|
|
1211
|
+
min-height: 0;
|
|
1212
|
+
}
|
|
1213
|
+
.video-settings-modal .video-settings-modal-body::-webkit-scrollbar {
|
|
1214
|
+
width: 6px;
|
|
1215
|
+
}
|
|
1216
|
+
.video-settings-modal .video-settings-modal-body::-webkit-scrollbar-track {
|
|
1217
|
+
background: transparent;
|
|
1218
|
+
}
|
|
1219
|
+
.video-settings-modal .video-settings-modal-body::-webkit-scrollbar-thumb {
|
|
1220
|
+
background: var(--mantine-color-gray-3);
|
|
1221
|
+
border-radius: 3px;
|
|
1027
1222
|
}
|
|
1028
|
-
.video-settings-modal .video-settings-modal-
|
|
1029
|
-
|
|
1030
|
-
border-bottom: 1px solid var(--mantine-color-default-border);
|
|
1223
|
+
.video-settings-modal .video-settings-modal-body::-webkit-scrollbar-thumb:hover {
|
|
1224
|
+
background: var(--mantine-color-gray-5);
|
|
1031
1225
|
}
|
|
1032
1226
|
.video-settings-modal .video-settings-modal-body {
|
|
1033
|
-
|
|
1227
|
+
scrollbar-width: thin;
|
|
1228
|
+
scrollbar-color: var(--mantine-color-gray-3) transparent;
|
|
1229
|
+
}
|
|
1230
|
+
.video-settings-modal .video-settings-modal-footer {
|
|
1231
|
+
padding: 8px var(--mantine-spacing-md, 16px) var(--mantine-spacing-sm, 12px);
|
|
1232
|
+
flex-shrink: 0;
|
|
1233
|
+
}
|
|
1234
|
+
.video-settings-modal .mantine-Switch-track {
|
|
1235
|
+
cursor: pointer;
|
|
1034
1236
|
}
|
|
1035
1237
|
.video-settings-modal .video-settings-modal-section-title {
|
|
1036
|
-
font-size: var(--mantine-
|
|
1037
|
-
font-weight:
|
|
1238
|
+
font-size: var(--mantine-font-size-md, 16px);
|
|
1239
|
+
font-weight: 700;
|
|
1240
|
+
line-height: var(--mantine-line-height-md, 24px);
|
|
1038
1241
|
color: var(--mantine-color-bright);
|
|
1039
1242
|
}
|
|
1040
1243
|
.video-settings-modal .video-settings-modal-text-label {
|
|
1041
1244
|
color: var(--mantine-color-bright);
|
|
1042
|
-
font-size: var(--
|
|
1245
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
1043
1246
|
font-weight: 500;
|
|
1044
1247
|
}
|
|
1045
1248
|
.video-settings-modal .video-settings-modal-cover-carousel {
|
|
1046
1249
|
position: relative;
|
|
1047
|
-
margin-top: 10px;
|
|
1048
|
-
margin-bottom: 12px;
|
|
1049
1250
|
}
|
|
1050
1251
|
.video-settings-modal .video-settings-modal-cover-controls {
|
|
1051
1252
|
top: 50%;
|
|
@@ -1055,11 +1256,10 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1055
1256
|
.video-settings-modal .video-settings-modal-cover-control {
|
|
1056
1257
|
width: 28px;
|
|
1057
1258
|
height: 28px;
|
|
1058
|
-
border-radius:
|
|
1059
|
-
border: 1px solid var(--mantine-color-
|
|
1060
|
-
background: var(--mantine-color-
|
|
1061
|
-
color: var(--mantine-color-
|
|
1062
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
|
|
1259
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1260
|
+
border: 1px solid var(--mantine-color-default-border);
|
|
1261
|
+
background: var(--mantine-color-default);
|
|
1262
|
+
color: var(--mantine-color-default-color);
|
|
1063
1263
|
}
|
|
1064
1264
|
.video-settings-modal .video-settings-modal-cover-control[data-inactive] {
|
|
1065
1265
|
opacity: 0;
|
|
@@ -1070,42 +1270,40 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1070
1270
|
height: 80px;
|
|
1071
1271
|
}
|
|
1072
1272
|
.video-settings-modal .video-settings-modal-cover-cell {
|
|
1073
|
-
width:
|
|
1273
|
+
width: 100%;
|
|
1074
1274
|
height: 80px;
|
|
1075
|
-
border-radius: var(--
|
|
1275
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1076
1276
|
overflow: hidden;
|
|
1077
1277
|
min-height: 0;
|
|
1078
|
-
flex: 0 0 auto;
|
|
1079
1278
|
}
|
|
1080
1279
|
.video-settings-modal .video-settings-modal-cover-upload {
|
|
1081
1280
|
width: 100%;
|
|
1082
1281
|
height: 100%;
|
|
1083
1282
|
min-height: 0;
|
|
1084
|
-
border: 1px dashed
|
|
1085
|
-
border-radius: var(--
|
|
1086
|
-
background:
|
|
1283
|
+
border: 1px dashed var(--mantine-color-default-border);
|
|
1284
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1285
|
+
background: var(--mantine-color-body);
|
|
1087
1286
|
display: flex;
|
|
1088
1287
|
flex-direction: column;
|
|
1089
1288
|
align-items: center;
|
|
1090
1289
|
justify-content: center;
|
|
1091
|
-
gap:
|
|
1290
|
+
gap: 10px;
|
|
1092
1291
|
cursor: pointer;
|
|
1093
|
-
transition:
|
|
1292
|
+
transition: background 0.15s;
|
|
1094
1293
|
}
|
|
1095
1294
|
.video-settings-modal .video-settings-modal-cover-upload:hover {
|
|
1096
|
-
|
|
1097
|
-
background: #ffffff;
|
|
1295
|
+
background: var(--mantine-color-default-hover);
|
|
1098
1296
|
}
|
|
1099
1297
|
.video-settings-modal .video-settings-modal-cover-upload-inner {
|
|
1100
1298
|
display: flex;
|
|
1101
1299
|
flex-direction: column;
|
|
1102
1300
|
align-items: center;
|
|
1103
1301
|
justify-content: center;
|
|
1104
|
-
gap:
|
|
1302
|
+
gap: 10px;
|
|
1105
1303
|
text-align: center;
|
|
1106
1304
|
}
|
|
1107
1305
|
.video-settings-modal .video-settings-modal-cover-upload-label {
|
|
1108
|
-
font-size: var(--
|
|
1306
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
1109
1307
|
font-style: normal;
|
|
1110
1308
|
font-weight: 500;
|
|
1111
1309
|
line-height: 1.2;
|
|
@@ -1114,10 +1312,9 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1114
1312
|
.video-settings-modal .video-settings-modal-cover-thumb {
|
|
1115
1313
|
width: 100%;
|
|
1116
1314
|
height: 100%;
|
|
1117
|
-
border-radius: var(--
|
|
1315
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1118
1316
|
overflow: hidden;
|
|
1119
1317
|
position: relative;
|
|
1120
|
-
border: 2px solid transparent;
|
|
1121
1318
|
cursor: pointer;
|
|
1122
1319
|
}
|
|
1123
1320
|
.video-settings-modal .video-settings-modal-cover-thumb img {
|
|
@@ -1126,19 +1323,15 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1126
1323
|
object-fit: cover;
|
|
1127
1324
|
display: block;
|
|
1128
1325
|
}
|
|
1129
|
-
.video-settings-modal .video-settings-modal-cover-thumb.loading img {
|
|
1130
|
-
filter: blur(4px);
|
|
1131
|
-
}
|
|
1132
|
-
.video-settings-modal .video-settings-modal-cover-thumb.error img {
|
|
1133
|
-
filter: blur(4px);
|
|
1134
|
-
}
|
|
1135
1326
|
.video-settings-modal .video-settings-modal-cover-thumb .video-settings-modal-cover-spinner {
|
|
1136
1327
|
position: absolute;
|
|
1137
1328
|
inset: 0;
|
|
1138
1329
|
display: flex;
|
|
1139
1330
|
align-items: center;
|
|
1140
1331
|
justify-content: center;
|
|
1141
|
-
background: rgba(0, 0, 0, 0.
|
|
1332
|
+
background: rgba(0, 0, 0, 0.6);
|
|
1333
|
+
backdrop-filter: blur(1px);
|
|
1334
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1142
1335
|
}
|
|
1143
1336
|
.video-settings-modal .video-settings-modal-cover-thumb .video-settings-modal-cover-error-icon {
|
|
1144
1337
|
position: absolute;
|
|
@@ -1146,111 +1339,115 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1146
1339
|
display: flex;
|
|
1147
1340
|
align-items: center;
|
|
1148
1341
|
justify-content: center;
|
|
1149
|
-
background: rgba(0, 0, 0, 0.
|
|
1342
|
+
background: rgba(0, 0, 0, 0.6);
|
|
1343
|
+
backdrop-filter: blur(1px);
|
|
1344
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1150
1345
|
color: #fff;
|
|
1151
|
-
font-size: 20px;
|
|
1152
|
-
font-weight: 600;
|
|
1153
1346
|
}
|
|
1154
1347
|
.video-settings-modal .video-settings-modal-cover-thumb.selected {
|
|
1155
|
-
border
|
|
1348
|
+
border: none;
|
|
1156
1349
|
}
|
|
1157
1350
|
.video-settings-modal .video-settings-modal-cover-thumb.selected .video-settings-modal-cover-check {
|
|
1158
1351
|
position: absolute;
|
|
1159
1352
|
top: 50%;
|
|
1160
1353
|
left: 50%;
|
|
1161
1354
|
transform: translate(-50%, -50%);
|
|
1162
|
-
width:
|
|
1163
|
-
height:
|
|
1164
|
-
|
|
1165
|
-
background: var(--mantine-color-blue-5);
|
|
1166
|
-
backdrop-filter: blur(2px);
|
|
1167
|
-
color: #fff;
|
|
1355
|
+
width: 32px;
|
|
1356
|
+
height: 32px;
|
|
1357
|
+
backdrop-filter: blur(4px);
|
|
1168
1358
|
display: flex;
|
|
1169
1359
|
align-items: center;
|
|
1170
1360
|
justify-content: center;
|
|
1171
1361
|
}
|
|
1172
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-header {
|
|
1173
|
-
border-bottom: 1px solid var(--mantine-color-dark-4);
|
|
1174
|
-
}
|
|
1175
1362
|
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-body {
|
|
1176
1363
|
background: var(--mantine-color-dark-7);
|
|
1364
|
+
scrollbar-color: var(--mantine-color-dark-4) transparent;
|
|
1177
1365
|
}
|
|
1178
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-
|
|
1179
|
-
|
|
1180
|
-
}
|
|
1181
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-control {
|
|
1182
|
-
border-color: var(--mantine-color-dark-4);
|
|
1183
|
-
background: var(--mantine-color-dark-6);
|
|
1184
|
-
color: var(--mantine-color-gray-2);
|
|
1366
|
+
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-body::-webkit-scrollbar-thumb {
|
|
1367
|
+
background: var(--mantine-color-dark-4);
|
|
1185
1368
|
}
|
|
1186
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-
|
|
1187
|
-
|
|
1188
|
-
background: var(--mantine-color-dark-6);
|
|
1369
|
+
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-body::-webkit-scrollbar-thumb:hover {
|
|
1370
|
+
background: var(--mantine-color-dark-3);
|
|
1189
1371
|
}
|
|
1190
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-
|
|
1191
|
-
|
|
1192
|
-
background: var(--mantine-color-dark-5);
|
|
1372
|
+
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-section-title {
|
|
1373
|
+
color: var(--mantine-color-bright);
|
|
1193
1374
|
}
|
|
1194
1375
|
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-upload-label {
|
|
1195
1376
|
color: var(--mantine-color-gray-0, #f1f3f5);
|
|
1196
1377
|
}
|
|
1197
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-
|
|
1198
|
-
|
|
1378
|
+
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-upload {
|
|
1379
|
+
background: #1f1f1f;
|
|
1199
1380
|
}
|
|
1200
|
-
|
|
1201
|
-
|
|
1381
|
+
|
|
1382
|
+
.video-settings-modal-subtitles {
|
|
1383
|
+
display: flex;
|
|
1384
|
+
flex-direction: column;
|
|
1385
|
+
gap: var(--mantine-spacing-xs, 10px);
|
|
1386
|
+
}
|
|
1387
|
+
.video-settings-modal-subtitles .video-settings-modal-link {
|
|
1388
|
+
margin-top: 2px;
|
|
1202
1389
|
}
|
|
1203
1390
|
|
|
1204
1391
|
.video-settings-modal-subtitles-row {
|
|
1205
1392
|
align-items: center;
|
|
1206
|
-
gap: 10px;
|
|
1207
|
-
margin-bottom: var(--mantine-spacing-sm);
|
|
1393
|
+
gap: var(--mantine-spacing-xs, 10px);
|
|
1208
1394
|
}
|
|
1395
|
+
.video-settings-modal-subtitles-row .mantine-InputBase-root,
|
|
1209
1396
|
.video-settings-modal-subtitles-row .mantine-Select-root {
|
|
1210
1397
|
flex: 1;
|
|
1211
1398
|
}
|
|
1212
|
-
.video-settings-modal-subtitles-row .mantine-Select-input,
|
|
1213
1399
|
.video-settings-modal-subtitles-row .mantine-Button-root {
|
|
1214
1400
|
height: 36px;
|
|
1215
|
-
}
|
|
1216
|
-
.video-settings-modal-subtitles-row .mantine-Button-root {
|
|
1217
1401
|
min-width: 140px;
|
|
1218
1402
|
border-radius: 10px;
|
|
1219
1403
|
}
|
|
1220
1404
|
|
|
1405
|
+
.video-settings-modal-select-fullwidth {
|
|
1406
|
+
width: 100% !important;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
.video-settings-modal-language-select {
|
|
1410
|
+
height: 36px;
|
|
1411
|
+
min-height: 36px;
|
|
1412
|
+
border: 1px solid var(--mantine-color-default-border, #ced4da);
|
|
1413
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1414
|
+
background-color: var(--input-bg, var(--mantine-color-body, white));
|
|
1415
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
1416
|
+
line-height: 1.45;
|
|
1417
|
+
padding: 6px 12px;
|
|
1418
|
+
padding-right: 32px;
|
|
1419
|
+
cursor: pointer;
|
|
1420
|
+
color: var(--mantine-color-default-color, black);
|
|
1421
|
+
overflow: hidden;
|
|
1422
|
+
white-space: nowrap;
|
|
1423
|
+
text-overflow: ellipsis;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1221
1426
|
.video-settings-modal-subtitles-row:first-of-type {
|
|
1222
|
-
margin-top:
|
|
1427
|
+
margin-top: 0;
|
|
1223
1428
|
}
|
|
1224
1429
|
|
|
1225
1430
|
.video-settings-modal-subtitles-row:last-of-type {
|
|
1226
1431
|
margin-bottom: 0;
|
|
1227
1432
|
}
|
|
1228
1433
|
|
|
1229
|
-
.video-settings-modal-subtitles-label {
|
|
1230
|
-
color:
|
|
1434
|
+
.video-settings-modal-subtitles-label.video-settings-modal-subtitles-label {
|
|
1435
|
+
color: var(--mantine-color-bright);
|
|
1231
1436
|
font-weight: 500;
|
|
1232
1437
|
}
|
|
1233
1438
|
|
|
1234
|
-
.video-settings-modal-link {
|
|
1439
|
+
.video-settings-modal-link.video-settings-modal-link {
|
|
1235
1440
|
appearance: none;
|
|
1236
1441
|
border: none;
|
|
1237
1442
|
background: none;
|
|
1238
1443
|
padding: 0;
|
|
1239
1444
|
margin: 0;
|
|
1240
1445
|
color: var(--mantine-primary-color-light-color, #4c6ef5);
|
|
1241
|
-
font-size: 14px;
|
|
1242
|
-
font-weight:
|
|
1446
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
1447
|
+
font-weight: 400;
|
|
1243
1448
|
cursor: pointer;
|
|
1244
1449
|
text-decoration: none;
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
.video-settings-modal .video-settings-modal-link {
|
|
1248
|
-
color: var(--mantine-primary-color-light-color, #4c6ef5);
|
|
1249
|
-
text-decoration: none;
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
.video-settings-modal .video-settings-modal-link.mantine-Text-root {
|
|
1253
|
-
color: var(--mantine-primary-color-light-color, #4c6ef5);
|
|
1450
|
+
text-align: left;
|
|
1254
1451
|
}
|
|
1255
1452
|
|
|
1256
1453
|
.video-settings-modal-link:disabled {
|
|
@@ -1258,7 +1455,7 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1258
1455
|
cursor: default;
|
|
1259
1456
|
}
|
|
1260
1457
|
|
|
1261
|
-
.video-settings-modal-upload-button {
|
|
1458
|
+
.video-settings-modal-upload-button.video-settings-modal-upload-button {
|
|
1262
1459
|
height: var(--button-height-sm, 36px);
|
|
1263
1460
|
padding: 6px var(--button-padding-x-sm, 18px);
|
|
1264
1461
|
border-radius: var(--mantine-radius-default, 8px);
|
|
@@ -1268,8 +1465,7 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1268
1465
|
font-weight: 500;
|
|
1269
1466
|
border: none !important;
|
|
1270
1467
|
}
|
|
1271
|
-
|
|
1272
|
-
.video-settings-modal-upload-button:hover {
|
|
1468
|
+
.video-settings-modal-upload-button.video-settings-modal-upload-button:hover {
|
|
1273
1469
|
background: var(--mantine-primary-color-light-hover, rgba(76, 110, 245, 0.16)) !important;
|
|
1274
1470
|
}
|
|
1275
1471
|
|
|
@@ -1298,26 +1494,26 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1298
1494
|
display: flex;
|
|
1299
1495
|
align-items: center;
|
|
1300
1496
|
justify-content: center;
|
|
1301
|
-
}.
|
|
1497
|
+
}._dropzone_12otc_1 {
|
|
1302
1498
|
border-radius: var(--mantine-radius-default, 8px);
|
|
1303
|
-
padding:
|
|
1499
|
+
padding: 32px 60px;
|
|
1304
1500
|
cursor: pointer;
|
|
1305
1501
|
transition: all 0.2s ease;
|
|
1306
1502
|
border: 1px dashed var(--mantine-color-default-border);
|
|
1307
1503
|
background-color: light-dark(#fff, var(--mantine-color-dark-8));
|
|
1308
1504
|
}
|
|
1309
|
-
.
|
|
1505
|
+
._dropzone_12otc_1:hover:not(._disabled_12otc_9) {
|
|
1310
1506
|
background-color: var(--mantine-color-default-hover);
|
|
1311
1507
|
}
|
|
1312
|
-
.
|
|
1313
|
-
border: 1px dashed var(--primary-color-outline, #
|
|
1314
|
-
background: linear-gradient(0deg,
|
|
1508
|
+
._dropzone_12otc_1._focused_12otc_12, ._dropzone_12otc_1[data-accept=true] {
|
|
1509
|
+
border: 1px dashed var(--primary-color-outline, #748ffc);
|
|
1510
|
+
background: linear-gradient(0deg, rgba(76, 110, 245, 0.12) 0%, rgba(76, 110, 245, 0.12) 100%), light-dark(#fff, var(--mantine-color-dark-8));
|
|
1315
1511
|
}
|
|
1316
|
-
.
|
|
1512
|
+
._dropzone_12otc_1._disabled_12otc_9 {
|
|
1317
1513
|
cursor: not-allowed;
|
|
1318
1514
|
}
|
|
1319
1515
|
|
|
1320
|
-
.
|
|
1516
|
+
._dropzoneContent_12otc_20 {
|
|
1321
1517
|
border: none;
|
|
1322
1518
|
background: transparent !important;
|
|
1323
1519
|
padding: 0;
|
|
@@ -1333,11 +1529,11 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1333
1529
|
border-radius: var(--mantine-radius-default, 8px);
|
|
1334
1530
|
transition: background-color 0.2s ease;
|
|
1335
1531
|
}
|
|
1336
|
-
.
|
|
1532
|
+
._dropzoneContent_12otc_20._disabled_12otc_9 {
|
|
1337
1533
|
cursor: not-allowed;
|
|
1338
1534
|
}
|
|
1339
1535
|
|
|
1340
|
-
.
|
|
1536
|
+
._iconContainer_12otc_40 {
|
|
1341
1537
|
width: 32px;
|
|
1342
1538
|
height: 32px;
|
|
1343
1539
|
display: flex;
|
|
@@ -1345,7 +1541,7 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1345
1541
|
justify-content: center;
|
|
1346
1542
|
}
|
|
1347
1543
|
|
|
1348
|
-
.
|
|
1544
|
+
._contentWrapper_12otc_48 {
|
|
1349
1545
|
display: flex;
|
|
1350
1546
|
flex-direction: column;
|
|
1351
1547
|
gap: 4px;
|
|
@@ -1354,11 +1550,11 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1354
1550
|
width: 100%;
|
|
1355
1551
|
}
|
|
1356
1552
|
|
|
1357
|
-
.
|
|
1553
|
+
._contentWrapper_12otc_48 ._title_12otc_57 {
|
|
1358
1554
|
line-height: 1.55;
|
|
1359
1555
|
color: var(--mantine-color-bright);
|
|
1360
1556
|
}
|
|
1361
1557
|
|
|
1362
|
-
.
|
|
1558
|
+
._description_12otc_62 {
|
|
1363
1559
|
line-height: 1.45;
|
|
1364
1560
|
}
|