fixed-vuesax 3.14.1 → 3.14.2
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/LICENSE +21 -21
- package/README.md +187 -187
- package/dist/style/colors.styl +30 -30
- package/dist/style/components/vsAlert.styl +66 -66
- package/dist/style/components/vsAvatar.styl +64 -64
- package/dist/style/components/vsBreadcrumb.styl +50 -50
- package/dist/style/components/vsButton.styl +181 -181
- package/dist/style/components/vsCard.styl +64 -64
- package/dist/style/components/vsCheckBox.styl +111 -111
- package/dist/style/components/vsChip.styl +122 -122
- package/dist/style/components/vsCollapse.styl +109 -109
- package/dist/style/components/vsDivider.styl +34 -34
- package/dist/style/components/vsDropDown.styl +231 -231
- package/dist/style/components/vsIcon.styl +47 -47
- package/dist/style/components/vsImages.styl +166 -166
- package/dist/style/components/vsInput.styl +219 -219
- package/dist/style/components/vsInputNumber.styl +170 -170
- package/dist/style/components/vsList.styl +49 -49
- package/dist/style/components/vsLoading.styl +397 -397
- package/dist/style/components/vsNavbar.styl +286 -286
- package/dist/style/components/vsNotifications.styl +92 -92
- package/dist/style/components/vsPagination.styl +143 -143
- package/dist/style/components/vsPopup.styl +159 -159
- package/dist/style/components/vsProgress.styl +45 -45
- package/dist/style/components/vsRadio.styl +93 -93
- package/dist/style/components/vsSelect.styl +219 -219
- package/dist/style/components/vsSideBar.styl +267 -267
- package/dist/style/components/vsSlider.styl +196 -196
- package/dist/style/components/vsSpacer.styl +5 -5
- package/dist/style/components/vsSwitch.styl +93 -93
- package/dist/style/components/vsTable.styl +408 -408
- package/dist/style/components/vsTabs.styl +280 -280
- package/dist/style/components/vsTextarea.styl +82 -82
- package/dist/style/components/vsTimePicker.styl +42 -42
- package/dist/style/components/vsTooltip.styl +85 -85
- package/dist/style/components/vsUpload.styl +460 -460
- package/dist/style/mixins.styl +133 -133
- package/dist/style/root.styl +9 -9
- package/dist/style/vars.styl +45 -45
- package/dist/style/vuesax.styl +25 -25
- package/dist/vuesax.common.js +1 -1
- package/dist/vuesax.common.js.map +1 -1
- package/dist/vuesax.umd.js +1 -1
- package/dist/vuesax.umd.js.map +1 -1
- package/dist/vuesax.umd.min.js +1 -1
- package/dist/vuesax.umd.min.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,460 +1,460 @@
|
|
|
1
|
-
.con-upload
|
|
2
|
-
width: 100%
|
|
3
|
-
position relative
|
|
4
|
-
|
|
5
|
-
.con-input-upload
|
|
6
|
-
background: rgb(245, 245, 245)
|
|
7
|
-
width: 200px;
|
|
8
|
-
height 200px
|
|
9
|
-
box-sizing: border-box
|
|
10
|
-
border-radius: 8px
|
|
11
|
-
position relative
|
|
12
|
-
// padding: 5px;
|
|
13
|
-
transition: all .25s ease
|
|
14
|
-
border: 1px dashed rgba(0, 0, 0, .1)
|
|
15
|
-
display: flex
|
|
16
|
-
align-items: center
|
|
17
|
-
justify-content: center
|
|
18
|
-
flex-direction: column
|
|
19
|
-
margin: 15px
|
|
20
|
-
// margin-top: 5px
|
|
21
|
-
dirValue(float, left)
|
|
22
|
-
|
|
23
|
-
&:hover
|
|
24
|
-
border: 1px dashed getColor(primary, .5)
|
|
25
|
-
|
|
26
|
-
&.disabled-upload
|
|
27
|
-
opacity: 0
|
|
28
|
-
pointer-events: none
|
|
29
|
-
user-select: none
|
|
30
|
-
display: none
|
|
31
|
-
|
|
32
|
-
input
|
|
33
|
-
position: absolute
|
|
34
|
-
width: 100%;
|
|
35
|
-
height 100%;
|
|
36
|
-
opacity 0;
|
|
37
|
-
left 0
|
|
38
|
-
top: 0
|
|
39
|
-
cursor pointer
|
|
40
|
-
|
|
41
|
-
.text-input
|
|
42
|
-
min-width: 200px;
|
|
43
|
-
display block
|
|
44
|
-
text-align: center
|
|
45
|
-
margin: 0 !important
|
|
46
|
-
padding: 0 !important
|
|
47
|
-
width: 100%;
|
|
48
|
-
font-weight: bold
|
|
49
|
-
|
|
50
|
-
.input-progress
|
|
51
|
-
height 100%;
|
|
52
|
-
position absolute
|
|
53
|
-
display: block
|
|
54
|
-
left 0;
|
|
55
|
-
top: 0;
|
|
56
|
-
width: 29%
|
|
57
|
-
background: getColor('primary')
|
|
58
|
-
border-radius: 10px
|
|
59
|
-
|
|
60
|
-
&.on-progress-all-upload
|
|
61
|
-
width: 100%;
|
|
62
|
-
height 4px;
|
|
63
|
-
overflow hidden
|
|
64
|
-
padding: 0;
|
|
65
|
-
border: 0 solid rgba(0, 0, 0, 0)
|
|
66
|
-
|
|
67
|
-
.text-input, .vs-upload--button-upload
|
|
68
|
-
opacity 0
|
|
69
|
-
transform: translate(-40px)
|
|
70
|
-
|
|
71
|
-
&.is-ready-all-upload
|
|
72
|
-
.input-progress
|
|
73
|
-
background: getColor(success, 1) !important
|
|
74
|
-
|
|
75
|
-
.vs-upload--button-upload
|
|
76
|
-
position absolute
|
|
77
|
-
border: 0;
|
|
78
|
-
padding: 4px;
|
|
79
|
-
border-radius: 0 0 5px 5px;
|
|
80
|
-
padding-left: 6px;
|
|
81
|
-
padding-right: 6px;
|
|
82
|
-
font-size: .8rem
|
|
83
|
-
z-index 500
|
|
84
|
-
cursor pointer
|
|
85
|
-
margin: 0;
|
|
86
|
-
color: getColor('primary')
|
|
87
|
-
transition: all .2s ease
|
|
88
|
-
box-shadow: 0 0 0 0 rgba(0, 0, 0, .05)
|
|
89
|
-
background: rgba(0, 0, 0, .03)
|
|
90
|
-
bottom: 0
|
|
91
|
-
width: 100%
|
|
92
|
-
|
|
93
|
-
&:disabled
|
|
94
|
-
opacity .4
|
|
95
|
-
pointer-events: none
|
|
96
|
-
|
|
97
|
-
&:hover
|
|
98
|
-
// box-shadow: 0 5px 20px 0 rgba(0,0,0,.1)
|
|
99
|
-
padding-bottom: 10px
|
|
100
|
-
padding-top: 10px
|
|
101
|
-
background: getColor('primary')
|
|
102
|
-
color rgb(255, 255, 255)
|
|
103
|
-
|
|
104
|
-
.con-img-upload
|
|
105
|
-
width: 100%
|
|
106
|
-
background: rgb(255, 255, 255)
|
|
107
|
-
position relative
|
|
108
|
-
border-radius: 10px;
|
|
109
|
-
margin-top: 5px;
|
|
110
|
-
padding-right: 5px;
|
|
111
|
-
box-sizing: border-box
|
|
112
|
-
column-gap: 5px;
|
|
113
|
-
overflow hidden
|
|
114
|
-
|
|
115
|
-
.img-upload
|
|
116
|
-
backface-visibility: hidden
|
|
117
|
-
dirValue(float, left)
|
|
118
|
-
overflow hidden
|
|
119
|
-
border-radius: 10px;
|
|
120
|
-
background: rgba(0, 80, 0, .5)
|
|
121
|
-
background: rgb(255, 255, 255)
|
|
122
|
-
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .1)
|
|
123
|
-
transition: all .3s ease;
|
|
124
|
-
display flex
|
|
125
|
-
align-items: center
|
|
126
|
-
justify-content: center
|
|
127
|
-
flex-direction: column
|
|
128
|
-
width: 200px;
|
|
129
|
-
height 200px;
|
|
130
|
-
margin: 5px
|
|
131
|
-
position relative
|
|
132
|
-
cursor pointer
|
|
133
|
-
|
|
134
|
-
&.fileError
|
|
135
|
-
border: 1px solid getColor('danger', .2)
|
|
136
|
-
box-shadow: 0 5px 20px 0 getColor('danger', .2)
|
|
137
|
-
|
|
138
|
-
.btn-upload-file
|
|
139
|
-
background: getColor('danger', .3) !important
|
|
140
|
-
|
|
141
|
-
i
|
|
142
|
-
background: getColor('danger') !important
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
&.removeItem
|
|
146
|
-
transition: all .3s ease, height .2s ease .2s;
|
|
147
|
-
opacity 0 !important;
|
|
148
|
-
width: 0 !important;
|
|
149
|
-
visibility hidden
|
|
150
|
-
margin: 0 !important;
|
|
151
|
-
height 0 !important;
|
|
152
|
-
|
|
153
|
-
img
|
|
154
|
-
transition: all .3s ease;
|
|
155
|
-
|
|
156
|
-
&:hover
|
|
157
|
-
transform: scale(.99)
|
|
158
|
-
box-shadow: 0 0 0 0 rgba(0, 0, 0, .1)
|
|
159
|
-
|
|
160
|
-
.btn-x-file
|
|
161
|
-
opacity 1
|
|
162
|
-
transform: translate(0%, 0%)
|
|
163
|
-
|
|
164
|
-
.btn-upload-file
|
|
165
|
-
opacity 1
|
|
166
|
-
transform translate(-50%, 65%)
|
|
167
|
-
|
|
168
|
-
.btn-x-file
|
|
169
|
-
display block
|
|
170
|
-
position absolute
|
|
171
|
-
top: 5px
|
|
172
|
-
// width: 80px;
|
|
173
|
-
// height 80px;
|
|
174
|
-
padding: 0;
|
|
175
|
-
propWithDir(right, null, 5px)
|
|
176
|
-
margin: 0;
|
|
177
|
-
transform: translate(20%, -20%)
|
|
178
|
-
background: transparent
|
|
179
|
-
z-index 300
|
|
180
|
-
// background-image: linear-gradient(45deg, rgba(0,0,0,0) 50%, getColor('danger') 100%);
|
|
181
|
-
// transform: rotate(45deg)
|
|
182
|
-
opacity 0;
|
|
183
|
-
border: 0;
|
|
184
|
-
cursor pointer
|
|
185
|
-
transition: all .2s ease
|
|
186
|
-
border-radius: 10px;
|
|
187
|
-
|
|
188
|
-
i
|
|
189
|
-
transition: all .2s ease
|
|
190
|
-
position relative
|
|
191
|
-
padding: 4px;
|
|
192
|
-
font-size: 1.4rem
|
|
193
|
-
// top: 2px;
|
|
194
|
-
// right 2px;
|
|
195
|
-
// width: 30px;
|
|
196
|
-
// height 30px;
|
|
197
|
-
display: flex
|
|
198
|
-
align-items: center
|
|
199
|
-
justify-content: center
|
|
200
|
-
border-radius: 5px;
|
|
201
|
-
background: rgba(0, 0, 0, .1)
|
|
202
|
-
// color: getColor(danger,.8)
|
|
203
|
-
color: rgba(255, 255, 255, 1)
|
|
204
|
-
text-shadow: 0 3px 10px rgba(0, 0, 0, .5);
|
|
205
|
-
|
|
206
|
-
&:hover
|
|
207
|
-
// background-image: linear-gradient(45deg, rgba(0,0,0,0) 50%, getColor('danger') 90%);
|
|
208
|
-
|
|
209
|
-
i
|
|
210
|
-
// top: 6px;
|
|
211
|
-
// right 6px;
|
|
212
|
-
border-radius: 50%;
|
|
213
|
-
background: getColor('danger')
|
|
214
|
-
|
|
215
|
-
~ .btn-upload-file:not(.on-progress)
|
|
216
|
-
background: radial-gradient(ellipse at center, getColor(danger, 1) 0%, rgba(0, 0, 0, 0) 70%);
|
|
217
|
-
height: 300px;
|
|
218
|
-
|
|
219
|
-
&:after
|
|
220
|
-
border: 1px solid getColor('danger')
|
|
221
|
-
|
|
222
|
-
i
|
|
223
|
-
opacity 0
|
|
224
|
-
|
|
225
|
-
~ .on-progress
|
|
226
|
-
background: getColor(danger, .2)
|
|
227
|
-
|
|
228
|
-
i
|
|
229
|
-
opacity 0
|
|
230
|
-
|
|
231
|
-
~ img
|
|
232
|
-
filter: grayscale(80%)
|
|
233
|
-
|
|
234
|
-
.text-archive
|
|
235
|
-
display: flex
|
|
236
|
-
align-items: center
|
|
237
|
-
justify-content: center
|
|
238
|
-
position relative
|
|
239
|
-
text-align: center
|
|
240
|
-
padding: 5px;
|
|
241
|
-
|
|
242
|
-
i
|
|
243
|
-
position absolute
|
|
244
|
-
font-size: 7rem;
|
|
245
|
-
opacity .05
|
|
246
|
-
|
|
247
|
-
span
|
|
248
|
-
position relative
|
|
249
|
-
padding: 5px;
|
|
250
|
-
|
|
251
|
-
.btn-upload-file
|
|
252
|
-
margin: 0;
|
|
253
|
-
opacity 0
|
|
254
|
-
position: absolute
|
|
255
|
-
bottom: 0;
|
|
256
|
-
left: 50%;
|
|
257
|
-
z-index: 200;
|
|
258
|
-
border-radius: 50%;
|
|
259
|
-
width: 300px;
|
|
260
|
-
height: 200px;
|
|
261
|
-
transform translate(-50%, 80%)
|
|
262
|
-
border 0;
|
|
263
|
-
background: radial-gradient(ellipse at center, getColor(success, 1) 0%, rgba(0, 0, 0, 0) 70%);
|
|
264
|
-
cursor pointer
|
|
265
|
-
transition: all .3s ease;
|
|
266
|
-
animation: imageRebound .7s ease !important
|
|
267
|
-
|
|
268
|
-
&:after
|
|
269
|
-
content: ''
|
|
270
|
-
width: 200px;
|
|
271
|
-
height 200px;
|
|
272
|
-
position: absolute
|
|
273
|
-
z-index 100;
|
|
274
|
-
display: block
|
|
275
|
-
left 50%;
|
|
276
|
-
transform: translate(-50%, -50%)
|
|
277
|
-
top: 50%;
|
|
278
|
-
border-radius: 50%;
|
|
279
|
-
border: 1px solid getColor(success, 1)
|
|
280
|
-
animation: circle 1.5s ease infinite
|
|
281
|
-
|
|
282
|
-
&:not(.on-progress):hover
|
|
283
|
-
width: 200px;
|
|
284
|
-
height: 200px;
|
|
285
|
-
transform translate(-50%, 70%)
|
|
286
|
-
|
|
287
|
-
i
|
|
288
|
-
font-size: 1.4rem
|
|
289
|
-
background: getColor(success, 1)
|
|
290
|
-
top: 6%;
|
|
291
|
-
padding: 10px;
|
|
292
|
-
|
|
293
|
-
i
|
|
294
|
-
z-index 50
|
|
295
|
-
border-radius: 50%
|
|
296
|
-
transition: all .2s ease;
|
|
297
|
-
position: absolute
|
|
298
|
-
left: 50%;
|
|
299
|
-
top: 12%;
|
|
300
|
-
transform translate(-50%)
|
|
301
|
-
color: rgba(255, 255, 255, 1)
|
|
302
|
-
text-shadow: 0 3px 10px rgba(0, 0, 0, .5);
|
|
303
|
-
padding: 20px;
|
|
304
|
-
backface-visibility visible
|
|
305
|
-
|
|
306
|
-
span
|
|
307
|
-
opacity 0
|
|
308
|
-
z-index 300
|
|
309
|
-
|
|
310
|
-
&.on-progress
|
|
311
|
-
width 100%
|
|
312
|
-
height: 20px;
|
|
313
|
-
background: getColor(success, .3)
|
|
314
|
-
border-top: 1px solid getColor(success, 1)
|
|
315
|
-
bottom: 0;
|
|
316
|
-
transform translate(0)
|
|
317
|
-
left: 0;
|
|
318
|
-
opacity: 1 !important
|
|
319
|
-
overflow hidden
|
|
320
|
-
border-radius: 0
|
|
321
|
-
pointer-events: none
|
|
322
|
-
// &:after
|
|
323
|
-
// opacity: 0
|
|
324
|
-
|
|
325
|
-
i
|
|
326
|
-
opacity: .2
|
|
327
|
-
background: getColor(success, 1)
|
|
328
|
-
box-shadow: 0 5px 17px 0 rgba(0, 0, 0, .150)
|
|
329
|
-
top: 50%
|
|
330
|
-
transform translate(-50%, -50%) scale(1.2)
|
|
331
|
-
padding: 20px;
|
|
332
|
-
|
|
333
|
-
span
|
|
334
|
-
transition: all .5s ease
|
|
335
|
-
opacity: 1
|
|
336
|
-
color: rgb(255, 255, 255)
|
|
337
|
-
font-size: 1rem;
|
|
338
|
-
position: absolute
|
|
339
|
-
top: calc(50% + 40px);
|
|
340
|
-
left: 0;
|
|
341
|
-
text-align: center
|
|
342
|
-
width: 100%;
|
|
343
|
-
text-shadow: 0 3px 15px getColor(success, 1);
|
|
344
|
-
font-weight: bold
|
|
345
|
-
z-index 300
|
|
346
|
-
display: block
|
|
347
|
-
transform: translate(0, -50%)
|
|
348
|
-
|
|
349
|
-
&.ready-progress
|
|
350
|
-
border-top: 0 solid getColor(success, 1)
|
|
351
|
-
background: getColor(success, .5)
|
|
352
|
-
|
|
353
|
-
span
|
|
354
|
-
z-index 10
|
|
355
|
-
transform translate(0, -50%) scale(.5)
|
|
356
|
-
top: calc(50% + 20px);
|
|
357
|
-
opacity: 0;
|
|
358
|
-
|
|
359
|
-
&:after
|
|
360
|
-
opacity: 0
|
|
361
|
-
|
|
362
|
-
i
|
|
363
|
-
opacity: 1
|
|
364
|
-
background: getColor(success, 1)
|
|
365
|
-
box-shadow: 0 5px 17px 0 rgba(0, 0, 0, .150)
|
|
366
|
-
top: 50%
|
|
367
|
-
transform translate(-50%, -50%) scale(1)
|
|
368
|
-
padding: 10px;
|
|
369
|
-
|
|
370
|
-
.upload-enter-active
|
|
371
|
-
transition: all .7s ease !important
|
|
372
|
-
animation: imageRebound .7s ease !important
|
|
373
|
-
|
|
374
|
-
// .upload-leave-active
|
|
375
|
-
// transition: all 0s ease !important
|
|
376
|
-
// width: 0 !important
|
|
377
|
-
// transition: all .3s !important;
|
|
378
|
-
// transform scale(.7) !important
|
|
379
|
-
// opacity: 0 !important
|
|
380
|
-
|
|
381
|
-
@keyframes imageRebound {
|
|
382
|
-
0% {
|
|
383
|
-
transform: scale(.4);
|
|
384
|
-
border-radius: 30%;
|
|
385
|
-
pointer-events: none
|
|
386
|
-
}
|
|
387
|
-
40% {
|
|
388
|
-
transform: scale(1.03);
|
|
389
|
-
border-radius: 14px;
|
|
390
|
-
pointer-events: none
|
|
391
|
-
}
|
|
392
|
-
70% {
|
|
393
|
-
transform: scale(.98);
|
|
394
|
-
border-radius: 18px;
|
|
395
|
-
pointer-events: none
|
|
396
|
-
}
|
|
397
|
-
100% {
|
|
398
|
-
transform: scale(1);
|
|
399
|
-
border-radius: 10px;
|
|
400
|
-
pointer-events: none
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
@keyframes circle {
|
|
405
|
-
0% {
|
|
406
|
-
width: 0
|
|
407
|
-
height 0
|
|
408
|
-
}
|
|
409
|
-
100% {
|
|
410
|
-
width: 230px
|
|
411
|
-
height 230px
|
|
412
|
-
opacity 0
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
/*
|
|
418
|
-
* View Upload styles
|
|
419
|
-
*/
|
|
420
|
-
|
|
421
|
-
.view-upload-enter-active, .view-upload-leave-active {
|
|
422
|
-
transition: opacity .5s;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.view-upload-enter, .view-upload-leave-to
|
|
426
|
-
opacity: 0;
|
|
427
|
-
|
|
428
|
-
img
|
|
429
|
-
transform: scale(.4)
|
|
430
|
-
|
|
431
|
-
.view-upload
|
|
432
|
-
position fixed
|
|
433
|
-
left 0;
|
|
434
|
-
z-index 15000
|
|
435
|
-
width: 100%
|
|
436
|
-
height 100%
|
|
437
|
-
background: rgba(0, 0, 0, .3)
|
|
438
|
-
top: 0;
|
|
439
|
-
padding: 20px
|
|
440
|
-
display: flex
|
|
441
|
-
align-items: center
|
|
442
|
-
justify-content: center
|
|
443
|
-
|
|
444
|
-
img
|
|
445
|
-
transition: all .3s ease;
|
|
446
|
-
border-radius: 10px;
|
|
447
|
-
position relative
|
|
448
|
-
display: block
|
|
449
|
-
left 0
|
|
450
|
-
top: 0
|
|
451
|
-
right 0
|
|
452
|
-
bottom: 0
|
|
453
|
-
max-width 100%
|
|
454
|
-
max-height: 100%
|
|
455
|
-
margin: auto
|
|
456
|
-
animation: imageRebound .7s ease !important
|
|
457
|
-
box-shadow: 0 8px 30px 0 rgba(0, 0, 0, .25)
|
|
458
|
-
background: rgb(255, 255, 255)
|
|
459
|
-
|
|
460
|
-
// background-image: url('../../public/grid.png')
|
|
1
|
+
.con-upload
|
|
2
|
+
width: 100%
|
|
3
|
+
position relative
|
|
4
|
+
|
|
5
|
+
.con-input-upload
|
|
6
|
+
background: rgb(245, 245, 245)
|
|
7
|
+
width: 200px;
|
|
8
|
+
height 200px
|
|
9
|
+
box-sizing: border-box
|
|
10
|
+
border-radius: 8px
|
|
11
|
+
position relative
|
|
12
|
+
// padding: 5px;
|
|
13
|
+
transition: all .25s ease
|
|
14
|
+
border: 1px dashed rgba(0, 0, 0, .1)
|
|
15
|
+
display: flex
|
|
16
|
+
align-items: center
|
|
17
|
+
justify-content: center
|
|
18
|
+
flex-direction: column
|
|
19
|
+
margin: 15px
|
|
20
|
+
// margin-top: 5px
|
|
21
|
+
dirValue(float, left)
|
|
22
|
+
|
|
23
|
+
&:hover
|
|
24
|
+
border: 1px dashed getColor(primary, .5)
|
|
25
|
+
|
|
26
|
+
&.disabled-upload
|
|
27
|
+
opacity: 0
|
|
28
|
+
pointer-events: none
|
|
29
|
+
user-select: none
|
|
30
|
+
display: none
|
|
31
|
+
|
|
32
|
+
input
|
|
33
|
+
position: absolute
|
|
34
|
+
width: 100%;
|
|
35
|
+
height 100%;
|
|
36
|
+
opacity 0;
|
|
37
|
+
left 0
|
|
38
|
+
top: 0
|
|
39
|
+
cursor pointer
|
|
40
|
+
|
|
41
|
+
.text-input
|
|
42
|
+
min-width: 200px;
|
|
43
|
+
display block
|
|
44
|
+
text-align: center
|
|
45
|
+
margin: 0 !important
|
|
46
|
+
padding: 0 !important
|
|
47
|
+
width: 100%;
|
|
48
|
+
font-weight: bold
|
|
49
|
+
|
|
50
|
+
.input-progress
|
|
51
|
+
height 100%;
|
|
52
|
+
position absolute
|
|
53
|
+
display: block
|
|
54
|
+
left 0;
|
|
55
|
+
top: 0;
|
|
56
|
+
width: 29%
|
|
57
|
+
background: getColor('primary')
|
|
58
|
+
border-radius: 10px
|
|
59
|
+
|
|
60
|
+
&.on-progress-all-upload
|
|
61
|
+
width: 100%;
|
|
62
|
+
height 4px;
|
|
63
|
+
overflow hidden
|
|
64
|
+
padding: 0;
|
|
65
|
+
border: 0 solid rgba(0, 0, 0, 0)
|
|
66
|
+
|
|
67
|
+
.text-input, .vs-upload--button-upload
|
|
68
|
+
opacity 0
|
|
69
|
+
transform: translate(-40px)
|
|
70
|
+
|
|
71
|
+
&.is-ready-all-upload
|
|
72
|
+
.input-progress
|
|
73
|
+
background: getColor(success, 1) !important
|
|
74
|
+
|
|
75
|
+
.vs-upload--button-upload
|
|
76
|
+
position absolute
|
|
77
|
+
border: 0;
|
|
78
|
+
padding: 4px;
|
|
79
|
+
border-radius: 0 0 5px 5px;
|
|
80
|
+
padding-left: 6px;
|
|
81
|
+
padding-right: 6px;
|
|
82
|
+
font-size: .8rem
|
|
83
|
+
z-index 500
|
|
84
|
+
cursor pointer
|
|
85
|
+
margin: 0;
|
|
86
|
+
color: getColor('primary')
|
|
87
|
+
transition: all .2s ease
|
|
88
|
+
box-shadow: 0 0 0 0 rgba(0, 0, 0, .05)
|
|
89
|
+
background: rgba(0, 0, 0, .03)
|
|
90
|
+
bottom: 0
|
|
91
|
+
width: 100%
|
|
92
|
+
|
|
93
|
+
&:disabled
|
|
94
|
+
opacity .4
|
|
95
|
+
pointer-events: none
|
|
96
|
+
|
|
97
|
+
&:hover
|
|
98
|
+
// box-shadow: 0 5px 20px 0 rgba(0,0,0,.1)
|
|
99
|
+
padding-bottom: 10px
|
|
100
|
+
padding-top: 10px
|
|
101
|
+
background: getColor('primary')
|
|
102
|
+
color rgb(255, 255, 255)
|
|
103
|
+
|
|
104
|
+
.con-img-upload
|
|
105
|
+
width: 100%
|
|
106
|
+
background: rgb(255, 255, 255)
|
|
107
|
+
position relative
|
|
108
|
+
border-radius: 10px;
|
|
109
|
+
margin-top: 5px;
|
|
110
|
+
padding-right: 5px;
|
|
111
|
+
box-sizing: border-box
|
|
112
|
+
column-gap: 5px;
|
|
113
|
+
overflow hidden
|
|
114
|
+
|
|
115
|
+
.img-upload
|
|
116
|
+
backface-visibility: hidden
|
|
117
|
+
dirValue(float, left)
|
|
118
|
+
overflow hidden
|
|
119
|
+
border-radius: 10px;
|
|
120
|
+
background: rgba(0, 80, 0, .5)
|
|
121
|
+
background: rgb(255, 255, 255)
|
|
122
|
+
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .1)
|
|
123
|
+
transition: all .3s ease;
|
|
124
|
+
display flex
|
|
125
|
+
align-items: center
|
|
126
|
+
justify-content: center
|
|
127
|
+
flex-direction: column
|
|
128
|
+
width: 200px;
|
|
129
|
+
height 200px;
|
|
130
|
+
margin: 5px
|
|
131
|
+
position relative
|
|
132
|
+
cursor pointer
|
|
133
|
+
|
|
134
|
+
&.fileError
|
|
135
|
+
border: 1px solid getColor('danger', .2)
|
|
136
|
+
box-shadow: 0 5px 20px 0 getColor('danger', .2)
|
|
137
|
+
|
|
138
|
+
.btn-upload-file
|
|
139
|
+
background: getColor('danger', .3) !important
|
|
140
|
+
|
|
141
|
+
i
|
|
142
|
+
background: getColor('danger') !important
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
&.removeItem
|
|
146
|
+
transition: all .3s ease, height .2s ease .2s;
|
|
147
|
+
opacity 0 !important;
|
|
148
|
+
width: 0 !important;
|
|
149
|
+
visibility hidden
|
|
150
|
+
margin: 0 !important;
|
|
151
|
+
height 0 !important;
|
|
152
|
+
|
|
153
|
+
img
|
|
154
|
+
transition: all .3s ease;
|
|
155
|
+
|
|
156
|
+
&:hover
|
|
157
|
+
transform: scale(.99)
|
|
158
|
+
box-shadow: 0 0 0 0 rgba(0, 0, 0, .1)
|
|
159
|
+
|
|
160
|
+
.btn-x-file
|
|
161
|
+
opacity 1
|
|
162
|
+
transform: translate(0%, 0%)
|
|
163
|
+
|
|
164
|
+
.btn-upload-file
|
|
165
|
+
opacity 1
|
|
166
|
+
transform translate(-50%, 65%)
|
|
167
|
+
|
|
168
|
+
.btn-x-file
|
|
169
|
+
display block
|
|
170
|
+
position absolute
|
|
171
|
+
top: 5px
|
|
172
|
+
// width: 80px;
|
|
173
|
+
// height 80px;
|
|
174
|
+
padding: 0;
|
|
175
|
+
propWithDir(right, null, 5px)
|
|
176
|
+
margin: 0;
|
|
177
|
+
transform: translate(20%, -20%)
|
|
178
|
+
background: transparent
|
|
179
|
+
z-index 300
|
|
180
|
+
// background-image: linear-gradient(45deg, rgba(0,0,0,0) 50%, getColor('danger') 100%);
|
|
181
|
+
// transform: rotate(45deg)
|
|
182
|
+
opacity 0;
|
|
183
|
+
border: 0;
|
|
184
|
+
cursor pointer
|
|
185
|
+
transition: all .2s ease
|
|
186
|
+
border-radius: 10px;
|
|
187
|
+
|
|
188
|
+
i
|
|
189
|
+
transition: all .2s ease
|
|
190
|
+
position relative
|
|
191
|
+
padding: 4px;
|
|
192
|
+
font-size: 1.4rem
|
|
193
|
+
// top: 2px;
|
|
194
|
+
// right 2px;
|
|
195
|
+
// width: 30px;
|
|
196
|
+
// height 30px;
|
|
197
|
+
display: flex
|
|
198
|
+
align-items: center
|
|
199
|
+
justify-content: center
|
|
200
|
+
border-radius: 5px;
|
|
201
|
+
background: rgba(0, 0, 0, .1)
|
|
202
|
+
// color: getColor(danger,.8)
|
|
203
|
+
color: rgba(255, 255, 255, 1)
|
|
204
|
+
text-shadow: 0 3px 10px rgba(0, 0, 0, .5);
|
|
205
|
+
|
|
206
|
+
&:hover
|
|
207
|
+
// background-image: linear-gradient(45deg, rgba(0,0,0,0) 50%, getColor('danger') 90%);
|
|
208
|
+
|
|
209
|
+
i
|
|
210
|
+
// top: 6px;
|
|
211
|
+
// right 6px;
|
|
212
|
+
border-radius: 50%;
|
|
213
|
+
background: getColor('danger')
|
|
214
|
+
|
|
215
|
+
~ .btn-upload-file:not(.on-progress)
|
|
216
|
+
background: radial-gradient(ellipse at center, getColor(danger, 1) 0%, rgba(0, 0, 0, 0) 70%);
|
|
217
|
+
height: 300px;
|
|
218
|
+
|
|
219
|
+
&:after
|
|
220
|
+
border: 1px solid getColor('danger')
|
|
221
|
+
|
|
222
|
+
i
|
|
223
|
+
opacity 0
|
|
224
|
+
|
|
225
|
+
~ .on-progress
|
|
226
|
+
background: getColor(danger, .2)
|
|
227
|
+
|
|
228
|
+
i
|
|
229
|
+
opacity 0
|
|
230
|
+
|
|
231
|
+
~ img
|
|
232
|
+
filter: grayscale(80%)
|
|
233
|
+
|
|
234
|
+
.text-archive
|
|
235
|
+
display: flex
|
|
236
|
+
align-items: center
|
|
237
|
+
justify-content: center
|
|
238
|
+
position relative
|
|
239
|
+
text-align: center
|
|
240
|
+
padding: 5px;
|
|
241
|
+
|
|
242
|
+
i
|
|
243
|
+
position absolute
|
|
244
|
+
font-size: 7rem;
|
|
245
|
+
opacity .05
|
|
246
|
+
|
|
247
|
+
span
|
|
248
|
+
position relative
|
|
249
|
+
padding: 5px;
|
|
250
|
+
|
|
251
|
+
.btn-upload-file
|
|
252
|
+
margin: 0;
|
|
253
|
+
opacity 0
|
|
254
|
+
position: absolute
|
|
255
|
+
bottom: 0;
|
|
256
|
+
left: 50%;
|
|
257
|
+
z-index: 200;
|
|
258
|
+
border-radius: 50%;
|
|
259
|
+
width: 300px;
|
|
260
|
+
height: 200px;
|
|
261
|
+
transform translate(-50%, 80%)
|
|
262
|
+
border 0;
|
|
263
|
+
background: radial-gradient(ellipse at center, getColor(success, 1) 0%, rgba(0, 0, 0, 0) 70%);
|
|
264
|
+
cursor pointer
|
|
265
|
+
transition: all .3s ease;
|
|
266
|
+
animation: imageRebound .7s ease !important
|
|
267
|
+
|
|
268
|
+
&:after
|
|
269
|
+
content: ''
|
|
270
|
+
width: 200px;
|
|
271
|
+
height 200px;
|
|
272
|
+
position: absolute
|
|
273
|
+
z-index 100;
|
|
274
|
+
display: block
|
|
275
|
+
left 50%;
|
|
276
|
+
transform: translate(-50%, -50%)
|
|
277
|
+
top: 50%;
|
|
278
|
+
border-radius: 50%;
|
|
279
|
+
border: 1px solid getColor(success, 1)
|
|
280
|
+
animation: circle 1.5s ease infinite
|
|
281
|
+
|
|
282
|
+
&:not(.on-progress):hover
|
|
283
|
+
width: 200px;
|
|
284
|
+
height: 200px;
|
|
285
|
+
transform translate(-50%, 70%)
|
|
286
|
+
|
|
287
|
+
i
|
|
288
|
+
font-size: 1.4rem
|
|
289
|
+
background: getColor(success, 1)
|
|
290
|
+
top: 6%;
|
|
291
|
+
padding: 10px;
|
|
292
|
+
|
|
293
|
+
i
|
|
294
|
+
z-index 50
|
|
295
|
+
border-radius: 50%
|
|
296
|
+
transition: all .2s ease;
|
|
297
|
+
position: absolute
|
|
298
|
+
left: 50%;
|
|
299
|
+
top: 12%;
|
|
300
|
+
transform translate(-50%)
|
|
301
|
+
color: rgba(255, 255, 255, 1)
|
|
302
|
+
text-shadow: 0 3px 10px rgba(0, 0, 0, .5);
|
|
303
|
+
padding: 20px;
|
|
304
|
+
backface-visibility visible
|
|
305
|
+
|
|
306
|
+
span
|
|
307
|
+
opacity 0
|
|
308
|
+
z-index 300
|
|
309
|
+
|
|
310
|
+
&.on-progress
|
|
311
|
+
width 100%
|
|
312
|
+
height: 20px;
|
|
313
|
+
background: getColor(success, .3)
|
|
314
|
+
border-top: 1px solid getColor(success, 1)
|
|
315
|
+
bottom: 0;
|
|
316
|
+
transform translate(0)
|
|
317
|
+
left: 0;
|
|
318
|
+
opacity: 1 !important
|
|
319
|
+
overflow hidden
|
|
320
|
+
border-radius: 0
|
|
321
|
+
pointer-events: none
|
|
322
|
+
// &:after
|
|
323
|
+
// opacity: 0
|
|
324
|
+
|
|
325
|
+
i
|
|
326
|
+
opacity: .2
|
|
327
|
+
background: getColor(success, 1)
|
|
328
|
+
box-shadow: 0 5px 17px 0 rgba(0, 0, 0, .150)
|
|
329
|
+
top: 50%
|
|
330
|
+
transform translate(-50%, -50%) scale(1.2)
|
|
331
|
+
padding: 20px;
|
|
332
|
+
|
|
333
|
+
span
|
|
334
|
+
transition: all .5s ease
|
|
335
|
+
opacity: 1
|
|
336
|
+
color: rgb(255, 255, 255)
|
|
337
|
+
font-size: 1rem;
|
|
338
|
+
position: absolute
|
|
339
|
+
top: calc(50% + 40px);
|
|
340
|
+
left: 0;
|
|
341
|
+
text-align: center
|
|
342
|
+
width: 100%;
|
|
343
|
+
text-shadow: 0 3px 15px getColor(success, 1);
|
|
344
|
+
font-weight: bold
|
|
345
|
+
z-index 300
|
|
346
|
+
display: block
|
|
347
|
+
transform: translate(0, -50%)
|
|
348
|
+
|
|
349
|
+
&.ready-progress
|
|
350
|
+
border-top: 0 solid getColor(success, 1)
|
|
351
|
+
background: getColor(success, .5)
|
|
352
|
+
|
|
353
|
+
span
|
|
354
|
+
z-index 10
|
|
355
|
+
transform translate(0, -50%) scale(.5)
|
|
356
|
+
top: calc(50% + 20px);
|
|
357
|
+
opacity: 0;
|
|
358
|
+
|
|
359
|
+
&:after
|
|
360
|
+
opacity: 0
|
|
361
|
+
|
|
362
|
+
i
|
|
363
|
+
opacity: 1
|
|
364
|
+
background: getColor(success, 1)
|
|
365
|
+
box-shadow: 0 5px 17px 0 rgba(0, 0, 0, .150)
|
|
366
|
+
top: 50%
|
|
367
|
+
transform translate(-50%, -50%) scale(1)
|
|
368
|
+
padding: 10px;
|
|
369
|
+
|
|
370
|
+
.upload-enter-active
|
|
371
|
+
transition: all .7s ease !important
|
|
372
|
+
animation: imageRebound .7s ease !important
|
|
373
|
+
|
|
374
|
+
// .upload-leave-active
|
|
375
|
+
// transition: all 0s ease !important
|
|
376
|
+
// width: 0 !important
|
|
377
|
+
// transition: all .3s !important;
|
|
378
|
+
// transform scale(.7) !important
|
|
379
|
+
// opacity: 0 !important
|
|
380
|
+
|
|
381
|
+
@keyframes imageRebound {
|
|
382
|
+
0% {
|
|
383
|
+
transform: scale(.4);
|
|
384
|
+
border-radius: 30%;
|
|
385
|
+
pointer-events: none
|
|
386
|
+
}
|
|
387
|
+
40% {
|
|
388
|
+
transform: scale(1.03);
|
|
389
|
+
border-radius: 14px;
|
|
390
|
+
pointer-events: none
|
|
391
|
+
}
|
|
392
|
+
70% {
|
|
393
|
+
transform: scale(.98);
|
|
394
|
+
border-radius: 18px;
|
|
395
|
+
pointer-events: none
|
|
396
|
+
}
|
|
397
|
+
100% {
|
|
398
|
+
transform: scale(1);
|
|
399
|
+
border-radius: 10px;
|
|
400
|
+
pointer-events: none
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
@keyframes circle {
|
|
405
|
+
0% {
|
|
406
|
+
width: 0
|
|
407
|
+
height 0
|
|
408
|
+
}
|
|
409
|
+
100% {
|
|
410
|
+
width: 230px
|
|
411
|
+
height 230px
|
|
412
|
+
opacity 0
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
/*
|
|
418
|
+
* View Upload styles
|
|
419
|
+
*/
|
|
420
|
+
|
|
421
|
+
.view-upload-enter-active, .view-upload-leave-active {
|
|
422
|
+
transition: opacity .5s;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.view-upload-enter, .view-upload-leave-to
|
|
426
|
+
opacity: 0;
|
|
427
|
+
|
|
428
|
+
img
|
|
429
|
+
transform: scale(.4)
|
|
430
|
+
|
|
431
|
+
.view-upload
|
|
432
|
+
position fixed
|
|
433
|
+
left 0;
|
|
434
|
+
z-index 15000
|
|
435
|
+
width: 100%
|
|
436
|
+
height 100%
|
|
437
|
+
background: rgba(0, 0, 0, .3)
|
|
438
|
+
top: 0;
|
|
439
|
+
padding: 20px
|
|
440
|
+
display: flex
|
|
441
|
+
align-items: center
|
|
442
|
+
justify-content: center
|
|
443
|
+
|
|
444
|
+
img
|
|
445
|
+
transition: all .3s ease;
|
|
446
|
+
border-radius: 10px;
|
|
447
|
+
position relative
|
|
448
|
+
display: block
|
|
449
|
+
left 0
|
|
450
|
+
top: 0
|
|
451
|
+
right 0
|
|
452
|
+
bottom: 0
|
|
453
|
+
max-width 100%
|
|
454
|
+
max-height: 100%
|
|
455
|
+
margin: auto
|
|
456
|
+
animation: imageRebound .7s ease !important
|
|
457
|
+
box-shadow: 0 8px 30px 0 rgba(0, 0, 0, .25)
|
|
458
|
+
background: rgb(255, 255, 255)
|
|
459
|
+
|
|
460
|
+
// background-image: url('../../public/grid.png')
|