@layers-app/editor-video 0.1.4 → 0.1.6
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 +363 -181
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1089 -709
- 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/types/index.d.ts +3 -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 +4 -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/ManualSubtitlesPanel.d.ts.map +1 -1
- package/dist/ui/components/VideoSettingsModal/index.d.ts +4 -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 +4 -1
- package/dist/ui/states/VideoPlayerState.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 +1 -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,8 +24,8 @@ 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
|
}
|
|
@@ -35,6 +41,10 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
35
41
|
background: transparent;
|
|
36
42
|
}
|
|
37
43
|
|
|
44
|
+
.video-upload-container[data-state=video-preview][data-ready=true]:has(.video-upload-processing-banner) {
|
|
45
|
+
background: var(--mantine-color-gray-light, rgba(134, 142, 150, 0.1));
|
|
46
|
+
}
|
|
47
|
+
|
|
38
48
|
.video-upload-header {
|
|
39
49
|
display: flex;
|
|
40
50
|
align-items: center;
|
|
@@ -67,13 +77,15 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
67
77
|
width: auto;
|
|
68
78
|
min-width: 0;
|
|
69
79
|
white-space: nowrap;
|
|
70
|
-
border-radius:
|
|
80
|
+
border-radius: 6px;
|
|
71
81
|
background-color: var(--mantine-color-body, #fff);
|
|
72
82
|
font-size: 14px;
|
|
83
|
+
font-weight: 400;
|
|
73
84
|
line-height: 1.45;
|
|
74
|
-
padding:
|
|
75
|
-
|
|
76
|
-
|
|
85
|
+
padding-top: 2px;
|
|
86
|
+
padding-bottom: 2px;
|
|
87
|
+
padding-left: 8px;
|
|
88
|
+
border: 2px solid var(--mantine-color-body, #fff);
|
|
77
89
|
pointer-events: auto !important;
|
|
78
90
|
cursor: pointer;
|
|
79
91
|
}
|
|
@@ -82,6 +94,24 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
82
94
|
pointer-events: auto !important;
|
|
83
95
|
}
|
|
84
96
|
|
|
97
|
+
.media-actions .media-action {
|
|
98
|
+
border: none;
|
|
99
|
+
background-color: var(--mantine-color-body, white);
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.media-wrapper:has(.video-upload-container:not([data-state=video-preview])) > .media-actions {
|
|
106
|
+
top: 5px;
|
|
107
|
+
right: 6px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.media-wrapper:has(.video-upload-processing-banner) > .media-actions {
|
|
111
|
+
top: 44px;
|
|
112
|
+
right: 4px;
|
|
113
|
+
}
|
|
114
|
+
|
|
85
115
|
.video-upload-link {
|
|
86
116
|
display: flex;
|
|
87
117
|
flex-direction: column;
|
|
@@ -97,15 +127,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
97
127
|
}
|
|
98
128
|
|
|
99
129
|
.video-upload-link-input .mantine-TextInput-input {
|
|
100
|
-
background: var(--input-filled-input-bg, #f1f3f5);
|
|
101
130
|
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
131
|
pointer-events: auto !important;
|
|
110
132
|
}
|
|
111
133
|
|
|
@@ -135,7 +157,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
135
157
|
width: 100%;
|
|
136
158
|
aspect-ratio: 16/9;
|
|
137
159
|
min-height: 200px;
|
|
138
|
-
border-radius:
|
|
160
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
139
161
|
background: #000;
|
|
140
162
|
overflow: hidden;
|
|
141
163
|
pointer-events: auto;
|
|
@@ -149,22 +171,26 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
149
171
|
display: block;
|
|
150
172
|
}
|
|
151
173
|
|
|
152
|
-
.video-upload-container[data-state=video-preview] .video-upload-processing-banner,
|
|
153
174
|
.video-upload-container[data-state=video-preview] .video-upload-title-text {
|
|
154
175
|
width: calc(100% - 16px);
|
|
155
176
|
margin: 0 8px;
|
|
156
177
|
height: 32px;
|
|
157
178
|
border-radius: 8px;
|
|
158
179
|
background: transparent;
|
|
159
|
-
color:
|
|
180
|
+
color: var(--mantine-color-text);
|
|
160
181
|
box-shadow: none;
|
|
161
182
|
border: none;
|
|
162
183
|
}
|
|
163
184
|
|
|
185
|
+
.video-upload-container[data-state=video-preview] .video-upload-processing-banner {
|
|
186
|
+
height: 40px;
|
|
187
|
+
padding: 0 var(--mantine-spacing-xs);
|
|
188
|
+
}
|
|
189
|
+
|
|
164
190
|
.video-upload-container[data-state=video-preview] .video-upload-processing-text,
|
|
165
191
|
.video-upload-container[data-state=video-preview] .video-upload-title-text {
|
|
166
192
|
color: var(--mantine-color-default-color, #000);
|
|
167
|
-
font-size: var(--
|
|
193
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
168
194
|
font-style: normal;
|
|
169
195
|
font-weight: 500;
|
|
170
196
|
display: flex;
|
|
@@ -188,10 +214,11 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
188
214
|
align-items: center;
|
|
189
215
|
gap: var(--mantine-spacing-xs);
|
|
190
216
|
width: 100%;
|
|
191
|
-
height:
|
|
217
|
+
height: 40px;
|
|
218
|
+
padding: 0 var(--mantine-spacing-xs);
|
|
192
219
|
}
|
|
193
220
|
|
|
194
|
-
.video-upload-processing-text {
|
|
221
|
+
.video-upload-processing-text.video-upload-processing-text {
|
|
195
222
|
color: var(--mantine-color-bright);
|
|
196
223
|
font-size: var(--mantine-font-size-sm, 14px);
|
|
197
224
|
font-style: normal;
|
|
@@ -239,7 +266,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
239
266
|
width: 100%;
|
|
240
267
|
display: flex;
|
|
241
268
|
flex-direction: column;
|
|
242
|
-
gap:
|
|
269
|
+
gap: 6px;
|
|
243
270
|
}
|
|
244
271
|
|
|
245
272
|
.video-upload-progress-header {
|
|
@@ -253,8 +280,30 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
253
280
|
display: flex;
|
|
254
281
|
gap: var(--mantine-spacing-xs);
|
|
255
282
|
align-items: center;
|
|
283
|
+
justify-content: center;
|
|
284
|
+
padding-top: 8px;
|
|
256
285
|
font-size: var(--mantine-font-size-xs);
|
|
257
|
-
color: var(--mantine-color-
|
|
286
|
+
color: var(--mantine-color-dimmed);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.video-upload-progress-dot {
|
|
290
|
+
width: 2px;
|
|
291
|
+
height: 2px;
|
|
292
|
+
border-radius: 1px;
|
|
293
|
+
background: var(--mantine-color-dimmed);
|
|
294
|
+
flex-shrink: 0;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@keyframes video-upload-spin {
|
|
298
|
+
from {
|
|
299
|
+
transform: rotate(0deg);
|
|
300
|
+
}
|
|
301
|
+
to {
|
|
302
|
+
transform: rotate(360deg);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
.video-upload-spinner {
|
|
306
|
+
animation: video-upload-spin 1s linear infinite;
|
|
258
307
|
}
|
|
259
308
|
|
|
260
309
|
.video-upload-actions {
|
|
@@ -514,8 +563,8 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
514
563
|
min-height: 200px;
|
|
515
564
|
overflow: hidden;
|
|
516
565
|
--video-timeline-hitbox-padding: 6px;
|
|
517
|
-
--video-timeline-height:
|
|
518
|
-
--video-controls-gap:
|
|
566
|
+
--video-timeline-height: 12px;
|
|
567
|
+
--video-controls-gap: 4px;
|
|
519
568
|
--video-controls-row-height: 28px;
|
|
520
569
|
--video-controls-padding-bottom: 12px;
|
|
521
570
|
--video-subtitles-offset: 48px;
|
|
@@ -540,33 +589,32 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
540
589
|
.video-player-container--with-player {
|
|
541
590
|
aspect-ratio: 16/9;
|
|
542
591
|
cursor: pointer;
|
|
543
|
-
border-radius:
|
|
592
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
544
593
|
background: #000;
|
|
545
594
|
}
|
|
546
595
|
|
|
547
596
|
.video-player-container video {
|
|
548
597
|
width: 100%;
|
|
549
598
|
height: 100%;
|
|
550
|
-
object-fit:
|
|
599
|
+
object-fit: contain;
|
|
551
600
|
display: block;
|
|
552
601
|
}
|
|
553
602
|
|
|
554
603
|
.video-player-media {
|
|
555
604
|
width: 100%;
|
|
556
605
|
height: 100%;
|
|
557
|
-
border-radius:
|
|
606
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
558
607
|
display: block;
|
|
559
|
-
object-fit:
|
|
608
|
+
object-fit: contain;
|
|
560
609
|
}
|
|
561
610
|
|
|
562
611
|
.video-player-container video::cue {
|
|
563
612
|
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);
|
|
613
|
+
background: rgba(0, 0, 0, 0.8);
|
|
614
|
+
font-size: var(--mantine-font-size-md, 16px);
|
|
615
|
+
font-weight: 400;
|
|
616
|
+
line-height: 1.55;
|
|
617
|
+
padding: 0 4px;
|
|
570
618
|
}
|
|
571
619
|
|
|
572
620
|
.video-player-container .shaka-text-container {
|
|
@@ -584,13 +632,11 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
584
632
|
.video-player-container .shaka-text-container .shaka-text-wrapper span,
|
|
585
633
|
.video-player-container .shaka-text-container span {
|
|
586
634
|
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);
|
|
635
|
+
background: rgba(0, 0, 0, 0.8);
|
|
636
|
+
font-size: var(--mantine-font-size-md, 16px);
|
|
637
|
+
font-weight: 400;
|
|
638
|
+
line-height: 1.55;
|
|
639
|
+
padding: 0 4px;
|
|
594
640
|
}
|
|
595
641
|
|
|
596
642
|
.video-player-overlay {
|
|
@@ -598,7 +644,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
598
644
|
left: 0;
|
|
599
645
|
right: 0;
|
|
600
646
|
bottom: 0;
|
|
601
|
-
padding:
|
|
647
|
+
padding: 0 12px 12px;
|
|
602
648
|
pointer-events: none;
|
|
603
649
|
}
|
|
604
650
|
|
|
@@ -611,8 +657,8 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
611
657
|
left: 50%;
|
|
612
658
|
top: 50%;
|
|
613
659
|
transform: translate(-50%, -50%);
|
|
614
|
-
width:
|
|
615
|
-
height:
|
|
660
|
+
width: 64px;
|
|
661
|
+
height: 64px;
|
|
616
662
|
border-radius: 999px;
|
|
617
663
|
border: none;
|
|
618
664
|
background: transparent;
|
|
@@ -637,8 +683,8 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
637
683
|
left: 0;
|
|
638
684
|
right: 0;
|
|
639
685
|
bottom: 0;
|
|
640
|
-
height:
|
|
641
|
-
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.
|
|
686
|
+
height: 136px;
|
|
687
|
+
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
688
|
pointer-events: none;
|
|
643
689
|
}
|
|
644
690
|
|
|
@@ -646,7 +692,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
646
692
|
position: relative;
|
|
647
693
|
display: flex;
|
|
648
694
|
flex-direction: column;
|
|
649
|
-
gap:
|
|
695
|
+
gap: 4px;
|
|
650
696
|
width: 100%;
|
|
651
697
|
pointer-events: auto;
|
|
652
698
|
}
|
|
@@ -654,7 +700,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
654
700
|
.video-player-timeline {
|
|
655
701
|
position: relative;
|
|
656
702
|
width: 100%;
|
|
657
|
-
height:
|
|
703
|
+
height: 12px;
|
|
658
704
|
display: flex;
|
|
659
705
|
align-items: center;
|
|
660
706
|
}
|
|
@@ -673,7 +719,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
673
719
|
width: 100%;
|
|
674
720
|
height: 4px;
|
|
675
721
|
border-radius: 4px;
|
|
676
|
-
background: rgba(255, 255, 255, 0.
|
|
722
|
+
background: rgba(255, 255, 255, 0.4);
|
|
677
723
|
cursor: pointer;
|
|
678
724
|
}
|
|
679
725
|
|
|
@@ -728,19 +774,19 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
728
774
|
display: flex;
|
|
729
775
|
align-items: center;
|
|
730
776
|
justify-content: space-between;
|
|
731
|
-
gap:
|
|
777
|
+
gap: var(--mantine-spacing-lg, 20px);
|
|
732
778
|
}
|
|
733
779
|
|
|
734
780
|
.video-player-left,
|
|
735
781
|
.video-player-right {
|
|
736
782
|
display: flex;
|
|
737
783
|
align-items: center;
|
|
738
|
-
gap:
|
|
784
|
+
gap: 6px;
|
|
739
785
|
}
|
|
740
786
|
|
|
741
787
|
.video-player-button {
|
|
742
|
-
width:
|
|
743
|
-
height:
|
|
788
|
+
width: 28px;
|
|
789
|
+
height: 28px;
|
|
744
790
|
border-radius: 8px;
|
|
745
791
|
border: none;
|
|
746
792
|
background: transparent;
|
|
@@ -756,6 +802,46 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
756
802
|
background: rgba(255, 255, 255, 0.16);
|
|
757
803
|
}
|
|
758
804
|
|
|
805
|
+
.video-player-volume-slider .mantine-Slider-root {
|
|
806
|
+
height: 10px;
|
|
807
|
+
}
|
|
808
|
+
.video-player-volume-slider .mantine-Slider-track {
|
|
809
|
+
height: 3px !important;
|
|
810
|
+
border: none !important;
|
|
811
|
+
background: transparent !important;
|
|
812
|
+
top: 50% !important;
|
|
813
|
+
transform: translateY(-50%) !important;
|
|
814
|
+
cursor: pointer;
|
|
815
|
+
}
|
|
816
|
+
.video-player-volume-slider .mantine-Slider-track::after {
|
|
817
|
+
content: "";
|
|
818
|
+
position: absolute;
|
|
819
|
+
inset: -8px 0;
|
|
820
|
+
}
|
|
821
|
+
.video-player-volume-slider .mantine-Slider-track::before {
|
|
822
|
+
background: rgba(255, 255, 255, 0.08) !important;
|
|
823
|
+
}
|
|
824
|
+
.video-player-volume-slider .mantine-Slider-bar {
|
|
825
|
+
height: 3px !important;
|
|
826
|
+
background: #fff !important;
|
|
827
|
+
left: 0 !important;
|
|
828
|
+
inset-inline-start: 0 !important;
|
|
829
|
+
width: calc(var(--slider-bar-width) - 2 * var(--slider-size)) !important;
|
|
830
|
+
}
|
|
831
|
+
.video-player-volume-slider .mantine-Slider-thumb {
|
|
832
|
+
width: 10px;
|
|
833
|
+
height: 10px;
|
|
834
|
+
min-width: 10px;
|
|
835
|
+
background: #fff;
|
|
836
|
+
border: 2px solid #fff;
|
|
837
|
+
box-shadow: none;
|
|
838
|
+
}
|
|
839
|
+
.video-player-volume-slider .mantine-Slider-thumb::before {
|
|
840
|
+
content: "";
|
|
841
|
+
position: absolute;
|
|
842
|
+
inset: -8px;
|
|
843
|
+
}
|
|
844
|
+
|
|
759
845
|
.video-player-time {
|
|
760
846
|
font-size: var(--mantine-font-size-sm, 14px);
|
|
761
847
|
font-weight: 400;
|
|
@@ -764,19 +850,20 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
764
850
|
display: flex;
|
|
765
851
|
align-items: center;
|
|
766
852
|
gap: 4px;
|
|
767
|
-
padding: 0
|
|
853
|
+
padding: 0 6px;
|
|
768
854
|
}
|
|
769
855
|
|
|
770
856
|
.video-player-title {
|
|
771
857
|
display: flex;
|
|
772
858
|
align-items: center;
|
|
773
859
|
gap: 4px;
|
|
774
|
-
padding: 0
|
|
860
|
+
padding: 0 8px;
|
|
775
861
|
color: #fff;
|
|
776
862
|
font-size: var(--mantine-font-size-sm, 14px);
|
|
777
863
|
font-weight: 400;
|
|
778
864
|
line-height: 1.45;
|
|
779
|
-
|
|
865
|
+
height: 28px;
|
|
866
|
+
max-width: 427px;
|
|
780
867
|
white-space: nowrap;
|
|
781
868
|
overflow: hidden;
|
|
782
869
|
text-overflow: ellipsis;
|
|
@@ -786,12 +873,13 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
786
873
|
display: flex;
|
|
787
874
|
align-items: center;
|
|
788
875
|
gap: 4px;
|
|
789
|
-
padding: 0
|
|
876
|
+
padding: 0 8px;
|
|
790
877
|
color: #fff;
|
|
791
878
|
font-size: var(--mantine-font-size-sm, 14px);
|
|
792
879
|
font-weight: 400;
|
|
793
880
|
line-height: 1.45;
|
|
794
|
-
|
|
881
|
+
height: 28px;
|
|
882
|
+
max-width: 427px;
|
|
795
883
|
white-space: nowrap;
|
|
796
884
|
overflow: hidden;
|
|
797
885
|
text-overflow: ellipsis;
|
|
@@ -806,14 +894,14 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
806
894
|
display: flex;
|
|
807
895
|
gap: 2px;
|
|
808
896
|
width: 100%;
|
|
809
|
-
height:
|
|
897
|
+
height: 4px;
|
|
810
898
|
}
|
|
811
899
|
|
|
812
900
|
.video-player-chapter-segment {
|
|
813
901
|
position: relative;
|
|
814
|
-
height:
|
|
902
|
+
height: 4px;
|
|
815
903
|
border-radius: 4px;
|
|
816
|
-
background: rgba(255, 255, 255, 0.
|
|
904
|
+
background: rgba(255, 255, 255, 0.4);
|
|
817
905
|
overflow: hidden;
|
|
818
906
|
}
|
|
819
907
|
|
|
@@ -822,8 +910,9 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
822
910
|
top: 0;
|
|
823
911
|
left: 0;
|
|
824
912
|
height: 100%;
|
|
825
|
-
background:
|
|
913
|
+
background: var(--mantine-primary-color-filled);
|
|
826
914
|
border-radius: 4px;
|
|
915
|
+
z-index: 1;
|
|
827
916
|
}
|
|
828
917
|
|
|
829
918
|
.video-player-chapter-segment-buffered {
|
|
@@ -879,9 +968,10 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
879
968
|
display: flex;
|
|
880
969
|
gap: 2px;
|
|
881
970
|
overflow-x: auto;
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
971
|
+
overflow-y: hidden;
|
|
972
|
+
padding: 6px;
|
|
973
|
+
background: black;
|
|
974
|
+
border-top: 1px solid var(--mantine-color-dark-5, #3b3b3b);
|
|
885
975
|
border-radius: 0 0 var(--mantine-radius-default, 8px) var(--mantine-radius-default, 8px);
|
|
886
976
|
}
|
|
887
977
|
.video-player-chapters-list::-webkit-scrollbar {
|
|
@@ -891,7 +981,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
891
981
|
background: transparent;
|
|
892
982
|
}
|
|
893
983
|
.video-player-chapters-list::-webkit-scrollbar-thumb {
|
|
894
|
-
background: #424242;
|
|
984
|
+
background: var(--mantine-color-dark-4, #424242);
|
|
895
985
|
border-radius: 8px;
|
|
896
986
|
}
|
|
897
987
|
|
|
@@ -907,9 +997,9 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
907
997
|
|
|
908
998
|
.video-player-chapters-item {
|
|
909
999
|
display: flex;
|
|
910
|
-
align-items:
|
|
911
|
-
gap:
|
|
912
|
-
padding:
|
|
1000
|
+
align-items: flex-start;
|
|
1001
|
+
gap: 6px;
|
|
1002
|
+
padding: 8px;
|
|
913
1003
|
border-radius: var(--mantine-radius-default, 8px);
|
|
914
1004
|
border: none;
|
|
915
1005
|
background: transparent;
|
|
@@ -924,7 +1014,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
924
1014
|
}
|
|
925
1015
|
|
|
926
1016
|
.video-player-chapters-item--active .video-player-chapters-item-time {
|
|
927
|
-
background: #
|
|
1017
|
+
background: var(--mantine-color-blue-filled, #1971c2);
|
|
928
1018
|
color: #fff;
|
|
929
1019
|
}
|
|
930
1020
|
|
|
@@ -934,12 +1024,12 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
934
1024
|
justify-content: center;
|
|
935
1025
|
padding: 0 4px;
|
|
936
1026
|
min-width: 45px;
|
|
937
|
-
background: rgba(
|
|
1027
|
+
background: rgba(34, 139, 230, 0.2);
|
|
938
1028
|
border-radius: 16px;
|
|
939
1029
|
font-size: var(--mantine-font-size-xs, 12px);
|
|
940
1030
|
font-weight: 600;
|
|
941
1031
|
line-height: 1.4;
|
|
942
|
-
color: #
|
|
1032
|
+
color: var(--mantine-color-blue-text, #4dabf7);
|
|
943
1033
|
}
|
|
944
1034
|
|
|
945
1035
|
.video-player-chapters-item-title {
|
|
@@ -948,7 +1038,6 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
948
1038
|
line-height: 1.45;
|
|
949
1039
|
overflow: hidden;
|
|
950
1040
|
text-overflow: ellipsis;
|
|
951
|
-
max-width: 223px;
|
|
952
1041
|
}
|
|
953
1042
|
|
|
954
1043
|
.video-settings-anchor {
|
|
@@ -957,8 +1046,42 @@ div.doc-space-styles-provider .video-upload-container *::after {
|
|
|
957
1046
|
align-items: center;
|
|
958
1047
|
}
|
|
959
1048
|
|
|
1049
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown {
|
|
1050
|
+
--menu-bg: rgba(0, 0, 0, 0.9);
|
|
1051
|
+
--menu-bd: none;
|
|
1052
|
+
background: rgba(0, 0, 0, 0.9) !important;
|
|
1053
|
+
border: none !important;
|
|
1054
|
+
backdrop-filter: blur(4px);
|
|
1055
|
+
border-radius: var(--mantine-radius-md, 8px);
|
|
1056
|
+
}
|
|
1057
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-item + .mantine-Menu-item {
|
|
1058
|
+
margin-top: 2px;
|
|
1059
|
+
}
|
|
1060
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-item {
|
|
1061
|
+
color: #fff;
|
|
1062
|
+
}
|
|
1063
|
+
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] {
|
|
1064
|
+
background: rgba(255, 255, 255, 0.1);
|
|
1065
|
+
}
|
|
1066
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-itemSection {
|
|
1067
|
+
color: #fff;
|
|
1068
|
+
}
|
|
1069
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown .mantine-Menu-divider {
|
|
1070
|
+
border-color: rgba(255, 255, 255, 0.15);
|
|
1071
|
+
}
|
|
1072
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown::-webkit-scrollbar {
|
|
1073
|
+
width: 4px;
|
|
1074
|
+
}
|
|
1075
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown::-webkit-scrollbar-track {
|
|
1076
|
+
background: transparent;
|
|
1077
|
+
}
|
|
1078
|
+
div.video-player-menu-dropdown.mantine-Menu-dropdown::-webkit-scrollbar-thumb {
|
|
1079
|
+
background: var(--mantine-color-dark-4, #424242);
|
|
1080
|
+
border-radius: 8px;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
960
1083
|
div.video-player-menu-dropdown .video-menu-header {
|
|
961
|
-
font-size: var(--
|
|
1084
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
962
1085
|
font-style: normal;
|
|
963
1086
|
font-weight: 600;
|
|
964
1087
|
}
|
|
@@ -967,24 +1090,37 @@ div.video-player-menu-dropdown div.mantine-Menu-item,
|
|
|
967
1090
|
div.video-player-menu-dropdown div.mantine-Menu-itemLabel,
|
|
968
1091
|
div.video-player-menu-dropdown div.mantine-Menu-itemSection,
|
|
969
1092
|
div.video-player-menu-dropdown .video-menu-item-text {
|
|
970
|
-
font-size: var(--
|
|
1093
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
971
1094
|
font-weight: 400;
|
|
972
1095
|
}
|
|
973
1096
|
|
|
974
|
-
.video-menu-item {
|
|
1097
|
+
.video-menu-item.video-menu-item {
|
|
975
1098
|
display: flex;
|
|
976
1099
|
height: 36px;
|
|
977
1100
|
min-height: 36px;
|
|
978
|
-
padding: 6px var(--mantine-spacing-
|
|
1101
|
+
padding: 6px var(--mantine-spacing-sm, 12px) !important;
|
|
979
1102
|
align-items: center;
|
|
980
1103
|
gap: var(--mantine-spacing-xs, 10px);
|
|
981
1104
|
}
|
|
982
1105
|
|
|
983
|
-
.video-menu-
|
|
984
|
-
|
|
1106
|
+
.video-menu-icon {
|
|
1107
|
+
display: inline-flex;
|
|
1108
|
+
align-items: center;
|
|
1109
|
+
justify-content: center;
|
|
1110
|
+
flex-shrink: 0;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
.video-menu-item-text.video-menu-item-text {
|
|
1114
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
985
1115
|
font-weight: 400;
|
|
986
1116
|
}
|
|
987
1117
|
|
|
1118
|
+
.video-menu-hd-badge {
|
|
1119
|
+
font-size: 9px;
|
|
1120
|
+
font-weight: 600;
|
|
1121
|
+
vertical-align: super;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
988
1124
|
.video-menu-row {
|
|
989
1125
|
display: flex;
|
|
990
1126
|
align-items: center;
|
|
@@ -1006,10 +1142,11 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1006
1142
|
|
|
1007
1143
|
.video-menu-value {
|
|
1008
1144
|
text-align: right;
|
|
1145
|
+
color: var(--mantine-color-gray-4, #ced4da);
|
|
1009
1146
|
}
|
|
1010
1147
|
|
|
1011
1148
|
.video-menu-chevron {
|
|
1012
|
-
width:
|
|
1149
|
+
width: 16px;
|
|
1013
1150
|
display: inline-flex;
|
|
1014
1151
|
align-items: center;
|
|
1015
1152
|
justify-content: flex-end;
|
|
@@ -1022,30 +1159,80 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1022
1159
|
display: none !important;
|
|
1023
1160
|
}
|
|
1024
1161
|
|
|
1162
|
+
.video-settings-modal .mantine-Modal-content {
|
|
1163
|
+
display: flex;
|
|
1164
|
+
flex-direction: column;
|
|
1165
|
+
max-height: min(664px, 100dvh - 2 * var(--mantine-spacing-xl, 32px));
|
|
1166
|
+
overflow: hidden;
|
|
1167
|
+
}
|
|
1168
|
+
.video-settings-modal .mantine-Modal-header {
|
|
1169
|
+
padding: var(--mantine-spacing-md, 16px);
|
|
1170
|
+
}
|
|
1171
|
+
.video-settings-modal .mantine-Modal-close {
|
|
1172
|
+
width: 24px;
|
|
1173
|
+
height: 24px;
|
|
1174
|
+
min-width: 24px;
|
|
1175
|
+
min-height: 24px;
|
|
1176
|
+
border-radius: var(--mantine-radius-sm, 4px);
|
|
1177
|
+
color: var(--mantine-color-gray-7, #495057);
|
|
1178
|
+
}
|
|
1179
|
+
.video-settings-modal .mantine-Modal-close svg {
|
|
1180
|
+
width: 20px !important;
|
|
1181
|
+
height: 20px !important;
|
|
1182
|
+
}
|
|
1183
|
+
.video-settings-modal .mantine-Modal-title {
|
|
1184
|
+
font-size: var(--mantine-font-size-sm);
|
|
1185
|
+
font-weight: 700;
|
|
1186
|
+
line-height: 21px;
|
|
1187
|
+
color: var(--mantine-color-bright);
|
|
1188
|
+
}
|
|
1025
1189
|
.video-settings-modal .mantine-Modal-body {
|
|
1026
1190
|
padding: 0;
|
|
1191
|
+
display: flex;
|
|
1192
|
+
flex-direction: column;
|
|
1193
|
+
overflow: hidden;
|
|
1194
|
+
flex: 1;
|
|
1195
|
+
min-height: 0;
|
|
1196
|
+
}
|
|
1197
|
+
.video-settings-modal .video-settings-modal-body {
|
|
1198
|
+
padding: 0 var(--mantine-spacing-md, 16px) var(--mantine-spacing-md, 16px);
|
|
1199
|
+
overflow-y: auto;
|
|
1200
|
+
flex: 1;
|
|
1201
|
+
min-height: 0;
|
|
1202
|
+
}
|
|
1203
|
+
.video-settings-modal .video-settings-modal-body::-webkit-scrollbar {
|
|
1204
|
+
width: 6px;
|
|
1205
|
+
}
|
|
1206
|
+
.video-settings-modal .video-settings-modal-body::-webkit-scrollbar-track {
|
|
1207
|
+
background: transparent;
|
|
1027
1208
|
}
|
|
1028
|
-
.video-settings-modal .video-settings-modal-
|
|
1029
|
-
|
|
1030
|
-
border-
|
|
1209
|
+
.video-settings-modal .video-settings-modal-body::-webkit-scrollbar-thumb {
|
|
1210
|
+
background: var(--mantine-color-gray-3);
|
|
1211
|
+
border-radius: 3px;
|
|
1212
|
+
}
|
|
1213
|
+
.video-settings-modal .video-settings-modal-body::-webkit-scrollbar-thumb:hover {
|
|
1214
|
+
background: var(--mantine-color-gray-5);
|
|
1031
1215
|
}
|
|
1032
1216
|
.video-settings-modal .video-settings-modal-body {
|
|
1033
|
-
|
|
1217
|
+
scrollbar-width: thin;
|
|
1218
|
+
scrollbar-color: var(--mantine-color-gray-3) transparent;
|
|
1219
|
+
}
|
|
1220
|
+
.video-settings-modal .mantine-Switch-track {
|
|
1221
|
+
cursor: pointer;
|
|
1034
1222
|
}
|
|
1035
1223
|
.video-settings-modal .video-settings-modal-section-title {
|
|
1036
|
-
font-size: var(--mantine-
|
|
1037
|
-
font-weight:
|
|
1224
|
+
font-size: var(--mantine-font-size-md, 16px);
|
|
1225
|
+
font-weight: 700;
|
|
1226
|
+
line-height: var(--mantine-line-height-md, 24px);
|
|
1038
1227
|
color: var(--mantine-color-bright);
|
|
1039
1228
|
}
|
|
1040
1229
|
.video-settings-modal .video-settings-modal-text-label {
|
|
1041
1230
|
color: var(--mantine-color-bright);
|
|
1042
|
-
font-size: var(--
|
|
1231
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
1043
1232
|
font-weight: 500;
|
|
1044
1233
|
}
|
|
1045
1234
|
.video-settings-modal .video-settings-modal-cover-carousel {
|
|
1046
1235
|
position: relative;
|
|
1047
|
-
margin-top: 10px;
|
|
1048
|
-
margin-bottom: 12px;
|
|
1049
1236
|
}
|
|
1050
1237
|
.video-settings-modal .video-settings-modal-cover-controls {
|
|
1051
1238
|
top: 50%;
|
|
@@ -1055,11 +1242,10 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1055
1242
|
.video-settings-modal .video-settings-modal-cover-control {
|
|
1056
1243
|
width: 28px;
|
|
1057
1244
|
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);
|
|
1245
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1246
|
+
border: 1px solid var(--mantine-color-default-border);
|
|
1247
|
+
background: var(--mantine-color-default);
|
|
1248
|
+
color: var(--mantine-color-default-color);
|
|
1063
1249
|
}
|
|
1064
1250
|
.video-settings-modal .video-settings-modal-cover-control[data-inactive] {
|
|
1065
1251
|
opacity: 0;
|
|
@@ -1070,42 +1256,40 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1070
1256
|
height: 80px;
|
|
1071
1257
|
}
|
|
1072
1258
|
.video-settings-modal .video-settings-modal-cover-cell {
|
|
1073
|
-
width:
|
|
1259
|
+
width: 100%;
|
|
1074
1260
|
height: 80px;
|
|
1075
|
-
border-radius: var(--
|
|
1261
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1076
1262
|
overflow: hidden;
|
|
1077
1263
|
min-height: 0;
|
|
1078
|
-
flex: 0 0 auto;
|
|
1079
1264
|
}
|
|
1080
1265
|
.video-settings-modal .video-settings-modal-cover-upload {
|
|
1081
1266
|
width: 100%;
|
|
1082
1267
|
height: 100%;
|
|
1083
1268
|
min-height: 0;
|
|
1084
|
-
border: 1px dashed
|
|
1085
|
-
border-radius: var(--
|
|
1086
|
-
background:
|
|
1269
|
+
border: 1px dashed var(--mantine-color-default-border);
|
|
1270
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1271
|
+
background: var(--mantine-color-body);
|
|
1087
1272
|
display: flex;
|
|
1088
1273
|
flex-direction: column;
|
|
1089
1274
|
align-items: center;
|
|
1090
1275
|
justify-content: center;
|
|
1091
|
-
gap:
|
|
1276
|
+
gap: 10px;
|
|
1092
1277
|
cursor: pointer;
|
|
1093
|
-
transition:
|
|
1278
|
+
transition: background 0.15s;
|
|
1094
1279
|
}
|
|
1095
1280
|
.video-settings-modal .video-settings-modal-cover-upload:hover {
|
|
1096
|
-
|
|
1097
|
-
background: #ffffff;
|
|
1281
|
+
background: var(--mantine-color-default-hover);
|
|
1098
1282
|
}
|
|
1099
1283
|
.video-settings-modal .video-settings-modal-cover-upload-inner {
|
|
1100
1284
|
display: flex;
|
|
1101
1285
|
flex-direction: column;
|
|
1102
1286
|
align-items: center;
|
|
1103
1287
|
justify-content: center;
|
|
1104
|
-
gap:
|
|
1288
|
+
gap: 10px;
|
|
1105
1289
|
text-align: center;
|
|
1106
1290
|
}
|
|
1107
1291
|
.video-settings-modal .video-settings-modal-cover-upload-label {
|
|
1108
|
-
font-size: var(--
|
|
1292
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
1109
1293
|
font-style: normal;
|
|
1110
1294
|
font-weight: 500;
|
|
1111
1295
|
line-height: 1.2;
|
|
@@ -1114,10 +1298,9 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1114
1298
|
.video-settings-modal .video-settings-modal-cover-thumb {
|
|
1115
1299
|
width: 100%;
|
|
1116
1300
|
height: 100%;
|
|
1117
|
-
border-radius: var(--
|
|
1301
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1118
1302
|
overflow: hidden;
|
|
1119
1303
|
position: relative;
|
|
1120
|
-
border: 2px solid transparent;
|
|
1121
1304
|
cursor: pointer;
|
|
1122
1305
|
}
|
|
1123
1306
|
.video-settings-modal .video-settings-modal-cover-thumb img {
|
|
@@ -1126,19 +1309,15 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1126
1309
|
object-fit: cover;
|
|
1127
1310
|
display: block;
|
|
1128
1311
|
}
|
|
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
1312
|
.video-settings-modal .video-settings-modal-cover-thumb .video-settings-modal-cover-spinner {
|
|
1136
1313
|
position: absolute;
|
|
1137
1314
|
inset: 0;
|
|
1138
1315
|
display: flex;
|
|
1139
1316
|
align-items: center;
|
|
1140
1317
|
justify-content: center;
|
|
1141
|
-
background: rgba(0, 0, 0, 0.
|
|
1318
|
+
background: rgba(0, 0, 0, 0.6);
|
|
1319
|
+
backdrop-filter: blur(1px);
|
|
1320
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1142
1321
|
}
|
|
1143
1322
|
.video-settings-modal .video-settings-modal-cover-thumb .video-settings-modal-cover-error-icon {
|
|
1144
1323
|
position: absolute;
|
|
@@ -1146,111 +1325,115 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1146
1325
|
display: flex;
|
|
1147
1326
|
align-items: center;
|
|
1148
1327
|
justify-content: center;
|
|
1149
|
-
background: rgba(0, 0, 0, 0.
|
|
1328
|
+
background: rgba(0, 0, 0, 0.6);
|
|
1329
|
+
backdrop-filter: blur(1px);
|
|
1330
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1150
1331
|
color: #fff;
|
|
1151
|
-
font-size: 20px;
|
|
1152
|
-
font-weight: 600;
|
|
1153
1332
|
}
|
|
1154
1333
|
.video-settings-modal .video-settings-modal-cover-thumb.selected {
|
|
1155
|
-
border
|
|
1334
|
+
border: none;
|
|
1156
1335
|
}
|
|
1157
1336
|
.video-settings-modal .video-settings-modal-cover-thumb.selected .video-settings-modal-cover-check {
|
|
1158
1337
|
position: absolute;
|
|
1159
1338
|
top: 50%;
|
|
1160
1339
|
left: 50%;
|
|
1161
1340
|
transform: translate(-50%, -50%);
|
|
1162
|
-
width:
|
|
1163
|
-
height:
|
|
1164
|
-
|
|
1165
|
-
background: var(--mantine-color-blue-5);
|
|
1166
|
-
backdrop-filter: blur(2px);
|
|
1167
|
-
color: #fff;
|
|
1341
|
+
width: 32px;
|
|
1342
|
+
height: 32px;
|
|
1343
|
+
backdrop-filter: blur(4px);
|
|
1168
1344
|
display: flex;
|
|
1169
1345
|
align-items: center;
|
|
1170
1346
|
justify-content: center;
|
|
1171
1347
|
}
|
|
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
1348
|
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-body {
|
|
1176
1349
|
background: var(--mantine-color-dark-7);
|
|
1350
|
+
scrollbar-color: var(--mantine-color-dark-4) transparent;
|
|
1177
1351
|
}
|
|
1178
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-
|
|
1179
|
-
|
|
1352
|
+
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-body::-webkit-scrollbar-thumb {
|
|
1353
|
+
background: var(--mantine-color-dark-4);
|
|
1180
1354
|
}
|
|
1181
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-
|
|
1182
|
-
|
|
1183
|
-
background: var(--mantine-color-dark-6);
|
|
1184
|
-
color: var(--mantine-color-gray-2);
|
|
1185
|
-
}
|
|
1186
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-upload {
|
|
1187
|
-
border-color: var(--mantine-color-dark-4);
|
|
1188
|
-
background: var(--mantine-color-dark-6);
|
|
1355
|
+
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-body::-webkit-scrollbar-thumb:hover {
|
|
1356
|
+
background: var(--mantine-color-dark-3);
|
|
1189
1357
|
}
|
|
1190
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-
|
|
1191
|
-
|
|
1192
|
-
background: var(--mantine-color-dark-5);
|
|
1358
|
+
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-section-title {
|
|
1359
|
+
color: var(--mantine-color-bright);
|
|
1193
1360
|
}
|
|
1194
1361
|
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-upload-label {
|
|
1195
1362
|
color: var(--mantine-color-gray-0, #f1f3f5);
|
|
1196
1363
|
}
|
|
1197
|
-
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-
|
|
1198
|
-
|
|
1364
|
+
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-upload {
|
|
1365
|
+
background: #1f1f1f;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
.video-settings-modal-subtitles {
|
|
1369
|
+
display: flex;
|
|
1370
|
+
flex-direction: column;
|
|
1371
|
+
gap: var(--mantine-spacing-xs, 10px);
|
|
1199
1372
|
}
|
|
1200
|
-
|
|
1201
|
-
|
|
1373
|
+
.video-settings-modal-subtitles .video-settings-modal-link {
|
|
1374
|
+
margin-top: 2px;
|
|
1202
1375
|
}
|
|
1203
1376
|
|
|
1204
1377
|
.video-settings-modal-subtitles-row {
|
|
1205
1378
|
align-items: center;
|
|
1206
|
-
gap: 10px;
|
|
1207
|
-
margin-bottom: var(--mantine-spacing-sm);
|
|
1379
|
+
gap: var(--mantine-spacing-xs, 10px);
|
|
1208
1380
|
}
|
|
1381
|
+
.video-settings-modal-subtitles-row .mantine-InputBase-root,
|
|
1209
1382
|
.video-settings-modal-subtitles-row .mantine-Select-root {
|
|
1210
1383
|
flex: 1;
|
|
1211
1384
|
}
|
|
1212
|
-
.video-settings-modal-subtitles-row .mantine-Select-input,
|
|
1213
1385
|
.video-settings-modal-subtitles-row .mantine-Button-root {
|
|
1214
1386
|
height: 36px;
|
|
1215
|
-
}
|
|
1216
|
-
.video-settings-modal-subtitles-row .mantine-Button-root {
|
|
1217
1387
|
min-width: 140px;
|
|
1218
1388
|
border-radius: 10px;
|
|
1219
1389
|
}
|
|
1220
1390
|
|
|
1391
|
+
.video-settings-modal-select-fullwidth {
|
|
1392
|
+
width: 100% !important;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
.video-settings-modal-language-select {
|
|
1396
|
+
height: 36px;
|
|
1397
|
+
min-height: 36px;
|
|
1398
|
+
border: 1px solid var(--mantine-color-default-border, #ced4da);
|
|
1399
|
+
border-radius: var(--mantine-radius-default, 8px);
|
|
1400
|
+
background-color: var(--input-bg, var(--mantine-color-body, white));
|
|
1401
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
1402
|
+
line-height: 1.45;
|
|
1403
|
+
padding: 6px 12px;
|
|
1404
|
+
padding-right: 32px;
|
|
1405
|
+
cursor: pointer;
|
|
1406
|
+
color: var(--mantine-color-default-color, black);
|
|
1407
|
+
overflow: hidden;
|
|
1408
|
+
white-space: nowrap;
|
|
1409
|
+
text-overflow: ellipsis;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1221
1412
|
.video-settings-modal-subtitles-row:first-of-type {
|
|
1222
|
-
margin-top:
|
|
1413
|
+
margin-top: 0;
|
|
1223
1414
|
}
|
|
1224
1415
|
|
|
1225
1416
|
.video-settings-modal-subtitles-row:last-of-type {
|
|
1226
1417
|
margin-bottom: 0;
|
|
1227
1418
|
}
|
|
1228
1419
|
|
|
1229
|
-
.video-settings-modal-subtitles-label {
|
|
1230
|
-
color:
|
|
1420
|
+
.video-settings-modal-subtitles-label.video-settings-modal-subtitles-label {
|
|
1421
|
+
color: var(--mantine-color-bright);
|
|
1231
1422
|
font-weight: 500;
|
|
1232
1423
|
}
|
|
1233
1424
|
|
|
1234
|
-
.video-settings-modal-link {
|
|
1425
|
+
.video-settings-modal-link.video-settings-modal-link {
|
|
1235
1426
|
appearance: none;
|
|
1236
1427
|
border: none;
|
|
1237
1428
|
background: none;
|
|
1238
1429
|
padding: 0;
|
|
1239
1430
|
margin: 0;
|
|
1240
1431
|
color: var(--mantine-primary-color-light-color, #4c6ef5);
|
|
1241
|
-
font-size: 14px;
|
|
1242
|
-
font-weight:
|
|
1432
|
+
font-size: var(--mantine-font-size-sm, 14px);
|
|
1433
|
+
font-weight: 400;
|
|
1243
1434
|
cursor: pointer;
|
|
1244
1435
|
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);
|
|
1436
|
+
text-align: left;
|
|
1254
1437
|
}
|
|
1255
1438
|
|
|
1256
1439
|
.video-settings-modal-link:disabled {
|
|
@@ -1258,7 +1441,7 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1258
1441
|
cursor: default;
|
|
1259
1442
|
}
|
|
1260
1443
|
|
|
1261
|
-
.video-settings-modal-upload-button {
|
|
1444
|
+
.video-settings-modal-upload-button.video-settings-modal-upload-button {
|
|
1262
1445
|
height: var(--button-height-sm, 36px);
|
|
1263
1446
|
padding: 6px var(--button-padding-x-sm, 18px);
|
|
1264
1447
|
border-radius: var(--mantine-radius-default, 8px);
|
|
@@ -1268,8 +1451,7 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1268
1451
|
font-weight: 500;
|
|
1269
1452
|
border: none !important;
|
|
1270
1453
|
}
|
|
1271
|
-
|
|
1272
|
-
.video-settings-modal-upload-button:hover {
|
|
1454
|
+
.video-settings-modal-upload-button.video-settings-modal-upload-button:hover {
|
|
1273
1455
|
background: var(--mantine-primary-color-light-hover, rgba(76, 110, 245, 0.16)) !important;
|
|
1274
1456
|
}
|
|
1275
1457
|
|
|
@@ -1298,26 +1480,26 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1298
1480
|
display: flex;
|
|
1299
1481
|
align-items: center;
|
|
1300
1482
|
justify-content: center;
|
|
1301
|
-
}.
|
|
1483
|
+
}._dropzone_12otc_1 {
|
|
1302
1484
|
border-radius: var(--mantine-radius-default, 8px);
|
|
1303
|
-
padding:
|
|
1485
|
+
padding: 32px 60px;
|
|
1304
1486
|
cursor: pointer;
|
|
1305
1487
|
transition: all 0.2s ease;
|
|
1306
1488
|
border: 1px dashed var(--mantine-color-default-border);
|
|
1307
1489
|
background-color: light-dark(#fff, var(--mantine-color-dark-8));
|
|
1308
1490
|
}
|
|
1309
|
-
.
|
|
1491
|
+
._dropzone_12otc_1:hover:not(._disabled_12otc_9) {
|
|
1310
1492
|
background-color: var(--mantine-color-default-hover);
|
|
1311
1493
|
}
|
|
1312
|
-
.
|
|
1313
|
-
border: 1px dashed var(--primary-color-outline, #
|
|
1314
|
-
background: linear-gradient(0deg,
|
|
1494
|
+
._dropzone_12otc_1._focused_12otc_12, ._dropzone_12otc_1[data-accept=true] {
|
|
1495
|
+
border: 1px dashed var(--primary-color-outline, #748ffc);
|
|
1496
|
+
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
1497
|
}
|
|
1316
|
-
.
|
|
1498
|
+
._dropzone_12otc_1._disabled_12otc_9 {
|
|
1317
1499
|
cursor: not-allowed;
|
|
1318
1500
|
}
|
|
1319
1501
|
|
|
1320
|
-
.
|
|
1502
|
+
._dropzoneContent_12otc_20 {
|
|
1321
1503
|
border: none;
|
|
1322
1504
|
background: transparent !important;
|
|
1323
1505
|
padding: 0;
|
|
@@ -1333,11 +1515,11 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1333
1515
|
border-radius: var(--mantine-radius-default, 8px);
|
|
1334
1516
|
transition: background-color 0.2s ease;
|
|
1335
1517
|
}
|
|
1336
|
-
.
|
|
1518
|
+
._dropzoneContent_12otc_20._disabled_12otc_9 {
|
|
1337
1519
|
cursor: not-allowed;
|
|
1338
1520
|
}
|
|
1339
1521
|
|
|
1340
|
-
.
|
|
1522
|
+
._iconContainer_12otc_40 {
|
|
1341
1523
|
width: 32px;
|
|
1342
1524
|
height: 32px;
|
|
1343
1525
|
display: flex;
|
|
@@ -1345,7 +1527,7 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1345
1527
|
justify-content: center;
|
|
1346
1528
|
}
|
|
1347
1529
|
|
|
1348
|
-
.
|
|
1530
|
+
._contentWrapper_12otc_48 {
|
|
1349
1531
|
display: flex;
|
|
1350
1532
|
flex-direction: column;
|
|
1351
1533
|
gap: 4px;
|
|
@@ -1354,11 +1536,11 @@ div.video-player-menu-dropdown .video-menu-item-text {
|
|
|
1354
1536
|
width: 100%;
|
|
1355
1537
|
}
|
|
1356
1538
|
|
|
1357
|
-
.
|
|
1539
|
+
._contentWrapper_12otc_48 ._title_12otc_57 {
|
|
1358
1540
|
line-height: 1.55;
|
|
1359
1541
|
color: var(--mantine-color-bright);
|
|
1360
1542
|
}
|
|
1361
1543
|
|
|
1362
|
-
.
|
|
1544
|
+
._description_12otc_62 {
|
|
1363
1545
|
line-height: 1.45;
|
|
1364
1546
|
}
|