@ardium-ui/ui 5.0.0-alpha.75 → 5.0.0-alpha.77
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/fesm2022/ardium-ui-ui.mjs +106 -106
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/prebuilt-themes/default/badge.css +234 -234
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css +324 -324
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +317 -319
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +299 -300
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +390 -391
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +151 -159
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +89 -88
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +349 -349
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +412 -412
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +34 -33
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css +105 -103
- package/prebuilt-themes/default/color-picker.css.map +1 -1
- package/prebuilt-themes/default/core.css +108 -106
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +19 -20
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +84 -83
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +42 -42
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +329 -329
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +102 -102
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +148 -151
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +183 -183
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +99 -98
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +134 -135
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +120 -122
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +385 -387
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +150 -149
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +137 -136
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +213 -214
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +120 -120
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +14 -13
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +26 -25
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +96 -95
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css +250 -235
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +178 -177
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +246 -248
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +432 -431
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +302 -304
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +319 -319
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +399 -399
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +185 -185
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +161 -161
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +271 -275
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +250 -250
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +57 -57
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +464 -463
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/badge.scss +112 -110
- package/themes/default/buttons/button.scss +91 -89
- package/themes/default/buttons/fab.scss +80 -76
- package/themes/default/buttons/icon-button.scss +73 -71
- package/themes/default/calendar.scss +246 -242
- package/themes/default/card.scss +161 -159
- package/themes/default/checkbox-list.scss +85 -83
- package/themes/default/checkbox.scss +68 -66
- package/themes/default/chips.scss +202 -195
- package/themes/default/color-display.scss +40 -38
- package/themes/default/color-picker.scss +95 -93
- package/themes/default/core.scss +124 -121
- package/themes/default/dialog.scss +21 -19
- package/themes/default/divider.scss +92 -90
- package/themes/default/dropdown-panel.scss +49 -47
- package/themes/default/file-drop-area.scss +197 -195
- package/themes/default/form-field-frame.scss +69 -67
- package/themes/default/form-field.scss +135 -133
- package/themes/default/inputs/autocomplete-input.scss +99 -97
- package/themes/default/inputs/color-input.scss +34 -32
- package/themes/default/inputs/date-input.scss +88 -86
- package/themes/default/inputs/digit-input.scss +103 -101
- package/themes/default/inputs/file-input.scss +158 -156
- package/themes/default/inputs/hex-input.scss +66 -64
- package/themes/default/inputs/input.scss +52 -50
- package/themes/default/inputs/number-input.scss +162 -160
- package/themes/default/inputs/password-input.scss +99 -97
- package/themes/default/kbd-shortcut.scss +15 -13
- package/themes/default/kbd.scss +34 -32
- package/themes/default/modal.scss +106 -104
- package/themes/default/progress-bar.scss +126 -102
- package/themes/default/progress-circle.scss +50 -48
- package/themes/default/radio.scss +110 -108
- package/themes/default/segment.scss +282 -277
- package/themes/default/select.scss +255 -253
- package/themes/default/slide-toggle.scss +173 -171
- package/themes/default/slider.scss +223 -217
- package/themes/default/snackbar.scss +49 -47
- package/themes/default/spinner.scss +23 -21
- package/themes/default/stars.scss +95 -93
- package/themes/default/tabber.scss +105 -103
- package/themes/default/table-pagination.scss +60 -59
- package/themes/default/table.scss +375 -373
|
@@ -1,393 +1,391 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
.ard-file-input-form-field-frame .ard-form-field-overlay {
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
.ard-file-input .ard-
|
|
365
|
-
.ard-file-input .ard-file-
|
|
366
|
-
.ard-file-input .ard-file-
|
|
367
|
-
.ard-file-input .ard-file-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-browse-button {
|
|
390
|
-
color: var(--ard-file-input-browse-button-color-error, rgb(var(--ard-danger-700)));
|
|
4
|
+
@layer ard-theme {
|
|
5
|
+
:root {
|
|
6
|
+
--ard-file-input-gap: 0.625rem;
|
|
7
|
+
--ard-file-input-line-height: 1.25;
|
|
8
|
+
--ard-file-input-line-height-compact: 1;
|
|
9
|
+
--ard-file-input-font-weight: 400;
|
|
10
|
+
--ard-file-input-placeholder-opacity: 60%;
|
|
11
|
+
--ard-file-input-min-width: 10rem;
|
|
12
|
+
--ard-file-input-max-width: 100%;
|
|
13
|
+
--ard-file-input-gap: 0.375rem;
|
|
14
|
+
--ard-file-input-dragover-outline-width: 2px;
|
|
15
|
+
--ard-file-input-dragover-outline-style: solid;
|
|
16
|
+
--ard-file-input-browse-button-height: calc(100% - 0.25rem);
|
|
17
|
+
--ard-file-input-browse-button-width: unset;
|
|
18
|
+
--ard-file-input-browse-button-margin: 0.125rem;
|
|
19
|
+
--ard-file-input-browse-button-aspect-ratio: 1;
|
|
20
|
+
--ard-file-input-browse-button-border: none;
|
|
21
|
+
--ard-file-input-browse-button-border-radius: 9999px;
|
|
22
|
+
--ard-file-input-browse-button-background: none;
|
|
23
|
+
--ard-file-input-browse-button-padding: 0;
|
|
24
|
+
--ard-file-input-browse-button-overlay-offset: 0rem;
|
|
25
|
+
--ard-file-input-browse-button-overlay-hover-opacity: 4%;
|
|
26
|
+
--ard-file-input-browse-button-overlay-focus-opacity: 0;
|
|
27
|
+
--ard-file-input-browse-button-overlay-active-opacity: 12%;
|
|
28
|
+
--ard-file-input-browse-button-overlay-focus-visible-opacity: 16%;
|
|
29
|
+
--ard-file-input-file-name-font-weight: 500;
|
|
30
|
+
--ard-file-input-file-ext-font-weight: 500;
|
|
31
|
+
}
|
|
32
|
+
.ard-file-input-form-field-frame .ard-form-field-overlay {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
.ard-file-input {
|
|
36
|
+
height: var(--ard-file-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
37
|
+
position: relative;
|
|
38
|
+
font-family: var(--ard-font-family);
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: stretch;
|
|
42
|
+
gap: var(--ard-file-input-gap, 0.625rem);
|
|
43
|
+
cursor: text;
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
font-size: var(--ard-file-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
46
|
+
line-height: var(--ard-file-input-line-height, 1.25);
|
|
47
|
+
font-weight: var(--ard-file-input-font-weight, 400);
|
|
48
|
+
padding-left: var(--ard-file-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
49
|
+
padding-right: var(--ard-file-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
50
|
+
padding-top: var(--ard-file-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
51
|
+
padding-bottom: var(--ard-file-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
52
|
+
color: var(--ard-file-input-color, var(--ard-text));
|
|
53
|
+
min-width: var(--ard-file-input-min-width, 10rem);
|
|
54
|
+
max-width: var(--ard-file-input-max-width, 100%);
|
|
55
|
+
gap: var(--ard-file-input-gap, 0.375rem);
|
|
56
|
+
cursor: default;
|
|
57
|
+
border-radius: var(--ard-variant-border-radius);
|
|
58
|
+
}
|
|
59
|
+
.ard-file-input .ard-input-container {
|
|
60
|
+
flex-grow: 1;
|
|
61
|
+
text-size-adjust: 100%;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
height: 100%;
|
|
65
|
+
position: relative;
|
|
66
|
+
}
|
|
67
|
+
.ard-file-input .ard-input-container > * {
|
|
68
|
+
position: absolute;
|
|
69
|
+
inset: 0;
|
|
70
|
+
max-width: 100%;
|
|
71
|
+
padding: 0;
|
|
72
|
+
}
|
|
73
|
+
.ard-file-input .ard-input-container .ard-placeholder {
|
|
74
|
+
font: inherit;
|
|
75
|
+
opacity: var(--ard-file-input-placeholder-opacity, 60%);
|
|
76
|
+
color: var(--ard-file-input-placeholder-color, var(--ard-text));
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
text-overflow: ellipsis;
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
}
|
|
84
|
+
.ard-file-input .ard-input-container input {
|
|
85
|
+
border: none;
|
|
86
|
+
background: transparent;
|
|
87
|
+
outline: none;
|
|
88
|
+
font: inherit;
|
|
89
|
+
color: inherit;
|
|
90
|
+
display: block;
|
|
91
|
+
}
|
|
92
|
+
.ard-file-input.ard-compact {
|
|
93
|
+
height: var(--ard-file-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
94
|
+
font-size: var(--ard-file-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
95
|
+
line-height: var(--ard-file-input-line-height-compact, 1);
|
|
96
|
+
padding-left: var(--ard-file-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
97
|
+
padding-right: var(--ard-file-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
98
|
+
padding-top: var(--ard-file-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
99
|
+
padding-bottom: var(--ard-file-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
100
|
+
}
|
|
101
|
+
.ard-file-input.ard-color-none {
|
|
102
|
+
--ard-cmpcl--bg: var(--ard-bg);
|
|
103
|
+
--ard-cmpcl--bg-colored: var(--ard-bg-alt);
|
|
104
|
+
--ard-cmpcl--bg-colored-light: var(--ard-detail-light);
|
|
105
|
+
--ard-cmpcl--bg-header: var(--ard-bg-filled);
|
|
106
|
+
--ard-cmpcl--bg-colored-verylight: var(--ard-bg-darker);
|
|
107
|
+
--ard-cmpcl--on-bg: var(--ard-text);
|
|
108
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
109
|
+
--ard-cmpcl--on-bg-colored-light: var(--ard-text);
|
|
110
|
+
--ard-cmpcl--border: var(--ard-text);
|
|
111
|
+
--ard-cmpcl--border-light: var(--ard-text2);
|
|
112
|
+
--ard-cmpcl--content: var(--ard-text);
|
|
113
|
+
--ard-cmpcl--content-light: var(--ard-text-alt);
|
|
114
|
+
--ard-cmpcl--overlay-rgb: var(--ard-overlay-rgb);
|
|
115
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
116
|
+
--ard-cmpcl--overlay-colored: var(--ard-overlay);
|
|
117
|
+
--ard-cmpcl--overlay-colored-light: var(--ard-text-alt);
|
|
118
|
+
}
|
|
119
|
+
.ard-file-input.ard-color-primary {
|
|
120
|
+
--ard-cmpcl--bg: rgb(var(--ard-primary-500));
|
|
121
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-primary-500));
|
|
122
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-primary-100));
|
|
123
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-primary-100));
|
|
124
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-primary-50));
|
|
125
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
126
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
127
|
+
--ard-cmpcl--on-bg-colored-light: var(--ard-text);
|
|
128
|
+
--ard-cmpcl--border: rgb(var(--ard-primary-300));
|
|
129
|
+
--ard-cmpcl--border-light: rgb(var(--ard-primary-100));
|
|
130
|
+
--ard-cmpcl--content: rgb(var(--ard-primary-700));
|
|
131
|
+
--ard-cmpcl--content-light: rgb(var(--ard-primary-300));
|
|
132
|
+
--ard-cmpcl--overlay-rgb: var(--ard-primary-500);
|
|
133
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
134
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-primary-700));
|
|
135
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-primary-100));
|
|
136
|
+
}
|
|
137
|
+
.ard-file-input.ard-color-secondary {
|
|
138
|
+
--ard-cmpcl--bg: rgb(var(--ard-secondary-500));
|
|
139
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-secondary-500));
|
|
140
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-secondary-50));
|
|
141
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-secondary-50));
|
|
142
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-secondary-50));
|
|
143
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
144
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
145
|
+
--ard-cmpcl--on-bg-colored-light: var(--ard-text);
|
|
146
|
+
--ard-cmpcl--border: rgb(var(--ard-secondary-300));
|
|
147
|
+
--ard-cmpcl--border-light: rgb(var(--ard-secondary-100));
|
|
148
|
+
--ard-cmpcl--content: rgb(var(--ard-secondary-700));
|
|
149
|
+
--ard-cmpcl--content-light: rgb(var(--ard-secondary-300));
|
|
150
|
+
--ard-cmpcl--overlay-rgb: var(--ard-secondary-500);
|
|
151
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
152
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-secondary-700));
|
|
153
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-secondary-100));
|
|
154
|
+
}
|
|
155
|
+
.ard-file-input.ard-color-warn {
|
|
156
|
+
--ard-cmpcl--bg: rgb(var(--ard-warn-500));
|
|
157
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-warn-500));
|
|
158
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-warn-50));
|
|
159
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-warn-50));
|
|
160
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-warn-50));
|
|
161
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
162
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
163
|
+
--ard-cmpcl--on-bg-colored-light: var(--ard-text);
|
|
164
|
+
--ard-cmpcl--border: rgb(var(--ard-warn-300));
|
|
165
|
+
--ard-cmpcl--border-light: rgb(var(--ard-warn-100));
|
|
166
|
+
--ard-cmpcl--content: rgb(var(--ard-warn-700));
|
|
167
|
+
--ard-cmpcl--content-light: rgb(var(--ard-warn-100));
|
|
168
|
+
--ard-cmpcl--overlay-rgb: var(--ard-warn-500);
|
|
169
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
170
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-warn-700));
|
|
171
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-warn-100));
|
|
172
|
+
}
|
|
173
|
+
.ard-file-input.ard-color-danger {
|
|
174
|
+
--ard-cmpcl--bg: rgb(var(--ard-danger-700));
|
|
175
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-danger-700));
|
|
176
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-danger-100));
|
|
177
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-danger-100));
|
|
178
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-danger-50));
|
|
179
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
180
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
181
|
+
--ard-cmpcl--on-bg-colored-light: var(--ard-text);
|
|
182
|
+
--ard-cmpcl--border: rgb(var(--ard-danger-300));
|
|
183
|
+
--ard-cmpcl--border-light: rgb(var(--ard-danger-100));
|
|
184
|
+
--ard-cmpcl--content: rgb(var(--ard-danger-900));
|
|
185
|
+
--ard-cmpcl--content-light: rgb(var(--ard-danger-500));
|
|
186
|
+
--ard-cmpcl--overlay-rgb: var(--ard-danger-700);
|
|
187
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
188
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-danger-700));
|
|
189
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-danger-300));
|
|
190
|
+
}
|
|
191
|
+
.ard-file-input.ard-color-success {
|
|
192
|
+
--ard-cmpcl--bg: rgb(var(--ard-success-700));
|
|
193
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-success-700));
|
|
194
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-success-50));
|
|
195
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-success-50));
|
|
196
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-success-50));
|
|
197
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
198
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
199
|
+
--ard-cmpcl--on-bg-colored-light: var(--ard-text);
|
|
200
|
+
--ard-cmpcl--border: rgb(var(--ard-success-300));
|
|
201
|
+
--ard-cmpcl--border-light: rgb(var(--ard-success-100));
|
|
202
|
+
--ard-cmpcl--content: rgb(var(--ard-success-900));
|
|
203
|
+
--ard-cmpcl--content-light: rgb(var(--ard-success-300));
|
|
204
|
+
--ard-cmpcl--overlay-rgb: var(--ard-success-700);
|
|
205
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
206
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-success-700));
|
|
207
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-success-300));
|
|
208
|
+
}
|
|
209
|
+
.ard-file-input.ard-color-info {
|
|
210
|
+
--ard-cmpcl--bg: rgb(var(--ard-info-500));
|
|
211
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-info-500));
|
|
212
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-info-50));
|
|
213
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-info-50));
|
|
214
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-info-50));
|
|
215
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
216
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
217
|
+
--ard-cmpcl--on-bg-colored-light: var(--ard-text);
|
|
218
|
+
--ard-cmpcl--border: rgb(var(--ard-info-300));
|
|
219
|
+
--ard-cmpcl--border-light: rgb(var(--ard-info-100));
|
|
220
|
+
--ard-cmpcl--content: rgb(var(--ard-info-700));
|
|
221
|
+
--ard-cmpcl--content-light: rgb(var(--ard-info-300));
|
|
222
|
+
--ard-cmpcl--overlay-rgb: var(--ard-info-500);
|
|
223
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
224
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-info-700));
|
|
225
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-info-100));
|
|
226
|
+
}
|
|
227
|
+
.ard-file-input.ard-color-currentColor {
|
|
228
|
+
--ard-cmpcl--bg: var(--ard-bg);
|
|
229
|
+
--ard-cmpcl--bg-colored: currentColor;
|
|
230
|
+
--ard-cmpcl--on-bg: currentColor;
|
|
231
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
232
|
+
--ard-cmpcl--border: currentColor;
|
|
233
|
+
--ard-cmpcl--border-light: currentColor;
|
|
234
|
+
--ard-cmpcl--content: currentColor;
|
|
235
|
+
--ard-cmpcl--content-light: currentColor;
|
|
236
|
+
--ard-cmpcl--overlay-rgb: var(--ard-overlay-rgb);
|
|
237
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
238
|
+
--ard-cmpcl--overlay-colored: currentColor;
|
|
239
|
+
--ard-cmpcl--overlay-colored-light: currentColor;
|
|
240
|
+
}
|
|
241
|
+
.ard-file-input *:not(button):not(ard-clear-button) {
|
|
242
|
+
pointer-events: none;
|
|
243
|
+
user-select: none;
|
|
244
|
+
}
|
|
245
|
+
.ard-file-input.ard-state-dragover {
|
|
246
|
+
outline: var(--ard-file-input-dragover-outline-width, 2px) var(--ard-file-input-dragover-outline-style, solid) var(--ard-cmpcl--content-light);
|
|
247
|
+
}
|
|
248
|
+
.ard-file-input .ard-file-input__value {
|
|
249
|
+
overflow: hidden;
|
|
250
|
+
text-overflow: ellipsis;
|
|
251
|
+
display: flex;
|
|
252
|
+
align-items: center;
|
|
253
|
+
}
|
|
254
|
+
.ard-file-input .ard-browse-button {
|
|
255
|
+
cursor: pointer;
|
|
256
|
+
height: var(--ard-file-input-browse-button-height, calc(100% - 0.25rem));
|
|
257
|
+
width: var(--ard-file-input-browse-button-width, unset);
|
|
258
|
+
margin: var(--ard-file-input-browse-button-margin, 0.125rem);
|
|
259
|
+
aspect-ratio: var(--ard-file-input-browse-button-aspect-ratio, 1);
|
|
260
|
+
border: var(--ard-file-input-browse-button-border, none);
|
|
261
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
262
|
+
background: var(--ard-file-input-browse-button-background, none);
|
|
263
|
+
padding: var(--ard-file-input-browse-button-padding, 0);
|
|
264
|
+
color: var(--ard-file-input-browse-button-color, var(--ard-text));
|
|
265
|
+
position: relative;
|
|
266
|
+
display: flex;
|
|
267
|
+
justify-content: center;
|
|
268
|
+
align-items: center;
|
|
269
|
+
outline: none;
|
|
270
|
+
}
|
|
271
|
+
.ard-file-input .ard-browse-button .ard-focus-overlay {
|
|
272
|
+
position: absolute;
|
|
273
|
+
top: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
274
|
+
bottom: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
275
|
+
left: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
276
|
+
right: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
277
|
+
opacity: 0;
|
|
278
|
+
border-radius: inherit;
|
|
279
|
+
pointer-events: none;
|
|
280
|
+
transition: opacity 0.2s ease;
|
|
281
|
+
background: var(--ard-file-input-browse-button-overlay-color, var(--ard-overlay));
|
|
282
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
283
|
+
}
|
|
284
|
+
.ard-file-input .ard-browse-button:hover .ard-focus-overlay {
|
|
285
|
+
opacity: var(--ard-file-input-browse-button-overlay-hover-opacity, 4%);
|
|
286
|
+
}
|
|
287
|
+
.ard-file-input .ard-browse-button:focus .ard-focus-overlay {
|
|
288
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-opacity, 8%);
|
|
289
|
+
}
|
|
290
|
+
.ard-file-input .ard-browse-button:active .ard-focus-overlay {
|
|
291
|
+
opacity: var(--ard-file-input-browse-button-overlay-active-opacity, 12%);
|
|
292
|
+
}
|
|
293
|
+
.ard-file-input .ard-browse-button:focus-visible .ard-focus-overlay {
|
|
294
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-visible-opacity, 16%);
|
|
295
|
+
}
|
|
296
|
+
.ard-file-input ard-clear-button {
|
|
297
|
+
height: var(--ard-clear-button-size);
|
|
298
|
+
width: var(--ard-clear-button-size);
|
|
299
|
+
position: relative;
|
|
300
|
+
}
|
|
301
|
+
.ard-file-input .ard-clear-btn-wrapper {
|
|
302
|
+
cursor: pointer;
|
|
303
|
+
font-size: medium;
|
|
304
|
+
color: var(--ard-detail);
|
|
305
|
+
width: var(--ard-clear-button-size);
|
|
306
|
+
height: var(--ard-clear-button-size);
|
|
307
|
+
line-height: 1em;
|
|
308
|
+
border-radius: 999px;
|
|
309
|
+
border: none;
|
|
310
|
+
padding: 0;
|
|
311
|
+
background: transparent;
|
|
312
|
+
position: absolute;
|
|
313
|
+
left: 50%;
|
|
314
|
+
top: 50%;
|
|
315
|
+
transform: translate(-50%, -50%);
|
|
316
|
+
outline: none;
|
|
317
|
+
color: inherit;
|
|
318
|
+
}
|
|
319
|
+
.ard-file-input .ard-clear-btn-wrapper .ard-hitbox {
|
|
320
|
+
position: absolute;
|
|
321
|
+
left: -1px;
|
|
322
|
+
right: -1px;
|
|
323
|
+
top: -1px;
|
|
324
|
+
bottom: -1px;
|
|
325
|
+
}
|
|
326
|
+
.ard-file-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
327
|
+
position: absolute;
|
|
328
|
+
top: calc(-1 * 1px);
|
|
329
|
+
bottom: calc(-1 * 1px);
|
|
330
|
+
left: calc(-1 * 1px);
|
|
331
|
+
right: calc(-1 * 1px);
|
|
332
|
+
opacity: 0;
|
|
333
|
+
border-radius: inherit;
|
|
334
|
+
pointer-events: none;
|
|
335
|
+
transition: opacity 0.2s ease;
|
|
336
|
+
background: currentColor;
|
|
337
|
+
}
|
|
338
|
+
.ard-file-input .ard-clear-btn-wrapper .ard-clear-btn {
|
|
339
|
+
position: absolute;
|
|
340
|
+
left: 50%;
|
|
341
|
+
top: 50%;
|
|
342
|
+
transform: translate(-50%, -50%);
|
|
343
|
+
}
|
|
344
|
+
.ard-file-input .ard-clear-btn-wrapper .ard-clear-btn::before {
|
|
345
|
+
content: "close";
|
|
346
|
+
font-family: "Material Symbols Outlined";
|
|
347
|
+
font-size: 1.5em;
|
|
348
|
+
font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
|
|
349
|
+
font-size: 70%;
|
|
350
|
+
}
|
|
351
|
+
.ard-file-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
|
|
352
|
+
opacity: 5%;
|
|
353
|
+
}
|
|
354
|
+
.ard-file-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
|
|
355
|
+
opacity: 8%;
|
|
356
|
+
}
|
|
357
|
+
.ard-file-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
|
|
358
|
+
opacity: 15%;
|
|
359
|
+
}
|
|
360
|
+
.ard-file-input .ard-input-container {
|
|
361
|
+
white-space: nowrap;
|
|
362
|
+
}
|
|
363
|
+
.ard-file-input .ard-input-container,
|
|
364
|
+
.ard-file-input .ard-file-input__value,
|
|
365
|
+
.ard-file-input .ard-file-input__uploaded,
|
|
366
|
+
.ard-file-input .ard-file-input__full-file-name,
|
|
367
|
+
.ard-file-input .ard-file-input__file-name {
|
|
368
|
+
overflow: hidden;
|
|
369
|
+
text-overflow: ellipsis;
|
|
370
|
+
max-width: 100%;
|
|
371
|
+
}
|
|
372
|
+
.ard-file-input .ard-file-input__full-file-name {
|
|
373
|
+
display: grid;
|
|
374
|
+
grid-template-columns: 1fr max-content;
|
|
375
|
+
}
|
|
376
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-name {
|
|
377
|
+
font-weight: var(--ard-file-input-file-name-font-weight, 500);
|
|
378
|
+
}
|
|
379
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-ext {
|
|
380
|
+
font-weight: var(--ard-file-input-file-ext-font-weight, 500);
|
|
381
|
+
}
|
|
382
|
+
ard-file-input .ard-form-field-content-container {
|
|
383
|
+
max-width: 100%;
|
|
384
|
+
}
|
|
385
|
+
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-file-input__value,
|
|
386
|
+
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-browse-button {
|
|
387
|
+
color: var(--ard-file-input-browse-button-color-error, rgb(var(--ard-danger-700)));
|
|
388
|
+
}
|
|
391
389
|
}
|
|
392
390
|
|
|
393
391
|
/*# sourceMappingURL=file-input.css.map */
|