arcanus commited on
Commit
a4f9e19
·
verified ·
1 Parent(s): a9ffeb4

Update static/css/style.css

Browse files
Files changed (1) hide show
  1. static/css/style.css +343 -11
static/css/style.css CHANGED
@@ -16,13 +16,6 @@ body {
16
  border-radius: 8px;
17
  }
18
 
19
- .btn-primary {
20
- background-color: #0d6efd;
21
- border: none;
22
- padding: 10px 20px;
23
- border-radius: 8px;
24
- transition: all 0.3s ease;
25
- }
26
  .loading-container {
27
  display: none;
28
  position: fixed;
@@ -63,10 +56,7 @@ body {
63
  margin-top: 10px;
64
  font-size: 14px;
65
  }
66
- .btn-primary:hover {
67
- background-color: #0b5ed7;
68
- transform: translateY(-2px);
69
- }
70
 
71
  .progress {
72
  height: 10px;
@@ -115,3 +105,345 @@ optgroup {
115
  border-radius: 8px;
116
  margin-top: 20px;
117
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  border-radius: 8px;
17
  }
18
 
 
 
 
 
 
 
 
19
  .loading-container {
20
  display: none;
21
  position: fixed;
 
56
  margin-top: 10px;
57
  font-size: 14px;
58
  }
59
+
 
 
 
60
 
61
  .progress {
62
  height: 10px;
 
105
  border-radius: 8px;
106
  margin-top: 20px;
107
  }
108
+ .loader-container {
109
+ position: fixed;
110
+ top: 0;
111
+ left: 0;
112
+ width: 100%;
113
+ height: 100%;
114
+ background-color: rgba(34, 37, 42, 0.95);
115
+ display: flex;
116
+ justify-content: center;
117
+ align-items: center;
118
+ z-index: 9999;
119
+ transition: opacity 0.3s;
120
+ }
121
+ .modal-backdrop.show{
122
+ opacity: 0 !important;
123
+ }
124
+ .modal-content {
125
+ background-color: #272a30 !important;
126
+ }
127
+ .form-control {
128
+ background-color: #272a30 !important;
129
+ border-color: #2e3138 !important;
130
+ color: var(--text-color);
131
+ }
132
+
133
+ .loader {
134
+ width: 15px;
135
+ height: 15px;
136
+ border: 2px solid #FFF;
137
+ border-bottom-color: transparent;
138
+ border-radius: 50%;
139
+ display: inline-block;
140
+ box-sizing: border-box;
141
+ animation: rotation 1s linear infinite;
142
+ }
143
+
144
+ @keyframes rotation {
145
+ 0% {
146
+ transform: rotate(0deg);
147
+ }
148
+ 100% {
149
+ transform: rotate(360deg);
150
+ }
151
+ }
152
+
153
+ .loader-hidden {
154
+ opacity: 0;
155
+ pointer-events: none;
156
+ }
157
+ :root {
158
+ --primary-bg: #1a1a1a;
159
+ --secondary-bg: #2d2d2d;
160
+ --text-color: #ffffff;
161
+ --border-color: #404040;
162
+ }
163
+
164
+ body {
165
+ overflow: hidden;
166
+ background-color: #22252a !important;
167
+ color: var(--text-color);
168
+ }
169
+
170
+ .container-fluid {
171
+ padding: 20px;
172
+ }
173
+
174
+ .video-container {
175
+ background-color: var(--secondary-bg);
176
+ border-radius: 8px;
177
+ padding: 20px;
178
+ margin-bottom: 20px;
179
+ --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
180
+ --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
181
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
182
+ }
183
+
184
+ .video-js {
185
+ /*width: 100%;
186
+ height: 480px;*/
187
+ }
188
+
189
+ .timeline-container {
190
+ background-color: #272a30;
191
+ border: 1px solid #2e3138;
192
+ border-radius: .75rem;
193
+ padding: 10px;
194
+
195
+ scrollbar-color: #2e3138 #1a1a1a00;
196
+ scrollbar-width: thin;
197
+ --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
198
+ --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
199
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
200
+
201
+ margin-bottom: 20px;
202
+ overflow: hidden;
203
+ }
204
+ button.vjs-big-play-button {
205
+ height: 3em !important;
206
+ width: 3em !important;
207
+ line-height: 3em !important;
208
+ border-radius: 100% !important;
209
+ border: none !important;
210
+ color: #dfdfdf !important;
211
+ }
212
+ #zoom-in, #zoom-out {
213
+ background: #272a30 !important;
214
+ border-radius: 1.75rem !important;
215
+ border: 1px solid #2e3138 !important;
216
+ }
217
+ #timeline {
218
+ height: 100px;
219
+ background-color: #22252a;
220
+ border: 1px solid #2d3037;
221
+ position: relative;
222
+
223
+ overflow-x: auto;
224
+ overflow-y: hidden;
225
+ width: 100%;
226
+ border-radius: 0.75rem;
227
+ }
228
+
229
+ #timeline-content {
230
+ height: 100%;
231
+ position: absolute;
232
+ left: 0;
233
+ min-width: 100%;
234
+ pointer-events: auto;
235
+ padding: 20px;
236
+ font-size: 10px;
237
+ color: #ffffff;
238
+ }
239
+ button.btn-close {
240
+ font-size: 10px !important;
241
+ }
242
+ #saveSubtitle,#deleteSubtitle,button.btn.btn-secondary {
243
+ font-size: .875rem;
244
+ line-height: 1.25rem;
245
+ }
246
+
247
+ .modal-body {
248
+ padding-bottom: 0 !important;
249
+ padding-top: 0 !important;
250
+ }
251
+ .modal-footer {
252
+ border: none !important;
253
+ }
254
+ .modal-header {
255
+ border: none !important;
256
+ }
257
+ .subtitle-marker {
258
+ height: auto !important;
259
+ border-top: 2px solid;
260
+ border-bottom: 2px solid;
261
+ --tw-border-opacity: 1;
262
+ margin: 10px 0px !important;
263
+ padding: 10px 15px !important;
264
+ border-radius: 5px !important;
265
+ border-color: rgb(86 129 175);
266
+ position: absolute;
267
+ background: rgba(0, 123, 255, 0.5);
268
+ height: 30px;
269
+ bottom: 0;
270
+ border-radius: 2px;
271
+ cursor: pointer;
272
+ overflow: hidden;
273
+ white-space: nowrap;
274
+ text-overflow: ellipsis;
275
+ color: white;
276
+ padding: 5px;
277
+ font-size: 12px;
278
+ transition: background-color 0.2s;
279
+ }
280
+
281
+ .subtitle-marker:hover {
282
+ background: rgba(0, 123, 255, 0.7);
283
+ }
284
+
285
+ .subtitle-marker .resize-handle {
286
+ position: absolute;
287
+ top: 0;
288
+ width: 6px;
289
+ height: 100%;
290
+ cursor: ew-resize;
291
+ background: rgba(255, 255, 255, 0.3);
292
+ }
293
+
294
+ .subtitle-marker .resize-handle.left {
295
+ left: 0;
296
+ }
297
+
298
+ .subtitle-marker .resize-handle.right {
299
+ right: 0;
300
+ }
301
+
302
+ .subtitle-marker .resize-handle:hover {
303
+ background: rgba(255, 255, 255, 0.5);
304
+ }
305
+
306
+ .subtitle-marker.dragging {
307
+ opacity: 0.7;
308
+ cursor: move;
309
+ }
310
+
311
+ .subtitle-marker.resizing {
312
+ opacity: 0.8;
313
+ z-index: 1000;
314
+ pointer-events: all;
315
+ }
316
+
317
+ .subtitle-marker.resizing .resize-handle {
318
+ background: rgba(255, 255, 255, 0.5);
319
+ }
320
+
321
+ .timeline-marker {
322
+ position: absolute;
323
+ height: 100%;
324
+ background-color: rgb(255 255 255 / 2%);
325
+ cursor: pointer;
326
+ }
327
+
328
+ .timeline-marker:hover {
329
+ background-color: rgba(255, 255, 255, 0.2);
330
+ }
331
+
332
+ .editor-panel .card {
333
+ background-color: var(--secondary-bg);
334
+ border-color: var(--border-color);
335
+
336
+ }
337
+
338
+ .editor-panel .card-header {
339
+ background-color: var(--primary-bg);
340
+ border-bottom-color: var(--border-color);
341
+ }
342
+
343
+ .form-control {
344
+ background-color: var(--primary-bg);
345
+ border-color: var(--border-color);
346
+ color: var(--text-color);
347
+ }
348
+
349
+ .form-control:focus {
350
+ background-color: var(--primary-bg);
351
+ border-color: #0d6efd;
352
+ color: var(--text-color);
353
+ }
354
+
355
+ .subtitle-list {
356
+ max-height: 300px;
357
+ overflow-y: auto;
358
+ }
359
+
360
+ .subtitle-item {
361
+ background-color: var(--primary-bg);
362
+ border: 1px solid var(--border-color);
363
+ border-radius: 4px;
364
+ padding: 10px;
365
+ margin-bottom: 10px;
366
+ }
367
+
368
+ .subtitle-item:hover {
369
+ border-color: #0d6efd;
370
+ }
371
+
372
+ #timeline-controls {
373
+ text-align: right;
374
+ }
375
+
376
+ .btn-sm {
377
+ margin-left: 5px;
378
+ }
379
+
380
+ /* Modal styling */
381
+ .modal-content {
382
+ background-color: var(--secondary-bg);
383
+ color: var(--text-color);
384
+ }
385
+
386
+ .modal-header {
387
+ border-bottom-color: var(--border-color);
388
+ }
389
+
390
+ .modal-footer {
391
+ border-top-color: var(--border-color);
392
+ }
393
+
394
+ .btn-close {
395
+ filter: invert(1);
396
+ }
397
+ .col-12.col-lg-4 {
398
+ display: none !important;
399
+ }
400
+ .video-container {
401
+ background: none !important;
402
+ padding: 0 !important;
403
+ }
404
+ div#video-player {
405
+ border-radius: .75rem;
406
+ }
407
+
408
+ video#video-player_html5_api {
409
+ border: 1px solid #2e3138;
410
+ border-radius: .75rem;
411
+ }
412
+ video#video-player_html5_api {
413
+ position: relative !important;
414
+ }
415
+ div#video-player {
416
+ width: 100%;
417
+ background: none;
418
+ height: auto; padding: 0;
419
+ }
420
+ #zoom-in, #zoom-out {
421
+ background: #272a30 !important;
422
+ border-radius: 1.75rem !important;
423
+ border: 1px solid #2e3138 !important;
424
+ --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
425
+ --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
426
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
427
+ }
428
+ body.modal-open {
429
+ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji" !important;
430
+ }
431
+ .loader {
432
+ width: 48px;
433
+ height: 48px;
434
+ border: 5px solid #FFF;
435
+ border-bottom-color: transparent;
436
+ border-radius: 50%;
437
+ display: inline-block;
438
+ box-sizing: border-box;
439
+ animation: rotation 1s linear infinite;
440
+ }
441
+
442
+ @keyframes rotation {
443
+ 0% {
444
+ transform: rotate(0deg);
445
+ }
446
+ 100% {
447
+ transform: rotate(360deg);
448
+ }
449
+ }