Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aandrew-me
GitHub Repository: aandrew-me/ytDownloader
Path: blob/main/assets/css/extra.css
448 views
1
@font-face {
2
font-family: "JetBrains";
3
src: url("../fonts/JetBrainsMono-Regular.ttf") format("truetype");
4
}
5
6
:root[theme="light"] {
7
--background: #f9fafb;
8
--text: #1f2937;
9
--box-main: #f3f4f6;
10
--box-toggle: rgb(215 238 233);
11
--box-separation: #e5e7eb;
12
--box-toggleOn: rgb(127, 250, 172);
13
--item-bg: #dddddd;
14
--box-shadow: none;
15
--select: #a7f3d0;
16
--greenBtn: #22c55e;
17
--greenBtn-bottom: #16a34a;
18
--redBtn: #d64d4f;
19
--redBtn-bottom: #854243;
20
--blueBtn: #3b82f6;
21
--blueBtn-bottom: rgb(44, 78, 180);
22
}
23
24
:root[theme="dark"] {
25
--background: #121212;
26
--text: rgb(229, 229, 229);
27
--box-main: #1d1d1d;
28
--box-toggle: #191919;
29
--box-separation: #2e2e2e;
30
--box-toggleOn: #2e2e2e;
31
--item-bg: #2c2e31;
32
--box-shadow: none;
33
--select: #252426;
34
--greenBtn: #05aa76;
35
--greenBtn-bottom: #047652;
36
--redBtn: #c82b2d;
37
--redBtn-bottom: #803334;
38
--blueBtn: rgb(80, 140, 230);
39
--blueBtn-bottom: rgb(44, 78, 180);
40
--border: none;
41
}
42
43
:root[theme="frappe"] {
44
--background: #232634;
45
--text: #e2e8ff;
46
--box-main: #303446;
47
--box-toggle: #414559;
48
--box-separation: #414559;
49
--box-toggleOn: #607dc1;
50
--item-bg: #414559;
51
--select: #3b3e4a;
52
--greenBtn: #78c346;
53
--greenBtn-bottom: #597844;
54
--redBtn: #d64d4f;
55
--redBtn-bottom: #854243;
56
--blueBtn: rgb(80, 128, 230);
57
--blueBtn-bottom: rgb(44, 78, 180);
58
}
59
:root[theme="onedark"] {
60
--background: #282c34;
61
--text: #d2d6df;
62
--box-main: #3a3d46;
63
--box-toggle: #2f333d;
64
--box-separation: #2f333d;
65
--box-toggleOn: #13a3b7;
66
--item-bg: #4d515d;
67
--select: #262c33;
68
--greenBtn: #85cf50;
69
--greenBtn-bottom: #406923;
70
--redBtn: #be2d39;
71
--redBtn-bottom: #791a22;
72
--blueBtn: rgb(80, 128, 230);
73
--blueBtn-bottom: rgb(44, 78, 180);
74
}
75
:root[theme="matrix"] {
76
--background: #0d0208;
77
--text: #00ff41;
78
--box-main: #0c2216;
79
--box-toggle: #214338;
80
--box-separation: #214338;
81
--box-toggleOn: #24782e;
82
--item-bg: #214338;
83
--select: #08180f;
84
--greenBtn: #19b42b;
85
--greenBtn-bottom: #10701c;
86
--redBtn: #19b42b;
87
--redBtn-bottom: #10701c;
88
--blueBtn: #19b42b;
89
--blueBtn-bottom: #10701c;
90
}
91
92
:root[theme="github"] {
93
--background: #f6f8fa;
94
--text: #292d31;
95
--box-main: #ffffff;
96
--box-toggle: #f3f3f3;
97
--box-separation: #f3f3f3;
98
--box-toggleOn: #cce5ff;
99
--item-bg: #3a66d150;
100
--select: #cce5ff;
101
--greenBtn: #0a9431;
102
--greenBtn-bottom: #0c6826;
103
--redBtn: #d73a49;
104
--redBtn-bottom: #9b2733;
105
--blueBtn: #005cc5;
106
--blueBtn-bottom: #00428e;
107
}
108
109
:root[theme="latte"] {
110
--background: #dce0e8;
111
--text: #4c4f69;
112
--box-main: #eff1f5;
113
--box-toggle: #e6e9ef;
114
--box-separation: #e6e9ef;
115
--box-toggleOn: #cce5ff;
116
--item-bg: #bcc0cc;
117
--select: #cce5ff;
118
--greenBtn: #40a02b;
119
--greenBtn-bottom: #2e711f;
120
--redBtn: #d20f39;
121
--redBtn-bottom: #9c0c2b;
122
--blueBtn: #1e66f5;
123
--blueBtn-bottom: rgb(3, 49, 101);
124
}
125
126
:root[theme="solarized-dark"] {
127
--background: #002b36;
128
--text: #a4b1b3;
129
--box-main: #003745;
130
--box-toggle: #2e4c52;
131
--box-separation: #2e4c52;
132
--box-toggleOn: #005a6f;
133
--item-bg: #003745;
134
--select: rgb(9, 57, 53);
135
--greenBtn: #859900;
136
--greenBtn-bottom: rgb(73, 84, 1);
137
--redBtn: #dc322f;
138
--redBtn-bottom: #af2523;
139
--blueBtn: #268bd2;
140
--blueBtn-bottom: #2074b1;
141
}
142
:root[theme = "gruvbox"]{
143
--background: #242424;
144
--text: #fffefd;
145
--box-main: #32302f;
146
--box-toggle: #282828;
147
--box-separation: #504945;
148
--box-toggleOn: #458588;
149
--item-bg: #4d515d;
150
--select: #98971a;
151
--greenBtn:#8ec07c;
152
--greenBtn-bottom:#689D6A;
153
--redBtn: #fb4934;
154
--redBtn-bottom: #cc241d;
155
--blueBtn: #7fa2ac;
156
--blueBtn-bottom: #458588;
157
158
}
159
160
body {
161
background-color: var(--background);
162
color: var(--text);
163
padding: 20px;
164
font-size: x-large;
165
text-align: left;
166
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
167
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
168
sans-serif;
169
}
170
h1 {
171
margin-top: 0;
172
display: inline-block;
173
}
174
#version {
175
margin: 5px;
176
}
177
input[type="text"],
178
.input {
179
border-radius: 5px;
180
padding: 5px;
181
outline: none;
182
border: none;
183
width: 50%;
184
height: 35px;
185
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
186
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
187
sans-serif;
188
}
189
.input {
190
width: 70px;
191
font-size: larger;
192
padding: 5px;
193
}
194
195
.prefBox,
196
#pathConfig {
197
display: flex;
198
justify-content: space-between;
199
align-items: center;
200
margin: 15px 15px;
201
padding: 20px 15px;
202
border-radius: 15px;
203
background-color: var(--box-main);
204
}
205
206
#ytDlpArgBox {
207
margin: 15px 15px;
208
padding: 20px 15px;
209
border-radius: 15px;
210
background-color: var(--box-main);
211
}
212
#path {
213
font-family: "JetBrains";
214
font-size: medium;
215
}
216
217
#flatpakTxt {
218
margin: 0 15px;
219
padding: 20px 15px;
220
cursor: pointer;
221
text-decoration: underline;
222
color: var(--blueBtn);
223
display: none;
224
}
225
226
.prefBox {
227
flex-direction: row;
228
}
229
#pathConfig {
230
flex-direction: column;
231
}
232
.configBox {
233
display: flex;
234
flex-direction: row;
235
justify-content: space-between;
236
align-items: center;
237
width: 100%;
238
}
239
#configBtn {
240
display: inline-block;
241
}
242
#configOpts {
243
display: flex;
244
flex-direction: column;
245
justify-content: center;
246
align-items: center;
247
}
248
#save {
249
padding: 10px;
250
border-radius: 8px;
251
border: none;
252
color: rgb(255, 255, 255);
253
background-color: rgb(49, 215, 49);
254
cursor: pointer;
255
}
256
#save:active {
257
background-color: rgb(41, 155, 41);
258
}
259
#top {
260
position: absolute;
261
top: 10px;
262
right: 10px;
263
display: flex;
264
}
265
#back,
266
#restart {
267
text-decoration: none;
268
padding: 8px;
269
border-radius: 10px;
270
margin: 3px;
271
font-size: large;
272
cursor: pointer;
273
}
274
#back {
275
background-color: var(--blueBtn);
276
color: white;
277
}
278
279
#restart {
280
background-color: var(--redBtn);
281
color: white;
282
}
283
.redBtn {
284
background-color: var(--redBtn);
285
color: white;
286
text-decoration: none;
287
border: none;
288
margin: 5px;
289
border-radius: 10px;
290
cursor: pointer;
291
font-size: medium;
292
padding: 5px;
293
}
294
a {
295
color: rgb(29, 140, 209);
296
cursor: pointer;
297
}
298
299
input[type="checkbox"] {
300
width: 25px;
301
height: 25px;
302
}
303
304
.greenBtn {
305
padding: 10px;
306
margin: 0 20px;
307
border: none;
308
border-radius: 10px;
309
font-size: large;
310
color: white;
311
background-color: var(--greenBtn);
312
cursor: pointer;
313
position: relative;
314
outline: none;
315
}
316
#selectLocation:active {
317
border-bottom: none;
318
top: 4px;
319
margin-bottom: 4px;
320
}
321
select {
322
padding: 15px;
323
background-color: var(--select);
324
color: var(--text);
325
border: none;
326
border-radius: 8px;
327
cursor: pointer;
328
font-size: large;
329
outline: none;
330
position: relative;
331
width: 160px;
332
}
333
#browserInfo {
334
cursor: pointer;
335
}
336
337
#configOpts {
338
display: none;
339
}
340
341
body::-webkit-scrollbar {
342
width: 10px;
343
}
344
body::-webkit-scrollbar-thumb {
345
background: linear-gradient(rgb(110, 110, 110), rgb(77, 77, 77));
346
border-radius: 8px;
347
}
348
349
#proxyTxt:valid {
350
border: 2px solid var(--greenBtn);
351
}
352
353
#proxyTxt:invalid {
354
border: 2px solid var(--redBtn);
355
}
356
357
#customArgsInput {
358
padding: 8px;
359
width: 94%;
360
margin: auto;
361
outline: none;
362
font-family: "JetBrains";
363
border-radius: 8px;
364
resize: none;
365
overflow: hidden;
366
}
367
368
.popup-container {
369
position: fixed;
370
bottom: 30px;
371
left: 30px;
372
z-index: 9999;
373
374
display: flex;
375
flex-direction: column;
376
gap: 12px;
377
}
378
379
.popup-item {
380
display: inline-block;
381
382
color: #fff;
383
padding: 12px 24px;
384
border-radius: 8px;
385
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
386
font-weight: 600;
387
font-size: 15px;
388
389
opacity: 1;
390
transition: opacity 0.4s;
391
}
392