@apo100l/ace-ui-kit 0.1.0 → 0.2.0

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.
Files changed (38) hide show
  1. package/README.md +10 -1
  2. package/dist/ace-compat.css +1 -1
  3. package/dist/ace-ui-kit.css +1 -1
  4. package/dist/ace-ui-kit.js +311 -20
  5. package/dist/ace-ui-kit.js.map +1 -1
  6. package/dist/icons.svg +2 -0
  7. package/dist/index.d.ts +5 -0
  8. package/dist/js/dialog.d.ts +3 -0
  9. package/dist/js/file.d.ts +1 -0
  10. package/dist/js/init.d.ts +4 -2
  11. package/dist/js/menu.d.ts +1 -0
  12. package/dist/js/sidebar.d.ts +1 -0
  13. package/dist/js/stepper.d.ts +2 -0
  14. package/dist/js/tabs.d.ts +3 -0
  15. package/dist/js/toast.d.ts +16 -0
  16. package/dist/js/tooltip.d.ts +1 -0
  17. package/package.json +1 -1
  18. package/src/icons/icons.json +306 -53
  19. package/src/scss/compat/_base.scss +24 -45
  20. package/src/scss/compat/_feedback.scss +11 -34
  21. package/src/scss/compat/_forms.scss +14 -35
  22. package/src/scss/compat/_navigation.scss +6 -28
  23. package/src/scss/compat/_tables.scss +4 -16
  24. package/src/scss/compat/_widgets.scss +8 -18
  25. package/src/scss/components/_badge.scss +48 -0
  26. package/src/scss/components/_card.scss +66 -0
  27. package/src/scss/components/_feedback.scss +219 -0
  28. package/src/scss/components/_form.scss +336 -0
  29. package/src/scss/components/_overlay.scss +174 -0
  30. package/src/scss/components/_shell.scss +326 -0
  31. package/src/scss/components/_table.scss +301 -0
  32. package/src/scss/components/_tabs.scss +56 -0
  33. package/src/scss/index.scss +8 -0
  34. package/src/scss/mixins/_badge.scss +59 -0
  35. package/src/scss/mixins/_card.scss +40 -0
  36. package/src/scss/mixins/_form.scss +76 -0
  37. package/src/scss/mixins/_menu.scss +53 -0
  38. package/src/scss/mixins/_table.scss +23 -0
@@ -1,58 +1,311 @@
1
1
  {
2
2
  "$comment": "Icons bundled into the sprite. Key = Lucide name = symbol id (`#name`). `fa` lists the Font Awesome 3/4 classes it replaces (used by the inventory and the compat migration). Regenerate with `npm run icons`.",
3
3
  "icons": {
4
- "chevron-down": { "fa": ["fa-angle-down", "fa-caret-down", "icon-angle-down"] },
5
- "chevron-up": { "fa": ["fa-angle-up", "fa-caret-up", "icon-angle-up"] },
6
- "chevrons-left": { "fa": ["fa-double-angle-left", "fa-angle-double-left", "icon-double-angle-left"] },
7
- "chevrons-right": { "fa": ["fa-double-angle-right", "fa-angle-double-right", "icon-double-angle-right"] },
8
- "square-pen": { "fa": ["fa-edit", "fa-pencil-square-o"] },
9
- "pencil": { "fa": ["fa-pencil"] },
10
- "table": { "fa": ["fa-table"] },
11
- "save": { "fa": ["fa-save", "fa-floppy-o"] },
12
- "calendar": { "fa": ["fa-calendar"] },
13
- "calendar-x": { "fa": ["fa-calendar-times-o"] },
14
- "lock": { "fa": ["fa-lock"] },
15
- "key": { "fa": ["fa-key"] },
16
- "plus": { "fa": ["fa-plus"] },
17
- "minus": { "fa": ["fa-minus"] },
18
- "copy": { "fa": ["fa-copy", "fa-files-o"] },
19
- "file": { "fa": ["fa-file", "fa-file-o"] },
20
- "file-text": { "fa": ["fa-file-pdf-o", "fa-file-text-o"] },
21
- "file-spreadsheet": { "fa": ["fa-file-excel-o"] },
22
- "file-image": { "fa": ["fa-file-image-o"] },
23
- "image": { "fa": ["fa-picture-o", "fa-image"] },
24
- "upload": { "fa": ["fa-upload"] },
25
- "download": { "fa": ["fa-download"] },
26
- "x": { "fa": ["fa-remove", "fa-times", "fa-close"] },
27
- "circle-x": { "fa": ["fa-times-circle", "fa-times-circle-o"] },
28
- "circle-check": { "fa": ["fa-check-circle", "fa-check-circle-o"] },
29
- "check": { "fa": ["fa-check"] },
30
- "trash-2": { "fa": ["fa-trash", "fa-trash-o"] },
31
- "eraser": { "fa": ["fa-eraser"] },
32
- "refresh-cw": { "fa": ["fa-repeat", "fa-refresh"] },
33
- "russian-ruble": { "fa": ["fa-rub", "fa-ruble"] },
34
- "user": { "fa": ["fa-user", "icon-user"] },
35
- "users": { "fa": ["fa-group", "fa-users"] },
36
- "building": { "fa": ["fa-building", "fa-building-o"] },
37
- "settings": { "fa": ["fa-cogs", "fa-cog", "fa-gear"] },
38
- "layout-dashboard": { "fa": ["fa-dashboard", "fa-tachometer"] },
39
- "house": { "fa": ["fa-home"] },
40
- "list": { "fa": ["fa-list"] },
41
- "clipboard-list": { "fa": ["fa-list-alt"] },
42
- "map-pin": { "fa": ["fa-map-marker"] },
43
- "send": { "fa": ["fa-paper-plane", "fa-paper-plane-o"] },
44
- "phone": { "fa": ["fa-phone"] },
45
- "log-out": { "fa": ["fa-sign-out"] },
46
- "menu": { "fa": ["fa-bars"] },
47
- "search": { "fa": ["fa-search"] },
48
- "filter": { "fa": ["fa-filter"] },
49
- "eye": { "fa": ["fa-eye"] },
50
- "eye-off": { "fa": ["fa-eye-slash"] },
51
- "external-link": { "fa": ["fa-external-link"] },
52
- "info": { "fa": ["fa-info-circle", "fa-info"] },
53
- "circle-alert": { "fa": ["fa-exclamation-circle"] },
54
- "triangle-alert": { "fa": ["fa-exclamation-triangle", "fa-warning"] },
55
- "arrow-up-down": { "fa": ["fa-sort"] },
56
- "grip-vertical": { "fa": ["fa-arrows-v", "fa-bars"] }
4
+ "chevron-down": {
5
+ "fa": [
6
+ "fa-angle-down",
7
+ "fa-caret-down",
8
+ "icon-angle-down"
9
+ ]
10
+ },
11
+ "chevron-up": {
12
+ "fa": [
13
+ "fa-angle-up",
14
+ "fa-caret-up",
15
+ "icon-angle-up"
16
+ ]
17
+ },
18
+ "chevrons-left": {
19
+ "fa": [
20
+ "fa-double-angle-left",
21
+ "fa-angle-double-left",
22
+ "icon-double-angle-left"
23
+ ]
24
+ },
25
+ "chevrons-right": {
26
+ "fa": [
27
+ "fa-double-angle-right",
28
+ "fa-angle-double-right",
29
+ "icon-double-angle-right"
30
+ ]
31
+ },
32
+ "square-pen": {
33
+ "fa": [
34
+ "fa-edit",
35
+ "fa-pencil-square-o"
36
+ ]
37
+ },
38
+ "pencil": {
39
+ "fa": [
40
+ "fa-pencil"
41
+ ]
42
+ },
43
+ "table": {
44
+ "fa": [
45
+ "fa-table"
46
+ ]
47
+ },
48
+ "save": {
49
+ "fa": [
50
+ "fa-save",
51
+ "fa-floppy-o"
52
+ ]
53
+ },
54
+ "calendar": {
55
+ "fa": [
56
+ "fa-calendar"
57
+ ]
58
+ },
59
+ "calendar-x": {
60
+ "fa": [
61
+ "fa-calendar-times-o"
62
+ ]
63
+ },
64
+ "lock": {
65
+ "fa": [
66
+ "fa-lock"
67
+ ]
68
+ },
69
+ "key": {
70
+ "fa": [
71
+ "fa-key"
72
+ ]
73
+ },
74
+ "plus": {
75
+ "fa": [
76
+ "fa-plus"
77
+ ]
78
+ },
79
+ "minus": {
80
+ "fa": [
81
+ "fa-minus"
82
+ ]
83
+ },
84
+ "copy": {
85
+ "fa": [
86
+ "fa-copy",
87
+ "fa-files-o"
88
+ ]
89
+ },
90
+ "file": {
91
+ "fa": [
92
+ "fa-file",
93
+ "fa-file-o"
94
+ ]
95
+ },
96
+ "file-text": {
97
+ "fa": [
98
+ "fa-file-pdf-o",
99
+ "fa-file-text-o"
100
+ ]
101
+ },
102
+ "file-spreadsheet": {
103
+ "fa": [
104
+ "fa-file-excel-o"
105
+ ]
106
+ },
107
+ "file-image": {
108
+ "fa": [
109
+ "fa-file-image-o"
110
+ ]
111
+ },
112
+ "image": {
113
+ "fa": [
114
+ "fa-picture-o",
115
+ "fa-image"
116
+ ]
117
+ },
118
+ "upload": {
119
+ "fa": [
120
+ "fa-upload"
121
+ ]
122
+ },
123
+ "download": {
124
+ "fa": [
125
+ "fa-download"
126
+ ]
127
+ },
128
+ "x": {
129
+ "fa": [
130
+ "fa-remove",
131
+ "fa-times",
132
+ "fa-close"
133
+ ]
134
+ },
135
+ "circle-x": {
136
+ "fa": [
137
+ "fa-times-circle",
138
+ "fa-times-circle-o"
139
+ ]
140
+ },
141
+ "circle-check": {
142
+ "fa": [
143
+ "fa-check-circle",
144
+ "fa-check-circle-o"
145
+ ]
146
+ },
147
+ "check": {
148
+ "fa": [
149
+ "fa-check"
150
+ ]
151
+ },
152
+ "trash-2": {
153
+ "fa": [
154
+ "fa-trash",
155
+ "fa-trash-o"
156
+ ]
157
+ },
158
+ "eraser": {
159
+ "fa": [
160
+ "fa-eraser"
161
+ ]
162
+ },
163
+ "refresh-cw": {
164
+ "fa": [
165
+ "fa-repeat",
166
+ "fa-refresh"
167
+ ]
168
+ },
169
+ "russian-ruble": {
170
+ "fa": [
171
+ "fa-rub",
172
+ "fa-ruble"
173
+ ]
174
+ },
175
+ "user": {
176
+ "fa": [
177
+ "fa-user",
178
+ "icon-user"
179
+ ]
180
+ },
181
+ "users": {
182
+ "fa": [
183
+ "fa-group",
184
+ "fa-users"
185
+ ]
186
+ },
187
+ "building": {
188
+ "fa": [
189
+ "fa-building",
190
+ "fa-building-o"
191
+ ]
192
+ },
193
+ "settings": {
194
+ "fa": [
195
+ "fa-cogs",
196
+ "fa-cog",
197
+ "fa-gear"
198
+ ]
199
+ },
200
+ "layout-dashboard": {
201
+ "fa": [
202
+ "fa-dashboard",
203
+ "fa-tachometer"
204
+ ]
205
+ },
206
+ "house": {
207
+ "fa": [
208
+ "fa-home"
209
+ ]
210
+ },
211
+ "list": {
212
+ "fa": [
213
+ "fa-list"
214
+ ]
215
+ },
216
+ "clipboard-list": {
217
+ "fa": [
218
+ "fa-list-alt"
219
+ ]
220
+ },
221
+ "map-pin": {
222
+ "fa": [
223
+ "fa-map-marker"
224
+ ]
225
+ },
226
+ "send": {
227
+ "fa": [
228
+ "fa-paper-plane",
229
+ "fa-paper-plane-o"
230
+ ]
231
+ },
232
+ "phone": {
233
+ "fa": [
234
+ "fa-phone"
235
+ ]
236
+ },
237
+ "log-out": {
238
+ "fa": [
239
+ "fa-sign-out"
240
+ ]
241
+ },
242
+ "menu": {
243
+ "fa": [
244
+ "fa-bars"
245
+ ]
246
+ },
247
+ "search": {
248
+ "fa": [
249
+ "fa-search"
250
+ ]
251
+ },
252
+ "filter": {
253
+ "fa": [
254
+ "fa-filter"
255
+ ]
256
+ },
257
+ "eye": {
258
+ "fa": [
259
+ "fa-eye"
260
+ ]
261
+ },
262
+ "eye-off": {
263
+ "fa": [
264
+ "fa-eye-slash"
265
+ ]
266
+ },
267
+ "external-link": {
268
+ "fa": [
269
+ "fa-external-link"
270
+ ]
271
+ },
272
+ "info": {
273
+ "fa": [
274
+ "fa-info-circle",
275
+ "fa-info"
276
+ ]
277
+ },
278
+ "circle-alert": {
279
+ "fa": [
280
+ "fa-exclamation-circle"
281
+ ]
282
+ },
283
+ "triangle-alert": {
284
+ "fa": [
285
+ "fa-exclamation-triangle",
286
+ "fa-warning"
287
+ ]
288
+ },
289
+ "arrow-up-down": {
290
+ "fa": [
291
+ "fa-sort"
292
+ ]
293
+ },
294
+ "grip-vertical": {
295
+ "fa": [
296
+ "fa-arrows-v",
297
+ "fa-bars"
298
+ ]
299
+ },
300
+ "ellipsis": {
301
+ "fa": [
302
+ "fa-ellipsis-h"
303
+ ]
304
+ },
305
+ "ellipsis-vertical": {
306
+ "fa": [
307
+ "fa-ellipsis-v"
308
+ ]
309
+ }
57
310
  }
58
311
  }
@@ -7,12 +7,12 @@
7
7
  box-sizing: border-box;
8
8
  }
9
9
 
10
- html {
10
+ :where(html) {
11
11
  -webkit-text-size-adjust: 100%;
12
12
  text-size-adjust: 100%;
13
13
  }
14
14
 
15
- body {
15
+ :where(body) {
16
16
  margin: 0;
17
17
  background: var(--ak-color-ground);
18
18
  color: var(--ak-color-text);
@@ -22,30 +22,23 @@ body {
22
22
  -webkit-font-smoothing: antialiased;
23
23
  }
24
24
 
25
- h1,
26
- h2,
27
- h3,
28
- h4,
29
- h5,
30
- h6 {
25
+ :where(h1, h2, h3, h4, h5, h6) {
31
26
  margin: 0 0 var(--ak-space-3);
32
27
  color: var(--ak-color-text);
33
28
  font-family: inherit;
34
29
  font-weight: var(--ak-font-weight-semibold);
35
30
  line-height: var(--ak-line-height-tight);
36
31
  }
37
- h1 { font-size: var(--ak-font-size-2xl); }
38
- h2 { font-size: var(--ak-font-size-xl); }
39
- h3 { font-size: var(--ak-font-size-lg); }
40
- h4,
41
- h5,
42
- h6 { font-size: var(--ak-font-size-md); }
32
+ :where(h1) { font-size: var(--ak-font-size-2xl); }
33
+ :where(h2) { font-size: var(--ak-font-size-xl); }
34
+ :where(h3) { font-size: var(--ak-font-size-lg); }
35
+ :where(h4, h5, h6) { font-size: var(--ak-font-size-md); }
43
36
 
44
- p {
37
+ :where(p) {
45
38
  margin: 0 0 var(--ak-space-3);
46
39
  }
47
40
 
48
- a {
41
+ :where(a) {
49
42
  color: var(--ak-color-link);
50
43
  text-decoration: none;
51
44
 
@@ -59,82 +52,70 @@ a {
59
52
  }
60
53
  }
61
54
 
62
- small,
63
- .small {
55
+ :where(small, .small) {
64
56
  font-size: var(--ak-font-size-sm);
65
57
  }
66
58
 
67
- strong,
68
- b {
59
+ :where(strong, b) {
69
60
  font-weight: var(--ak-font-weight-semibold);
70
61
  }
71
62
 
72
- hr {
63
+ :where(hr) {
73
64
  height: 0;
74
65
  margin: var(--ak-space-4) 0;
75
66
  border: 0;
76
67
  border-top: 1px solid var(--ak-color-border);
77
68
  }
78
69
 
79
- img,
80
- svg {
70
+ :where(img, svg) {
81
71
  vertical-align: middle;
82
72
  }
83
- img {
73
+ :where(img) {
84
74
  max-width: 100%;
85
75
  border: 0;
86
76
  }
87
77
 
88
- ul,
89
- ol {
78
+ :where(ul, ol) {
90
79
  margin: 0 0 var(--ak-space-3);
91
80
  padding-left: var(--ak-space-6);
92
81
  }
93
82
 
94
- table {
83
+ :where(table) {
95
84
  border-collapse: collapse;
96
85
  border-spacing: 0;
97
86
  }
98
87
 
99
- button,
100
- input,
101
- select,
102
- textarea {
88
+ :where(button, input, select, textarea) {
103
89
  margin: 0;
104
90
  color: inherit;
105
91
  font: inherit;
106
92
  }
107
- button,
108
- select {
93
+ :where(button, select) {
109
94
  text-transform: none;
110
95
  }
111
- button,
112
- [type='button'],
113
- [type='submit'] {
96
+ :where(button, [type='button'], [type='submit']) {
114
97
  cursor: pointer;
115
98
  }
116
99
 
117
- label {
100
+ :where(label) {
118
101
  display: inline-block;
119
102
  max-width: 100%;
120
103
  margin-bottom: var(--ak-space-1);
121
104
  font-weight: var(--ak-font-weight-medium);
122
105
  }
123
106
 
124
- fieldset {
107
+ :where(fieldset) {
125
108
  min-width: 0;
126
109
  margin: 0;
127
110
  padding: 0;
128
111
  border: 0;
129
112
  }
130
113
 
131
- code,
132
- kbd,
133
- pre {
114
+ :where(code, kbd, pre) {
134
115
  font-family: var(--ak-font-mono);
135
116
  font-size: 0.92em;
136
117
  }
137
- code {
118
+ :where(code) {
138
119
  padding: 1px 4px;
139
120
  border-radius: var(--ak-radius-chip);
140
121
  background: var(--ak-color-raised);
@@ -145,9 +126,7 @@ code {
145
126
  opacity: 1;
146
127
  }
147
128
 
148
- [hidden],
149
- .hidden,
150
- .hide {
129
+ :where([hidden], .hidden, .hide) {
151
130
  display: none !important;
152
131
  }
153
132
  .show {
@@ -1,5 +1,6 @@
1
1
  // Alerts, labels/badges, close buttons and modals.
2
2
  @use '../mixins/alert' as alert;
3
+ @use '../mixins/badge';
3
4
 
4
5
  // ---- alerts → kit alert tones
5
6
  .alert {
@@ -28,67 +29,43 @@
28
29
  }
29
30
  }
30
31
 
31
- // ---- labels and badges → status pills (pale tint + dark ink), never squeezed
32
+ // ---- labels and badges → kit badges (pale tint + dark ink), never squeezed
32
33
  .label,
33
34
  .badge {
34
- display: inline-flex;
35
- flex: none;
36
- align-items: center;
37
- height: 20px;
38
- padding: 0 var(--ak-space-2);
39
- border-radius: var(--ak-radius-chip);
40
- background: var(--ak-color-raised);
41
- color: var(--ak-color-text);
42
- font-size: var(--ak-font-size-sm);
43
- font-weight: var(--ak-font-weight-medium);
44
- line-height: 1;
45
- white-space: nowrap;
46
- vertical-align: middle;
35
+ @include badge.base;
47
36
  }
48
37
  .badge {
49
- min-width: 20px;
50
- justify-content: center;
51
- border-radius: var(--ak-radius-full);
52
- font-variant-numeric: tabular-nums;
38
+ @include badge.count;
53
39
  }
54
40
  .label-success,
55
41
  .badge-success {
56
- background: var(--ak-color-positive-bg);
57
- color: var(--ak-color-positive-ink);
42
+ @include badge.tone(positive);
58
43
  }
59
44
  .label-danger,
60
45
  .label-important,
61
46
  .badge-danger,
62
47
  .badge-important {
63
- background: var(--ak-color-negative-bg);
64
- color: var(--ak-color-negative-ink);
48
+ @include badge.tone(negative);
65
49
  }
66
50
  .label-warning,
67
51
  .badge-warning {
68
- background: var(--ak-color-warning-bg);
69
- color: var(--ak-color-warning-ink);
52
+ @include badge.tone(warning);
70
53
  }
71
54
  .label-info,
72
55
  .label-primary,
73
56
  .badge-info,
74
57
  .badge-primary {
75
- background: var(--ak-color-info-bg);
76
- color: var(--ak-color-info-ink);
58
+ @include badge.tone(info);
77
59
  }
78
- // Ace inverse labels hold codes and tags (`@block[…]`) — a neutral chip in the mono face
60
+ // Ace inverse labels hold codes and tags (`@block[…]`) — the kit's code badge
79
61
  .label-inverse,
80
62
  .badge-inverse {
81
- border: 1px solid var(--ak-color-border);
82
- background: var(--ak-color-raised);
83
- color: var(--ak-color-text);
84
- font-family: var(--ak-font-mono);
85
- font-weight: var(--ak-font-weight-regular);
63
+ @include badge.code;
86
64
  }
87
65
  .label-grey,
88
66
  .label-default,
89
67
  .label-light {
90
- background: var(--ak-color-raised);
91
- color: var(--ak-color-muted);
68
+ @include badge.tone(muted);
92
69
  }
93
70
 
94
71
  // ---- close (×)
@@ -1,6 +1,7 @@
1
1
  // Bootstrap 3 / Ace form classes: form-group, control-label, form-control, has-error, help-block,
2
2
  // input-group, checkbox/radio, Ace checkboxes (input.ace + .lbl), input-icon, ace-spinner.
3
3
  @use '../breakpoints' as bp;
4
+ @use '../mixins/form';
4
5
 
5
6
  .form-group {
6
7
  margin-bottom: var(--ak-space-4);
@@ -8,11 +9,9 @@
8
9
 
9
10
  .control-label,
10
11
  .form-group > label {
12
+ @include form.label;
11
13
  display: block;
12
14
  margin-bottom: var(--ak-space-2);
13
- color: var(--ak-color-text);
14
- font-size: var(--ak-font-size-md);
15
- font-weight: var(--ak-font-weight-medium);
16
15
  }
17
16
  .form-group > label:has(input[type='checkbox'], input[type='radio']) {
18
17
  display: inline-flex;
@@ -21,41 +20,16 @@
21
20
  }
22
21
 
23
22
  .form-control {
24
- display: block;
25
- width: 100%;
26
- height: var(--ak-control-height-lg);
27
- padding: 0 var(--ak-space-3);
28
- border: 1px solid var(--ak-color-control);
29
- border-radius: var(--ak-radius-control);
30
- background: var(--ak-color-surface);
31
- color: var(--ak-color-text);
32
- font-size: var(--ak-font-size-md);
33
- line-height: var(--ak-line-height);
34
- box-shadow: none;
35
- transition:
36
- border-color var(--ak-duration-fast) ease,
37
- box-shadow var(--ak-duration-fast) ease;
38
-
39
- &:focus {
40
- border-color: var(--ak-color-accent);
41
- outline: none;
42
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--ak-color-accent) 22%, transparent);
43
- }
44
- &[disabled],
23
+ @include form.input;
24
+
45
25
  &[readonly],
46
26
  fieldset[disabled] & {
47
27
  background: var(--ak-color-raised);
48
28
  color: var(--ak-color-muted);
49
29
  }
50
- &[disabled] {
51
- cursor: not-allowed;
52
- }
53
30
  }
54
31
  textarea.form-control {
55
- height: auto;
56
- min-height: 96px;
57
- padding: var(--ak-space-2) var(--ak-space-3);
58
- resize: vertical;
32
+ @include form.textarea;
59
33
  }
60
34
  select.form-control {
61
35
  padding-right: var(--ak-space-8);
@@ -78,11 +52,17 @@ select[multiple].form-control {
78
52
  .has-error {
79
53
  .form-control {
80
54
  border-color: var(--ak-color-negative);
55
+
56
+ &:focus {
57
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--ak-color-negative) 20%, transparent);
58
+ }
81
59
  }
82
60
  .control-label,
83
61
  .help-block {
84
- color: var(--ak-color-negative);
85
- }
62
+ @include form.hint;
63
+ display: block;
64
+ margin-top: var(--ak-space-1);
65
+ }
86
66
  }
87
67
  .has-success .form-control {
88
68
  border-color: var(--ak-color-positive);
@@ -174,8 +154,7 @@ select[multiple].form-control {
174
154
  font-weight: var(--ak-font-weight-regular);
175
155
  }
176
156
  }
177
- input[type='checkbox'],
178
- input[type='radio'] {
157
+ :where(input[type='checkbox'], input[type='radio']) {
179
158
  width: 16px;
180
159
  height: 16px;
181
160
  margin: 0;