@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,219 +1,221 @@
|
|
|
1
1
|
@use './coloring' as CM;
|
|
2
2
|
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
ard-file-drop-area {
|
|
50
|
-
display: block;
|
|
51
|
-
width: 100%;
|
|
52
|
-
max-width: 100%;
|
|
53
|
-
height: 100%;
|
|
54
|
-
max-height: 100%;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.ard-file-drop-area {
|
|
58
|
-
@include CM.typeColors();
|
|
59
|
-
width: 100%;
|
|
60
|
-
max-width: 100%;
|
|
61
|
-
height: 100%;
|
|
62
|
-
max-height: 100%;
|
|
63
|
-
min-width: var(--ard-file-drop-area-min-width, 15rem);
|
|
64
|
-
min-height: var(--ard-file-drop-area-min-height, 10rem);
|
|
65
|
-
padding: var(--ard-file-drop-area-padding, 0.625rem);
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
background: var(--ard-cmpcl--bg-colored-verylight);
|
|
68
|
-
display: flex;
|
|
3
|
+
@layer ard-theme {
|
|
4
|
+
// the variables are commented out intentionally
|
|
5
|
+
// read more in docs/dev/css-variables.md
|
|
6
|
+
:root {
|
|
7
|
+
--ard-file-drop-area-min-width: 15rem;
|
|
8
|
+
--ard-file-drop-area-min-height: 10rem;
|
|
9
|
+
--ard-file-drop-area-padding: 0.625rem;
|
|
10
|
+
--ard-file-drop-area-outline-border-width: 2px;
|
|
11
|
+
--ard-file-drop-area-outline-border-style: dashed;
|
|
12
|
+
--ard-file-drop-area-outline-padding: 0.375rem;
|
|
13
|
+
--ard-file-drop-area-content-gap-min: 0.2rem;
|
|
14
|
+
--ard-file-drop-area-content-gap-preferred: 10%;
|
|
15
|
+
--ard-file-drop-area-content-gap-max: 1rem;
|
|
16
|
+
--ard-file-drop-area-icon-font-size: 220%;
|
|
17
|
+
--ard-file-drop-area-drop-text-font-weight: 500;
|
|
18
|
+
--ard-file-drop-area-drop-text-font-size: 105%;
|
|
19
|
+
--ard-file-drop-area-or-text-font-weight: 400;
|
|
20
|
+
--ard-file-drop-area-or-text-font-size: 95%;
|
|
21
|
+
--ard-file-drop-area-dragover-text-font-weight: 500;
|
|
22
|
+
--ard-file-drop-area-dragover-text-font-size: 105%;
|
|
23
|
+
--ard-file-drop-area-dragover-amount-font-weight: 600;
|
|
24
|
+
--ard-file-drop-area-dragover-amount-font-size: 120%;
|
|
25
|
+
--ard-file-drop-area-uploaded-container-gap: 0.75rem;
|
|
26
|
+
--ard-file-drop-area-uploaded-message-font-weight: 500;
|
|
27
|
+
--ard-file-drop-area-uploaded-message-font-size: 105%;
|
|
28
|
+
--ard-file-drop-area-uploaded-amount-font-weight: 600;
|
|
29
|
+
--ard-file-drop-area-uploaded-amount-font-size: 100%;
|
|
30
|
+
--ard-file-drop-area-uploaded-files-gap: 0.45rem;
|
|
31
|
+
--ard-file-drop-area-file-gap: 0.75rem;
|
|
32
|
+
--ard-file-drop-area-file-icon-font-size: 220%;
|
|
33
|
+
--ard-file-drop-area-file-info-gap: 0.5ch;
|
|
34
|
+
--ard-file-drop-area-filename-gap: 0;
|
|
35
|
+
--ard-file-drop-area-filename-name-line-height: 1;
|
|
36
|
+
--ard-file-drop-area-filename-name-height: 1em;
|
|
37
|
+
--ard-file-drop-area-filesize-font-weight: 500;
|
|
38
|
+
--ard-file-drop-area-filesize-font-size: 83%;
|
|
39
|
+
--ard-file-drop-area-filesize-opacity: 60%;
|
|
40
|
+
--ard-file-drop-area-variant-rounded-corner-radius: 0.875rem;
|
|
41
|
+
--ard-file-drop-area-outline-corner-radius: 0.25rem;
|
|
42
|
+
--ard-file-drop-area-font-size-compact: 85%;
|
|
43
|
+
--ard-file-drop-area-min-width-compact: 12rem;
|
|
44
|
+
--ard-file-drop-area-min-height-compact: 8rem;
|
|
45
|
+
--ard-file-drop-area-content-gap-min-compact: 0.1667rem;
|
|
46
|
+
--ard-file-drop-area-content-gap-preferred-compact: 10%;
|
|
47
|
+
--ard-file-drop-area-content-gap-max-compact: 0.75rem;
|
|
48
|
+
}
|
|
69
49
|
|
|
70
|
-
|
|
50
|
+
ard-file-drop-area {
|
|
51
|
+
display: block;
|
|
71
52
|
width: 100%;
|
|
72
|
-
|
|
73
|
-
box-sizing: border-box;
|
|
74
|
-
border: var(--ard-file-drop-area-outline-border-width, 2px) var(--ard-file-drop-area-outline-border-style, dashed)
|
|
75
|
-
var(--ard-cmpcl--border);
|
|
76
|
-
padding: var(--ard-file-drop-area-outline-padding, 0.375rem);
|
|
77
|
-
pointer-events: none;
|
|
78
|
-
|
|
79
|
-
* {
|
|
80
|
-
pointer-events: none;
|
|
81
|
-
user-select: none;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
.ard-file-drop-area-content {
|
|
53
|
+
max-width: 100%;
|
|
85
54
|
height: 100%;
|
|
86
|
-
|
|
87
|
-
flex-direction: column;
|
|
88
|
-
align-items: center;
|
|
89
|
-
justify-content: center;
|
|
90
|
-
gap: clamp(
|
|
91
|
-
var(--ard-file-drop-area-content-gap-min, 0.2rem),
|
|
92
|
-
var(--ard-file-drop-area-content-gap-preferred, 10%),
|
|
93
|
-
var(--ard-file-drop-area-content-gap-max, 1rem)
|
|
94
|
-
);
|
|
95
|
-
padding: var(--ard-file-drop-area-content-padding, 0.2rem 0);
|
|
96
|
-
box-sizing: border-box;
|
|
55
|
+
max-height: 100%;
|
|
97
56
|
}
|
|
98
57
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
.ard-file-drop-area-icon {
|
|
102
|
-
font-size: var(--ard-file-drop-area-icon-font-size, 220%);
|
|
103
|
-
}
|
|
104
|
-
.ard-file-drop-area-drop-text {
|
|
105
|
-
font-weight: var(--ard-file-drop-area-drop-text-font-weight, 500);
|
|
106
|
-
font-size: var(--ard-file-drop-area-drop-text-font-size, 105%);
|
|
107
|
-
}
|
|
108
|
-
.ard-file-drop-area-or-text {
|
|
109
|
-
font-weight: var(--ard-file-drop-area-or-text-font-weight, 400);
|
|
110
|
-
font-size: var(--ard-file-drop-area-or-text-font-size, 95%);
|
|
111
|
-
}
|
|
112
|
-
.ard-file-drop-area-browse-button > button {
|
|
113
|
-
border: 1px solid var(--ard-cmpcl--border);
|
|
114
|
-
pointer-events: all;
|
|
115
|
-
}
|
|
116
|
-
//dragover
|
|
117
|
-
.ard-file-drop-area-dragover-text {
|
|
118
|
-
font-weight: var(--ard-file-drop-area-dragover-text-font-weight, 500);
|
|
119
|
-
font-size: var(--ard-file-drop-area-dragover-text-font-size, 105%);
|
|
120
|
-
}
|
|
121
|
-
.ard-file-drop-area-dragover-amount {
|
|
122
|
-
font-weight: var(--ard-file-drop-area-dragover-amount-font-weight, 600);
|
|
123
|
-
font-size: var(--ard-file-drop-area-dragover-amount-font-size, 120%);
|
|
124
|
-
}
|
|
125
|
-
//uploaded
|
|
126
|
-
.ard-file-drop-area-uploaded-container {
|
|
127
|
-
max-height: 100%;
|
|
128
|
-
height: 100%;
|
|
58
|
+
.ard-file-drop-area {
|
|
59
|
+
@include CM.typeColors();
|
|
129
60
|
width: 100%;
|
|
130
|
-
display: grid;
|
|
131
|
-
grid-template-columns: 1fr;
|
|
132
|
-
grid-template-rows: max-content 1fr;
|
|
133
|
-
gap: var(--ard-file-drop-area-uploaded-container-gap, 0.75rem);
|
|
134
|
-
justify-items: center;
|
|
135
|
-
}
|
|
136
|
-
.ard-file-drop-area-uploaded-message {
|
|
137
|
-
font-weight: var(--ard-file-drop-area-uploaded-message-font-weight, 500);
|
|
138
|
-
font-size: var(--ard-file-drop-area-uploaded-message-font-size, 105%);
|
|
139
|
-
}
|
|
140
|
-
.ard-file-drop-area-uploaded-amount {
|
|
141
|
-
font-weight: var(--ard-file-drop-area-uploaded-amount-font-weight, 600);
|
|
142
|
-
font-size: var(--ard-file-drop-area-uploaded-amount-font-size, 100%);
|
|
143
|
-
}
|
|
144
|
-
.ard-file-drop-area-uploaded-files {
|
|
145
61
|
max-width: 100%;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
overflow: hidden auto;
|
|
62
|
+
height: 100%;
|
|
63
|
+
max-height: 100%;
|
|
64
|
+
min-width: var(--ard-file-drop-area-min-width, 15rem);
|
|
65
|
+
min-height: var(--ard-file-drop-area-min-height, 10rem);
|
|
66
|
+
padding: var(--ard-file-drop-area-padding, 0.625rem);
|
|
152
67
|
box-sizing: border-box;
|
|
68
|
+
background: var(--ard-cmpcl--bg-colored-verylight);
|
|
69
|
+
display: flex;
|
|
153
70
|
|
|
154
|
-
.ard-file-drop-area-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
71
|
+
.ard-file-drop-area-outline {
|
|
72
|
+
width: 100%;
|
|
73
|
+
min-height: 100%;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
border: var(--ard-file-drop-area-outline-border-width, 2px) var(--ard-file-drop-area-outline-border-style, dashed)
|
|
76
|
+
var(--ard-cmpcl--border);
|
|
77
|
+
padding: var(--ard-file-drop-area-outline-padding, 0.375rem);
|
|
78
|
+
pointer-events: none;
|
|
161
79
|
|
|
162
|
-
|
|
163
|
-
|
|
80
|
+
* {
|
|
81
|
+
pointer-events: none;
|
|
82
|
+
user-select: none;
|
|
164
83
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
84
|
+
}
|
|
85
|
+
.ard-file-drop-area-content {
|
|
86
|
+
height: 100%;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
gap: clamp(
|
|
92
|
+
var(--ard-file-drop-area-content-gap-min, 0.2rem),
|
|
93
|
+
var(--ard-file-drop-area-content-gap-preferred, 10%),
|
|
94
|
+
var(--ard-file-drop-area-content-gap-max, 1rem)
|
|
95
|
+
);
|
|
96
|
+
padding: var(--ard-file-drop-area-content-padding, 0.2rem 0);
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
//! state-specific styling
|
|
101
|
+
//idle
|
|
102
|
+
.ard-file-drop-area-icon {
|
|
103
|
+
font-size: var(--ard-file-drop-area-icon-font-size, 220%);
|
|
104
|
+
}
|
|
105
|
+
.ard-file-drop-area-drop-text {
|
|
106
|
+
font-weight: var(--ard-file-drop-area-drop-text-font-weight, 500);
|
|
107
|
+
font-size: var(--ard-file-drop-area-drop-text-font-size, 105%);
|
|
108
|
+
}
|
|
109
|
+
.ard-file-drop-area-or-text {
|
|
110
|
+
font-weight: var(--ard-file-drop-area-or-text-font-weight, 400);
|
|
111
|
+
font-size: var(--ard-file-drop-area-or-text-font-size, 95%);
|
|
112
|
+
}
|
|
113
|
+
.ard-file-drop-area-browse-button > button {
|
|
114
|
+
border: 1px solid var(--ard-cmpcl--border);
|
|
115
|
+
pointer-events: all;
|
|
116
|
+
}
|
|
117
|
+
//dragover
|
|
118
|
+
.ard-file-drop-area-dragover-text {
|
|
119
|
+
font-weight: var(--ard-file-drop-area-dragover-text-font-weight, 500);
|
|
120
|
+
font-size: var(--ard-file-drop-area-dragover-text-font-size, 105%);
|
|
121
|
+
}
|
|
122
|
+
.ard-file-drop-area-dragover-amount {
|
|
123
|
+
font-weight: var(--ard-file-drop-area-dragover-amount-font-weight, 600);
|
|
124
|
+
font-size: var(--ard-file-drop-area-dragover-amount-font-size, 120%);
|
|
125
|
+
}
|
|
126
|
+
//uploaded
|
|
127
|
+
.ard-file-drop-area-uploaded-container {
|
|
128
|
+
max-height: 100%;
|
|
129
|
+
height: 100%;
|
|
130
|
+
width: 100%;
|
|
131
|
+
display: grid;
|
|
132
|
+
grid-template-columns: 1fr;
|
|
133
|
+
grid-template-rows: max-content 1fr;
|
|
134
|
+
gap: var(--ard-file-drop-area-uploaded-container-gap, 0.75rem);
|
|
135
|
+
justify-items: center;
|
|
136
|
+
}
|
|
137
|
+
.ard-file-drop-area-uploaded-message {
|
|
138
|
+
font-weight: var(--ard-file-drop-area-uploaded-message-font-weight, 500);
|
|
139
|
+
font-size: var(--ard-file-drop-area-uploaded-message-font-size, 105%);
|
|
140
|
+
}
|
|
141
|
+
.ard-file-drop-area-uploaded-amount {
|
|
142
|
+
font-weight: var(--ard-file-drop-area-uploaded-amount-font-weight, 600);
|
|
143
|
+
font-size: var(--ard-file-drop-area-uploaded-amount-font-size, 100%);
|
|
144
|
+
}
|
|
145
|
+
.ard-file-drop-area-uploaded-files {
|
|
146
|
+
max-width: 100%;
|
|
147
|
+
width: 100%;
|
|
148
|
+
display: flex;
|
|
149
|
+
flex-direction: column;
|
|
150
|
+
align-items: flex-start;
|
|
151
|
+
gap: var(--ard-file-drop-area-uploaded-files-gap, 0.45rem);
|
|
152
|
+
overflow: hidden auto;
|
|
153
|
+
box-sizing: border-box;
|
|
154
|
+
|
|
155
|
+
.ard-file-drop-area-file {
|
|
172
156
|
max-width: 100%;
|
|
173
157
|
display: grid;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
158
|
+
align-items: center;
|
|
159
|
+
grid-template-columns: max-content 1fr;
|
|
160
|
+
gap: var(--ard-file-drop-area-file-gap, 0.75rem);
|
|
161
|
+
max-height: min-content;
|
|
162
|
+
|
|
163
|
+
ard-icon {
|
|
164
|
+
font-size: var(--ard-file-drop-area-file-icon-font-size, 220%);
|
|
165
|
+
}
|
|
166
|
+
.ard-file-drop-area-file-info {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
line-height: 1;
|
|
170
|
+
gap: var(--ard-file-drop-area-file-info-gap, 0.5ch);
|
|
171
|
+
}
|
|
172
|
+
.ard-file-drop-area-filename {
|
|
173
|
+
max-width: 100%;
|
|
174
|
+
display: grid;
|
|
175
|
+
grid-template-columns: 1fr max-content;
|
|
176
|
+
gap: var(--ard-file-drop-area-filename-gap, 0);
|
|
177
|
+
}
|
|
178
|
+
.ard-file-drop-area-filename-name {
|
|
179
|
+
max-width: 100%;
|
|
180
|
+
line-height: var(--ard-file-drop-area-filename-name-line-height, 1);
|
|
181
|
+
text-overflow: ellipsis;
|
|
182
|
+
overflow: hidden;
|
|
183
|
+
white-space: nowrap;
|
|
184
|
+
height: var(--ard-file-drop-area-filename-name-height, 1em);
|
|
185
|
+
}
|
|
186
|
+
.ard-file-drop-area-filesize {
|
|
187
|
+
font-weight: var(--ard-file-drop-area-filesize-font-weight, 500);
|
|
188
|
+
font-size: var(--ard-file-drop-area-filesize-font-size, 83%);
|
|
189
|
+
opacity: var(--ard-file-drop-area-filesize-opacity, 60%);
|
|
190
|
+
}
|
|
189
191
|
}
|
|
190
192
|
}
|
|
191
|
-
}
|
|
192
193
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
194
|
+
//! variant
|
|
195
|
+
&.ard-variant-rounded,
|
|
196
|
+
&.ard-variant-pill {
|
|
197
|
+
border-radius: var(--ard-file-drop-area-variant-rounded-corner-radius, 0.875rem);
|
|
197
198
|
|
|
198
|
-
|
|
199
|
-
|
|
199
|
+
.ard-file-drop-area-outline {
|
|
200
|
+
border-radius: var(--ard-file-drop-area-outline-corner-radius, 0.25rem);
|
|
201
|
+
}
|
|
200
202
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
min-height: var(--ard-file-drop-area-min-height-compact, 8rem);
|
|
203
|
+
&.ard-variant-sharp {
|
|
204
|
+
border-radius: 0;
|
|
205
|
+
}
|
|
206
|
+
//! compact
|
|
207
|
+
&.ard-compact {
|
|
208
|
+
font-size: var(--ard-file-drop-area-font-size-compact, 85%);
|
|
209
|
+
min-width: var(--ard-file-drop-area-min-width-compact, 12rem);
|
|
210
|
+
min-height: var(--ard-file-drop-area-min-height-compact, 8rem);
|
|
210
211
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
.ard-file-drop-area-content {
|
|
213
|
+
gap: clamp(
|
|
214
|
+
var(--ard-file-drop-area-content-gap-min-compact, 0.1667rem),
|
|
215
|
+
var(--ard-file-drop-area-content-gap-preferred-compact, 10%),
|
|
216
|
+
var(--ard-file-drop-area-content-gap-max-compact, 0.75rem)
|
|
217
|
+
);
|
|
218
|
+
}
|
|
217
219
|
}
|
|
218
220
|
}
|
|
219
221
|
}
|
|
@@ -1,89 +1,91 @@
|
|
|
1
1
|
@use './mixins' as defaultMixins;
|
|
2
2
|
@use '../variables' as ARD;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
max-width: 100%;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: stretch;
|
|
12
|
-
position: relative;
|
|
13
|
-
font-family: var(--ard-font-family);
|
|
14
|
-
|
|
15
|
-
.ard-form-field-content-container {
|
|
16
|
-
flex-grow: 1;
|
|
17
|
-
min-height: inherit;
|
|
18
|
-
|
|
19
|
-
> * {
|
|
20
|
-
min-height: inherit;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.ard-form-field-prefix-container,
|
|
24
|
-
.ard-form-field-suffix-container {
|
|
4
|
+
@layer ard-theme {
|
|
5
|
+
.ard-form-field-frame {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
min-height: ARD.$form-field-height;
|
|
25
8
|
height: max-content;
|
|
26
|
-
max-
|
|
9
|
+
max-width: 100%;
|
|
27
10
|
display: flex;
|
|
28
11
|
align-items: center;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
.ard-form-field-suffix-container {
|
|
34
|
-
padding-right: var(--ard-form-field-padding-right, 0.375rem);
|
|
35
|
-
}
|
|
12
|
+
justify-content: stretch;
|
|
13
|
+
position: relative;
|
|
14
|
+
font-family: var(--ard-font-family);
|
|
36
15
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
16
|
+
.ard-form-field-content-container {
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
min-height: inherit;
|
|
41
19
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
20
|
+
> * {
|
|
21
|
+
min-height: inherit;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.ard-form-field-prefix-container,
|
|
25
|
+
.ard-form-field-suffix-container {
|
|
26
|
+
height: max-content;
|
|
27
|
+
max-height: 100%;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
}
|
|
31
|
+
.ard-form-field-prefix-container {
|
|
32
|
+
padding-left: var(--ard-form-field-padding-left, 0.375rem);
|
|
33
|
+
}
|
|
34
|
+
.ard-form-field-suffix-container {
|
|
35
|
+
padding-right: var(--ard-form-field-padding-right, 0.375rem);
|
|
36
|
+
}
|
|
47
37
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
38
|
+
//! compact
|
|
39
|
+
&.ard-compact {
|
|
40
|
+
min-height: ARD.$form-field-compact-height;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
//! appearance & variant
|
|
44
|
+
@include defaultMixins.formAppearances();
|
|
45
|
+
@include defaultMixins.formVariants();
|
|
46
|
+
background: var(--ard-appearance-background);
|
|
47
|
+
border: var(--ard-appearance-border);
|
|
52
48
|
|
|
53
|
-
&:hover {
|
|
54
49
|
.ard-form-field-overlay {
|
|
55
|
-
|
|
50
|
+
background: ARD.$overlay;
|
|
51
|
+
opacity: 0;
|
|
56
52
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
.ard-form-field-overlay {
|
|
56
|
+
opacity: var(--ard-form-field-hover-overlay-opacity, 3%);
|
|
57
|
+
}
|
|
61
58
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
&.ard-focused {
|
|
60
|
+
.ard-form-field-overlay {
|
|
61
|
+
opacity: var(--ard-form-field-focus-overlay-opacity, 6%);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
&.ard-enable-transitions {
|
|
65
|
+
transition: border-color var(--ard-form-field-transitions-duration, 150ms) ARD.$timing-fn;
|
|
65
66
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
.ard-form-field-overlay {
|
|
68
|
+
transition:
|
|
69
|
+
opacity var(--ard-form-field-transitions-duration, 150ms) ARD.$timing-fn,
|
|
70
|
+
background-color var(--ard-form-field-transitions-duration, 150ms) ARD.$timing-fn;
|
|
71
|
+
}
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
opacity: var(--ard-form-field-disabled-opacity, 50%);
|
|
74
|
+
.ard-disabled .ard-form-field-frame {
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
opacity: var(--ard-form-field-disabled-opacity, 50%);
|
|
76
77
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
&.ard-appearance-transparent {
|
|
79
|
+
.ard-form-field-overlay {
|
|
80
|
+
opacity: var(--ard-form-field-disabled-transparent-overlay-opacity, 4.5%);
|
|
81
|
+
}
|
|
80
82
|
}
|
|
81
83
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
.ard-readonly .ard-form-field-frame {
|
|
85
|
+
&:hover {
|
|
86
|
+
.ard-form-field-overlay {
|
|
87
|
+
opacity: 0;
|
|
88
|
+
}
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
}
|