formatic 0.2.3 → 0.2.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.
- checksums.yaml +4 -4
- data/app/assets/javascript/declarations/date.d.ts +9 -0
- data/app/assets/javascript/declarations/file.d.ts +14 -0
- data/app/assets/javascript/declarations/select.d.ts +15 -0
- data/app/assets/javascript/declarations/setup.d.ts +3 -0
- data/app/assets/javascript/declarations/stepper.d.ts +12 -0
- data/app/assets/javascript/declarations/string.d.ts +14 -0
- data/app/assets/javascript/declarations/textarea.d.ts +15 -0
- data/app/assets/javascript/declarations/toggle.d.ts +8 -0
- data/app/assets/javascript/formatic/date.js +30 -0
- data/app/assets/javascript/formatic/date.js.map +1 -0
- data/app/assets/javascript/formatic/file.js +83 -0
- data/app/assets/javascript/formatic/file.js.map +1 -0
- data/app/assets/javascript/formatic/select.js +81 -0
- data/app/assets/javascript/formatic/select.js.map +1 -0
- data/app/assets/javascript/formatic/setup.js +42 -0
- data/app/assets/javascript/formatic/setup.js.map +1 -0
- data/app/assets/javascript/formatic/stepper.js +67 -0
- data/app/assets/javascript/formatic/stepper.js.map +1 -0
- data/app/assets/javascript/formatic/string.js +71 -0
- data/app/assets/javascript/formatic/string.js.map +1 -0
- data/app/assets/javascript/formatic/textarea.js +81 -0
- data/app/assets/javascript/formatic/textarea.js.map +1 -0
- data/app/assets/javascript/formatic/toggle.js +63 -0
- data/app/assets/javascript/formatic/toggle.js.map +1 -0
- data/app/assets/javascript/src/date.ts +41 -0
- data/app/assets/javascript/src/file.ts +101 -0
- data/app/assets/javascript/src/select.ts +101 -0
- data/app/assets/javascript/src/setup.js +44 -0
- data/app/assets/javascript/src/stepper.ts +80 -0
- data/app/assets/javascript/src/string.ts +89 -0
- data/app/assets/javascript/src/textarea.ts +101 -0
- data/app/assets/javascript/src/toggle.ts +76 -0
- data/app/assets/stylesheets/formatic/components/checklist.css +1 -0
- data/app/assets/stylesheets/formatic/components/checklist.css.map +1 -0
- data/app/assets/stylesheets/formatic/components/date.css +17 -0
- data/app/assets/stylesheets/formatic/components/date.sass +2 -2
- data/app/assets/stylesheets/formatic/components/select.css +17 -0
- data/app/assets/stylesheets/formatic/components/stepper.css +17 -0
- data/app/assets/stylesheets/formatic/components/string.css +17 -0
- data/app/assets/stylesheets/formatic/components/textarea.css +17 -0
- data/app/assets/stylesheets/formatic/components/time.css +17 -0
- data/app/assets/stylesheets/formatic/components/toggle.css +17 -0
- data/app/assets/stylesheets/formatic/components/wrapper.css +17 -0
- data/app/assets/stylesheets/formatic/formatic.css +450 -0
- data/app/assets/stylesheets/formatic/formatic.css.map +1 -0
- data/app/assets/stylesheets/formatic/generics/flip.css +1 -0
- data/app/assets/stylesheets/formatic/generics/flip.css.map +1 -0
- data/app/assets/stylesheets/formatic/scopes/form.css +17 -0
- data/app/assets/stylesheets/formatic/utilities/container.css +1 -0
- data/app/assets/stylesheets/formatic/utilities/container.css.map +1 -0
- data/app/assets/stylesheets/formatic/vendor.css +1107 -0
- data/app/assets/stylesheets/formatic/vendor.css.map +1 -0
- data/app/assets/stylesheets/formatic.css +18 -0
- data/app/assets/stylesheets/formatic.sass +17 -0
- data/app/assets/stylesheets/vendor.css +5 -0
- data/app/assets/stylesheets/vendor.css.map +1 -0
- data/app/assets/stylesheets/vendor.sass +1 -0
- data/app/components/formatic/base.rb +4 -1
- data/app/components/formatic/date.rb +1 -1
- data/app/components/formatic/file.rb +21 -0
- data/app/components/formatic/files.rb +8 -0
- data/app/components/formatic/select.rb +1 -1
- data/app/components/formatic/time.rb +3 -3
- data/config/importmap.rb +11 -0
- data/lib/formatic/choices/options.rb +1 -1
- data/lib/formatic/choices/records.rb +1 -1
- data/lib/formatic/engine.rb +12 -0
- data/lib/formatic/version.rb +1 -1
- data/lib/formatic/wrappers/required.rb +1 -1
- data/lib/formatic.rb +2 -1
- metadata +77 -17
- data/app/assets/javascript/formatic/components/date.ts +0 -54
- data/app/assets/javascript/formatic/components/select.ts +0 -113
- data/app/assets/javascript/formatic/components/stepper.ts +0 -89
- data/app/assets/javascript/formatic/components/string.ts +0 -103
- data/app/assets/javascript/formatic/components/textarea.ts +0 -112
- data/app/assets/javascript/formatic/components/toggle.ts +0 -89
- data/app/assets/javascript/formatic.js +0 -446
- data/app/assets/javascript/formatic.js.map +0 -1
- data/app/assets/stylesheets/formatic/index.sass +0 -17
- data/app/assets/stylesheets/formatic/package.json +0 -5
|
@@ -0,0 +1,1107 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* FilePond 4.32.10
|
|
3
|
+
* Licensed under MIT, https://opensource.org/licenses/MIT/
|
|
4
|
+
* Please visit https://pqina.nl/filepond/ for details.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
.filepond--assistant {
|
|
8
|
+
position: absolute;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
height: 1px;
|
|
11
|
+
width: 1px;
|
|
12
|
+
padding: 0;
|
|
13
|
+
border: 0;
|
|
14
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
15
|
+
-webkit-clip-path: inset(50%);
|
|
16
|
+
clip-path: inset(50%);
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Hard to override styles */
|
|
21
|
+
.filepond--browser.filepond--browser {
|
|
22
|
+
/* is positioned absolute so it is focusable for form validation errors */
|
|
23
|
+
position: absolute;
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
/* is positioned ~behind drop label */
|
|
27
|
+
left: 1em;
|
|
28
|
+
top: 1.75em;
|
|
29
|
+
width: calc(100% - 2em);
|
|
30
|
+
/* hide visually */
|
|
31
|
+
opacity: 0;
|
|
32
|
+
font-size: 0; /* removes text cursor in Internet Explorer 11 */
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.filepond--data {
|
|
36
|
+
position: absolute;
|
|
37
|
+
width: 0;
|
|
38
|
+
height: 0;
|
|
39
|
+
padding: 0;
|
|
40
|
+
margin: 0;
|
|
41
|
+
border: none;
|
|
42
|
+
visibility: hidden;
|
|
43
|
+
pointer-events: none;
|
|
44
|
+
contain: strict;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.filepond--drip {
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: 0;
|
|
50
|
+
left: 0;
|
|
51
|
+
right: 0;
|
|
52
|
+
bottom: 0;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
opacity: 0.1;
|
|
55
|
+
/* can't interact with this element */
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
/* inherit border radius from parent (needed for drip-blob cut of) */
|
|
58
|
+
border-radius: 0.5em;
|
|
59
|
+
/* this seems to prevent Chrome from redrawing this layer constantly */
|
|
60
|
+
background: rgba(0, 0, 0, 0.01);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.filepond--drip-blob {
|
|
64
|
+
position: absolute;
|
|
65
|
+
-webkit-transform-origin: center center;
|
|
66
|
+
transform-origin: center center;
|
|
67
|
+
top: 0;
|
|
68
|
+
left: 0;
|
|
69
|
+
width: 8em;
|
|
70
|
+
height: 8em;
|
|
71
|
+
margin-left: -4em;
|
|
72
|
+
margin-top: -4em;
|
|
73
|
+
background: #292625;
|
|
74
|
+
border-radius: 50%;
|
|
75
|
+
/* will be animated */
|
|
76
|
+
will-change: transform, opacity;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.filepond--drop-label {
|
|
80
|
+
position: absolute;
|
|
81
|
+
left: 0;
|
|
82
|
+
right: 0;
|
|
83
|
+
top: 0;
|
|
84
|
+
margin: 0;
|
|
85
|
+
color: #4f4f4f;
|
|
86
|
+
/* center contents */
|
|
87
|
+
display: flex;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
align-items: center;
|
|
90
|
+
/* fixes IE11 centering problems (is overruled by label min-height) */
|
|
91
|
+
height: 0px;
|
|
92
|
+
/* dont allow selection */
|
|
93
|
+
-webkit-user-select: none;
|
|
94
|
+
-moz-user-select: none;
|
|
95
|
+
-ms-user-select: none;
|
|
96
|
+
user-select: none;
|
|
97
|
+
/* will be animated */
|
|
98
|
+
will-change: transform, opacity;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Hard to override styles on purpose */
|
|
102
|
+
.filepond--drop-label.filepond--drop-label label {
|
|
103
|
+
display: block;
|
|
104
|
+
margin: 0;
|
|
105
|
+
padding: 0.5em; /* use padding instead of margin so click area is not impacted */
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.filepond--drop-label label {
|
|
109
|
+
cursor: default;
|
|
110
|
+
font-size: 0.875em;
|
|
111
|
+
font-weight: normal;
|
|
112
|
+
text-align: center;
|
|
113
|
+
line-height: 1.5;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.filepond--label-action {
|
|
117
|
+
text-decoration: underline;
|
|
118
|
+
-webkit-text-decoration-skip: ink;
|
|
119
|
+
text-decoration-skip-ink: auto;
|
|
120
|
+
-webkit-text-decoration-color: #a7a4a4;
|
|
121
|
+
text-decoration-color: #a7a4a4;
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.filepond--root[data-disabled] .filepond--drop-label label {
|
|
126
|
+
opacity: 0.5;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Hard to override styles */
|
|
130
|
+
.filepond--file-action-button.filepond--file-action-button {
|
|
131
|
+
font-size: 1em;
|
|
132
|
+
width: 1.625em;
|
|
133
|
+
height: 1.625em;
|
|
134
|
+
font-family: inherit;
|
|
135
|
+
line-height: inherit;
|
|
136
|
+
margin: 0;
|
|
137
|
+
padding: 0;
|
|
138
|
+
border: none;
|
|
139
|
+
outline: none;
|
|
140
|
+
will-change: transform, opacity;
|
|
141
|
+
/* hidden label */
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.filepond--file-action-button.filepond--file-action-button span {
|
|
145
|
+
position: absolute;
|
|
146
|
+
overflow: hidden;
|
|
147
|
+
height: 1px;
|
|
148
|
+
width: 1px;
|
|
149
|
+
padding: 0;
|
|
150
|
+
border: 0;
|
|
151
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
152
|
+
-webkit-clip-path: inset(50%);
|
|
153
|
+
clip-path: inset(50%);
|
|
154
|
+
white-space: nowrap;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.filepond--file-action-button.filepond--file-action-button {
|
|
158
|
+
/* scale SVG to fill button */
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.filepond--file-action-button.filepond--file-action-button svg {
|
|
162
|
+
width: 100%;
|
|
163
|
+
height: 100%;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.filepond--file-action-button.filepond--file-action-button {
|
|
167
|
+
/* bigger touch area */
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.filepond--file-action-button.filepond--file-action-button::after {
|
|
171
|
+
position: absolute;
|
|
172
|
+
left: -0.75em;
|
|
173
|
+
right: -0.75em;
|
|
174
|
+
top: -0.75em;
|
|
175
|
+
bottom: -0.75em;
|
|
176
|
+
content: "";
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Soft styles */
|
|
180
|
+
.filepond--file-action-button {
|
|
181
|
+
/* use default arrow cursor */
|
|
182
|
+
cursor: auto;
|
|
183
|
+
/* reset default button styles */
|
|
184
|
+
color: #fff;
|
|
185
|
+
/* set default look n feel */
|
|
186
|
+
border-radius: 50%;
|
|
187
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
188
|
+
background-image: none;
|
|
189
|
+
/* we animate box shadow on focus */
|
|
190
|
+
/* it's only slightly slower than animating */
|
|
191
|
+
/* a pseudo-element with transforms and renders */
|
|
192
|
+
/* a lot better on chrome */
|
|
193
|
+
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
|
|
194
|
+
transition: box-shadow 0.25s ease-in;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.filepond--file-action-button:hover,
|
|
198
|
+
.filepond--file-action-button:focus {
|
|
199
|
+
box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.9);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.filepond--file-action-button[disabled] {
|
|
203
|
+
color: rgba(255, 255, 255, 0.5);
|
|
204
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.filepond--file-action-button[hidden] {
|
|
208
|
+
display: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/* edit button */
|
|
212
|
+
.filepond--action-edit-item.filepond--action-edit-item {
|
|
213
|
+
width: 2em;
|
|
214
|
+
height: 2em;
|
|
215
|
+
padding: 0.1875em;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.filepond--action-edit-item.filepond--action-edit-item[data-align*=center] {
|
|
219
|
+
margin-left: -0.1875em;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.filepond--action-edit-item.filepond--action-edit-item[data-align*=bottom] {
|
|
223
|
+
margin-bottom: -0.1875em;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.filepond--action-edit-item-alt {
|
|
227
|
+
border: none;
|
|
228
|
+
line-height: inherit;
|
|
229
|
+
background: transparent;
|
|
230
|
+
font-family: inherit;
|
|
231
|
+
color: inherit;
|
|
232
|
+
outline: none;
|
|
233
|
+
padding: 0;
|
|
234
|
+
margin: 0 0 0 0.25em;
|
|
235
|
+
pointer-events: all;
|
|
236
|
+
position: absolute;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.filepond--action-edit-item-alt svg {
|
|
240
|
+
width: 1.3125em;
|
|
241
|
+
height: 1.3125em;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.filepond--action-edit-item-alt span {
|
|
245
|
+
font-size: 0;
|
|
246
|
+
opacity: 0;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.filepond--file-info {
|
|
250
|
+
position: static;
|
|
251
|
+
display: flex;
|
|
252
|
+
flex-direction: column;
|
|
253
|
+
align-items: flex-start;
|
|
254
|
+
flex: 1;
|
|
255
|
+
margin: 0 0.5em 0 0;
|
|
256
|
+
min-width: 0;
|
|
257
|
+
/* will be animated */
|
|
258
|
+
will-change: transform, opacity;
|
|
259
|
+
/* can't do anything with this info */
|
|
260
|
+
pointer-events: none;
|
|
261
|
+
-webkit-user-select: none;
|
|
262
|
+
-moz-user-select: none;
|
|
263
|
+
-ms-user-select: none;
|
|
264
|
+
user-select: none;
|
|
265
|
+
/* no margins on children */
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.filepond--file-info * {
|
|
269
|
+
margin: 0;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.filepond--file-info {
|
|
273
|
+
/* we don't want to have these overrules so these selectors are a bit more specific */
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.filepond--file-info .filepond--file-info-main {
|
|
277
|
+
font-size: 0.75em;
|
|
278
|
+
line-height: 1.2;
|
|
279
|
+
/* we want ellipsis if this bar gets too wide */
|
|
280
|
+
text-overflow: ellipsis;
|
|
281
|
+
overflow: hidden;
|
|
282
|
+
white-space: nowrap;
|
|
283
|
+
width: 100%;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.filepond--file-info .filepond--file-info-sub {
|
|
287
|
+
font-size: 0.625em;
|
|
288
|
+
opacity: 0.5;
|
|
289
|
+
transition: opacity 0.25s ease-in-out;
|
|
290
|
+
white-space: nowrap;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.filepond--file-info .filepond--file-info-sub:empty {
|
|
294
|
+
display: none;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.filepond--file-status {
|
|
298
|
+
position: static;
|
|
299
|
+
display: flex;
|
|
300
|
+
flex-direction: column;
|
|
301
|
+
align-items: flex-end;
|
|
302
|
+
flex-grow: 0;
|
|
303
|
+
flex-shrink: 0;
|
|
304
|
+
margin: 0;
|
|
305
|
+
min-width: 2.25em;
|
|
306
|
+
text-align: right;
|
|
307
|
+
/* will be animated */
|
|
308
|
+
will-change: transform, opacity;
|
|
309
|
+
/* can't do anything with this info */
|
|
310
|
+
pointer-events: none;
|
|
311
|
+
-webkit-user-select: none;
|
|
312
|
+
-moz-user-select: none;
|
|
313
|
+
-ms-user-select: none;
|
|
314
|
+
user-select: none;
|
|
315
|
+
/* no margins on children */
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.filepond--file-status * {
|
|
319
|
+
margin: 0;
|
|
320
|
+
white-space: nowrap;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.filepond--file-status {
|
|
324
|
+
/* font sizes */
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.filepond--file-status .filepond--file-status-main {
|
|
328
|
+
font-size: 0.75em;
|
|
329
|
+
line-height: 1.2;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.filepond--file-status .filepond--file-status-sub {
|
|
333
|
+
font-size: 0.625em;
|
|
334
|
+
opacity: 0.5;
|
|
335
|
+
transition: opacity 0.25s ease-in-out;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* Hard to override styles */
|
|
339
|
+
.filepond--file-wrapper.filepond--file-wrapper {
|
|
340
|
+
border: none;
|
|
341
|
+
margin: 0;
|
|
342
|
+
padding: 0;
|
|
343
|
+
min-width: 0;
|
|
344
|
+
height: 100%;
|
|
345
|
+
/* hide legend for visual users */
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.filepond--file-wrapper.filepond--file-wrapper > legend {
|
|
349
|
+
position: absolute;
|
|
350
|
+
overflow: hidden;
|
|
351
|
+
height: 1px;
|
|
352
|
+
width: 1px;
|
|
353
|
+
padding: 0;
|
|
354
|
+
border: 0;
|
|
355
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
356
|
+
-webkit-clip-path: inset(50%);
|
|
357
|
+
clip-path: inset(50%);
|
|
358
|
+
white-space: nowrap;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.filepond--file {
|
|
362
|
+
position: static;
|
|
363
|
+
display: flex;
|
|
364
|
+
height: 100%;
|
|
365
|
+
align-items: flex-start;
|
|
366
|
+
padding: 0.5625em 0.5625em;
|
|
367
|
+
color: #fff;
|
|
368
|
+
border-radius: 0.5em;
|
|
369
|
+
/* control positions */
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.filepond--file .filepond--file-status {
|
|
373
|
+
margin-left: auto;
|
|
374
|
+
margin-right: 2.25em;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.filepond--file .filepond--processing-complete-indicator {
|
|
378
|
+
pointer-events: none;
|
|
379
|
+
-webkit-user-select: none;
|
|
380
|
+
-moz-user-select: none;
|
|
381
|
+
-ms-user-select: none;
|
|
382
|
+
user-select: none;
|
|
383
|
+
z-index: 3;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.filepond--file .filepond--processing-complete-indicator,
|
|
387
|
+
.filepond--file .filepond--progress-indicator,
|
|
388
|
+
.filepond--file .filepond--file-action-button {
|
|
389
|
+
position: absolute;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.filepond--file {
|
|
393
|
+
/* .filepond--file-action-button */
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.filepond--file [data-align*=left] {
|
|
397
|
+
left: 0.5625em;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.filepond--file [data-align*=right] {
|
|
401
|
+
right: 0.5625em;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.filepond--file [data-align*=center] {
|
|
405
|
+
left: calc(50% - 0.8125em); /* .8125 is half of button width */
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.filepond--file [data-align*=bottom] {
|
|
409
|
+
bottom: 1.125em;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.filepond--file [data-align=center] {
|
|
413
|
+
top: calc(50% - 0.8125em);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.filepond--file .filepond--progress-indicator {
|
|
417
|
+
margin-top: 0.1875em;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.filepond--file .filepond--progress-indicator[data-align*=right] {
|
|
421
|
+
margin-right: 0.1875em;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.filepond--file .filepond--progress-indicator[data-align*=left] {
|
|
425
|
+
margin-left: 0.1875em;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/* make sure text does not overlap */
|
|
429
|
+
[data-filepond-item-state=cancelled] .filepond--file-info,
|
|
430
|
+
[data-filepond-item-state*=invalid] .filepond--file-info,
|
|
431
|
+
[data-filepond-item-state*=error] .filepond--file-info {
|
|
432
|
+
margin-right: 2.25em;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
[data-filepond-item-state~=processing] .filepond--file-status-sub {
|
|
436
|
+
opacity: 0;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
[data-filepond-item-state~=processing] .filepond--action-abort-item-processing ~ .filepond--file-status .filepond--file-status-sub {
|
|
440
|
+
opacity: 0.5;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
[data-filepond-item-state=processing-error] .filepond--file-status-sub {
|
|
444
|
+
opacity: 0;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
[data-filepond-item-state=processing-error] .filepond--action-retry-item-processing ~ .filepond--file-status .filepond--file-status-sub {
|
|
448
|
+
opacity: 0.5;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
[data-filepond-item-state=processing-complete] {
|
|
452
|
+
/* busy state */
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
[data-filepond-item-state=processing-complete] .filepond--action-revert-item-processing svg {
|
|
456
|
+
-webkit-animation: fall 0.5s 0.125s linear both;
|
|
457
|
+
animation: fall 0.5s 0.125s linear both;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
[data-filepond-item-state=processing-complete] {
|
|
461
|
+
/* hide details by default, only show when can revert */
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
[data-filepond-item-state=processing-complete] .filepond--file-status-sub {
|
|
465
|
+
opacity: 0.5;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
[data-filepond-item-state=processing-complete] .filepond--processing-complete-indicator:not([style*=hidden]) ~ .filepond--file-status .filepond--file-status-sub {
|
|
469
|
+
opacity: 0;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
[data-filepond-item-state=processing-complete] .filepond--file-info-sub {
|
|
473
|
+
opacity: 0;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
[data-filepond-item-state=processing-complete] .filepond--action-revert-item-processing ~ .filepond--file-info .filepond--file-info-sub {
|
|
477
|
+
opacity: 0.5;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/* file state can be invalid or error, both are visually similar but */
|
|
481
|
+
/* having them as separate states might be useful */
|
|
482
|
+
[data-filepond-item-state*=invalid] .filepond--panel,
|
|
483
|
+
[data-filepond-item-state*=invalid] .filepond--file-wrapper,
|
|
484
|
+
[data-filepond-item-state*=error] .filepond--panel,
|
|
485
|
+
[data-filepond-item-state*=error] .filepond--file-wrapper {
|
|
486
|
+
-webkit-animation: shake 0.65s linear both;
|
|
487
|
+
animation: shake 0.65s linear both;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/* spins progress indicator when file is marked as busy */
|
|
491
|
+
[data-filepond-item-state*=busy] .filepond--progress-indicator svg {
|
|
492
|
+
-webkit-animation: spin 1s linear infinite;
|
|
493
|
+
animation: spin 1s linear infinite;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* States
|
|
498
|
+
*/
|
|
499
|
+
@-webkit-keyframes spin {
|
|
500
|
+
0% {
|
|
501
|
+
-webkit-transform: rotateZ(0deg);
|
|
502
|
+
transform: rotateZ(0deg);
|
|
503
|
+
}
|
|
504
|
+
100% {
|
|
505
|
+
-webkit-transform: rotateZ(360deg);
|
|
506
|
+
transform: rotateZ(360deg);
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
@keyframes spin {
|
|
510
|
+
0% {
|
|
511
|
+
-webkit-transform: rotateZ(0deg);
|
|
512
|
+
transform: rotateZ(0deg);
|
|
513
|
+
}
|
|
514
|
+
100% {
|
|
515
|
+
-webkit-transform: rotateZ(360deg);
|
|
516
|
+
transform: rotateZ(360deg);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
@-webkit-keyframes shake {
|
|
520
|
+
10%, 90% {
|
|
521
|
+
-webkit-transform: translateX(-0.0625em);
|
|
522
|
+
transform: translateX(-0.0625em);
|
|
523
|
+
}
|
|
524
|
+
20%, 80% {
|
|
525
|
+
-webkit-transform: translateX(0.125em);
|
|
526
|
+
transform: translateX(0.125em);
|
|
527
|
+
}
|
|
528
|
+
30%, 50%, 70% {
|
|
529
|
+
-webkit-transform: translateX(-0.25em);
|
|
530
|
+
transform: translateX(-0.25em);
|
|
531
|
+
}
|
|
532
|
+
40%, 60% {
|
|
533
|
+
-webkit-transform: translateX(0.25em);
|
|
534
|
+
transform: translateX(0.25em);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
@keyframes shake {
|
|
538
|
+
10%, 90% {
|
|
539
|
+
-webkit-transform: translateX(-0.0625em);
|
|
540
|
+
transform: translateX(-0.0625em);
|
|
541
|
+
}
|
|
542
|
+
20%, 80% {
|
|
543
|
+
-webkit-transform: translateX(0.125em);
|
|
544
|
+
transform: translateX(0.125em);
|
|
545
|
+
}
|
|
546
|
+
30%, 50%, 70% {
|
|
547
|
+
-webkit-transform: translateX(-0.25em);
|
|
548
|
+
transform: translateX(-0.25em);
|
|
549
|
+
}
|
|
550
|
+
40%, 60% {
|
|
551
|
+
-webkit-transform: translateX(0.25em);
|
|
552
|
+
transform: translateX(0.25em);
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
@-webkit-keyframes fall {
|
|
556
|
+
0% {
|
|
557
|
+
opacity: 0;
|
|
558
|
+
-webkit-transform: scale(0.5);
|
|
559
|
+
transform: scale(0.5);
|
|
560
|
+
-webkit-animation-timing-function: ease-out;
|
|
561
|
+
animation-timing-function: ease-out;
|
|
562
|
+
}
|
|
563
|
+
70% {
|
|
564
|
+
opacity: 1;
|
|
565
|
+
-webkit-transform: scale(1.1);
|
|
566
|
+
transform: scale(1.1);
|
|
567
|
+
-webkit-animation-timing-function: ease-in-out;
|
|
568
|
+
animation-timing-function: ease-in-out;
|
|
569
|
+
}
|
|
570
|
+
100% {
|
|
571
|
+
-webkit-transform: scale(1);
|
|
572
|
+
transform: scale(1);
|
|
573
|
+
-webkit-animation-timing-function: ease-out;
|
|
574
|
+
animation-timing-function: ease-out;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
@keyframes fall {
|
|
578
|
+
0% {
|
|
579
|
+
opacity: 0;
|
|
580
|
+
-webkit-transform: scale(0.5);
|
|
581
|
+
transform: scale(0.5);
|
|
582
|
+
-webkit-animation-timing-function: ease-out;
|
|
583
|
+
animation-timing-function: ease-out;
|
|
584
|
+
}
|
|
585
|
+
70% {
|
|
586
|
+
opacity: 1;
|
|
587
|
+
-webkit-transform: scale(1.1);
|
|
588
|
+
transform: scale(1.1);
|
|
589
|
+
-webkit-animation-timing-function: ease-in-out;
|
|
590
|
+
animation-timing-function: ease-in-out;
|
|
591
|
+
}
|
|
592
|
+
100% {
|
|
593
|
+
-webkit-transform: scale(1);
|
|
594
|
+
transform: scale(1);
|
|
595
|
+
-webkit-animation-timing-function: ease-out;
|
|
596
|
+
animation-timing-function: ease-out;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
/* ignore all other interaction elements while dragging a file */
|
|
600
|
+
.filepond--hopper[data-hopper-state=drag-over] > * {
|
|
601
|
+
pointer-events: none;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/* capture all hit tests using a hidden layer, this speeds up the event flow */
|
|
605
|
+
.filepond--hopper[data-hopper-state=drag-over]::after {
|
|
606
|
+
content: "";
|
|
607
|
+
position: absolute;
|
|
608
|
+
left: 0;
|
|
609
|
+
top: 0;
|
|
610
|
+
right: 0;
|
|
611
|
+
bottom: 0;
|
|
612
|
+
z-index: 100;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.filepond--progress-indicator {
|
|
616
|
+
z-index: 103;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.filepond--file-action-button {
|
|
620
|
+
z-index: 102;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.filepond--file-status {
|
|
624
|
+
z-index: 101;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.filepond--file-info {
|
|
628
|
+
z-index: 100;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.filepond--item {
|
|
632
|
+
position: absolute;
|
|
633
|
+
top: 0;
|
|
634
|
+
left: 0;
|
|
635
|
+
right: 0;
|
|
636
|
+
z-index: 1;
|
|
637
|
+
padding: 0;
|
|
638
|
+
margin: 0.25em;
|
|
639
|
+
will-change: transform, opacity;
|
|
640
|
+
touch-action: auto;
|
|
641
|
+
/* item children order */
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.filepond--item > .filepond--panel {
|
|
645
|
+
z-index: -1;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/* has a slight shadow */
|
|
649
|
+
.filepond--item > .filepond--panel .filepond--panel-bottom {
|
|
650
|
+
box-shadow: 0 0.0625em 0.125em -0.0625em rgba(0, 0, 0, 0.25);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.filepond--item {
|
|
654
|
+
/* drag related */
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.filepond--item > .filepond--file-wrapper,
|
|
658
|
+
.filepond--item > .filepond--panel {
|
|
659
|
+
transition: opacity 0.15s ease-out;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.filepond--item[data-drag-state] {
|
|
663
|
+
cursor: -webkit-grab;
|
|
664
|
+
cursor: grab;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.filepond--item[data-drag-state] > .filepond--panel {
|
|
668
|
+
transition: box-shadow 0.125s ease-in-out;
|
|
669
|
+
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.filepond--item[data-drag-state=drag] {
|
|
673
|
+
cursor: -webkit-grabbing;
|
|
674
|
+
cursor: grabbing;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.filepond--item[data-drag-state=drag] > .filepond--panel {
|
|
678
|
+
box-shadow: 0 0.125em 0.3125em rgba(0, 0, 0, 0.325);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.filepond--item[data-drag-state]:not([data-drag-state=idle]) {
|
|
682
|
+
z-index: 2;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/* states */
|
|
686
|
+
.filepond--item-panel {
|
|
687
|
+
background-color: #64605e;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
[data-filepond-item-state=processing-complete] .filepond--item-panel {
|
|
691
|
+
background-color: #369763;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
[data-filepond-item-state*=invalid] .filepond--item-panel,
|
|
695
|
+
[data-filepond-item-state*=error] .filepond--item-panel {
|
|
696
|
+
background-color: #c44e47;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/* style of item panel */
|
|
700
|
+
.filepond--item-panel {
|
|
701
|
+
border-radius: 0.5em;
|
|
702
|
+
transition: background-color 0.25s;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/* normal mode */
|
|
706
|
+
.filepond--list-scroller {
|
|
707
|
+
position: absolute;
|
|
708
|
+
top: 0;
|
|
709
|
+
left: 0;
|
|
710
|
+
right: 0;
|
|
711
|
+
margin: 0;
|
|
712
|
+
will-change: transform;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/* scroll mode */
|
|
716
|
+
.filepond--list-scroller[data-state=overflow] .filepond--list {
|
|
717
|
+
bottom: 0;
|
|
718
|
+
right: 0;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.filepond--list-scroller[data-state=overflow] {
|
|
722
|
+
overflow-y: scroll;
|
|
723
|
+
overflow-x: hidden;
|
|
724
|
+
-webkit-overflow-scrolling: touch;
|
|
725
|
+
-webkit-mask: linear-gradient(to bottom, #000 calc(100% - 0.5em), transparent 100%);
|
|
726
|
+
mask: linear-gradient(to bottom, #000 calc(100% - 0.5em), transparent 100%);
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/* style scrollbar */
|
|
730
|
+
.filepond--list-scroller::-webkit-scrollbar {
|
|
731
|
+
background: transparent;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.filepond--list-scroller::-webkit-scrollbar:vertical {
|
|
735
|
+
width: 1em;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.filepond--list-scroller::-webkit-scrollbar:horizontal {
|
|
739
|
+
height: 0;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.filepond--list-scroller::-webkit-scrollbar-thumb {
|
|
743
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
744
|
+
border-radius: 99999px;
|
|
745
|
+
border: 0.3125em solid transparent;
|
|
746
|
+
background-clip: content-box;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/* hard to overide styles on purpose */
|
|
750
|
+
.filepond--list.filepond--list {
|
|
751
|
+
position: absolute;
|
|
752
|
+
top: 0;
|
|
753
|
+
margin: 0;
|
|
754
|
+
padding: 0;
|
|
755
|
+
list-style-type: none;
|
|
756
|
+
/* prevents endless paint calls on filepond--list-scroller */
|
|
757
|
+
will-change: transform;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/* used for padding so allowed to be restyled */
|
|
761
|
+
.filepond--list {
|
|
762
|
+
left: 0.75em;
|
|
763
|
+
right: 0.75em;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.filepond--root[data-style-panel-layout~=integrated] {
|
|
767
|
+
width: 100%;
|
|
768
|
+
height: 100%;
|
|
769
|
+
max-width: none;
|
|
770
|
+
margin: 0;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.filepond--root[data-style-panel-layout~=circle] .filepond--panel-root,
|
|
774
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--panel-root {
|
|
775
|
+
border-radius: 0;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.filepond--root[data-style-panel-layout~=circle] .filepond--panel-root > *,
|
|
779
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--panel-root > * {
|
|
780
|
+
display: none;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.filepond--root[data-style-panel-layout~=circle] .filepond--drop-label,
|
|
784
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--drop-label {
|
|
785
|
+
bottom: 0;
|
|
786
|
+
height: auto;
|
|
787
|
+
display: flex;
|
|
788
|
+
justify-content: center;
|
|
789
|
+
align-items: center;
|
|
790
|
+
z-index: 7;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.filepond--root[data-style-panel-layout~=circle],
|
|
794
|
+
.filepond--root[data-style-panel-layout~=integrated] {
|
|
795
|
+
/* we're only loading one item, this makes the intro animation a bit nicer */
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.filepond--root[data-style-panel-layout~=circle] .filepond--item-panel,
|
|
799
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--item-panel {
|
|
800
|
+
display: none;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.filepond--root[data-style-panel-layout~=compact] .filepond--list-scroller,
|
|
804
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--list-scroller {
|
|
805
|
+
overflow: hidden;
|
|
806
|
+
height: 100%;
|
|
807
|
+
margin-top: 0;
|
|
808
|
+
margin-bottom: 0;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.filepond--root[data-style-panel-layout~=compact] .filepond--list,
|
|
812
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--list {
|
|
813
|
+
left: 0;
|
|
814
|
+
right: 0;
|
|
815
|
+
height: 100%;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.filepond--root[data-style-panel-layout~=compact] .filepond--item,
|
|
819
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--item {
|
|
820
|
+
margin: 0;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.filepond--root[data-style-panel-layout~=compact] .filepond--file-wrapper,
|
|
824
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--file-wrapper {
|
|
825
|
+
height: 100%;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.filepond--root[data-style-panel-layout~=compact] .filepond--drop-label,
|
|
829
|
+
.filepond--root[data-style-panel-layout~=integrated] .filepond--drop-label {
|
|
830
|
+
z-index: 7;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.filepond--root[data-style-panel-layout~=circle] {
|
|
834
|
+
border-radius: 99999rem;
|
|
835
|
+
overflow: hidden;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.filepond--root[data-style-panel-layout~=circle] > .filepond--panel {
|
|
839
|
+
border-radius: inherit;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.filepond--root[data-style-panel-layout~=circle] > .filepond--panel > * {
|
|
843
|
+
display: none;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.filepond--root[data-style-panel-layout~=circle] {
|
|
847
|
+
/* circle cuts of this info, so best to hide it */
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.filepond--root[data-style-panel-layout~=circle] .filepond--file-info {
|
|
851
|
+
display: none;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.filepond--root[data-style-panel-layout~=circle] .filepond--file-status {
|
|
855
|
+
display: none;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.filepond--root[data-style-panel-layout~=circle] .filepond--action-edit-item {
|
|
859
|
+
opacity: 1 !important;
|
|
860
|
+
visibility: visible !important;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/* dirfty way to fix circular overflow issue on safari 11+ */
|
|
864
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
865
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) {
|
|
866
|
+
.filepond--root[data-style-panel-layout~=circle] {
|
|
867
|
+
will-change: transform;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
.filepond--panel-root {
|
|
872
|
+
border-radius: 0.5em;
|
|
873
|
+
background-color: #f1f0ef;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.filepond--panel {
|
|
877
|
+
position: absolute;
|
|
878
|
+
left: 0;
|
|
879
|
+
top: 0;
|
|
880
|
+
right: 0;
|
|
881
|
+
margin: 0;
|
|
882
|
+
/* defaults to 100% height (fixed height mode) this fixes problem with panel height in IE11 */
|
|
883
|
+
height: 100% !important;
|
|
884
|
+
/* no interaction possible with panel */
|
|
885
|
+
pointer-events: none;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
.filepond-panel:not([data-scalable=false]) {
|
|
889
|
+
height: auto !important;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.filepond--panel[data-scalable=false] > div {
|
|
893
|
+
display: none;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.filepond--panel[data-scalable=true] {
|
|
897
|
+
/* this seems to fix Chrome performance issues */
|
|
898
|
+
/* - when box-shadow is enabled */
|
|
899
|
+
/* - when multiple ponds are active on the same page */
|
|
900
|
+
-webkit-transform-style: preserve-3d;
|
|
901
|
+
transform-style: preserve-3d;
|
|
902
|
+
/* prevent borders and backgrounds */
|
|
903
|
+
background-color: transparent !important;
|
|
904
|
+
border: none !important;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.filepond--panel-top,
|
|
908
|
+
.filepond--panel-bottom,
|
|
909
|
+
.filepond--panel-center {
|
|
910
|
+
position: absolute;
|
|
911
|
+
left: 0;
|
|
912
|
+
top: 0;
|
|
913
|
+
right: 0;
|
|
914
|
+
margin: 0;
|
|
915
|
+
padding: 0;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
.filepond--panel-top,
|
|
919
|
+
.filepond--panel-bottom {
|
|
920
|
+
height: 0.5em;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.filepond--panel-top {
|
|
924
|
+
border-bottom-left-radius: 0 !important;
|
|
925
|
+
border-bottom-right-radius: 0 !important;
|
|
926
|
+
border-bottom: none !important;
|
|
927
|
+
/* fixes tiny transparant line between top and center panel */
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
.filepond--panel-top::after {
|
|
931
|
+
content: "";
|
|
932
|
+
position: absolute;
|
|
933
|
+
height: 2px;
|
|
934
|
+
left: 0;
|
|
935
|
+
right: 0;
|
|
936
|
+
bottom: -1px;
|
|
937
|
+
background-color: inherit;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.filepond--panel-center,
|
|
941
|
+
.filepond--panel-bottom {
|
|
942
|
+
will-change: transform;
|
|
943
|
+
-webkit-backface-visibility: hidden;
|
|
944
|
+
backface-visibility: hidden;
|
|
945
|
+
-webkit-transform-origin: left top;
|
|
946
|
+
transform-origin: left top;
|
|
947
|
+
-webkit-transform: translate3d(0, 0.5em, 0);
|
|
948
|
+
transform: translate3d(0, 0.5em, 0);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
.filepond--panel-bottom {
|
|
952
|
+
border-top-left-radius: 0 !important;
|
|
953
|
+
border-top-right-radius: 0 !important;
|
|
954
|
+
border-top: none !important;
|
|
955
|
+
/* fixes tiny transparant line between bottom and center of panel */
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.filepond--panel-bottom::before {
|
|
959
|
+
content: "";
|
|
960
|
+
position: absolute;
|
|
961
|
+
height: 2px;
|
|
962
|
+
left: 0;
|
|
963
|
+
right: 0;
|
|
964
|
+
top: -1px;
|
|
965
|
+
background-color: inherit;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.filepond--panel-center {
|
|
969
|
+
/* the center panel is scaled using scale3d to fit the correct height */
|
|
970
|
+
/* we use 100px instead of 1px as scaling 1px to a huge height is really laggy on chrome */
|
|
971
|
+
height: 100px !important;
|
|
972
|
+
border-top: none !important;
|
|
973
|
+
border-bottom: none !important;
|
|
974
|
+
border-radius: 0 !important;
|
|
975
|
+
/* hide if not transformed, prevents a little flash when the panel is at 100px height while attached for first time */
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
.filepond--panel-center:not([style]) {
|
|
979
|
+
visibility: hidden;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.filepond--progress-indicator {
|
|
983
|
+
position: static;
|
|
984
|
+
width: 1.25em;
|
|
985
|
+
height: 1.25em;
|
|
986
|
+
color: #fff;
|
|
987
|
+
/* can't have margins */
|
|
988
|
+
margin: 0;
|
|
989
|
+
/* no interaction possible with progress indicator */
|
|
990
|
+
pointer-events: none;
|
|
991
|
+
/* will be animated */
|
|
992
|
+
will-change: transform, opacity;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.filepond--progress-indicator svg {
|
|
996
|
+
width: 100%;
|
|
997
|
+
height: 100%;
|
|
998
|
+
vertical-align: top;
|
|
999
|
+
transform-box: fill-box; /* should center the animation correctly when zoomed in */
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.filepond--progress-indicator path {
|
|
1003
|
+
fill: none;
|
|
1004
|
+
stroke: currentColor;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
.filepond--list-scroller {
|
|
1008
|
+
z-index: 6;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.filepond--drop-label {
|
|
1012
|
+
z-index: 5;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.filepond--drip {
|
|
1016
|
+
z-index: 3;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.filepond--root > .filepond--panel {
|
|
1020
|
+
z-index: 2;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.filepond--browser {
|
|
1024
|
+
z-index: 1;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.filepond--root {
|
|
1028
|
+
/* layout*/
|
|
1029
|
+
box-sizing: border-box;
|
|
1030
|
+
position: relative;
|
|
1031
|
+
margin-bottom: 1em;
|
|
1032
|
+
/* base font size for whole component */
|
|
1033
|
+
font-size: 1rem;
|
|
1034
|
+
/* base line height */
|
|
1035
|
+
line-height: normal;
|
|
1036
|
+
/* up uses default system font family */
|
|
1037
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
1038
|
+
/* will increase font weight a bit on Safari */
|
|
1039
|
+
font-weight: 450;
|
|
1040
|
+
/* default text alignment */
|
|
1041
|
+
text-align: left;
|
|
1042
|
+
/* better text rendering on Safari */
|
|
1043
|
+
text-rendering: optimizeLegibility;
|
|
1044
|
+
/* text direction is ltr for now */
|
|
1045
|
+
direction: ltr;
|
|
1046
|
+
/* optimize rendering */
|
|
1047
|
+
/* https://developer.mozilla.org/en-US/docs/Web/CSS/contain */
|
|
1048
|
+
contain: layout style size;
|
|
1049
|
+
/* correct box sizing, line-height and positioning on child elements */
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.filepond--root * {
|
|
1053
|
+
box-sizing: inherit;
|
|
1054
|
+
line-height: inherit;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
.filepond--root *:not(text) {
|
|
1058
|
+
font-size: inherit;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
.filepond--root {
|
|
1062
|
+
/* block everything */
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
.filepond--root[data-disabled] {
|
|
1066
|
+
pointer-events: none;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.filepond--root[data-disabled] .filepond--list-scroller {
|
|
1070
|
+
pointer-events: all;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
.filepond--root[data-disabled] .filepond--list {
|
|
1074
|
+
pointer-events: none;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Root element children layout
|
|
1079
|
+
*/
|
|
1080
|
+
.filepond--root .filepond--drop-label {
|
|
1081
|
+
min-height: 4.75em;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.filepond--root .filepond--list-scroller {
|
|
1085
|
+
margin-top: 1em;
|
|
1086
|
+
margin-bottom: 1em;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.filepond--root .filepond--credits {
|
|
1090
|
+
position: absolute;
|
|
1091
|
+
right: 0;
|
|
1092
|
+
opacity: 0.4;
|
|
1093
|
+
line-height: 0.85;
|
|
1094
|
+
font-size: 11px;
|
|
1095
|
+
color: inherit;
|
|
1096
|
+
text-decoration: none;
|
|
1097
|
+
z-index: 3;
|
|
1098
|
+
bottom: -14px;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
.filepond--root .filepond--credits[style] {
|
|
1102
|
+
top: 0;
|
|
1103
|
+
bottom: auto;
|
|
1104
|
+
margin-top: 14px;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/*# sourceMappingURL=vendor.css.map */
|