Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aandrew-me
GitHub Repository: aandrew-me/ytDownloader
Path: blob/main/assets/css/index.css
448 views
1
@font-face {
2
font-family: "JetBrains";
3
src: url("../fonts/JetBrainsMono-Regular.ttf") format("truetype");
4
}
5
6
@font-face {
7
font-family: "Ubuntu";
8
src: url("../fonts/Ubuntu-Regular.ttf") format("truetype");
9
}
10
11
@font-face {
12
font-family: "Inter";
13
src: url("../fonts/Inter.ttf") format("truetype");
14
}
15
16
:root[theme="light"] {
17
--background: #f9fafb;
18
--text: #1f2937;
19
--box-main: #f3f4f6;
20
--box-toggle: rgb(215 238 233);
21
--box-separation: #e5e7eb;
22
--box-toggleOn: rgb(127, 250, 172);
23
--item-bg: #dddddd;
24
--box-shadow: none;
25
--select: #a7f3d0;
26
--greenBtn: #22c55e;
27
--greenBtn-bottom: #16a34a;
28
--redBtn: #d64d4f;
29
--redBtn-bottom: #854243;
30
--blueBtn: #3b82f6;
31
--blueBtn-bottom: rgb(44, 78, 180);
32
}
33
34
:root[theme="dark"] {
35
--background: #121212;
36
--text: rgb(229, 229, 229);
37
--box-main: #1d1d1d;
38
--box-toggle: #191919;
39
--box-separation: #2e2e2e;
40
--box-toggleOn: #2e2e2e;
41
--item-bg: #2c2e31;
42
--box-shadow: none;
43
--select: #252426;
44
--greenBtn: #05aa76;
45
--greenBtn-bottom: #047652;
46
--redBtn: #c82b2d;
47
--redBtn-bottom: #803334;
48
--blueBtn: rgb(80, 140, 230);
49
--blueBtn-bottom: rgb(44, 78, 180);
50
--border: none;
51
}
52
53
:root[theme="frappe"] {
54
--background: #232634;
55
--text: #e2e8ff;
56
--box-main: #303446;
57
--box-toggle: #414559;
58
--box-separation: #414559;
59
--box-toggleOn: #607dc1;
60
--item-bg: #414559;
61
--select: #3b3e4a;
62
--greenBtn: #78c346;
63
--greenBtn-bottom: #597844;
64
--redBtn: #d64d4f;
65
--redBtn-bottom: #854243;
66
--blueBtn: rgb(80, 128, 230);
67
--blueBtn-bottom: rgb(44, 78, 180);
68
}
69
:root[theme="onedark"] {
70
--background: #282c34;
71
--text: #d2d6df;
72
--box-main: #3a3d46;
73
--box-toggle: #2f333d;
74
--box-separation: #2f333d;
75
--box-toggleOn: #13a3b7;
76
--item-bg: #4d515d;
77
--select: #262c33;
78
--greenBtn: #85cf50;
79
--greenBtn-bottom: #406923;
80
--redBtn: #be2d39;
81
--redBtn-bottom: #791a22;
82
--blueBtn: rgb(80, 128, 230);
83
--blueBtn-bottom: rgb(44, 78, 180);
84
}
85
:root[theme="matrix"] {
86
--background: #0d0208;
87
--text: #00ff41;
88
--box-main: #0c2216;
89
--box-toggle: #214338;
90
--box-separation: #214338;
91
--box-toggleOn: #24782e;
92
--item-bg: #214338;
93
--select: #08180f;
94
--greenBtn: #19b42b;
95
--greenBtn-bottom: #10701c;
96
--redBtn: #19b42b;
97
--redBtn-bottom: #10701c;
98
--blueBtn: #19b42b;
99
--blueBtn-bottom: #10701c;
100
}
101
102
:root[theme="github"] {
103
--background: #f6f8fa;
104
--text: #292d31;
105
--box-main: #ffffff;
106
--box-toggle: #f3f3f3;
107
--box-separation: #f3f3f3;
108
--box-toggleOn: #cce5ff;
109
--item-bg: #3a66d150;
110
--select: #cce5ff;
111
--greenBtn: #0a9431;
112
--greenBtn-bottom: #0c6826;
113
--redBtn: #d73a49;
114
--redBtn-bottom: #9b2733;
115
--blueBtn: #005cc5;
116
--blueBtn-bottom: #00428e;
117
}
118
119
:root[theme="latte"] {
120
--background: #dce0e8;
121
--text: #4c4f69;
122
--box-main: #eff1f5;
123
--box-toggle: #e6e9ef;
124
--box-separation: #e6e9ef;
125
--box-toggleOn: #cce5ff;
126
--item-bg: #bcc0cc;
127
--select: #cce5ff;
128
--greenBtn: #40a02b;
129
--greenBtn-bottom: #2e711f;
130
--redBtn: #d20f39;
131
--redBtn-bottom: #9c0c2b;
132
--blueBtn: #1e66f5;
133
--blueBtn-bottom: rgb(3, 49, 101);
134
}
135
136
:root[theme="solarized-dark"] {
137
--background: #002b36;
138
--text: #a4b1b3;
139
--box-main: #003745;
140
--box-toggle: #2e4c52;
141
--box-separation: #2e4c52;
142
--box-toggleOn: #005a6f;
143
--item-bg: #003745;
144
--select: rgb(9, 57, 53);
145
--greenBtn: #859900;
146
--greenBtn-bottom: rgb(73, 84, 1);
147
--redBtn: #dc322f;
148
--redBtn-bottom: #af2523;
149
--blueBtn: #268bd2;
150
--blueBtn-bottom: #2074b1;
151
}
152
:root[theme = "gruvbox"]{
153
--background: #242424;
154
--text: #fffefd;
155
--box-main: #32302f;
156
--box-toggle: #282828;
157
--box-separation: #504945;
158
--box-toggleOn: #458588;
159
--item-bg: #eebd35;
160
--select: #98971a;
161
--greenBtn:#8ec07c;
162
--greenBtn-bottom:#689D6A;
163
--redBtn: #fb4934;
164
--redBtn-bottom: #cc241d;
165
--blueBtn: #7fa2ac;
166
--blueBtn-bottom: #458588;
167
168
}
169
170
body {
171
font-family: "Ubuntu";
172
text-align: center;
173
padding: 10px;
174
background-color: var(--background);
175
color: var(--text);
176
transition: 0.4s;
177
font-size: large;
178
user-select: none;
179
}
180
181
img {
182
-webkit-user-drag: none;
183
}
184
185
#popupBox,
186
#popupBoxMac {
187
width: 100vw;
188
height: 100vh;
189
margin: 0;
190
background-color: rgba(17, 25, 40, 0.75);
191
position: absolute;
192
top: 0;
193
left: 0;
194
z-index: 2;
195
display: none;
196
}
197
#popup,
198
#popupMac {
199
position: absolute;
200
padding: 20px;
201
top: 50%;
202
left: 50%;
203
width: 300px;
204
border-radius: 10px;
205
transform: translate(-50%, -50%);
206
background-color: rgb(91, 91, 91);
207
color: white;
208
}
209
210
#tryBtn {
211
background-color: rgb(137, 226, 255);
212
color: rgb(35, 35, 35);
213
border: none;
214
padding: 10px;
215
border-radius: 10px;
216
cursor: pointer;
217
position: relative;
218
}
219
#tryBtn:active {
220
border: none;
221
}
222
223
#menuIcon {
224
position: absolute;
225
top: 10px;
226
right: 10px;
227
width: 40px;
228
height: 40px;
229
cursor: pointer;
230
transition: 0.3s;
231
}
232
233
#menu {
234
display: none;
235
flex-direction: column;
236
backdrop-filter: blur(18px) saturate(180%);
237
-webkit-backdrop-filter: blur(18px) saturate(180%);
238
background: rgba(15, 23, 42, 0.85);
239
border: 1px solid rgba(255, 255, 255, 0.08);
240
border-radius: 16px;
241
position: absolute;
242
top: 45px;
243
right: 50px;
244
padding: 12px;
245
width: 220px;
246
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
247
text-align: left;
248
font-family: "Inter", sans-serif;
249
font-size: medium;
250
color: #e2e8f0;
251
z-index: 2;
252
animation: fadeIn 0.25s ease-out;
253
}
254
255
.menuItem {
256
cursor: pointer;
257
padding: 10px 12px;
258
border-radius: 8px;
259
margin-bottom: 6px;
260
text-decoration: none;
261
color: #d6dadf;
262
transition: all 0.15s ease-in-out;
263
border-bottom: none;
264
background: rgba(25, 37, 66, 0.223);
265
}
266
267
.menuItem:hover {
268
background: rgba(255, 255, 255, 0.08);
269
color: #38bdf8;
270
transform: translateX(2px);
271
}
272
273
.menuDivider {
274
height: 1px;
275
background: rgba(255, 255, 255, 0.08);
276
margin: 4px 0;
277
}
278
279
.menuLabel {
280
margin-top: 5px;
281
font-size: 0.9rem;
282
color: #94a3b8;
283
padding: 4px 0;
284
}
285
286
.themeSelect {
287
margin-top: 4px;
288
background: rgba(30, 41, 59, 0.9);
289
color: #f8fafc;
290
border: 1px solid rgba(255, 255, 255, 0.15);
291
border-radius: 8px;
292
padding: 8px;
293
font-family: "Inter", sans-serif;
294
transition: border 0.2s, background 0.2s;
295
width: 100%;
296
cursor: pointer;
297
}
298
299
.themeSelect:hover,
300
.themeSelect:focus {
301
border-color: #38bdf8;
302
background: rgba(51, 65, 85, 0.9);
303
outline: none;
304
}
305
306
@keyframes fadeIn {
307
from {
308
opacity: 0;
309
transform: translateY(-6px);
310
}
311
to {
312
opacity: 1;
313
transform: translateY(0);
314
}
315
}
316
317
.item {
318
display: flex;
319
position: relative;
320
width: 86%;
321
background-color: var(--item-bg);
322
color: var(--text);
323
margin: 10px auto;
324
border-radius: 10px;
325
padding: 10px;
326
align-items: center;
327
justify-content: space-between;
328
}
329
.playlistItem {
330
display: flex;
331
position: relative;
332
width: 94%;
333
height: 25px;
334
background-color: var(--item-bg);
335
color: var(--text);
336
padding: 16px 25px;
337
border-radius: 15px;
338
align-items: center;
339
justify-content: space-between;
340
margin: 10px auto;
341
}
342
343
.itemIconBox {
344
display: flex;
345
flex-direction: column;
346
}
347
.itemIcon {
348
max-width: 160px;
349
max-height: 90px;
350
border-radius: 10px;
351
margin: 0 10px 0 0;
352
}
353
354
.title {
355
padding: 12px 10px;
356
border-radius: 8px;
357
margin-left: 4px;
358
border: none;
359
outline: none;
360
width: 50%;
361
text-align: center;
362
background-color: var(--box-separation);
363
color: var(--text);
364
font-size: large;
365
font-family: "Ubuntu";
366
}
367
368
.itemTitle {
369
padding: 5px;
370
}
371
.itemBody {
372
height: 90%;
373
width: 100%;
374
display: flex;
375
flex-direction: column;
376
justify-content: space-between;
377
}
378
.itemProgress {
379
font-weight: bold;
380
cursor: pointer;
381
padding: 10px 0;
382
}
383
384
.custom-progress {
385
width: 90%;
386
height: 8px;
387
background: #e0e0e0;
388
border-radius: 6px;
389
overflow: hidden;
390
display:inline-block;
391
}
392
393
.custom-progress-fill {
394
width: 0%;
395
height: 100%;
396
background: var(--blueBtn);
397
transition: width 0.3s ease;
398
border-radius: 6px 0 0 6px;
399
}
400
401
402
.itemSpeed {
403
padding: 10px 5px 5px 5px;
404
}
405
.itemClose {
406
position: absolute;
407
top: 8px;
408
right: 8px;
409
cursor: pointer;
410
cursor: pointer;
411
width: 20px;
412
height: 20px;
413
}
414
.itemType {
415
font-style: italic;
416
margin-top: 5px;
417
margin: top 8px;
418
}
419
420
#closeHidden {
421
bottom: 7px;
422
position: absolute;
423
right: 10px;
424
cursor: pointer;
425
cursor: pointer;
426
width: 20px;
427
height: 20px;
428
}
429
430
#hidden {
431
display: none;
432
position: absolute;
433
z-index: 1;
434
left: 0;
435
right: 0;
436
margin: auto;
437
top: 20%;
438
background-color: var(--box-main);
439
border-radius: 15px;
440
width: 80%;
441
padding: 10px 10px 25px 10px;
442
color: var(--text);
443
border: var(--border);
444
}
445
446
#videoBox,
447
#audioBox {
448
background-color: var(--box-toggle);
449
padding: 10px;
450
border-radius: 10px;
451
}
452
453
#audioExtract,
454
.separationBox {
455
margin: 10px;
456
padding: 10px;
457
background-color: var(--box-separation);
458
border-radius: 10px;
459
}
460
461
#options {
462
display: none;
463
position: absolute;
464
overflow: hidden;
465
z-index: 1;
466
left: 0;
467
right: 0;
468
margin: auto;
469
top: 15%;
470
background-color: var(--box-main);
471
width: 80%;
472
border-radius: 10px;
473
padding: 10px;
474
color: var(--text);
475
}
476
477
#btnContainer {
478
display: flex;
479
flex-direction: row;
480
justify-content: center;
481
padding-top: 10px;
482
}
483
484
.toggleBtn {
485
width: 50%;
486
font-size: x-large;
487
border: var(--border);
488
background-color: var(--box-toggle);
489
border-radius: 10px;
490
cursor: pointer;
491
padding: 8px;
492
color: var(--text);
493
}
494
#videoToggle {
495
background-color: var(--box-toggleOn);
496
}
497
498
.select {
499
padding: 12px 15px;
500
background-color: var(--select);
501
color: var(--text);
502
border: none;
503
border-radius: 12px;
504
cursor: pointer;
505
font-size: large;
506
margin-bottom: 8px;
507
margin-left: 8px;
508
outline: none;
509
max-width: min(400px, 100%);
510
font-family: "JetBrains";
511
}
512
513
.audioSelect {
514
width: 180px;
515
}
516
517
#videoTypeSelect {
518
width: 160px;
519
}
520
521
#audioQualitySelect {
522
width: 145px;
523
}
524
525
#link {
526
padding: 10px;
527
}
528
529
#videoFormatSelect,
530
#audioFormatSelect,
531
#audioForVideoFormatSelect {
532
font-family: JetBrains, monospace;
533
font-size: medium;
534
width: 400px;
535
}
536
537
.formatSelect {
538
margin-right: 4px;
539
}
540
541
label {
542
position: relative;
543
top: 3px;
544
}
545
546
#videoList,
547
#audioList {
548
display: none;
549
}
550
551
.cb {
552
width: 20px;
553
height: 20px;
554
position: relative;
555
left: 5px;
556
top: 4px;
557
}
558
559
input[type="number"]::-webkit-inner-spin-button,
560
input[type="number"]::-webkit-outer-spin-button {
561
appearance: none;
562
}
563
564
.submitBtn {
565
padding: 15px;
566
border-radius: 10px;
567
background-color: var(--greenBtn);
568
color: white;
569
border: none;
570
font-size: large;
571
cursor: pointer;
572
display: inline-block;
573
outline: none;
574
position: relative;
575
}
576
.submitBtn:active {
577
background-color: var(--greenBtn-bottom);
578
border: none;
579
}
580
581
#pasteUrl,
582
#pasteLink {
583
--greenTop: #34d399;
584
--greenBottom: #059669;
585
--greenHover: #10b981;
586
--greenActive: #047857;
587
588
background: linear-gradient(
589
to bottom right,
590
var(--greenTop),
591
var(--greenBottom)
592
);
593
color: #fff;
594
font-size: 1.1rem;
595
padding: 16px 28px;
596
border: none;
597
border-radius: 16px;
598
cursor: pointer;
599
outline: none;
600
position: relative;
601
transition: all 0.25s ease;
602
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
603
margin-top: 15px;
604
font-weight: bold;
605
}
606
607
#pasteUrl:hover,
608
#pasteLink:hover {
609
background: linear-gradient(
610
to bottom right,
611
var(--greenHover),
612
var(--greenBottom)
613
);
614
transform: translateY(-2px);
615
}
616
617
#pasteUrl:active,
618
#pasteUrl.active,
619
#pasteLink:active {
620
background: linear-gradient(
621
to bottom right,
622
var(--greenActive),
623
var(--greenBottom)
624
);
625
transform: translateY(0);
626
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) inset;
627
}
628
629
.paste-keys {
630
margin-left: 4px;
631
}
632
633
.paste-keys .key {
634
background: rgba(255, 255, 255, 0.128);
635
border-radius: 8px;
636
padding: 6px 10px;
637
font-size: 15px;
638
font-family: "Inter", sans-serif;
639
color: #e5e5e5;
640
margin: 0 3px;
641
border-bottom: 3px solid rgba(2, 107, 72, 0.6);
642
}
643
644
.resumeBtn {
645
padding: 10px;
646
border-radius: 8px;
647
background-color: rgb(64, 227, 64);
648
color: white;
649
border: none;
650
cursor: pointer;
651
display: inline-block;
652
outline: none;
653
position: absolute;
654
right: 10px;
655
bottom: 10px;
656
width: 100px;
657
}
658
659
.input {
660
padding: 8px;
661
border: none;
662
outline: none;
663
border-radius: 5px;
664
width: 70px;
665
font-size: large;
666
margin: 5px;
667
}
668
669
#incorrectMsg,
670
#incorrectMsgPlaylist {
671
color: var(--redBtn);
672
}
673
674
#incorrectMsgPlaylist {
675
display: none;
676
}
677
678
#errorBtn {
679
display: none;
680
}
681
#errorDetails {
682
cursor: pointer;
683
font-family: monospace;
684
padding: 15px;
685
margin: 10px 0;
686
border: 2px solid rgb(189, 0, 0);
687
border-radius: 8px;
688
display: none;
689
transition: 0.5s all;
690
}
691
#loadingWrapper {
692
/* Default is flex */
693
display: none;
694
flex-direction: row;
695
justify-content: center;
696
align-items: center;
697
}
698
699
#preparingBox {
700
display: none;
701
flex-direction: row;
702
justify-content: center;
703
align-items: center;
704
}
705
706
svg {
707
width: 100px;
708
height: 100px;
709
display: inline-block;
710
margin-left: 20px;
711
}
712
713
.savedMsg {
714
color: rgb(52, 170, 234);
715
cursor: pointer;
716
}
717
#savedMsg {
718
cursor: pointer;
719
}
720
button {
721
font-family: "Ubuntu";
722
font-weight: bold;
723
outline: none;
724
}
725
726
#extractBtn,
727
.blueBtn {
728
color: white;
729
background-color: var(--blueBtn);
730
border: none;
731
position: relative;
732
padding: 15px;
733
border-radius: 10px;
734
cursor: pointer;
735
margin: 8px;
736
font-size: large;
737
text-decoration: none;
738
}
739
740
#extractBtn {
741
width: 150px;
742
}
743
744
#download,
745
#audioDownload {
746
width: 140px;
747
}
748
749
#clearBtn {
750
display: none;
751
}
752
753
#extractBtn:active,
754
.blueBtn:active {
755
background-color: var(--blueBtn-bottom);
756
border: none;
757
}
758
759
.advancedToggle {
760
color: white;
761
background-color: var(--redBtn);
762
border: none;
763
position: relative;
764
padding: 15px;
765
border-radius: 10px;
766
cursor: pointer;
767
margin: 8px;
768
font-size: large;
769
}
770
771
.advancedToggle:active {
772
background-color: var(--blueBtn-bottom);
773
border: none;
774
}
775
776
#advanced {
777
display: none;
778
}
779
.advancedItem {
780
border-radius: 15px;
781
padding: 20px;
782
margin: 10px;
783
background-color: var(--item-bg);
784
}
785
786
#path {
787
font-family: "JetBrains";
788
font-size: medium;
789
}
790
791
#subHeader {
792
font-weight: bold;
793
margin-top: 0;
794
}
795
796
h2 {
797
margin: 12px;
798
font-size: 24px;
799
}
800
801
/* Scrollbar */
802
803
body::-webkit-scrollbar {
804
width: 5px;
805
}
806
807
body::-webkit-scrollbar-track {
808
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
809
}
810
811
body::-webkit-scrollbar-thumb {
812
background-color: rgb(79, 78, 78);
813
border-radius: 5px;
814
}
815
816
#goToTop {
817
display: none;
818
position: fixed;
819
bottom: 10px;
820
right: 10px;
821
z-index: 2;
822
border: none;
823
outline: none;
824
background-image: url(../images/up-arrow.png);
825
background-size: contain;
826
width: 40px;
827
height: 40px;
828
cursor: pointer;
829
color: white;
830
cursor: pointer;
831
}
832
833
.popup-container {
834
position: fixed;
835
bottom: 30px;
836
left: 30px;
837
z-index: 9999;
838
839
display: flex;
840
flex-direction: column;
841
gap: 12px;
842
}
843
844
.popup-item {
845
display: inline-block;
846
847
color: #fff;
848
padding: 12px 24px;
849
border-radius: 8px;
850
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
851
font-weight: 600;
852
font-size: 15px;
853
854
opacity: 1;
855
transition: opacity 0.4s;
856
}
857
858
.scale {
859
animation-name: scale;
860
animation-duration: 0.4s;
861
animation-fill-mode: forwards;
862
}
863
864
.scaleUp {
865
animation-name: scaleUp;
866
animation-duration: 0.4s;
867
animation-fill-mode: forwards;
868
}
869
870
body::-webkit-scrollbar {
871
width: 10px;
872
}
873
body::-webkit-scrollbar-thumb {
874
background: linear-gradient(rgb(110, 110, 110), rgb(77, 77, 77));
875
border-radius: 8px;
876
}
877
878
@keyframes scale {
879
0% {
880
scale: 1;
881
}
882
100% {
883
scale: 0;
884
}
885
}
886
@keyframes scaleUp {
887
0% {
888
scale: 0;
889
}
890
100% {
891
scale: 1;
892
}
893
}
894
895
@media screen and (max-width: 650px) {
896
.item {
897
width: 90%;
898
}
899
.title {
900
width: 80%;
901
}
902
}
903
904
/* Compressor styles */
905
#compressor-header {
906
text-align: center;
907
margin-top: 0;
908
}
909
910
.container {
911
max-width: 800px;
912
margin: 30px auto 10px auto;
913
background: var(--box-main);
914
padding: 30px;
915
border-radius: 8px;
916
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
917
}
918
919
.drop-zone {
920
border: 2px dashed #ccc;
921
border-radius: 8px;
922
padding: 2rem;
923
text-align: center;
924
margin-bottom: 2rem;
925
transition: border-color 0.3s ease;
926
background: var(--box-toggle);
927
}
928
929
.drop-zone:hover {
930
border-color: #2196f3;
931
cursor: pointer;
932
}
933
934
.compress-select {
935
font-family: "Ubuntu";
936
padding: 10px;
937
}
938
939
.drop-zone.dragover {
940
border-color: #2196f3;
941
background-color: var(--box-toggleOn);
942
}
943
944
#settings-group-container {
945
display: flex;
946
flex-wrap: wrap;
947
justify-content: space-between;
948
}
949
950
.output-folder-conf {
951
display: flex;
952
justify-content: space-between;
953
align-items: center;
954
}
955
956
#output-folder-box {
957
background-color: var(--box-toggle);
958
margin-bottom: 12px;
959
padding: 15px;
960
border-radius: 8px;
961
text-align: left;
962
}
963
964
#output-folder-input {
965
width: 20px;
966
height: 20px;
967
margin-left: 10px;
968
}
969
970
.folder-input-checkbox {
971
display: flex;
972
align-items: center;
973
}
974
#output-suffix {
975
cursor: text;
976
}
977
978
.settings-group {
979
margin-bottom: 10px;
980
display: flex;
981
flex-direction: column;
982
width: 46%;
983
}
984
985
.compress-label {
986
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
987
display: block;
988
margin-bottom: 10px;
989
font-weight: 500;
990
text-align: left;
991
}
992
993
#compression-status {
994
max-width: 800px;
995
margin: 20px auto 0 auto;
996
border-top: 1px solid var(--item-bg);
997
padding-top: 20px;
998
}
999
1000
.status-item {
1001
padding: 16px;
1002
margin: 6px auto;
1003
border-radius: 4px;
1004
display: flex;
1005
justify-content: space-between;
1006
flex-direction: row;
1007
background-color: var(--item-bg);
1008
max-width: 800px;
1009
}
1010
1011
.status-item.success {
1012
color: var(--greenBtn);
1013
}
1014
1015
.status-item.error {
1016
color: var(--redBtn);
1017
}
1018
1019
.status {
1020
min-width: 80px;
1021
text-transform: uppercase;
1022
font-size: 0.9em;
1023
font-weight: bold;
1024
}
1025
1026
.fileinput-btn {
1027
background: var(--blueBtn);
1028
color: white;
1029
padding: 10px;
1030
display: block;
1031
border-radius: 5px;
1032
margin: 5px 0 10px 0;
1033
cursor: pointer;
1034
border: none;
1035
}
1036
1037
.progressBarCompress {
1038
width: 200px;
1039
}
1040
1041
.nvidia_opt,
1042
.amf_opt,
1043
.qsv_opt,
1044
.vaapi_opt,
1045
.videotoolbox_opt {
1046
display: none;
1047
}
1048
1049
#custom-folder-select {
1050
padding: 10px;
1051
margin-left: 0;
1052
display: none;
1053
}
1054
1055
#custom-folder-path {
1056
font-family: "JetBrains";
1057
background-color: var(--box-main);
1058
padding: 8px;
1059
border-radius: 4px;
1060
display: none;
1061
}
1062
1063
#selected-files {
1064
padding-top: 10px;
1065
opacity: 0.8;
1066
}
1067
1068
::view-transition-old(root),
1069
::view-transition-new(root) {
1070
animation: none;
1071
mix-blend-mode: normal;
1072
}
1073
1074
@media (min-width: 640px) {
1075
.container {
1076
padding: 2rem;
1077
}
1078
}
1079
1080
.slider-wrapper {
1081
display: flex;
1082
align-items: center;
1083
gap: 1rem;
1084
}
1085
1086
.time-display {
1087
flex-shrink: 0;
1088
width: 5.5rem;
1089
height: 3rem;
1090
background-color: var(--box-main);
1091
color: var(--text);
1092
border-radius: 0.5rem;
1093
font-weight: 500;
1094
border: none;
1095
outline: none;
1096
text-align: center;
1097
font-family: "Inter", sans-serif;
1098
font-size: 1rem;
1099
padding: 0;
1100
}
1101
1102
.slider-container {
1103
position: relative;
1104
width: 100%;
1105
height: 2rem;
1106
display: flex;
1107
align-items: center;
1108
}
1109
1110
.track-background {
1111
position: absolute;
1112
width: 100%;
1113
height: 0.25rem;
1114
background-color: #4b5563;
1115
border-radius: 9999px;
1116
}
1117
1118
#range-highlight {
1119
position: absolute;
1120
height: 0.25rem;
1121
background-color: var(--blueBtn);
1122
border-radius: 9999px;
1123
z-index: 1;
1124
}
1125
1126
input[type="range"] {
1127
-webkit-appearance: none;
1128
appearance: none;
1129
width: 100%;
1130
height: 4px;
1131
background: transparent;
1132
outline: none;
1133
position: absolute;
1134
margin: 0;
1135
padding: 0;
1136
pointer-events: none;
1137
}
1138
1139
#min-slider {
1140
z-index: 2;
1141
}
1142
1143
#max-slider {
1144
z-index: 3;
1145
}
1146
1147
input[type="range"]::-webkit-slider-thumb {
1148
-webkit-appearance: none;
1149
appearance: none;
1150
width: 12px;
1151
height: 32px;
1152
background-color: var(--blueBtn);
1153
border-radius: 9999px;
1154
cursor: pointer;
1155
pointer-events: auto;
1156
margin-top: -14px;
1157
transition: transform 0.1s ease-in-out;
1158
position: relative;
1159
}
1160
1161
input[type="range"]::-webkit-slider-thumb:hover {
1162
transform: scale(1.1);
1163
}
1164
1165
#customArgsInput {
1166
padding: 8px;
1167
width: 94%;
1168
margin: auto;
1169
outline: none;
1170
font-family: "JetBrains";
1171
border-radius: 8px;
1172
resize: vertical;
1173
}
1174
1175
#updatePopup {
1176
position: fixed;
1177
bottom: 30px;
1178
right: 30px;
1179
z-index: 9999;
1180
background-color: var(--box-separation);
1181
padding: 15px 20px;
1182
border-radius: 10px;
1183
display: none;
1184
1185
flex-direction: column;
1186
align-items: center;
1187
justify-content: center;
1188
gap: 8px;
1189
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
1190
}
1191
1192
.progress-track {
1193
width: 200px;
1194
height: 8px;
1195
background-color: rgba(209, 209, 209, 0.446);
1196
border-radius: 4px;
1197
overflow: hidden;
1198
margin: 10px 2px;
1199
}
1200
1201
#progressBarFill {
1202
height: 100%;
1203
width: 0%;
1204
background-color: var(--greenBtn);
1205
transition: width 0.2s ease;
1206
}
1207
1208
.update-label,
1209
#updateProgress {
1210
font-size: 14px;
1211
}
1212
1213