optimized-react-component-library-xyz123 0.1.154 → 0.1.155
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/index.css +0 -612
- package/dist/index.css.map +1 -1
- package/package.json +1 -1
- package/src/css/questions.css +759 -2
package/dist/index.css
CHANGED
|
@@ -1,614 +1,2 @@
|
|
|
1
1
|
/* src/components/input-components/AddFilesStandard/AddFilesStandard.css */
|
|
2
|
-
.files-upload {
|
|
3
|
-
width: 100%;
|
|
4
|
-
max-width: 800px;
|
|
5
|
-
margin: 0 auto;
|
|
6
|
-
font-family:
|
|
7
|
-
"Segoe UI",
|
|
8
|
-
Tahoma,
|
|
9
|
-
Geneva,
|
|
10
|
-
Verdana,
|
|
11
|
-
sans-serif;
|
|
12
|
-
}
|
|
13
|
-
.files-drop-zone {
|
|
14
|
-
border: 2px dashed var(--action);
|
|
15
|
-
border-radius: 12px;
|
|
16
|
-
padding: 3rem 2rem;
|
|
17
|
-
text-align: center;
|
|
18
|
-
transition: all 0.3s ease;
|
|
19
|
-
background-color: #fafafa;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
position: relative;
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
}
|
|
24
|
-
.files-drop-zone:hover {
|
|
25
|
-
border-color: var(--action);
|
|
26
|
-
background-color: #f5ebf8;
|
|
27
|
-
transform: translateY(-2px);
|
|
28
|
-
box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);
|
|
29
|
-
}
|
|
30
|
-
.files-drop-zone.drag-active {
|
|
31
|
-
border-color: var(--action);
|
|
32
|
-
background-color: #f5ebf8;
|
|
33
|
-
transform: scale(1.02);
|
|
34
|
-
box-shadow: 0 8px 25px rgba(30, 167, 253, 0.2);
|
|
35
|
-
}
|
|
36
|
-
.files-drop-zone:focus {
|
|
37
|
-
border: 0.2rem solid var(--action);
|
|
38
|
-
}
|
|
39
|
-
.files-drop-zone:focus-visible {
|
|
40
|
-
outline-offset: 0 !important;
|
|
41
|
-
outline-style: solid !important;
|
|
42
|
-
outline-color: #fff !important;
|
|
43
|
-
outline-width: 2px !important;
|
|
44
|
-
box-shadow: 0 0 0 4px #000 !important;
|
|
45
|
-
}
|
|
46
|
-
.files-drop-content {
|
|
47
|
-
pointer-events: none;
|
|
48
|
-
}
|
|
49
|
-
.files-icon {
|
|
50
|
-
font-size: 4rem;
|
|
51
|
-
margin-bottom: 1rem;
|
|
52
|
-
opacity: 0.7;
|
|
53
|
-
animation: float 3s ease-in-out infinite;
|
|
54
|
-
}
|
|
55
|
-
@keyframes float {
|
|
56
|
-
0%, 100% {
|
|
57
|
-
transform: translateY(0px);
|
|
58
|
-
}
|
|
59
|
-
50% {
|
|
60
|
-
transform: translateY(-10px);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
.files-drop-text {
|
|
64
|
-
font-size: 1.2rem;
|
|
65
|
-
margin-bottom: 0.5rem;
|
|
66
|
-
color: #333;
|
|
67
|
-
font-weight: 500;
|
|
68
|
-
}
|
|
69
|
-
.files-drop-info {
|
|
70
|
-
font-size: 0.9rem;
|
|
71
|
-
color: #666;
|
|
72
|
-
margin: 0;
|
|
73
|
-
}
|
|
74
|
-
.files-allowed-types {
|
|
75
|
-
font-size: 0.85rem;
|
|
76
|
-
color: #555;
|
|
77
|
-
margin: 0.75rem 0 0 0;
|
|
78
|
-
padding: 0.5rem;
|
|
79
|
-
background-color: rgba(146, 64, 252, 0.1);
|
|
80
|
-
border-radius: 6px;
|
|
81
|
-
border-left: 3px solid #ce95e0;
|
|
82
|
-
}
|
|
83
|
-
.files-allowed-types strong {
|
|
84
|
-
color: var(--action);
|
|
85
|
-
}
|
|
86
|
-
.files-input-hidden {
|
|
87
|
-
display: none;
|
|
88
|
-
}
|
|
89
|
-
.files-summary {
|
|
90
|
-
margin: 1.5rem 0;
|
|
91
|
-
padding: 1rem;
|
|
92
|
-
background-color: #f8f9fa;
|
|
93
|
-
border-radius: 8px;
|
|
94
|
-
border: 1px solid #e9ecef;
|
|
95
|
-
}
|
|
96
|
-
.files-summary-stats {
|
|
97
|
-
display: flex;
|
|
98
|
-
gap: 1rem;
|
|
99
|
-
margin-bottom: 1rem;
|
|
100
|
-
flex-wrap: wrap;
|
|
101
|
-
}
|
|
102
|
-
.stat {
|
|
103
|
-
padding: 0.5rem 1rem;
|
|
104
|
-
border-radius: 20px;
|
|
105
|
-
background-color: #e9ecef;
|
|
106
|
-
font-size: 0.9rem;
|
|
107
|
-
display: flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
gap: 0.5rem;
|
|
110
|
-
}
|
|
111
|
-
.stat.pending {
|
|
112
|
-
background-color: #fff3cd;
|
|
113
|
-
color: #856404;
|
|
114
|
-
}
|
|
115
|
-
.stat.completed {
|
|
116
|
-
background-color: #d1e7dd;
|
|
117
|
-
color: #0a3622;
|
|
118
|
-
}
|
|
119
|
-
.stat.error {
|
|
120
|
-
background-color: #f8d7da;
|
|
121
|
-
color: #721c24;
|
|
122
|
-
}
|
|
123
|
-
.files-summary-actions {
|
|
124
|
-
display: flex;
|
|
125
|
-
gap: 0.5rem;
|
|
126
|
-
flex-wrap: wrap;
|
|
127
|
-
}
|
|
128
|
-
.action-button {
|
|
129
|
-
padding: 0.75rem 1.5rem;
|
|
130
|
-
border: none;
|
|
131
|
-
border-radius: 6px;
|
|
132
|
-
cursor: pointer;
|
|
133
|
-
font-weight: 500;
|
|
134
|
-
transition: all 0.2s ease;
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
gap: 0.5rem;
|
|
138
|
-
}
|
|
139
|
-
.action-button.primary {
|
|
140
|
-
background-color: #1ea7fd;
|
|
141
|
-
color: white;
|
|
142
|
-
}
|
|
143
|
-
.action-button.primary:hover {
|
|
144
|
-
background-color: #1890ff;
|
|
145
|
-
transform: translateY(-1px);
|
|
146
|
-
}
|
|
147
|
-
.action-button.secondary {
|
|
148
|
-
background-color: #6c757d;
|
|
149
|
-
color: white;
|
|
150
|
-
}
|
|
151
|
-
.action-button.secondary:hover {
|
|
152
|
-
background-color: #5a6268;
|
|
153
|
-
transform: translateY(-1px);
|
|
154
|
-
}
|
|
155
|
-
.files-list {
|
|
156
|
-
margin-top: 1.5rem;
|
|
157
|
-
}
|
|
158
|
-
.files-list h4 {
|
|
159
|
-
margin-bottom: 1rem;
|
|
160
|
-
color: #333;
|
|
161
|
-
font-size: 1.1rem;
|
|
162
|
-
font-weight: 600;
|
|
163
|
-
}
|
|
164
|
-
.files-items {
|
|
165
|
-
list-style: none;
|
|
166
|
-
padding: 0;
|
|
167
|
-
margin: 0;
|
|
168
|
-
}
|
|
169
|
-
.file-item {
|
|
170
|
-
display: flex;
|
|
171
|
-
align-items: center;
|
|
172
|
-
gap: 1rem;
|
|
173
|
-
padding: 1rem;
|
|
174
|
-
border: 1px solid #e9ecef;
|
|
175
|
-
border-radius: 8px;
|
|
176
|
-
margin-bottom: 0.75rem;
|
|
177
|
-
background-color: white;
|
|
178
|
-
transition: all 0.2s ease;
|
|
179
|
-
position: relative;
|
|
180
|
-
}
|
|
181
|
-
.file-item:hover {
|
|
182
|
-
background-color: #f8f9fa;
|
|
183
|
-
border-color: #dee2e6;
|
|
184
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
185
|
-
}
|
|
186
|
-
.file-item.uploading {
|
|
187
|
-
background-color: #e6f7ff;
|
|
188
|
-
border-color: #91d5ff;
|
|
189
|
-
}
|
|
190
|
-
.file-item.completed {
|
|
191
|
-
background-color: #f6ffed;
|
|
192
|
-
border-color: #b7eb8f;
|
|
193
|
-
}
|
|
194
|
-
.file-item.error {
|
|
195
|
-
background-color: #fff2f0;
|
|
196
|
-
border-color: #ffccc7;
|
|
197
|
-
}
|
|
198
|
-
.file-icon-status {
|
|
199
|
-
font-size: 1.5rem;
|
|
200
|
-
min-width: 2rem;
|
|
201
|
-
text-align: center;
|
|
202
|
-
}
|
|
203
|
-
.file-info {
|
|
204
|
-
flex: 1;
|
|
205
|
-
min-width: 0;
|
|
206
|
-
}
|
|
207
|
-
.file-name {
|
|
208
|
-
font-weight: 500;
|
|
209
|
-
color: #333;
|
|
210
|
-
margin-bottom: 0.5rem;
|
|
211
|
-
word-break: break-word;
|
|
212
|
-
}
|
|
213
|
-
.file-details {
|
|
214
|
-
display: flex;
|
|
215
|
-
gap: 1rem;
|
|
216
|
-
font-size: 0.85rem;
|
|
217
|
-
color: #666;
|
|
218
|
-
flex-wrap: wrap;
|
|
219
|
-
}
|
|
220
|
-
.file-size {
|
|
221
|
-
color: #666;
|
|
222
|
-
}
|
|
223
|
-
.file-status {
|
|
224
|
-
color: #1ea7fd;
|
|
225
|
-
font-weight: 500;
|
|
226
|
-
}
|
|
227
|
-
.file-error {
|
|
228
|
-
color: #dc3545;
|
|
229
|
-
font-weight: 500;
|
|
230
|
-
}
|
|
231
|
-
.progress-bar {
|
|
232
|
-
width: 100%;
|
|
233
|
-
height: 4px;
|
|
234
|
-
background-color: #e9ecef;
|
|
235
|
-
border-radius: 2px;
|
|
236
|
-
margin-top: 0.5rem;
|
|
237
|
-
overflow: hidden;
|
|
238
|
-
}
|
|
239
|
-
.progress-fill {
|
|
240
|
-
height: 100%;
|
|
241
|
-
background-color: #1ea7fd;
|
|
242
|
-
transition: width 0.3s ease;
|
|
243
|
-
border-radius: 2px;
|
|
244
|
-
}
|
|
245
|
-
.file-actions {
|
|
246
|
-
display: flex;
|
|
247
|
-
gap: 0.5rem;
|
|
248
|
-
}
|
|
249
|
-
.action-btn {
|
|
250
|
-
background: none;
|
|
251
|
-
border: 1px solid transparent;
|
|
252
|
-
padding: 0.5rem;
|
|
253
|
-
border-radius: 6px;
|
|
254
|
-
cursor: pointer;
|
|
255
|
-
font-size: 1rem;
|
|
256
|
-
transition: all 0.2s ease;
|
|
257
|
-
min-width: 2.5rem;
|
|
258
|
-
height: 2.5rem;
|
|
259
|
-
display: flex;
|
|
260
|
-
align-items: center;
|
|
261
|
-
justify-content: center;
|
|
262
|
-
}
|
|
263
|
-
.action-btn.upload {
|
|
264
|
-
color: #1ea7fd;
|
|
265
|
-
border-color: #1ea7fd;
|
|
266
|
-
}
|
|
267
|
-
.action-btn.upload:hover {
|
|
268
|
-
background-color: #1ea7fd;
|
|
269
|
-
color: white;
|
|
270
|
-
}
|
|
271
|
-
.action-btn.retry {
|
|
272
|
-
color: #fd7e14;
|
|
273
|
-
border-color: #fd7e14;
|
|
274
|
-
}
|
|
275
|
-
.action-btn.retry:hover {
|
|
276
|
-
background-color: #fd7e14;
|
|
277
|
-
color: white;
|
|
278
|
-
}
|
|
279
|
-
.action-btn.remove {
|
|
280
|
-
color: var(--action);
|
|
281
|
-
border-color: var(--action);
|
|
282
|
-
}
|
|
283
|
-
.action-btn.remove:hover {
|
|
284
|
-
background-color: var(--action);
|
|
285
|
-
color: white;
|
|
286
|
-
}
|
|
287
|
-
.files-icon {
|
|
288
|
-
font-size: 3rem;
|
|
289
|
-
}
|
|
290
|
-
.files-drop-text {
|
|
291
|
-
font-size: 1rem;
|
|
292
|
-
}
|
|
293
|
-
.files-summary-stats {
|
|
294
|
-
flex-direction: column;
|
|
295
|
-
gap: 0.5rem;
|
|
296
|
-
}
|
|
297
|
-
.files-summary-actions {
|
|
298
|
-
flex-direction: column;
|
|
299
|
-
}
|
|
300
|
-
.action-button {
|
|
301
|
-
justify-content: center;
|
|
302
|
-
}
|
|
303
|
-
.file-item {
|
|
304
|
-
flex-direction: column;
|
|
305
|
-
align-items: flex-start;
|
|
306
|
-
gap: 0.75rem;
|
|
307
|
-
}
|
|
308
|
-
.file-details {
|
|
309
|
-
flex-direction: column;
|
|
310
|
-
gap: 0.25rem;
|
|
311
|
-
}
|
|
312
|
-
.file-actions {
|
|
313
|
-
align-self: flex-end;
|
|
314
|
-
}
|
|
315
|
-
.files-drop-zone {
|
|
316
|
-
padding: 1.5rem 1rem;
|
|
317
|
-
}
|
|
318
|
-
.file-item {
|
|
319
|
-
padding: 0.75rem;
|
|
320
|
-
}
|
|
321
|
-
.invisible {
|
|
322
|
-
display: none;
|
|
323
|
-
width: 1px;
|
|
324
|
-
}
|
|
325
|
-
.filePickLabel {
|
|
326
|
-
display: flex;
|
|
327
|
-
align-items: center;
|
|
328
|
-
justify-content: flex-start;
|
|
329
|
-
width: 100%;
|
|
330
|
-
margin: 0;
|
|
331
|
-
padding: 0;
|
|
332
|
-
height: 48px;
|
|
333
|
-
border: 1px solid #747474;
|
|
334
|
-
border-radius: 8px;
|
|
335
|
-
}
|
|
336
|
-
.filePickLabel:focus {
|
|
337
|
-
border: #000000 2px solid;
|
|
338
|
-
box-shadow: none;
|
|
339
|
-
}
|
|
340
|
-
.filePickLabel .filePickButton {
|
|
341
|
-
cursor: pointer;
|
|
342
|
-
padding: 16px;
|
|
343
|
-
height: 100%;
|
|
344
|
-
background: #747474;
|
|
345
|
-
border-top-left-radius: 4px;
|
|
346
|
-
border-bottom-left-radius: 4px;
|
|
347
|
-
display: flex;
|
|
348
|
-
align-items: center;
|
|
349
|
-
flex-direction: column;
|
|
350
|
-
justify-content: center;
|
|
351
|
-
align-self: stretch;
|
|
352
|
-
color: #ffff;
|
|
353
|
-
font-family: Arial;
|
|
354
|
-
font-size: 1.6rem;
|
|
355
|
-
font-style: normal;
|
|
356
|
-
font-weight: 400;
|
|
357
|
-
line-height: 24px;
|
|
358
|
-
}
|
|
359
|
-
.filePickButton {
|
|
360
|
-
width: auto !important;
|
|
361
|
-
border: none;
|
|
362
|
-
margin-left: 0px !important;
|
|
363
|
-
}
|
|
364
|
-
.filePickButton.error {
|
|
365
|
-
background: var(--error) !important;
|
|
366
|
-
color: #fff !important;
|
|
367
|
-
}
|
|
368
|
-
.filePickLabel .filePickText {
|
|
369
|
-
padding-left: 16px;
|
|
370
|
-
color: #000;
|
|
371
|
-
font-family: Arial;
|
|
372
|
-
font-size: 1.6rem;
|
|
373
|
-
font-style: normal;
|
|
374
|
-
font-weight: 400;
|
|
375
|
-
line-height: 24px;
|
|
376
|
-
}
|
|
377
|
-
.inputContainer {
|
|
378
|
-
display: flex;
|
|
379
|
-
align-items: center;
|
|
380
|
-
justify-content: center;
|
|
381
|
-
width: 100%;
|
|
382
|
-
height: 100%;
|
|
383
|
-
}
|
|
384
|
-
.inputContainer button {
|
|
385
|
-
margin: 0;
|
|
386
|
-
padding: 8px 24px;
|
|
387
|
-
margin-left: 16px;
|
|
388
|
-
height: 50px;
|
|
389
|
-
width: 200px;
|
|
390
|
-
}
|
|
391
|
-
.inputContainer input[type=text] {
|
|
392
|
-
font-size: 1.6rem;
|
|
393
|
-
}
|
|
394
|
-
.ClipboardFiles {
|
|
395
|
-
display: flex;
|
|
396
|
-
flex-direction: column;
|
|
397
|
-
align-items: center;
|
|
398
|
-
gap: 16px;
|
|
399
|
-
padding: 16px;
|
|
400
|
-
margin-top: 32px;
|
|
401
|
-
background-color: #222;
|
|
402
|
-
animation-name: color;
|
|
403
|
-
animation-duration: 1s;
|
|
404
|
-
animation-iteration-count: infinite;
|
|
405
|
-
border-radius: 8px;
|
|
406
|
-
cursor: pointer;
|
|
407
|
-
}
|
|
408
|
-
.ClipboardFiles.clicked {
|
|
409
|
-
background-color: #ccc;
|
|
410
|
-
animation-name: none;
|
|
411
|
-
cursor: copy;
|
|
412
|
-
}
|
|
413
|
-
@keyframes color {
|
|
414
|
-
0% {
|
|
415
|
-
background-color: #ddd;
|
|
416
|
-
}
|
|
417
|
-
25% {
|
|
418
|
-
background-color: #ccc;
|
|
419
|
-
}
|
|
420
|
-
50% {
|
|
421
|
-
background-color: #bbb;
|
|
422
|
-
}
|
|
423
|
-
75% {
|
|
424
|
-
background-color: #ccc;
|
|
425
|
-
}
|
|
426
|
-
100% {
|
|
427
|
-
background-color: #ddd;
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
.DropZone {
|
|
431
|
-
color: #000;
|
|
432
|
-
margin-top: 20px;
|
|
433
|
-
margin-bottom: 16px;
|
|
434
|
-
font-size: 2rem;
|
|
435
|
-
display: inline-flex;
|
|
436
|
-
width: 100%;
|
|
437
|
-
height: 180px;
|
|
438
|
-
position: relative;
|
|
439
|
-
clip-path: inset(0 round 8px 8px 8px 8px);
|
|
440
|
-
background: var(--neutral-350, #f7f7f7);
|
|
441
|
-
align-items: center;
|
|
442
|
-
justify-content: center;
|
|
443
|
-
text-align: center;
|
|
444
|
-
gap: 10px;
|
|
445
|
-
flex-direction: column;
|
|
446
|
-
cursor: pointer;
|
|
447
|
-
}
|
|
448
|
-
.DropZone::before {
|
|
449
|
-
content: "";
|
|
450
|
-
position: absolute;
|
|
451
|
-
left: -7px;
|
|
452
|
-
top: -7px;
|
|
453
|
-
right: -7px;
|
|
454
|
-
bottom: -7px;
|
|
455
|
-
border: 9px dashed rgba(0, 0, 0, 0.6);
|
|
456
|
-
border-radius: 15px 15px 15px 15px;
|
|
457
|
-
box-sizing: border-box;
|
|
458
|
-
}
|
|
459
|
-
.DropZone:hover {
|
|
460
|
-
background: var(--neutral-350, #f7f7f7);
|
|
461
|
-
opacity: 0.9;
|
|
462
|
-
cursor: copy;
|
|
463
|
-
}
|
|
464
|
-
.DropZone-label-container {
|
|
465
|
-
display: flex;
|
|
466
|
-
}
|
|
467
|
-
.DropZone svg {
|
|
468
|
-
border-radius: 55%;
|
|
469
|
-
background: var(--purple-purple-900-primary, var(--action));
|
|
470
|
-
border: 6px solid var(--action);
|
|
471
|
-
margin-top: 17px;
|
|
472
|
-
margin-right: 16px;
|
|
473
|
-
height: 1.5rem;
|
|
474
|
-
width: 1.5rem;
|
|
475
|
-
}
|
|
476
|
-
.lastCol {
|
|
477
|
-
display: flex;
|
|
478
|
-
justify-content: flex-end;
|
|
479
|
-
max-width: 62px;
|
|
480
|
-
padding: 0;
|
|
481
|
-
margin: 0;
|
|
482
|
-
}
|
|
483
|
-
.fileInListContainer,
|
|
484
|
-
.inputContainer,
|
|
485
|
-
.DropZone {
|
|
486
|
-
max-width: 624px;
|
|
487
|
-
}
|
|
488
|
-
.fileListUnorderedList {
|
|
489
|
-
list-style: none !important;
|
|
490
|
-
padding: 0;
|
|
491
|
-
margin: 0;
|
|
492
|
-
}
|
|
493
|
-
.fileInList {
|
|
494
|
-
width: 100%;
|
|
495
|
-
}
|
|
496
|
-
.fileInList .row {
|
|
497
|
-
display: flex;
|
|
498
|
-
justify-content: space-between;
|
|
499
|
-
align-items: center;
|
|
500
|
-
max-width: 100% !important;
|
|
501
|
-
border: 0px solid black;
|
|
502
|
-
padding: 0px 0px;
|
|
503
|
-
--bs-gutter-x: 0px !important;
|
|
504
|
-
}
|
|
505
|
-
.fileInList .row .col {
|
|
506
|
-
padding: 0;
|
|
507
|
-
margin: 0;
|
|
508
|
-
}
|
|
509
|
-
.fileInList .row .lastCol {
|
|
510
|
-
display: flex;
|
|
511
|
-
justify-content: flex-end;
|
|
512
|
-
}
|
|
513
|
-
.fileItem {
|
|
514
|
-
display: grid !important;
|
|
515
|
-
grid-template-columns: 26px 1fr 60px;
|
|
516
|
-
margin: 0 1px 1.3rem 0;
|
|
517
|
-
}
|
|
518
|
-
.fileInList .makeSpace {
|
|
519
|
-
border-bottom: 1px solid #747474;
|
|
520
|
-
}
|
|
521
|
-
.desktopFileName,
|
|
522
|
-
.mobileFirstFileName {
|
|
523
|
-
display: block;
|
|
524
|
-
}
|
|
525
|
-
.selectedFilesLinkButton {
|
|
526
|
-
display: flex;
|
|
527
|
-
padding: 0;
|
|
528
|
-
stroke-width: 2px;
|
|
529
|
-
stroke: var(--purple-900-primary, var(--action));
|
|
530
|
-
color: var(--purple-900-primary, var(--action));
|
|
531
|
-
font-size: 1.6rem;
|
|
532
|
-
line-height: 24px;
|
|
533
|
-
text-decoration: none;
|
|
534
|
-
cursor: pointer;
|
|
535
|
-
background-color: transparent;
|
|
536
|
-
border: 0px;
|
|
537
|
-
}
|
|
538
|
-
.selectedFilesLinkButton:hover {
|
|
539
|
-
color: var(--purple-900-primary, var(--action));
|
|
540
|
-
text-decoration: underline;
|
|
541
|
-
}
|
|
542
|
-
.addFilesMandatory {
|
|
543
|
-
margin-bottom: 16px;
|
|
544
|
-
margin-top: 0px;
|
|
545
|
-
}
|
|
546
|
-
.addFilesMandatory.error {
|
|
547
|
-
display: inline;
|
|
548
|
-
margin-bottom: 0px;
|
|
549
|
-
}
|
|
550
|
-
.pts-addFile-error-container {
|
|
551
|
-
position: relative;
|
|
552
|
-
display: flex;
|
|
553
|
-
max-width: 532px;
|
|
554
|
-
padding: 1.6rem 2.4rem 0 2.4rem;
|
|
555
|
-
margin: 0 0 1.6rem 0;
|
|
556
|
-
}
|
|
557
|
-
.pts-addFile-error-container li {
|
|
558
|
-
display: flex;
|
|
559
|
-
cursor: unset;
|
|
560
|
-
padding: 0 20px 0 0;
|
|
561
|
-
width: 100%;
|
|
562
|
-
margin-bottom: 1.6rem;
|
|
563
|
-
}
|
|
564
|
-
.addFile-error-list-container {
|
|
565
|
-
width: 95%;
|
|
566
|
-
}
|
|
567
|
-
.error-close {
|
|
568
|
-
line-height: unset;
|
|
569
|
-
}
|
|
570
|
-
.addfileserror {
|
|
571
|
-
margin: 0.8rem 0;
|
|
572
|
-
}
|
|
573
|
-
.errorMessageAddingFile {
|
|
574
|
-
color: var(--red-green-red, var(--error));
|
|
575
|
-
font-size: 1.3rem;
|
|
576
|
-
line-height: 1.6rem;
|
|
577
|
-
padding-top: 0.8rem !important;
|
|
578
|
-
max-width: 380px;
|
|
579
|
-
}
|
|
580
|
-
.uploadedDot {
|
|
581
|
-
border-radius: 17px;
|
|
582
|
-
background: var(--red-green-green, #008e55);
|
|
583
|
-
display: flex;
|
|
584
|
-
width: 1rem;
|
|
585
|
-
height: 1rem;
|
|
586
|
-
padding: 4px;
|
|
587
|
-
margin: 0 8px 10px 0;
|
|
588
|
-
}
|
|
589
|
-
.uploadedDot svg {
|
|
590
|
-
width: 1rem;
|
|
591
|
-
height: 1rem;
|
|
592
|
-
stroke-width: 1.5px;
|
|
593
|
-
stroke: var(--neutral-300, #fff);
|
|
594
|
-
flex-shrink: 0;
|
|
595
|
-
}
|
|
596
|
-
.uploadIndicator {
|
|
597
|
-
height: 6px;
|
|
598
|
-
flex-shrink: 0;
|
|
599
|
-
margin-top: 0px;
|
|
600
|
-
border-radius: 8px 8px 8px 8px;
|
|
601
|
-
}
|
|
602
|
-
.uploadIndicator.uploadDone {
|
|
603
|
-
width: 100%;
|
|
604
|
-
background: var(--red-green-green, #008e55);
|
|
605
|
-
}
|
|
606
|
-
.uploadIndicator.uploadFailed {
|
|
607
|
-
width: 10%;
|
|
608
|
-
background: var(--red-green-red, var(--error));
|
|
609
|
-
}
|
|
610
|
-
.uploadIndicator.uploadLoading {
|
|
611
|
-
width: 50%;
|
|
612
|
-
background: var(--red-green-red, rgb(211, 165, 0));
|
|
613
|
-
}
|
|
614
2
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/input-components/AddFilesStandard/AddFilesStandard.css"],"sourcesContent":["\r\n/* ---------- FILE UPLOAD ---------- */\r\n.files-upload {\r\n width: 100%;\r\n max-width: 800px;\r\n margin: 0 auto;\r\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\r\n}\r\n\r\n/* Drop Zone */\r\n.files-drop-zone {\r\n border: 2px dashed var(--action);\r\n border-radius: 12px;\r\n padding: 3rem 2rem;\r\n text-align: center;\r\n transition: all 0.3s ease;\r\n background-color: #fafafa;\r\n cursor: pointer;\r\n position: relative;\r\n overflow: hidden;\r\n}\r\n\r\n.files-drop-zone:hover {\r\n border-color: var(--action);\r\n background-color: #f5ebf8;\r\n transform: translateY(-2px);\r\n box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);\r\n}\r\n\r\n.files-drop-zone.drag-active {\r\n border-color: var(--action);\r\n background-color: #f5ebf8;\r\n transform: scale(1.02);\r\n box-shadow: 0 8px 25px rgba(30, 167, 253, 0.2);\r\n}\r\n\r\n.files-drop-zone:focus {\r\n /* border-color: var(--action);\r\n background-color: #f5ebf8;\r\n transform: translateY(-2px);\r\n box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);\r\n transform: translateY(-3px);\r\n\r\n animation: focusPulse 1s ease-in-out infinite;\r\n box-shadow: inset 0 0 0 4px var(--action);\r\n \r\n border: none; */\r\n border: 0.2rem solid var(--action);\r\n}\r\n\r\n.files-drop-zone:focus-visible {\r\n outline-offset: 0 !important;\r\n outline-style: solid !important;\r\n outline-color: #fff !important;\r\n outline-width: 2px !important;\r\n box-shadow: 0 0 0 4px #000 !important;\r\n}\r\n\r\n.files-drop-content {\r\n pointer-events: none;\r\n}\r\n\r\n.files-icon {\r\n font-size: 4rem;\r\n margin-bottom: 1rem;\r\n opacity: 0.7;\r\n animation: float 3s ease-in-out infinite;\r\n}\r\n\r\n@keyframes float {\r\n 0%,\r\n 100% {\r\n transform: translateY(0px);\r\n }\r\n 50% {\r\n transform: translateY(-10px);\r\n }\r\n}\r\n\r\n.files-drop-text {\r\n font-size: 1.2rem;\r\n margin-bottom: 0.5rem;\r\n color: #333;\r\n font-weight: 500;\r\n}\r\n\r\n.files-drop-info {\r\n font-size: 0.9rem;\r\n color: #666;\r\n margin: 0;\r\n}\r\n\r\n.files-allowed-types {\r\n font-size: 0.85rem;\r\n color: #555;\r\n margin: 0.75rem 0 0 0;\r\n padding: 0.5rem;\r\n background-color: rgba(146, 64, 252, 0.1);\r\n border-radius: 6px;\r\n border-left: 3px solid #ce95e0;\r\n}\r\n\r\n.files-allowed-types strong {\r\n color: var(--action);\r\n}\r\n\r\n.files-input-hidden {\r\n display: none;\r\n}\r\n\r\n/* Summary */\r\n.files-summary {\r\n margin: 1.5rem 0;\r\n padding: 1rem;\r\n background-color: #f8f9fa;\r\n border-radius: 8px;\r\n border: 1px solid #e9ecef;\r\n}\r\n\r\n.files-summary-stats {\r\n display: flex;\r\n gap: 1rem;\r\n margin-bottom: 1rem;\r\n flex-wrap: wrap;\r\n}\r\n\r\n.stat {\r\n padding: 0.5rem 1rem;\r\n border-radius: 20px;\r\n background-color: #e9ecef;\r\n font-size: 0.9rem;\r\n display: flex;\r\n align-items: center;\r\n gap: 0.5rem;\r\n}\r\n\r\n.stat.pending {\r\n background-color: #fff3cd;\r\n color: #856404;\r\n}\r\n\r\n.stat.completed {\r\n background-color: #d1e7dd;\r\n color: #0a3622;\r\n}\r\n\r\n.stat.error {\r\n background-color: #f8d7da;\r\n color: #721c24;\r\n}\r\n\r\n.files-summary-actions {\r\n display: flex;\r\n gap: 0.5rem;\r\n flex-wrap: wrap;\r\n}\r\n\r\n.action-button {\r\n padding: 0.75rem 1.5rem;\r\n border: none;\r\n border-radius: 6px;\r\n cursor: pointer;\r\n font-weight: 500;\r\n transition: all 0.2s ease;\r\n display: flex;\r\n align-items: center;\r\n gap: 0.5rem;\r\n}\r\n\r\n.action-button.primary {\r\n background-color: #1ea7fd;\r\n color: white;\r\n}\r\n\r\n.action-button.primary:hover {\r\n background-color: #1890ff;\r\n transform: translateY(-1px);\r\n}\r\n\r\n.action-button.secondary {\r\n background-color: #6c757d;\r\n color: white;\r\n}\r\n\r\n.action-button.secondary:hover {\r\n background-color: #5a6268;\r\n transform: translateY(-1px);\r\n}\r\n\r\n/* Files List */\r\n.files-list {\r\n margin-top: 1.5rem;\r\n}\r\n\r\n.files-list h4 {\r\n margin-bottom: 1rem;\r\n color: #333;\r\n font-size: 1.1rem;\r\n font-weight: 600;\r\n}\r\n\r\n.files-items {\r\n list-style: none;\r\n padding: 0;\r\n margin: 0;\r\n}\r\n\r\n.file-item {\r\n display: flex;\r\n align-items: center;\r\n gap: 1rem;\r\n padding: 1rem;\r\n border: 1px solid #e9ecef;\r\n border-radius: 8px;\r\n margin-bottom: 0.75rem;\r\n background-color: white;\r\n transition: all 0.2s ease;\r\n position: relative;\r\n}\r\n\r\n.file-item:hover {\r\n background-color: #f8f9fa;\r\n border-color: #dee2e6;\r\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);\r\n}\r\n\r\n.file-item.uploading {\r\n background-color: #e6f7ff;\r\n border-color: #91d5ff;\r\n}\r\n\r\n.file-item.completed {\r\n background-color: #f6ffed;\r\n border-color: #b7eb8f;\r\n}\r\n\r\n.file-item.error {\r\n background-color: #fff2f0;\r\n border-color: #ffccc7;\r\n}\r\n\r\n.file-icon-status {\r\n font-size: 1.5rem;\r\n min-width: 2rem;\r\n text-align: center;\r\n}\r\n\r\n.file-info {\r\n flex: 1;\r\n min-width: 0;\r\n}\r\n\r\n.file-name {\r\n font-weight: 500;\r\n color: #333;\r\n margin-bottom: 0.5rem;\r\n word-break: break-word;\r\n}\r\n\r\n.file-details {\r\n display: flex;\r\n gap: 1rem;\r\n font-size: 0.85rem;\r\n color: #666;\r\n flex-wrap: wrap;\r\n}\r\n\r\n.file-size {\r\n color: #666;\r\n}\r\n\r\n.file-status {\r\n color: #1ea7fd;\r\n font-weight: 500;\r\n}\r\n\r\n.file-error {\r\n color: #dc3545;\r\n font-weight: 500;\r\n}\r\n\r\n.progress-bar {\r\n width: 100%;\r\n height: 4px;\r\n background-color: #e9ecef;\r\n border-radius: 2px;\r\n margin-top: 0.5rem;\r\n overflow: hidden;\r\n}\r\n\r\n.progress-fill {\r\n height: 100%;\r\n background-color: #1ea7fd;\r\n transition: width 0.3s ease;\r\n border-radius: 2px;\r\n}\r\n\r\n.file-actions {\r\n display: flex;\r\n gap: 0.5rem;\r\n}\r\n\r\n.action-btn {\r\n background: none;\r\n border: 1px solid transparent;\r\n padding: 0.5rem;\r\n border-radius: 6px;\r\n cursor: pointer;\r\n font-size: 1rem;\r\n transition: all 0.2s ease;\r\n min-width: 2.5rem;\r\n height: 2.5rem;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.action-btn.upload {\r\n color: #1ea7fd;\r\n border-color: #1ea7fd;\r\n}\r\n\r\n.action-btn.upload:hover {\r\n background-color: #1ea7fd;\r\n color: white;\r\n}\r\n\r\n.action-btn.retry {\r\n color: #fd7e14;\r\n border-color: #fd7e14;\r\n}\r\n\r\n.action-btn.retry:hover {\r\n background-color: #fd7e14;\r\n color: white;\r\n}\r\n\r\n.action-btn.remove {\r\n color: var(--action);\r\n border-color: var(--action);\r\n}\r\n\r\n.action-btn.remove:hover {\r\n background-color: var(--action);\r\n color: white;\r\n}\r\n\r\n.files-icon {\r\n font-size: 3rem;\r\n}\r\n\r\n.files-drop-text {\r\n font-size: 1rem;\r\n}\r\n\r\n.files-summary-stats {\r\n flex-direction: column;\r\n gap: 0.5rem;\r\n}\r\n\r\n.files-summary-actions {\r\n flex-direction: column;\r\n}\r\n\r\n.action-button {\r\n justify-content: center;\r\n}\r\n\r\n.file-item {\r\n flex-direction: column;\r\n align-items: flex-start;\r\n gap: 0.75rem;\r\n}\r\n\r\n.file-details {\r\n flex-direction: column;\r\n gap: 0.25rem;\r\n}\r\n\r\n.file-actions {\r\n align-self: flex-end;\r\n}\r\n\r\n.files-drop-zone {\r\n padding: 1.5rem 1rem;\r\n}\r\n\r\n.file-item {\r\n padding: 0.75rem;\r\n}\r\n\r\n/* ---------- ADD FILES ---------- */\r\n\r\n/* ExploreFiles.tsx */\r\n\r\n.invisible {\r\n display: none;\r\n width: 1px;\r\n}\r\n\r\n.filePickLabel {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n height: 48px;\r\n border: 1px solid #747474;\r\n border-radius: 8px;\r\n}\r\n.filePickLabel:focus {\r\n border: #000000 2px solid;\r\n box-shadow: none;\r\n}\r\n.filePickLabel .filePickButton {\r\n cursor: pointer;\r\n padding: 16px;\r\n height: 100%;\r\n background: #747474;\r\n border-top-left-radius: 4px;\r\n border-bottom-left-radius: 4px;\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-self: stretch;\r\n color: #ffff;\r\n font-family: Arial;\r\n font-size: 1.6rem;\r\n font-style: normal;\r\n font-weight: 400;\r\n line-height: 24px;\r\n}\r\n\r\n.filePickButton {\r\n width: auto !important;\r\n border: none;\r\n margin-left: 0px !important;\r\n}\r\n\r\n.filePickButton.error {\r\n background: var(--error) !important;\r\n color: #fff !important;\r\n}\r\n\r\n.filePickLabel .filePickText {\r\n padding-left: 16px;\r\n color: #000;\r\n\r\n font-family: Arial;\r\n font-size: 1.6rem;\r\n font-style: normal;\r\n font-weight: 400;\r\n line-height: 24px;\r\n}\r\n\r\n.inputContainer {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.inputContainer button {\r\n margin: 0;\r\n /* padding: 0; */\r\n padding: 8px 24px;\r\n margin-left: 16px;\r\n height: 50px;\r\n width: 200px;\r\n}\r\n\r\n.inputContainer input[type='text'] {\r\n font-size: 1.6rem;\r\n}\r\n\r\n/* .uploadedDot.uploadFailed {\r\n background: var(--red-green-red, var(--error));\r\n\r\n color: var(--neutral-300, #fff);\r\n} */\r\n\r\n/* Clipboard.tsx */\r\n\r\n.ClipboardFiles {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n gap: 16px;\r\n padding: 16px;\r\n\r\n margin-top: 32px;\r\n background-color: #222;\r\n animation-name: color;\r\n animation-duration: 1s;\r\n animation-iteration-count: infinite;\r\n\r\n border-radius: 8px;\r\n cursor: pointer;\r\n}\r\n\r\n.ClipboardFiles.clicked {\r\n background-color: #ccc;\r\n animation-name: none;\r\n cursor: copy;\r\n}\r\n\r\n@keyframes color {\r\n 0% {\r\n background-color: #ddd;\r\n }\r\n 25% {\r\n background-color: #ccc;\r\n }\r\n 50% {\r\n background-color: #bbb;\r\n }\r\n 75% {\r\n background-color: #ccc;\r\n }\r\n 100% {\r\n background-color: #ddd;\r\n }\r\n}\r\n\r\n/* DropFiles.tsx */\r\n\r\n.DropZone {\r\n color: #000;\r\n margin-top: 20px;\r\n margin-bottom: 16px;\r\n font-size: 2rem;\r\n display: inline-flex;\r\n width: 100%;\r\n height: 180px;\r\n position: relative;\r\n clip-path: inset(0 round 8px 8px 8px 8px);\r\n background: var(--neutral-350, #f7f7f7);\r\n align-items: center;\r\n justify-content: center;\r\n text-align: center;\r\n gap: 10px;\r\n flex-direction: column;\r\n cursor: pointer;\r\n}\r\n\r\n.DropZone::before {\r\n content: '';\r\n position: absolute;\r\n left: -7px;\r\n top: -7px;\r\n right: -7px;\r\n bottom: -7px;\r\n border: 9px dashed rgba(0, 0, 0, 0.6);\r\n border-radius: 15px 15px 15px 15px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.DropZone:hover {\r\n background: var(--neutral-350, #f7f7f7);\r\n opacity: 0.9;\r\n cursor: copy;\r\n}\r\n\r\n.DropZone-label-container {\r\n display: flex;\r\n}\r\n\r\n.DropZone svg {\r\n border-radius: 55%;\r\n background: var(--purple-purple-900-primary, var(--action));\r\n border: 6px solid var(--action);\r\n margin-top: 17px;\r\n margin-right: 16px;\r\n height: 1.5rem;\r\n width: 1.5rem;\r\n}\r\n\r\n/* AddFiles.tsx */ /* SelectedFiles.tsx */\r\n.lastCol {\r\n display: flex;\r\n justify-content: flex-end;\r\n max-width: 62px;\r\n padding: 0;\r\n margin: 0;\r\n}\r\n\r\n.fileInListContainer,\r\n.inputContainer,\r\n.DropZone {\r\n max-width: 624px;\r\n}\r\n\r\n.fileListUnorderedList {\r\n list-style: none !important;\r\n padding: 0;\r\n margin: 0;\r\n}\r\n\r\n.fileInList {\r\n width: 100%;\r\n}\r\n\r\n.fileInList .row {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n max-width: 100% !important;\r\n border: 0px solid black;\r\n\r\n padding: 0px 0px;\r\n --bs-gutter-x: 0px !important;\r\n}\r\n\r\n.fileInList .row .col {\r\n padding: 0;\r\n margin: 0;\r\n}\r\n\r\n.fileInList .row .lastCol {\r\n display: flex;\r\n justify-content: flex-end;\r\n}\r\n\r\n.fileItem {\r\n display: grid !important;\r\n grid-template-columns: 26px 1fr 60px;\r\n margin: 0 1px 1.3rem 0;\r\n}\r\n\r\n.fileInList .makeSpace {\r\n border-bottom: 1px solid #747474;\r\n}\r\n\r\n.desktopFileName,\r\n.mobileFirstFileName {\r\n display: block;\r\n}\r\n\r\n.selectedFilesLinkButton {\r\n display: flex;\r\n padding: 0;\r\n stroke-width: 2px;\r\n stroke: var(--purple-900-primary, var(--action));\r\n color: var(--purple-900-primary, var(--action));\r\n font-size: 1.6rem;\r\n line-height: 24px;\r\n text-decoration: none;\r\n cursor: pointer;\r\n background-color: transparent;\r\n border: 0px;\r\n}\r\n\r\n.selectedFilesLinkButton:hover {\r\n color: var(--purple-900-primary, var(--action));\r\n text-decoration: underline;\r\n}\r\n\r\n.addFilesMandatory {\r\n margin-bottom: 16px;\r\n margin-top: 0px;\r\n}\r\n\r\n.addFilesMandatory.error {\r\n display: inline;\r\n margin-bottom: 0px;\r\n}\r\n\r\n.pts-addFile-error-container {\r\n position: relative;\r\n display: flex;\r\n max-width: 532px;\r\n padding: 1.6rem 2.4rem 0 2.4rem;\r\n margin: 0 0 1.6rem 0;\r\n}\r\n\r\n.pts-addFile-error-container li {\r\n display: flex;\r\n cursor: unset;\r\n padding: 0 20px 0 0;\r\n width: 100%;\r\n margin-bottom: 1.6rem;\r\n}\r\n\r\n.addFile-error-list-container {\r\n width: 95%;\r\n}\r\n\r\n.error-close {\r\n line-height: unset;\r\n}\r\n\r\n.addfileserror {\r\n margin: 0.8rem 0;\r\n}\r\n\r\n.errorMessageAddingFile {\r\n color: var(--red-green-red, var(--error));\r\n font-size: 1.3rem;\r\n line-height: 1.6rem;\r\n padding-top: 0.8rem !important;\r\n max-width: 380px;\r\n}\r\n\r\n.uploadedDot {\r\n border-radius: 17px;\r\n background: var(--red-green-green, #008e55);\r\n display: flex;\r\n width: 1rem;\r\n height: 1rem;\r\n padding: 4px;\r\n margin: 0 8px 10px 0;\r\n}\r\n\r\n.uploadedDot svg {\r\n width: 1rem;\r\n height: 1rem;\r\n stroke-width: 1.5px;\r\n stroke: var(--neutral-300, #fff);\r\n flex-shrink: 0;\r\n}\r\n\r\n/* Indicator.tsx */\r\n\r\n.uploadIndicator {\r\n height: 6px;\r\n flex-shrink: 0;\r\n margin-top: 0px;\r\n border-radius: 8px 8px 8px 8px;\r\n}\r\n\r\n.uploadIndicator.uploadDone {\r\n width: 100%;\r\n background: var(--red-green-green, #008e55);\r\n}\r\n.uploadIndicator.uploadFailed {\r\n width: 10%;\r\n background: var(--red-green-red, var(--error));\r\n}\r\n.uploadIndicator.uploadLoading {\r\n width: 50%;\r\n background: var(--red-green-red, rgb(211, 165, 0));\r\n}\r\n/* ---------- END FILE UPLOAD ---------- */\r\n"],"mappings":";AAEA,CAAC;AACC,SAAO;AACP,aAAW;AACX,UAAQ,EAAE;AACV;AAAA,IAAa,UAAU;AAAA,IAAE,MAAM;AAAA,IAAE,MAAM;AAAA,IAAE,OAAO;AAAA,IAAE;AACpD;AAGA,CAAC;AACC,UAAQ,IAAI,OAAO,IAAI;AACvB,iBAAe;AACf,WAAS,KAAK;AACd,cAAY;AACZ,cAAY,IAAI,KAAK;AACrB,oBAAkB;AAClB,UAAQ;AACR,YAAU;AACV,YAAU;AACZ;AAEA,CAZC,eAYe;AACd,gBAAc,IAAI;AAClB,oBAAkB;AAClB,aAAW,WAAW;AACtB,cAAY,EAAE,IAAI,KAAK,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;AAC7C;AAEA,CAnBC,eAmBe,CAAC;AACf,gBAAc,IAAI;AAClB,oBAAkB;AAClB,aAAW,MAAM;AACjB,cAAY,EAAE,IAAI,KAAK,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;AAC5C;AAEA,CA1BC,eA0Be;AAWd,UAAQ,OAAO,MAAM,IAAI;AAC3B;AAEA,CAxCC,eAwCe;AACd,kBAAgB;AAChB,iBAAe;AACf,iBAAe;AACf,iBAAe;AACf,cAAY,EAAE,EAAE,EAAE,IAAI;AACxB;AAEA,CAAC;AACC,kBAAgB;AAClB;AAEA,CAAC;AACC,aAAW;AACX,iBAAe;AACf,WAAS;AACT,aAAW,MAAM,GAAG,YAAY;AAClC;AAEA,WA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AAG,EAAE;AACjD;","names":[]}
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
package/src/css/questions.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* Css för filuppladdningen finns i komponentens mapp */
|
|
2
1
|
|
|
3
2
|
fieldset {
|
|
4
3
|
border: none;
|
|
@@ -247,4 +246,762 @@ div.pts-root-question:last-child{
|
|
|
247
246
|
|
|
248
247
|
.pts-textarea-counter-error-container .pts-root-error {
|
|
249
248
|
width: 100%;
|
|
250
|
-
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
/* ---------- FILE UPLOAD ---------- */
|
|
257
|
+
/* ---------- FILE UPLOAD ---------- */
|
|
258
|
+
/* ---------- FILE UPLOAD ---------- */
|
|
259
|
+
/* ---------- FILE UPLOAD ---------- */
|
|
260
|
+
/* ---------- FILE UPLOAD ---------- */
|
|
261
|
+
/* ---------- FILE UPLOAD ---------- */
|
|
262
|
+
/* ---------- FILE UPLOAD ---------- */
|
|
263
|
+
/* ---------- FILE UPLOAD ---------- */
|
|
264
|
+
.files-upload {
|
|
265
|
+
width: 100%;
|
|
266
|
+
max-width: 800px;
|
|
267
|
+
margin: 0 auto;
|
|
268
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* Drop Zone */
|
|
272
|
+
.files-drop-zone {
|
|
273
|
+
border: 2px dashed var(--action);
|
|
274
|
+
border-radius: 12px;
|
|
275
|
+
padding: 3rem 2rem;
|
|
276
|
+
text-align: center;
|
|
277
|
+
transition: all 0.3s ease;
|
|
278
|
+
background-color: #fafafa;
|
|
279
|
+
cursor: pointer;
|
|
280
|
+
position: relative;
|
|
281
|
+
overflow: hidden;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.files-drop-zone:hover {
|
|
285
|
+
border-color: var(--action);
|
|
286
|
+
background-color: #f5ebf8;
|
|
287
|
+
transform: translateY(-2px);
|
|
288
|
+
box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.files-drop-zone.drag-active {
|
|
292
|
+
border-color: var(--action);
|
|
293
|
+
background-color: #f5ebf8;
|
|
294
|
+
transform: scale(1.02);
|
|
295
|
+
box-shadow: 0 8px 25px rgba(30, 167, 253, 0.2);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.files-drop-zone:focus {
|
|
299
|
+
/* border-color: var(--action);
|
|
300
|
+
background-color: #f5ebf8;
|
|
301
|
+
transform: translateY(-2px);
|
|
302
|
+
box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);
|
|
303
|
+
transform: translateY(-3px);
|
|
304
|
+
|
|
305
|
+
animation: focusPulse 1s ease-in-out infinite;
|
|
306
|
+
box-shadow: inset 0 0 0 4px var(--action);
|
|
307
|
+
|
|
308
|
+
border: none; */
|
|
309
|
+
border: 0.2rem solid var(--action);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.files-drop-zone:focus-visible {
|
|
313
|
+
outline-offset: 0 !important;
|
|
314
|
+
outline-style: solid !important;
|
|
315
|
+
outline-color: #fff !important;
|
|
316
|
+
outline-width: 2px !important;
|
|
317
|
+
box-shadow: 0 0 0 4px #000 !important;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.files-drop-content {
|
|
321
|
+
pointer-events: none;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.files-icon {
|
|
325
|
+
font-size: 4rem;
|
|
326
|
+
margin-bottom: 1rem;
|
|
327
|
+
opacity: 0.7;
|
|
328
|
+
animation: float 3s ease-in-out infinite;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@keyframes float {
|
|
332
|
+
0%,
|
|
333
|
+
100% {
|
|
334
|
+
transform: translateY(0px);
|
|
335
|
+
}
|
|
336
|
+
50% {
|
|
337
|
+
transform: translateY(-10px);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.files-drop-text {
|
|
342
|
+
font-size: 1.2rem;
|
|
343
|
+
margin-bottom: 0.5rem;
|
|
344
|
+
color: #333;
|
|
345
|
+
font-weight: 500;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.files-drop-info {
|
|
349
|
+
font-size: 0.9rem;
|
|
350
|
+
color: #666;
|
|
351
|
+
margin: 0;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.files-allowed-types {
|
|
355
|
+
font-size: 0.85rem;
|
|
356
|
+
color: #555;
|
|
357
|
+
margin: 0.75rem 0 0 0;
|
|
358
|
+
padding: 0.5rem;
|
|
359
|
+
background-color: rgba(146, 64, 252, 0.1);
|
|
360
|
+
border-radius: 6px;
|
|
361
|
+
border-left: 3px solid #ce95e0;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.files-allowed-types strong {
|
|
365
|
+
color: var(--action);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.files-input-hidden {
|
|
369
|
+
display: none;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/* Summary */
|
|
373
|
+
.files-summary {
|
|
374
|
+
margin: 1.5rem 0;
|
|
375
|
+
padding: 1rem;
|
|
376
|
+
background-color: #f8f9fa;
|
|
377
|
+
border-radius: 8px;
|
|
378
|
+
border: 1px solid #e9ecef;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.files-summary-stats {
|
|
382
|
+
display: flex;
|
|
383
|
+
gap: 1rem;
|
|
384
|
+
margin-bottom: 1rem;
|
|
385
|
+
flex-wrap: wrap;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.stat {
|
|
389
|
+
padding: 0.5rem 1rem;
|
|
390
|
+
border-radius: 20px;
|
|
391
|
+
background-color: #e9ecef;
|
|
392
|
+
font-size: 0.9rem;
|
|
393
|
+
display: flex;
|
|
394
|
+
align-items: center;
|
|
395
|
+
gap: 0.5rem;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.stat.pending {
|
|
399
|
+
background-color: #fff3cd;
|
|
400
|
+
color: #856404;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.stat.completed {
|
|
404
|
+
background-color: #d1e7dd;
|
|
405
|
+
color: #0a3622;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.stat.error {
|
|
409
|
+
background-color: #f8d7da;
|
|
410
|
+
color: #721c24;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.files-summary-actions {
|
|
414
|
+
display: flex;
|
|
415
|
+
gap: 0.5rem;
|
|
416
|
+
flex-wrap: wrap;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.action-button {
|
|
420
|
+
padding: 0.75rem 1.5rem;
|
|
421
|
+
border: none;
|
|
422
|
+
border-radius: 6px;
|
|
423
|
+
cursor: pointer;
|
|
424
|
+
font-weight: 500;
|
|
425
|
+
transition: all 0.2s ease;
|
|
426
|
+
display: flex;
|
|
427
|
+
align-items: center;
|
|
428
|
+
gap: 0.5rem;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.action-button.primary {
|
|
432
|
+
background-color: #1ea7fd;
|
|
433
|
+
color: white;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.action-button.primary:hover {
|
|
437
|
+
background-color: #1890ff;
|
|
438
|
+
transform: translateY(-1px);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.action-button.secondary {
|
|
442
|
+
background-color: #6c757d;
|
|
443
|
+
color: white;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.action-button.secondary:hover {
|
|
447
|
+
background-color: #5a6268;
|
|
448
|
+
transform: translateY(-1px);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/* Files List */
|
|
452
|
+
.files-list {
|
|
453
|
+
margin-top: 1.5rem;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.files-list h4 {
|
|
457
|
+
margin-bottom: 1rem;
|
|
458
|
+
color: #333;
|
|
459
|
+
font-size: 1.1rem;
|
|
460
|
+
font-weight: 600;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.files-items {
|
|
464
|
+
list-style: none;
|
|
465
|
+
padding: 0;
|
|
466
|
+
margin: 0;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.file-item {
|
|
470
|
+
display: flex;
|
|
471
|
+
align-items: center;
|
|
472
|
+
gap: 1rem;
|
|
473
|
+
padding: 1rem;
|
|
474
|
+
border: 1px solid #e9ecef;
|
|
475
|
+
border-radius: 8px;
|
|
476
|
+
margin-bottom: 0.75rem;
|
|
477
|
+
background-color: white;
|
|
478
|
+
transition: all 0.2s ease;
|
|
479
|
+
position: relative;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.file-item:hover {
|
|
483
|
+
background-color: #f8f9fa;
|
|
484
|
+
border-color: #dee2e6;
|
|
485
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.file-item.uploading {
|
|
489
|
+
background-color: #e6f7ff;
|
|
490
|
+
border-color: #91d5ff;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.file-item.completed {
|
|
494
|
+
background-color: #f6ffed;
|
|
495
|
+
border-color: #b7eb8f;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.file-item.error {
|
|
499
|
+
background-color: #fff2f0;
|
|
500
|
+
border-color: #ffccc7;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.file-icon-status {
|
|
504
|
+
font-size: 1.5rem;
|
|
505
|
+
min-width: 2rem;
|
|
506
|
+
text-align: center;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.file-info {
|
|
510
|
+
flex: 1;
|
|
511
|
+
min-width: 0;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.file-name {
|
|
515
|
+
font-weight: 500;
|
|
516
|
+
color: #333;
|
|
517
|
+
margin-bottom: 0.5rem;
|
|
518
|
+
word-break: break-word;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.file-details {
|
|
522
|
+
display: flex;
|
|
523
|
+
gap: 1rem;
|
|
524
|
+
font-size: 0.85rem;
|
|
525
|
+
color: #666;
|
|
526
|
+
flex-wrap: wrap;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.file-size {
|
|
530
|
+
color: #666;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.file-status {
|
|
534
|
+
color: #1ea7fd;
|
|
535
|
+
font-weight: 500;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.file-error {
|
|
539
|
+
color: #dc3545;
|
|
540
|
+
font-weight: 500;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.progress-bar {
|
|
544
|
+
width: 100%;
|
|
545
|
+
height: 4px;
|
|
546
|
+
background-color: #e9ecef;
|
|
547
|
+
border-radius: 2px;
|
|
548
|
+
margin-top: 0.5rem;
|
|
549
|
+
overflow: hidden;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.progress-fill {
|
|
553
|
+
height: 100%;
|
|
554
|
+
background-color: #1ea7fd;
|
|
555
|
+
transition: width 0.3s ease;
|
|
556
|
+
border-radius: 2px;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.file-actions {
|
|
560
|
+
display: flex;
|
|
561
|
+
gap: 0.5rem;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.action-btn {
|
|
565
|
+
background: none;
|
|
566
|
+
border: 1px solid transparent;
|
|
567
|
+
padding: 0.5rem;
|
|
568
|
+
border-radius: 6px;
|
|
569
|
+
cursor: pointer;
|
|
570
|
+
font-size: 1rem;
|
|
571
|
+
transition: all 0.2s ease;
|
|
572
|
+
min-width: 2.5rem;
|
|
573
|
+
height: 2.5rem;
|
|
574
|
+
display: flex;
|
|
575
|
+
align-items: center;
|
|
576
|
+
justify-content: center;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.action-btn.upload {
|
|
580
|
+
color: #1ea7fd;
|
|
581
|
+
border-color: #1ea7fd;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.action-btn.upload:hover {
|
|
585
|
+
background-color: #1ea7fd;
|
|
586
|
+
color: white;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.action-btn.retry {
|
|
590
|
+
color: #fd7e14;
|
|
591
|
+
border-color: #fd7e14;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.action-btn.retry:hover {
|
|
595
|
+
background-color: #fd7e14;
|
|
596
|
+
color: white;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.action-btn.remove {
|
|
600
|
+
color: var(--action);
|
|
601
|
+
border-color: var(--action);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.action-btn.remove:hover {
|
|
605
|
+
background-color: var(--action);
|
|
606
|
+
color: white;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.files-icon {
|
|
610
|
+
font-size: 3rem;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.files-drop-text {
|
|
614
|
+
font-size: 1rem;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.files-summary-stats {
|
|
618
|
+
flex-direction: column;
|
|
619
|
+
gap: 0.5rem;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.files-summary-actions {
|
|
623
|
+
flex-direction: column;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.action-button {
|
|
627
|
+
justify-content: center;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.file-item {
|
|
631
|
+
flex-direction: column;
|
|
632
|
+
align-items: flex-start;
|
|
633
|
+
gap: 0.75rem;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.file-details {
|
|
637
|
+
flex-direction: column;
|
|
638
|
+
gap: 0.25rem;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.file-actions {
|
|
642
|
+
align-self: flex-end;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.files-drop-zone {
|
|
646
|
+
padding: 1.5rem 1rem;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.file-item {
|
|
650
|
+
padding: 0.75rem;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/* ---------- ADD FILES ---------- */
|
|
654
|
+
|
|
655
|
+
/* ExploreFiles.tsx */
|
|
656
|
+
|
|
657
|
+
.invisible {
|
|
658
|
+
display: none;
|
|
659
|
+
width: 1px;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.filePickLabel {
|
|
663
|
+
display: flex;
|
|
664
|
+
align-items: center;
|
|
665
|
+
justify-content: flex-start;
|
|
666
|
+
width: 100%;
|
|
667
|
+
margin: 0;
|
|
668
|
+
padding: 0;
|
|
669
|
+
height: 48px;
|
|
670
|
+
border: 1px solid #747474;
|
|
671
|
+
border-radius: 8px;
|
|
672
|
+
}
|
|
673
|
+
.filePickLabel:focus {
|
|
674
|
+
border: #000000 2px solid;
|
|
675
|
+
box-shadow: none;
|
|
676
|
+
}
|
|
677
|
+
.filePickLabel .filePickButton {
|
|
678
|
+
cursor: pointer;
|
|
679
|
+
padding: 16px;
|
|
680
|
+
height: 100%;
|
|
681
|
+
background: #747474;
|
|
682
|
+
border-top-left-radius: 4px;
|
|
683
|
+
border-bottom-left-radius: 4px;
|
|
684
|
+
display: flex;
|
|
685
|
+
align-items: center;
|
|
686
|
+
flex-direction: column;
|
|
687
|
+
justify-content: center;
|
|
688
|
+
align-self: stretch;
|
|
689
|
+
color: #ffff;
|
|
690
|
+
font-family: Arial;
|
|
691
|
+
font-size: 1.6rem;
|
|
692
|
+
font-style: normal;
|
|
693
|
+
font-weight: 400;
|
|
694
|
+
line-height: 24px;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.filePickButton {
|
|
698
|
+
width: auto !important;
|
|
699
|
+
border: none;
|
|
700
|
+
margin-left: 0px !important;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.filePickButton.error {
|
|
704
|
+
background: var(--error) !important;
|
|
705
|
+
color: #fff !important;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.filePickLabel .filePickText {
|
|
709
|
+
padding-left: 16px;
|
|
710
|
+
color: #000;
|
|
711
|
+
|
|
712
|
+
font-family: Arial;
|
|
713
|
+
font-size: 1.6rem;
|
|
714
|
+
font-style: normal;
|
|
715
|
+
font-weight: 400;
|
|
716
|
+
line-height: 24px;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.inputContainer {
|
|
720
|
+
display: flex;
|
|
721
|
+
align-items: center;
|
|
722
|
+
justify-content: center;
|
|
723
|
+
width: 100%;
|
|
724
|
+
height: 100%;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.inputContainer button {
|
|
728
|
+
margin: 0;
|
|
729
|
+
/* padding: 0; */
|
|
730
|
+
padding: 8px 24px;
|
|
731
|
+
margin-left: 16px;
|
|
732
|
+
height: 50px;
|
|
733
|
+
width: 200px;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.inputContainer input[type='text'] {
|
|
737
|
+
font-size: 1.6rem;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
/* .uploadedDot.uploadFailed {
|
|
741
|
+
background: var(--red-green-red, var(--error));
|
|
742
|
+
|
|
743
|
+
color: var(--neutral-300, #fff);
|
|
744
|
+
} */
|
|
745
|
+
|
|
746
|
+
/* Clipboard.tsx */
|
|
747
|
+
|
|
748
|
+
.ClipboardFiles {
|
|
749
|
+
display: flex;
|
|
750
|
+
flex-direction: column;
|
|
751
|
+
align-items: center;
|
|
752
|
+
gap: 16px;
|
|
753
|
+
padding: 16px;
|
|
754
|
+
|
|
755
|
+
margin-top: 32px;
|
|
756
|
+
background-color: #222;
|
|
757
|
+
animation-name: color;
|
|
758
|
+
animation-duration: 1s;
|
|
759
|
+
animation-iteration-count: infinite;
|
|
760
|
+
|
|
761
|
+
border-radius: 8px;
|
|
762
|
+
cursor: pointer;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.ClipboardFiles.clicked {
|
|
766
|
+
background-color: #ccc;
|
|
767
|
+
animation-name: none;
|
|
768
|
+
cursor: copy;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
@keyframes color {
|
|
772
|
+
0% {
|
|
773
|
+
background-color: #ddd;
|
|
774
|
+
}
|
|
775
|
+
25% {
|
|
776
|
+
background-color: #ccc;
|
|
777
|
+
}
|
|
778
|
+
50% {
|
|
779
|
+
background-color: #bbb;
|
|
780
|
+
}
|
|
781
|
+
75% {
|
|
782
|
+
background-color: #ccc;
|
|
783
|
+
}
|
|
784
|
+
100% {
|
|
785
|
+
background-color: #ddd;
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/* DropFiles.tsx */
|
|
790
|
+
|
|
791
|
+
.DropZone {
|
|
792
|
+
color: #000;
|
|
793
|
+
margin-top: 20px;
|
|
794
|
+
margin-bottom: 16px;
|
|
795
|
+
font-size: 2rem;
|
|
796
|
+
display: inline-flex;
|
|
797
|
+
width: 100%;
|
|
798
|
+
height: 180px;
|
|
799
|
+
position: relative;
|
|
800
|
+
clip-path: inset(0 round 8px 8px 8px 8px);
|
|
801
|
+
background: var(--neutral-350, #f7f7f7);
|
|
802
|
+
align-items: center;
|
|
803
|
+
justify-content: center;
|
|
804
|
+
text-align: center;
|
|
805
|
+
gap: 10px;
|
|
806
|
+
flex-direction: column;
|
|
807
|
+
cursor: pointer;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.DropZone::before {
|
|
811
|
+
content: '';
|
|
812
|
+
position: absolute;
|
|
813
|
+
left: -7px;
|
|
814
|
+
top: -7px;
|
|
815
|
+
right: -7px;
|
|
816
|
+
bottom: -7px;
|
|
817
|
+
border: 9px dashed rgba(0, 0, 0, 0.6);
|
|
818
|
+
border-radius: 15px 15px 15px 15px;
|
|
819
|
+
box-sizing: border-box;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.DropZone:hover {
|
|
823
|
+
background: var(--neutral-350, #f7f7f7);
|
|
824
|
+
opacity: 0.9;
|
|
825
|
+
cursor: copy;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.DropZone-label-container {
|
|
829
|
+
display: flex;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.DropZone svg {
|
|
833
|
+
border-radius: 55%;
|
|
834
|
+
background: var(--purple-purple-900-primary, var(--action));
|
|
835
|
+
border: 6px solid var(--action);
|
|
836
|
+
margin-top: 17px;
|
|
837
|
+
margin-right: 16px;
|
|
838
|
+
height: 1.5rem;
|
|
839
|
+
width: 1.5rem;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
/* AddFiles.tsx */ /* SelectedFiles.tsx */
|
|
843
|
+
.lastCol {
|
|
844
|
+
display: flex;
|
|
845
|
+
justify-content: flex-end;
|
|
846
|
+
max-width: 62px;
|
|
847
|
+
padding: 0;
|
|
848
|
+
margin: 0;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.fileInListContainer,
|
|
852
|
+
.inputContainer,
|
|
853
|
+
.DropZone {
|
|
854
|
+
max-width: 624px;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.fileListUnorderedList {
|
|
858
|
+
list-style: none !important;
|
|
859
|
+
padding: 0;
|
|
860
|
+
margin: 0;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.fileInList {
|
|
864
|
+
width: 100%;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.fileInList .row {
|
|
868
|
+
display: flex;
|
|
869
|
+
justify-content: space-between;
|
|
870
|
+
align-items: center;
|
|
871
|
+
max-width: 100% !important;
|
|
872
|
+
border: 0px solid black;
|
|
873
|
+
|
|
874
|
+
padding: 0px 0px;
|
|
875
|
+
--bs-gutter-x: 0px !important;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.fileInList .row .col {
|
|
879
|
+
padding: 0;
|
|
880
|
+
margin: 0;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.fileInList .row .lastCol {
|
|
884
|
+
display: flex;
|
|
885
|
+
justify-content: flex-end;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
.fileItem {
|
|
889
|
+
display: grid !important;
|
|
890
|
+
grid-template-columns: 26px 1fr 60px;
|
|
891
|
+
margin: 0 1px 1.3rem 0;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
.fileInList .makeSpace {
|
|
895
|
+
border-bottom: 1px solid #747474;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.desktopFileName,
|
|
899
|
+
.mobileFirstFileName {
|
|
900
|
+
display: block;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
.selectedFilesLinkButton {
|
|
904
|
+
display: flex;
|
|
905
|
+
padding: 0;
|
|
906
|
+
stroke-width: 2px;
|
|
907
|
+
stroke: var(--purple-900-primary, var(--action));
|
|
908
|
+
color: var(--purple-900-primary, var(--action));
|
|
909
|
+
font-size: 1.6rem;
|
|
910
|
+
line-height: 24px;
|
|
911
|
+
text-decoration: none;
|
|
912
|
+
cursor: pointer;
|
|
913
|
+
background-color: transparent;
|
|
914
|
+
border: 0px;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.selectedFilesLinkButton:hover {
|
|
918
|
+
color: var(--purple-900-primary, var(--action));
|
|
919
|
+
text-decoration: underline;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.addFilesMandatory {
|
|
923
|
+
margin-bottom: 16px;
|
|
924
|
+
margin-top: 0px;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.addFilesMandatory.error {
|
|
928
|
+
display: inline;
|
|
929
|
+
margin-bottom: 0px;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.pts-addFile-error-container {
|
|
933
|
+
position: relative;
|
|
934
|
+
display: flex;
|
|
935
|
+
max-width: 532px;
|
|
936
|
+
padding: 1.6rem 2.4rem 0 2.4rem;
|
|
937
|
+
margin: 0 0 1.6rem 0;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.pts-addFile-error-container li {
|
|
941
|
+
display: flex;
|
|
942
|
+
cursor: unset;
|
|
943
|
+
padding: 0 20px 0 0;
|
|
944
|
+
width: 100%;
|
|
945
|
+
margin-bottom: 1.6rem;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.addFile-error-list-container {
|
|
949
|
+
width: 95%;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.error-close {
|
|
953
|
+
line-height: unset;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.addfileserror {
|
|
957
|
+
margin: 0.8rem 0;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.errorMessageAddingFile {
|
|
961
|
+
color: var(--red-green-red, var(--error));
|
|
962
|
+
font-size: 1.3rem;
|
|
963
|
+
line-height: 1.6rem;
|
|
964
|
+
padding-top: 0.8rem !important;
|
|
965
|
+
max-width: 380px;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.uploadedDot {
|
|
969
|
+
border-radius: 17px;
|
|
970
|
+
background: var(--red-green-green, #008e55);
|
|
971
|
+
display: flex;
|
|
972
|
+
width: 1rem;
|
|
973
|
+
height: 1rem;
|
|
974
|
+
padding: 4px;
|
|
975
|
+
margin: 0 8px 10px 0;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
.uploadedDot svg {
|
|
979
|
+
width: 1rem;
|
|
980
|
+
height: 1rem;
|
|
981
|
+
stroke-width: 1.5px;
|
|
982
|
+
stroke: var(--neutral-300, #fff);
|
|
983
|
+
flex-shrink: 0;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
/* Indicator.tsx */
|
|
987
|
+
|
|
988
|
+
.uploadIndicator {
|
|
989
|
+
height: 6px;
|
|
990
|
+
flex-shrink: 0;
|
|
991
|
+
margin-top: 0px;
|
|
992
|
+
border-radius: 8px 8px 8px 8px;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.uploadIndicator.uploadDone {
|
|
996
|
+
width: 100%;
|
|
997
|
+
background: var(--red-green-green, #008e55);
|
|
998
|
+
}
|
|
999
|
+
.uploadIndicator.uploadFailed {
|
|
1000
|
+
width: 10%;
|
|
1001
|
+
background: var(--red-green-red, var(--error));
|
|
1002
|
+
}
|
|
1003
|
+
.uploadIndicator.uploadLoading {
|
|
1004
|
+
width: 50%;
|
|
1005
|
+
background: var(--red-green-red, rgb(211, 165, 0));
|
|
1006
|
+
}
|
|
1007
|
+
/* ---------- END FILE UPLOAD ---------- */
|