@qn-pandora/pandora-component 4.0.3 → 4.0.4
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/CHANGELOG.json +23 -0
- package/CHANGELOG.md +9 -1
- package/es/components/FileResumable/constants.d.ts +33 -0
- package/es/components/FileResumable/constants.js +0 -0
- package/es/components/FileResumable/index.d.ts +13 -0
- package/es/components/FileResumable/index.js +327 -0
- package/es/components/FileResumable/style.css +777 -0
- package/es/components/FileResumable/style.less +94 -0
- package/es/components/FileResumable/utils.d.ts +1 -0
- package/es/components/FileResumable/utils.js +17 -0
- package/es/constants/language/en.js +3 -1
- package/es/constants/language/type.d.ts +2 -0
- package/es/constants/language/upload/en.d.ts +3 -0
- package/es/constants/language/upload/en.js +20 -0
- package/es/constants/language/upload/type.d.ts +20 -0
- package/es/constants/language/upload/type.js +4 -0
- package/es/constants/language/upload/zh.d.ts +3 -0
- package/es/constants/language/upload/zh.js +20 -0
- package/es/constants/language/zh.js +3 -1
- package/es/index.css +2297 -1530
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.less +17 -16
- package/es/style/theme.less +1 -0
- package/lib/components/FileResumable/constants.d.ts +33 -0
- package/lib/components/FileResumable/constants.js +2 -0
- package/lib/components/FileResumable/index.d.ts +13 -0
- package/lib/components/FileResumable/index.js +340 -0
- package/lib/components/FileResumable/style.css +777 -0
- package/lib/components/FileResumable/style.less +94 -0
- package/lib/components/FileResumable/utils.d.ts +1 -0
- package/lib/components/FileResumable/utils.js +19 -0
- package/lib/constants/language/en.js +6 -1
- package/lib/constants/language/type.d.ts +2 -0
- package/lib/constants/language/upload/en.d.ts +3 -0
- package/lib/constants/language/upload/en.js +22 -0
- package/lib/constants/language/upload/type.d.ts +20 -0
- package/lib/constants/language/upload/type.js +9 -0
- package/lib/constants/language/upload/zh.d.ts +3 -0
- package/lib/constants/language/upload/zh.js +22 -0
- package/lib/constants/language/zh.js +6 -1
- package/lib/index.css +2086 -1319
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/index.less +8 -7
- package/lib/style/theme.less +1 -0
- package/package.json +6 -4
@@ -0,0 +1,777 @@
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
2
|
+
/* stylelint-disable no-duplicate-selectors */
|
3
|
+
/* stylelint-disable */
|
4
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
.ant-upload {
|
6
|
+
-webkit-box-sizing: border-box;
|
7
|
+
box-sizing: border-box;
|
8
|
+
margin: 0;
|
9
|
+
padding: 0;
|
10
|
+
color: rgba(0, 0, 0, 0.65);
|
11
|
+
font-size: 14px;
|
12
|
+
font-variant: tabular-nums;
|
13
|
+
line-height: 1.5715;
|
14
|
+
list-style: none;
|
15
|
+
-webkit-font-feature-settings: 'tnum';
|
16
|
+
font-feature-settings: 'tnum';
|
17
|
+
outline: 0;
|
18
|
+
}
|
19
|
+
.ant-upload p {
|
20
|
+
margin: 0;
|
21
|
+
}
|
22
|
+
.ant-upload-btn {
|
23
|
+
display: block;
|
24
|
+
width: 100%;
|
25
|
+
outline: none;
|
26
|
+
}
|
27
|
+
.ant-upload input[type='file'] {
|
28
|
+
cursor: pointer;
|
29
|
+
}
|
30
|
+
.ant-upload.ant-upload-select {
|
31
|
+
display: inline-block;
|
32
|
+
}
|
33
|
+
.ant-upload.ant-upload-disabled {
|
34
|
+
cursor: not-allowed;
|
35
|
+
}
|
36
|
+
.ant-upload.ant-upload-select-picture-card {
|
37
|
+
width: 104px;
|
38
|
+
height: 104px;
|
39
|
+
margin-right: 8px;
|
40
|
+
margin-bottom: 8px;
|
41
|
+
text-align: center;
|
42
|
+
vertical-align: top;
|
43
|
+
background-color: #fafafa;
|
44
|
+
border: 1px dashed #e5e5e5;
|
45
|
+
border-radius: 2px;
|
46
|
+
cursor: pointer;
|
47
|
+
-webkit-transition: border-color 0.3s;
|
48
|
+
transition: border-color 0.3s;
|
49
|
+
}
|
50
|
+
.ant-upload.ant-upload-select-picture-card > .ant-upload {
|
51
|
+
display: -webkit-box;
|
52
|
+
display: -ms-flexbox;
|
53
|
+
display: flex;
|
54
|
+
-webkit-box-align: center;
|
55
|
+
-ms-flex-align: center;
|
56
|
+
align-items: center;
|
57
|
+
-webkit-box-pack: center;
|
58
|
+
-ms-flex-pack: center;
|
59
|
+
justify-content: center;
|
60
|
+
height: 100%;
|
61
|
+
text-align: center;
|
62
|
+
}
|
63
|
+
.ant-upload.ant-upload-select-picture-card:hover {
|
64
|
+
border-color: #7a869a;
|
65
|
+
}
|
66
|
+
.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover {
|
67
|
+
border-color: #e5e5e5;
|
68
|
+
}
|
69
|
+
.ant-upload.ant-upload-drag {
|
70
|
+
position: relative;
|
71
|
+
width: 100%;
|
72
|
+
height: 100%;
|
73
|
+
text-align: center;
|
74
|
+
background: #fafafa;
|
75
|
+
border: 1px dashed #e5e5e5;
|
76
|
+
border-radius: 2px;
|
77
|
+
cursor: pointer;
|
78
|
+
-webkit-transition: border-color 0.3s;
|
79
|
+
transition: border-color 0.3s;
|
80
|
+
}
|
81
|
+
.ant-upload.ant-upload-drag .ant-upload {
|
82
|
+
padding: 16px 0;
|
83
|
+
}
|
84
|
+
.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled) {
|
85
|
+
border-color: #555f73;
|
86
|
+
}
|
87
|
+
.ant-upload.ant-upload-drag.ant-upload-disabled {
|
88
|
+
cursor: not-allowed;
|
89
|
+
}
|
90
|
+
.ant-upload.ant-upload-drag .ant-upload-btn {
|
91
|
+
display: table;
|
92
|
+
height: 100%;
|
93
|
+
}
|
94
|
+
.ant-upload.ant-upload-drag .ant-upload-drag-container {
|
95
|
+
display: table-cell;
|
96
|
+
vertical-align: middle;
|
97
|
+
}
|
98
|
+
.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover {
|
99
|
+
border-color: #9ca0a6;
|
100
|
+
}
|
101
|
+
.ant-upload.ant-upload-drag p.ant-upload-drag-icon {
|
102
|
+
margin-bottom: 20px;
|
103
|
+
}
|
104
|
+
.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon {
|
105
|
+
color: #9ca0a6;
|
106
|
+
font-size: 48px;
|
107
|
+
}
|
108
|
+
.ant-upload.ant-upload-drag p.ant-upload-text {
|
109
|
+
margin: 0 0 4px;
|
110
|
+
color: #333;
|
111
|
+
font-size: 16px;
|
112
|
+
}
|
113
|
+
.ant-upload.ant-upload-drag p.ant-upload-hint {
|
114
|
+
color: rgba(0, 0, 0, 0.45);
|
115
|
+
font-size: 14px;
|
116
|
+
}
|
117
|
+
.ant-upload.ant-upload-drag .anticon-plus {
|
118
|
+
color: rgba(0, 0, 0, 0.25);
|
119
|
+
font-size: 30px;
|
120
|
+
-webkit-transition: all 0.3s;
|
121
|
+
transition: all 0.3s;
|
122
|
+
}
|
123
|
+
.ant-upload.ant-upload-drag .anticon-plus:hover {
|
124
|
+
color: rgba(0, 0, 0, 0.45);
|
125
|
+
}
|
126
|
+
.ant-upload.ant-upload-drag:hover .anticon-plus {
|
127
|
+
color: rgba(0, 0, 0, 0.45);
|
128
|
+
}
|
129
|
+
.ant-upload-picture-card-wrapper {
|
130
|
+
display: inline-block;
|
131
|
+
width: 100%;
|
132
|
+
}
|
133
|
+
.ant-upload-picture-card-wrapper::before {
|
134
|
+
display: table;
|
135
|
+
content: '';
|
136
|
+
}
|
137
|
+
.ant-upload-picture-card-wrapper::after {
|
138
|
+
display: table;
|
139
|
+
clear: both;
|
140
|
+
content: '';
|
141
|
+
}
|
142
|
+
.ant-upload-list {
|
143
|
+
-webkit-box-sizing: border-box;
|
144
|
+
box-sizing: border-box;
|
145
|
+
margin: 0;
|
146
|
+
padding: 0;
|
147
|
+
color: rgba(0, 0, 0, 0.65);
|
148
|
+
font-size: 14px;
|
149
|
+
font-variant: tabular-nums;
|
150
|
+
list-style: none;
|
151
|
+
-webkit-font-feature-settings: 'tnum';
|
152
|
+
font-feature-settings: 'tnum';
|
153
|
+
line-height: 1.5715;
|
154
|
+
}
|
155
|
+
.ant-upload-list::before {
|
156
|
+
display: table;
|
157
|
+
content: '';
|
158
|
+
}
|
159
|
+
.ant-upload-list::after {
|
160
|
+
display: table;
|
161
|
+
clear: both;
|
162
|
+
content: '';
|
163
|
+
}
|
164
|
+
.ant-upload-list-item {
|
165
|
+
position: relative;
|
166
|
+
height: 22.001px;
|
167
|
+
margin-top: 8px;
|
168
|
+
font-size: 14px;
|
169
|
+
}
|
170
|
+
.ant-upload-list-item-name {
|
171
|
+
display: inline-block;
|
172
|
+
width: 100%;
|
173
|
+
padding-left: 22px;
|
174
|
+
overflow: hidden;
|
175
|
+
line-height: 1.5715;
|
176
|
+
white-space: nowrap;
|
177
|
+
text-overflow: ellipsis;
|
178
|
+
}
|
179
|
+
.ant-upload-list-item-card-actions {
|
180
|
+
position: absolute;
|
181
|
+
right: 0;
|
182
|
+
}
|
183
|
+
.ant-upload-list-item-card-actions-btn {
|
184
|
+
opacity: 0;
|
185
|
+
}
|
186
|
+
.ant-upload-list-item-card-actions-btn.ant-btn-sm {
|
187
|
+
height: 20px;
|
188
|
+
line-height: 1;
|
189
|
+
}
|
190
|
+
.ant-upload-list-item-card-actions.picture {
|
191
|
+
top: 22px;
|
192
|
+
line-height: 0;
|
193
|
+
}
|
194
|
+
.ant-upload-list-item-card-actions-btn:focus,
|
195
|
+
.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn {
|
196
|
+
opacity: 1;
|
197
|
+
}
|
198
|
+
.ant-upload-list-item-card-actions .anticon {
|
199
|
+
color: rgba(0, 0, 0, 0.45);
|
200
|
+
}
|
201
|
+
.ant-upload-list-item-info {
|
202
|
+
height: 100%;
|
203
|
+
padding: 0 4px;
|
204
|
+
-webkit-transition: background-color 0.3s;
|
205
|
+
transition: background-color 0.3s;
|
206
|
+
}
|
207
|
+
.ant-upload-list-item-info > span {
|
208
|
+
display: block;
|
209
|
+
width: 100%;
|
210
|
+
height: 100%;
|
211
|
+
}
|
212
|
+
.ant-upload-list-item-info .anticon-loading .anticon,
|
213
|
+
.ant-upload-list-item-info .ant-upload-text-icon .anticon {
|
214
|
+
position: absolute;
|
215
|
+
top: 5px;
|
216
|
+
color: rgba(0, 0, 0, 0.45);
|
217
|
+
font-size: 14px;
|
218
|
+
}
|
219
|
+
.ant-upload-list-item .anticon-close {
|
220
|
+
position: absolute;
|
221
|
+
top: 6px;
|
222
|
+
right: 4px;
|
223
|
+
color: rgba(0, 0, 0, 0.45);
|
224
|
+
font-size: 10px;
|
225
|
+
line-height: 0;
|
226
|
+
cursor: pointer;
|
227
|
+
opacity: 0;
|
228
|
+
-webkit-transition: all 0.3s;
|
229
|
+
transition: all 0.3s;
|
230
|
+
}
|
231
|
+
.ant-upload-list-item .anticon-close:hover {
|
232
|
+
color: rgba(0, 0, 0, 0.65);
|
233
|
+
}
|
234
|
+
.ant-upload-list-item:hover .ant-upload-list-item-info {
|
235
|
+
background-color: rgba(44, 109, 210, 0.05);
|
236
|
+
}
|
237
|
+
.ant-upload-list-item:hover .anticon-close {
|
238
|
+
opacity: 1;
|
239
|
+
}
|
240
|
+
.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn {
|
241
|
+
opacity: 1;
|
242
|
+
}
|
243
|
+
.ant-upload-list-item-error,
|
244
|
+
.ant-upload-list-item-error .ant-upload-text-icon > .anticon,
|
245
|
+
.ant-upload-list-item-error .ant-upload-list-item-name {
|
246
|
+
color: #f5222d;
|
247
|
+
}
|
248
|
+
.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {
|
249
|
+
color: #f5222d;
|
250
|
+
}
|
251
|
+
.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn {
|
252
|
+
opacity: 1;
|
253
|
+
}
|
254
|
+
.ant-upload-list-item-progress {
|
255
|
+
position: absolute;
|
256
|
+
bottom: -12px;
|
257
|
+
width: 100%;
|
258
|
+
padding-left: 26px;
|
259
|
+
font-size: 14px;
|
260
|
+
line-height: 0;
|
261
|
+
}
|
262
|
+
.ant-upload-list-picture .ant-upload-list-item,
|
263
|
+
.ant-upload-list-picture-card .ant-upload-list-item {
|
264
|
+
position: relative;
|
265
|
+
height: 66px;
|
266
|
+
padding: 8px;
|
267
|
+
border: 1px solid #e5e5e5;
|
268
|
+
border-radius: 2px;
|
269
|
+
}
|
270
|
+
.ant-upload-list-picture .ant-upload-list-item:hover,
|
271
|
+
.ant-upload-list-picture-card .ant-upload-list-item:hover {
|
272
|
+
background: transparent;
|
273
|
+
}
|
274
|
+
.ant-upload-list-picture .ant-upload-list-item-error,
|
275
|
+
.ant-upload-list-picture-card .ant-upload-list-item-error {
|
276
|
+
border-color: #f5222d;
|
277
|
+
}
|
278
|
+
.ant-upload-list-picture .ant-upload-list-item-info,
|
279
|
+
.ant-upload-list-picture-card .ant-upload-list-item-info {
|
280
|
+
padding: 0;
|
281
|
+
}
|
282
|
+
.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,
|
283
|
+
.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info {
|
284
|
+
background: transparent;
|
285
|
+
}
|
286
|
+
.ant-upload-list-picture .ant-upload-list-item-uploading,
|
287
|
+
.ant-upload-list-picture-card .ant-upload-list-item-uploading {
|
288
|
+
border-style: dashed;
|
289
|
+
}
|
290
|
+
.ant-upload-list-picture .ant-upload-list-item-thumbnail,
|
291
|
+
.ant-upload-list-picture-card .ant-upload-list-item-thumbnail {
|
292
|
+
width: 48px;
|
293
|
+
height: 48px;
|
294
|
+
line-height: 60px;
|
295
|
+
text-align: center;
|
296
|
+
opacity: 0.8;
|
297
|
+
}
|
298
|
+
.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,
|
299
|
+
.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon {
|
300
|
+
font-size: 26px;
|
301
|
+
}
|
302
|
+
.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'],
|
303
|
+
.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'] {
|
304
|
+
fill: #fff1f0;
|
305
|
+
}
|
306
|
+
.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'],
|
307
|
+
.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'] {
|
308
|
+
fill: #f5222d;
|
309
|
+
}
|
310
|
+
.ant-upload-list-picture .ant-upload-list-item-icon,
|
311
|
+
.ant-upload-list-picture-card .ant-upload-list-item-icon {
|
312
|
+
position: absolute;
|
313
|
+
top: 50%;
|
314
|
+
left: 50%;
|
315
|
+
font-size: 26px;
|
316
|
+
-webkit-transform: translate(-50%, -50%);
|
317
|
+
transform: translate(-50%, -50%);
|
318
|
+
}
|
319
|
+
.ant-upload-list-picture .ant-upload-list-item-icon .anticon,
|
320
|
+
.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon {
|
321
|
+
font-size: 26px;
|
322
|
+
}
|
323
|
+
.ant-upload-list-picture .ant-upload-list-item-image,
|
324
|
+
.ant-upload-list-picture-card .ant-upload-list-item-image {
|
325
|
+
max-width: 100%;
|
326
|
+
}
|
327
|
+
.ant-upload-list-picture .ant-upload-list-item-thumbnail img,
|
328
|
+
.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img {
|
329
|
+
display: block;
|
330
|
+
width: 48px;
|
331
|
+
height: 48px;
|
332
|
+
overflow: hidden;
|
333
|
+
}
|
334
|
+
.ant-upload-list-picture .ant-upload-list-item-name,
|
335
|
+
.ant-upload-list-picture-card .ant-upload-list-item-name {
|
336
|
+
display: inline-block;
|
337
|
+
-webkit-box-sizing: border-box;
|
338
|
+
box-sizing: border-box;
|
339
|
+
max-width: 100%;
|
340
|
+
margin: 0 0 0 8px;
|
341
|
+
padding-right: 8px;
|
342
|
+
padding-left: 48px;
|
343
|
+
overflow: hidden;
|
344
|
+
line-height: 44px;
|
345
|
+
white-space: nowrap;
|
346
|
+
text-overflow: ellipsis;
|
347
|
+
-webkit-transition: all 0.3s;
|
348
|
+
transition: all 0.3s;
|
349
|
+
}
|
350
|
+
.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,
|
351
|
+
.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name {
|
352
|
+
margin-bottom: 12px;
|
353
|
+
}
|
354
|
+
.ant-upload-list-picture .ant-upload-list-item-progress,
|
355
|
+
.ant-upload-list-picture-card .ant-upload-list-item-progress {
|
356
|
+
bottom: 14px;
|
357
|
+
width: calc(100% - 24px);
|
358
|
+
margin-top: 0;
|
359
|
+
padding-left: 56px;
|
360
|
+
}
|
361
|
+
.ant-upload-list-picture .anticon-close,
|
362
|
+
.ant-upload-list-picture-card .anticon-close {
|
363
|
+
position: absolute;
|
364
|
+
top: 8px;
|
365
|
+
right: 8px;
|
366
|
+
line-height: 1;
|
367
|
+
opacity: 1;
|
368
|
+
}
|
369
|
+
.ant-upload-list-picture-card-container {
|
370
|
+
display: inline-block;
|
371
|
+
width: 104px;
|
372
|
+
height: 104px;
|
373
|
+
margin: 0 8px 8px 0;
|
374
|
+
vertical-align: top;
|
375
|
+
}
|
376
|
+
.ant-upload-list-picture-card.ant-upload-list::after {
|
377
|
+
display: none;
|
378
|
+
}
|
379
|
+
.ant-upload-list-picture-card .ant-upload-list-item {
|
380
|
+
height: 100%;
|
381
|
+
margin: 0;
|
382
|
+
}
|
383
|
+
.ant-upload-list-picture-card .ant-upload-list-item-info {
|
384
|
+
position: relative;
|
385
|
+
height: 100%;
|
386
|
+
overflow: hidden;
|
387
|
+
}
|
388
|
+
.ant-upload-list-picture-card .ant-upload-list-item-info::before {
|
389
|
+
position: absolute;
|
390
|
+
z-index: 1;
|
391
|
+
width: 100%;
|
392
|
+
height: 100%;
|
393
|
+
background-color: rgba(0, 0, 0, 0.5);
|
394
|
+
opacity: 0;
|
395
|
+
-webkit-transition: all 0.3s;
|
396
|
+
transition: all 0.3s;
|
397
|
+
content: ' ';
|
398
|
+
}
|
399
|
+
.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info::before {
|
400
|
+
opacity: 1;
|
401
|
+
}
|
402
|
+
.ant-upload-list-picture-card .ant-upload-list-item-actions {
|
403
|
+
position: absolute;
|
404
|
+
top: 50%;
|
405
|
+
left: 50%;
|
406
|
+
z-index: 10;
|
407
|
+
white-space: nowrap;
|
408
|
+
-webkit-transform: translate(-50%, -50%);
|
409
|
+
transform: translate(-50%, -50%);
|
410
|
+
opacity: 0;
|
411
|
+
-webkit-transition: all 0.3s;
|
412
|
+
transition: all 0.3s;
|
413
|
+
}
|
414
|
+
.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye,
|
415
|
+
.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,
|
416
|
+
.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete {
|
417
|
+
z-index: 10;
|
418
|
+
width: 16px;
|
419
|
+
margin: 0 4px;
|
420
|
+
color: rgba(255, 255, 255, 0.85);
|
421
|
+
font-size: 16px;
|
422
|
+
cursor: pointer;
|
423
|
+
-webkit-transition: all 0.3s;
|
424
|
+
transition: all 0.3s;
|
425
|
+
}
|
426
|
+
.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover,
|
427
|
+
.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,
|
428
|
+
.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover {
|
429
|
+
color: #fff;
|
430
|
+
}
|
431
|
+
.ant-upload-list-picture-card .ant-upload-list-item-info:hover + .ant-upload-list-item-actions,
|
432
|
+
.ant-upload-list-picture-card .ant-upload-list-item-actions:hover {
|
433
|
+
opacity: 1;
|
434
|
+
}
|
435
|
+
.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,
|
436
|
+
.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img {
|
437
|
+
position: static;
|
438
|
+
display: block;
|
439
|
+
width: 100%;
|
440
|
+
height: 100%;
|
441
|
+
-o-object-fit: contain;
|
442
|
+
object-fit: contain;
|
443
|
+
}
|
444
|
+
.ant-upload-list-picture-card .ant-upload-list-item-name {
|
445
|
+
display: none;
|
446
|
+
margin: 8px 0 0;
|
447
|
+
padding: 0;
|
448
|
+
line-height: 1.5715;
|
449
|
+
text-align: center;
|
450
|
+
}
|
451
|
+
.ant-upload-list-picture-card .ant-upload-list-item-file + .ant-upload-list-item-name {
|
452
|
+
position: absolute;
|
453
|
+
bottom: 10px;
|
454
|
+
display: block;
|
455
|
+
}
|
456
|
+
.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item {
|
457
|
+
background-color: #fafafa;
|
458
|
+
}
|
459
|
+
.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info {
|
460
|
+
height: auto;
|
461
|
+
}
|
462
|
+
.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info::before,
|
463
|
+
.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,
|
464
|
+
.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete {
|
465
|
+
display: none;
|
466
|
+
}
|
467
|
+
.ant-upload-list-picture-card .ant-upload-list-item-progress {
|
468
|
+
bottom: 32px;
|
469
|
+
width: calc(100% - 14px);
|
470
|
+
padding-left: 0;
|
471
|
+
}
|
472
|
+
.ant-upload-list-text-container,
|
473
|
+
.ant-upload-list-picture-container {
|
474
|
+
-webkit-transition: opacity 0.3s, height 0.3s;
|
475
|
+
transition: opacity 0.3s, height 0.3s;
|
476
|
+
}
|
477
|
+
.ant-upload-list-text-container::before,
|
478
|
+
.ant-upload-list-picture-container::before {
|
479
|
+
display: table;
|
480
|
+
width: 0;
|
481
|
+
height: 0;
|
482
|
+
content: '';
|
483
|
+
}
|
484
|
+
.ant-upload-list-text-container .ant-upload-span,
|
485
|
+
.ant-upload-list-picture-container .ant-upload-span {
|
486
|
+
display: block;
|
487
|
+
-webkit-box-flex: 1;
|
488
|
+
-ms-flex: auto;
|
489
|
+
flex: auto;
|
490
|
+
}
|
491
|
+
.ant-upload-list-text .ant-upload-span,
|
492
|
+
.ant-upload-list-picture .ant-upload-span {
|
493
|
+
display: -webkit-box;
|
494
|
+
display: -ms-flexbox;
|
495
|
+
display: flex;
|
496
|
+
-webkit-box-align: center;
|
497
|
+
-ms-flex-align: center;
|
498
|
+
align-items: center;
|
499
|
+
}
|
500
|
+
.ant-upload-list-text .ant-upload-span > *,
|
501
|
+
.ant-upload-list-picture .ant-upload-span > * {
|
502
|
+
-webkit-box-flex: 0;
|
503
|
+
-ms-flex: none;
|
504
|
+
flex: none;
|
505
|
+
}
|
506
|
+
.ant-upload-list-text .ant-upload-list-item-name,
|
507
|
+
.ant-upload-list-picture .ant-upload-list-item-name {
|
508
|
+
-webkit-box-flex: 1;
|
509
|
+
-ms-flex: auto;
|
510
|
+
flex: auto;
|
511
|
+
margin: 0;
|
512
|
+
padding: 0 8px;
|
513
|
+
}
|
514
|
+
.ant-upload-list-text .ant-upload-list-item-card-actions,
|
515
|
+
.ant-upload-list-picture .ant-upload-list-item-card-actions {
|
516
|
+
position: static;
|
517
|
+
}
|
518
|
+
.ant-upload-list-text .ant-upload-text-icon .anticon {
|
519
|
+
position: static;
|
520
|
+
}
|
521
|
+
.ant-upload-list .ant-upload-animate-inline-appear,
|
522
|
+
.ant-upload-list .ant-upload-animate-inline-enter,
|
523
|
+
.ant-upload-list .ant-upload-animate-inline-leave {
|
524
|
+
-webkit-animation-duration: 0.3s;
|
525
|
+
animation-duration: 0.3s;
|
526
|
+
-webkit-animation-fill-mode: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
527
|
+
animation-fill-mode: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
528
|
+
}
|
529
|
+
.ant-upload-list .ant-upload-animate-inline-appear,
|
530
|
+
.ant-upload-list .ant-upload-animate-inline-enter {
|
531
|
+
-webkit-animation-name: uploadAnimateInlineIn;
|
532
|
+
animation-name: uploadAnimateInlineIn;
|
533
|
+
}
|
534
|
+
.ant-upload-list .ant-upload-animate-inline-leave {
|
535
|
+
-webkit-animation-name: uploadAnimateInlineOut;
|
536
|
+
animation-name: uploadAnimateInlineOut;
|
537
|
+
}
|
538
|
+
@-webkit-keyframes uploadAnimateInlineIn {
|
539
|
+
from {
|
540
|
+
width: 0;
|
541
|
+
height: 0;
|
542
|
+
margin: 0;
|
543
|
+
padding: 0;
|
544
|
+
opacity: 0;
|
545
|
+
}
|
546
|
+
}
|
547
|
+
@keyframes uploadAnimateInlineIn {
|
548
|
+
from {
|
549
|
+
width: 0;
|
550
|
+
height: 0;
|
551
|
+
margin: 0;
|
552
|
+
padding: 0;
|
553
|
+
opacity: 0;
|
554
|
+
}
|
555
|
+
}
|
556
|
+
@-webkit-keyframes uploadAnimateInlineOut {
|
557
|
+
to {
|
558
|
+
width: 0;
|
559
|
+
height: 0;
|
560
|
+
margin: 0;
|
561
|
+
padding: 0;
|
562
|
+
opacity: 0;
|
563
|
+
}
|
564
|
+
}
|
565
|
+
@keyframes uploadAnimateInlineOut {
|
566
|
+
to {
|
567
|
+
width: 0;
|
568
|
+
height: 0;
|
569
|
+
margin: 0;
|
570
|
+
padding: 0;
|
571
|
+
opacity: 0;
|
572
|
+
}
|
573
|
+
}
|
574
|
+
.ant-upload-rtl {
|
575
|
+
direction: rtl;
|
576
|
+
}
|
577
|
+
.ant-upload-rtl.ant-upload.ant-upload-select-picture-card {
|
578
|
+
margin-right: auto;
|
579
|
+
margin-left: 8px;
|
580
|
+
}
|
581
|
+
.ant-upload-list-rtl {
|
582
|
+
direction: rtl;
|
583
|
+
}
|
584
|
+
.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1 {
|
585
|
+
padding-right: 22px;
|
586
|
+
padding-left: 14px;
|
587
|
+
}
|
588
|
+
.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2 {
|
589
|
+
padding-right: 22px;
|
590
|
+
padding-left: 28px;
|
591
|
+
}
|
592
|
+
.ant-upload-list-rtl .ant-upload-list-item-name {
|
593
|
+
padding-right: 22px;
|
594
|
+
padding-left: 0;
|
595
|
+
}
|
596
|
+
.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1 {
|
597
|
+
padding-left: 14px;
|
598
|
+
}
|
599
|
+
.ant-upload-list-rtl .ant-upload-list-item-card-actions {
|
600
|
+
right: auto;
|
601
|
+
left: 0;
|
602
|
+
}
|
603
|
+
.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon {
|
604
|
+
padding-right: 0;
|
605
|
+
padding-left: 5px;
|
606
|
+
}
|
607
|
+
.ant-upload-list-rtl .ant-upload-list-item-info {
|
608
|
+
padding: 0 4px 0 12px;
|
609
|
+
}
|
610
|
+
.ant-upload-list-rtl .ant-upload-list-item .anticon-close {
|
611
|
+
right: auto;
|
612
|
+
left: 4px;
|
613
|
+
}
|
614
|
+
.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {
|
615
|
+
padding-right: 0;
|
616
|
+
padding-left: 5px;
|
617
|
+
}
|
618
|
+
.ant-upload-list-rtl .ant-upload-list-item-progress {
|
619
|
+
padding-right: 26px;
|
620
|
+
padding-left: 0;
|
621
|
+
}
|
622
|
+
.ant-upload-list-picture .ant-upload-list-item-info,
|
623
|
+
.ant-upload-list-picture-card .ant-upload-list-item-info {
|
624
|
+
padding: 0;
|
625
|
+
}
|
626
|
+
.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,
|
627
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail {
|
628
|
+
right: 8px;
|
629
|
+
left: auto;
|
630
|
+
}
|
631
|
+
.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,
|
632
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon {
|
633
|
+
right: 50%;
|
634
|
+
left: auto;
|
635
|
+
-webkit-transform: translate(50%, -50%);
|
636
|
+
transform: translate(50%, -50%);
|
637
|
+
}
|
638
|
+
.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,
|
639
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name {
|
640
|
+
margin: 0 8px 0 0;
|
641
|
+
padding-right: 48px;
|
642
|
+
padding-left: 8px;
|
643
|
+
}
|
644
|
+
.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,
|
645
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1 {
|
646
|
+
padding-right: 48px;
|
647
|
+
padding-left: 18px;
|
648
|
+
}
|
649
|
+
.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,
|
650
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2 {
|
651
|
+
padding-right: 48px;
|
652
|
+
padding-left: 36px;
|
653
|
+
}
|
654
|
+
.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,
|
655
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress {
|
656
|
+
padding-right: 0;
|
657
|
+
padding-left: 0;
|
658
|
+
}
|
659
|
+
.ant-upload-list-rtl.ant-upload-list-picture .anticon-close,
|
660
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .anticon-close {
|
661
|
+
right: auto;
|
662
|
+
left: 8px;
|
663
|
+
}
|
664
|
+
.ant-upload-list-rtl .ant-upload-list-picture-card-container {
|
665
|
+
margin: 0 0 8px 8px;
|
666
|
+
}
|
667
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions {
|
668
|
+
right: 50%;
|
669
|
+
left: auto;
|
670
|
+
-webkit-transform: translate(50%, -50%);
|
671
|
+
transform: translate(50%, -50%);
|
672
|
+
}
|
673
|
+
.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file + .ant-upload-list-item-name {
|
674
|
+
margin: 8px 0 0;
|
675
|
+
padding: 0;
|
676
|
+
}
|
677
|
+
.ant-btn {
|
678
|
+
padding: 4px 15px;
|
679
|
+
}
|
680
|
+
.ant-btn-sm {
|
681
|
+
padding: 0 7px;
|
682
|
+
}
|
683
|
+
.pandora-sdk-file-resumable {
|
684
|
+
cursor: pointer;
|
685
|
+
}
|
686
|
+
.pandora-sdk-file-resumable-run-container {
|
687
|
+
text-align: right;
|
688
|
+
}
|
689
|
+
.pandora-sdk-file-resumable-run-container .pandora-sdk-file-resumable-run-container-icon {
|
690
|
+
color: #2c6dd2;
|
691
|
+
cursor: pointer;
|
692
|
+
font-size: 14px;
|
693
|
+
margin: 0 6px;
|
694
|
+
}
|
695
|
+
.pandora-sdk-file-resumable-run-container .pandora-sdk-file-resumable-run-container-icon-disabled {
|
696
|
+
color: #d9d9d9;
|
697
|
+
}
|
698
|
+
.pandora-sdk-file-resumable-run-container .pandora-sdk-file-resumable-run-container-icon-disabled:hover {
|
699
|
+
cursor: not-allowed;
|
700
|
+
}
|
701
|
+
.pandora-sdk-file-resumable-upload-icon {
|
702
|
+
font-size: 50px;
|
703
|
+
color: #bfbfbf;
|
704
|
+
}
|
705
|
+
.downloadIcon {
|
706
|
+
color: #2c6dd2;
|
707
|
+
cursor: pointer;
|
708
|
+
font-size: 20px;
|
709
|
+
}
|
710
|
+
.pandora-sdk-file-resumable:hover {
|
711
|
+
border-color: #2c6dd2;
|
712
|
+
}
|
713
|
+
.pandora-sdk-file-resumable-img-container {
|
714
|
+
background: #ffffff;
|
715
|
+
border: 1px dashed #d9d9d9;
|
716
|
+
width: 50px;
|
717
|
+
height: 50px;
|
718
|
+
padding: 4px;
|
719
|
+
border-radius: 2px;
|
720
|
+
-webkit-box-align: center;
|
721
|
+
-ms-flex-align: center;
|
722
|
+
align-items: center;
|
723
|
+
cursor: pointer;
|
724
|
+
position: relative;
|
725
|
+
font-size: 16px;
|
726
|
+
display: -webkit-box;
|
727
|
+
display: -ms-flexbox;
|
728
|
+
display: flex;
|
729
|
+
-webkit-box-pack: center;
|
730
|
+
-ms-flex-pack: center;
|
731
|
+
justify-content: center;
|
732
|
+
}
|
733
|
+
.pandora-sdk-file-resumable-img-container .pandora-sdk-file-resumable-img-operator {
|
734
|
+
display: -webkit-box;
|
735
|
+
display: -ms-flexbox;
|
736
|
+
display: flex;
|
737
|
+
-webkit-box-pack: center;
|
738
|
+
-ms-flex-pack: center;
|
739
|
+
justify-content: center;
|
740
|
+
-webkit-box-align: center;
|
741
|
+
-ms-flex-align: center;
|
742
|
+
align-items: center;
|
743
|
+
position: absolute;
|
744
|
+
top: 4px;
|
745
|
+
left: 4px;
|
746
|
+
right: 4px;
|
747
|
+
bottom: 4px;
|
748
|
+
}
|
749
|
+
.pandora-sdk-file-resumable-img-container .pandora-sdk-file-resumable-img-operator .anticon {
|
750
|
+
font-size: 16px;
|
751
|
+
}
|
752
|
+
.pandora-sdk-file-resumable-img-container .pandora-sdk-file-resumable-img-hidden-plus-icon {
|
753
|
+
display: none;
|
754
|
+
}
|
755
|
+
.pandora-sdk-file-resumable-img-container .pandora-sdk-file-resumable-img-box {
|
756
|
+
max-width: 100%;
|
757
|
+
max-height: 100%;
|
758
|
+
padding: 4px;
|
759
|
+
}
|
760
|
+
.pandora-sdk-file-resumable-img-container:hover .pandora-sdk-file-resumable-img-operator {
|
761
|
+
background: rgba(51, 51, 51, 0.7);
|
762
|
+
display: -webkit-box;
|
763
|
+
display: -ms-flexbox;
|
764
|
+
display: flex;
|
765
|
+
}
|
766
|
+
.pandora-sdk-file-resumable-img-container:hover .pandora-sdk-file-resumable-img-operator .anticon {
|
767
|
+
font-size: 16px;
|
768
|
+
color: #ffffff;
|
769
|
+
}
|
770
|
+
.pandora-sdk-file-resumable-img.ant-upload.ant-upload-drag {
|
771
|
+
width: 50px;
|
772
|
+
height: 50px;
|
773
|
+
border: none;
|
774
|
+
}
|
775
|
+
.pandora-sdk-file-resumable-img.ant-upload.ant-upload-drag .ant-upload-btn {
|
776
|
+
padding: 0;
|
777
|
+
}
|