mithril-materialized 1.4.2 → 2.0.0-beta.10

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 (103) hide show
  1. package/README.md +286 -306
  2. package/dist/advanced.css +1888 -0
  3. package/dist/autocomplete.d.ts +12 -4
  4. package/dist/breadcrumb.d.ts +53 -0
  5. package/dist/button.d.ts +10 -10
  6. package/dist/carousel.d.ts +26 -7
  7. package/dist/chip.d.ts +2 -2
  8. package/dist/code-block.d.ts +2 -3
  9. package/dist/collapsible.d.ts +12 -7
  10. package/dist/collection.d.ts +8 -8
  11. package/dist/components.css +2310 -0
  12. package/dist/core.css +3402 -0
  13. package/dist/datepicker.d.ts +66 -0
  14. package/dist/dropdown.d.ts +5 -5
  15. package/dist/file-upload.d.ts +34 -0
  16. package/dist/floating-action-button.d.ts +9 -5
  17. package/dist/forms.css +2284 -0
  18. package/dist/icon.d.ts +2 -2
  19. package/dist/index.css +9284 -2
  20. package/dist/index.d.ts +13 -3
  21. package/dist/index.esm.js +6188 -2
  22. package/dist/index.js +6263 -2
  23. package/dist/index.min.css +8 -0
  24. package/dist/index.umd.js +6267 -2
  25. package/dist/input-options.d.ts +3 -1
  26. package/dist/input.d.ts +17 -12
  27. package/dist/label.d.ts +6 -5
  28. package/dist/material-box.d.ts +22 -4
  29. package/dist/material-icon.d.ts +14 -0
  30. package/dist/modal.d.ts +23 -7
  31. package/dist/option.d.ts +12 -11
  32. package/dist/pagination.d.ts +5 -9
  33. package/dist/parallax.d.ts +8 -6
  34. package/dist/pickers.css +487 -0
  35. package/dist/pushpin.d.ts +32 -0
  36. package/dist/radio.d.ts +10 -6
  37. package/dist/select.d.ts +5 -5
  38. package/dist/sidenav.d.ts +76 -0
  39. package/dist/switch.d.ts +4 -5
  40. package/dist/tabs.d.ts +18 -7
  41. package/dist/theme-switcher.d.ts +49 -0
  42. package/dist/timepicker.d.ts +42 -0
  43. package/dist/toast.d.ts +45 -0
  44. package/dist/tooltip.d.ts +59 -0
  45. package/dist/utilities.css +3197 -0
  46. package/dist/utils.d.ts +17 -0
  47. package/dist/wizard.d.ts +58 -0
  48. package/package.json +47 -14
  49. package/sass/components/_badges.scss +59 -0
  50. package/sass/components/_breadcrumb.scss +248 -0
  51. package/sass/components/_buttons.scss +327 -0
  52. package/sass/components/_cards.scss +197 -0
  53. package/sass/components/_carousel.scss +92 -0
  54. package/sass/components/_chips.scss +92 -0
  55. package/sass/components/_collapsible.scss +94 -0
  56. package/sass/components/_color-classes.scss +34 -0
  57. package/sass/components/_color-variables.scss +371 -0
  58. package/sass/components/_datepicker.scss +282 -0
  59. package/sass/components/_dropdown.scss +90 -0
  60. package/sass/components/_file-upload.scss +228 -0
  61. package/sass/components/_global.scss +777 -0
  62. package/sass/components/_grid.scss +160 -0
  63. package/sass/components/_icons-material-design.scss +5 -0
  64. package/sass/components/_materialbox.scss +43 -0
  65. package/sass/components/_modal.scss +100 -0
  66. package/sass/components/_navbar.scss +219 -0
  67. package/sass/components/_normalize.scss +447 -0
  68. package/sass/components/_preloader.scss +336 -0
  69. package/sass/components/_pulse.scss +34 -0
  70. package/sass/components/_sidenav.scss +370 -0
  71. package/sass/components/_slider.scss +94 -0
  72. package/sass/components/_table_of_contents.scss +36 -0
  73. package/sass/components/_tabs.scss +103 -0
  74. package/sass/components/_tapTarget.scss +105 -0
  75. package/sass/components/_theme-switcher.scss +120 -0
  76. package/sass/components/_theme-variables.scss +205 -0
  77. package/sass/components/_timepicker.scss +262 -0
  78. package/sass/components/_toast.scss +61 -0
  79. package/sass/components/_tooltip.scss +32 -0
  80. package/sass/components/_transitions.scss +13 -0
  81. package/sass/components/_typography.scss +61 -0
  82. package/sass/components/_variables.scss +352 -0
  83. package/sass/components/_waves.scss +114 -0
  84. package/sass/components/_wizard.scss +416 -0
  85. package/sass/components/forms/_checkboxes.scss +203 -0
  86. package/sass/components/forms/_file-input.scss +50 -0
  87. package/sass/components/forms/_form-groups.scss +28 -0
  88. package/sass/components/forms/_forms.scss +24 -0
  89. package/sass/components/forms/_input-fields.scss +383 -0
  90. package/sass/components/forms/_radio-buttons.scss +118 -0
  91. package/sass/components/forms/_range.scss +164 -0
  92. package/sass/components/forms/_select.scss +193 -0
  93. package/sass/components/forms/_switches.scss +92 -0
  94. package/sass/materialize.scss +48 -0
  95. package/dist/index.css.map +0 -1
  96. package/dist/index.esm.js.map +0 -1
  97. package/dist/index.js.map +0 -1
  98. package/dist/index.modern.js +0 -2
  99. package/dist/index.modern.js.map +0 -1
  100. package/dist/index.umd.js.map +0 -1
  101. package/dist/map-editor.d.ts +0 -63
  102. package/dist/pickers.d.ts +0 -6
  103. package/dist/timeline.d.ts +0 -24
@@ -0,0 +1,416 @@
1
+ // Wizard/Stepper Component Styles
2
+
3
+ .wizard {
4
+ display: flex;
5
+ flex-direction: column;
6
+ width: 100%;
7
+
8
+ &.horizontal {
9
+ .wizard-steps {
10
+ display: flex;
11
+ align-items: flex-start;
12
+ justify-content: space-between;
13
+ position: relative;
14
+ }
15
+
16
+ .wizard-step {
17
+ display: flex;
18
+ flex-direction: column;
19
+ align-items: center;
20
+ text-align: center;
21
+ flex: 1;
22
+ position: relative;
23
+
24
+ &:not(:last-child) {
25
+ margin-right: 2rem;
26
+ }
27
+ }
28
+
29
+ .wizard-step-content {
30
+ margin-top: 0.75rem;
31
+ max-width: 200px;
32
+ }
33
+
34
+ .wizard-step-connector {
35
+ position: absolute;
36
+ top: 20px;
37
+ left: calc(50% + 20px);
38
+ width: calc(100% - 40px);
39
+ height: 2px;
40
+ background: var(--mm-border-color, rgba(0, 0, 0, 0.12));
41
+ z-index: 1;
42
+ }
43
+ }
44
+
45
+ &.vertical {
46
+ .wizard-steps {
47
+ display: flex;
48
+ flex-direction: column;
49
+ }
50
+
51
+ .wizard-step {
52
+ display: flex;
53
+ align-items: flex-start;
54
+ text-align: left;
55
+ position: relative;
56
+ padding-bottom: 2rem;
57
+
58
+ &:last-child {
59
+ padding-bottom: 0;
60
+ }
61
+ }
62
+
63
+ .wizard-step-content {
64
+ margin-left: 1rem;
65
+ flex: 1;
66
+ }
67
+
68
+ .wizard-step-connector {
69
+ position: absolute;
70
+ top: 40px;
71
+ left: 19px;
72
+ bottom: -2rem;
73
+ width: 2px;
74
+ background: var(--mm-border-color, rgba(0, 0, 0, 0.12));
75
+ z-index: 1;
76
+ }
77
+ }
78
+ }
79
+
80
+ .wizard-header {
81
+ margin-bottom: 2rem;
82
+ }
83
+
84
+ .wizard-step {
85
+ cursor: pointer;
86
+ transition: opacity 0.2s ease;
87
+
88
+ &.disabled {
89
+ opacity: 0.6;
90
+ cursor: not-allowed;
91
+ }
92
+
93
+ &:hover:not(.disabled) {
94
+ .wizard-step-indicator {
95
+ box-shadow: 0 0 0 8px var(--mm-primary-color-light, rgba(38, 166, 154, 0.1));
96
+ }
97
+ }
98
+ }
99
+
100
+ .wizard-step-indicator {
101
+ width: 40px;
102
+ height: 40px;
103
+ border-radius: 50%;
104
+ display: flex;
105
+ align-items: center;
106
+ justify-content: center;
107
+ background: var(--mm-border-color, rgba(0, 0, 0, 0.12));
108
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
109
+ font-weight: 500;
110
+ font-size: 0.875rem;
111
+ transition: all 0.2s ease;
112
+ position: relative;
113
+ z-index: 2;
114
+
115
+ .material-icons {
116
+ font-size: 1.25rem;
117
+ }
118
+
119
+ .wizard-step-number {
120
+ font-weight: 600;
121
+ }
122
+ }
123
+
124
+ .wizard-step.active {
125
+ .wizard-step-indicator {
126
+ background: var(--mm-primary-color, #26a69a);
127
+ color: var(--mm-button-text, #ffffff);
128
+ }
129
+
130
+ .wizard-step-title {
131
+ color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
132
+ font-weight: 600;
133
+ }
134
+ }
135
+
136
+ .wizard-step.completed {
137
+ .wizard-step-indicator {
138
+ background: var(--mm-primary-color, #26a69a);
139
+ color: var(--mm-button-text, #ffffff);
140
+ }
141
+
142
+ .wizard-step-connector {
143
+ background: var(--mm-primary-color, #26a69a);
144
+ }
145
+ }
146
+
147
+ .wizard-step.error {
148
+ .wizard-step-indicator {
149
+ background: #f44336;
150
+ color: #ffffff;
151
+ }
152
+
153
+ .wizard-step-title {
154
+ color: #f44336;
155
+ }
156
+ }
157
+
158
+ .wizard-step-title {
159
+ font-size: 0.875rem;
160
+ font-weight: 500;
161
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
162
+ margin-bottom: 0.25rem;
163
+ line-height: 1.3;
164
+ }
165
+
166
+ .wizard-step-subtitle {
167
+ font-size: 0.75rem;
168
+ color: var(--mm-text-hint, rgba(0, 0, 0, 0.38));
169
+ line-height: 1.3;
170
+ margin-bottom: 0.25rem;
171
+ }
172
+
173
+ .wizard-step-optional {
174
+ font-size: 0.625rem;
175
+ color: var(--mm-text-hint, rgba(0, 0, 0, 0.38));
176
+ font-style: italic;
177
+ text-transform: uppercase;
178
+ letter-spacing: 0.5px;
179
+ }
180
+
181
+ .wizard-body {
182
+ flex: 1;
183
+ margin-bottom: 2rem;
184
+
185
+ // Ensure form elements have proper responsive layout
186
+ .input-field {
187
+ margin-bottom: 1.5rem;
188
+
189
+ input, textarea {
190
+ width: 100%;
191
+ box-sizing: border-box;
192
+ }
193
+
194
+ label {
195
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
196
+ transition: all 0.3s ease;
197
+
198
+ &.active {
199
+ color: var(--mm-primary-color, #26a69a);
200
+ transform: translateY(-14px) scale(0.8);
201
+ }
202
+ }
203
+ }
204
+
205
+ .row {
206
+ margin-bottom: 0;
207
+
208
+ .col {
209
+ padding: 0 0.75rem;
210
+
211
+ &:first-child {
212
+ padding-left: 0;
213
+ }
214
+
215
+ &:last-child {
216
+ padding-right: 0;
217
+ }
218
+ }
219
+ }
220
+ }
221
+
222
+ .wizard-step-panel {
223
+ animation: wizard-slide-in 0.3s ease;
224
+ }
225
+
226
+ @keyframes wizard-slide-in {
227
+ from {
228
+ opacity: 0;
229
+ transform: translateX(20px);
230
+ }
231
+ to {
232
+ opacity: 1;
233
+ transform: translateX(0);
234
+ }
235
+ }
236
+
237
+ .wizard-footer {
238
+ border-top: 1px solid var(--mm-border-color, rgba(0, 0, 0, 0.12));
239
+ padding-top: 1.5rem;
240
+ }
241
+
242
+ .wizard-navigation {
243
+ display: flex;
244
+ justify-content: space-between;
245
+ align-items: center;
246
+ gap: 1rem;
247
+
248
+ .wizard-btn-previous,
249
+ .wizard-btn-skip {
250
+ margin-right: auto;
251
+ }
252
+
253
+ .wizard-btn-next,
254
+ .wizard-btn-complete {
255
+ margin-left: auto;
256
+
257
+ .material-icons {
258
+ margin-right: 0.5rem;
259
+ animation: wizard-loading 1s infinite linear;
260
+ }
261
+ }
262
+ }
263
+
264
+ @keyframes wizard-loading {
265
+ from {
266
+ transform: rotate(0deg);
267
+ }
268
+ to {
269
+ transform: rotate(360deg);
270
+ }
271
+ }
272
+
273
+ // Compact variant
274
+ .wizard.compact {
275
+ .wizard-step-indicator {
276
+ width: 32px;
277
+ height: 32px;
278
+ font-size: 0.75rem;
279
+
280
+ .material-icons {
281
+ font-size: 1rem;
282
+ }
283
+ }
284
+
285
+ .wizard-step-title {
286
+ font-size: 0.75rem;
287
+ }
288
+
289
+ .wizard-step-subtitle {
290
+ font-size: 0.625rem;
291
+ }
292
+
293
+ .wizard-header {
294
+ margin-bottom: 1.5rem;
295
+ }
296
+
297
+ &.horizontal {
298
+ .wizard-step-connector {
299
+ top: 16px;
300
+ }
301
+ }
302
+
303
+ &.vertical {
304
+ .wizard-step-connector {
305
+ top: 32px;
306
+ left: 15px;
307
+ }
308
+ }
309
+ }
310
+
311
+ // Large variant
312
+ .wizard.large {
313
+ .wizard-step-indicator {
314
+ width: 48px;
315
+ height: 48px;
316
+ font-size: 1rem;
317
+
318
+ .material-icons {
319
+ font-size: 1.5rem;
320
+ }
321
+ }
322
+
323
+ .wizard-step-title {
324
+ font-size: 1rem;
325
+ }
326
+
327
+ .wizard-step-subtitle {
328
+ font-size: 0.875rem;
329
+ }
330
+
331
+ .wizard-header {
332
+ margin-bottom: 2.5rem;
333
+ }
334
+
335
+ &.horizontal {
336
+ .wizard-step-connector {
337
+ top: 24px;
338
+ }
339
+ }
340
+
341
+ &.vertical {
342
+ .wizard-step-connector {
343
+ top: 48px;
344
+ left: 23px;
345
+ }
346
+ }
347
+ }
348
+
349
+ // Responsive behavior
350
+ @media (max-width: 768px) {
351
+ .wizard.horizontal {
352
+ .wizard-steps {
353
+ flex-direction: column;
354
+ align-items: stretch;
355
+ }
356
+
357
+ .wizard-step {
358
+ flex-direction: row;
359
+ align-items: center;
360
+ text-align: left;
361
+ margin-right: 0;
362
+ margin-bottom: 1rem;
363
+
364
+ &:last-child {
365
+ margin-bottom: 0;
366
+ }
367
+ }
368
+
369
+ .wizard-step-content {
370
+ margin-top: 0;
371
+ margin-left: 1rem;
372
+ max-width: none;
373
+ }
374
+
375
+ .wizard-step-connector {
376
+ display: none;
377
+ }
378
+ }
379
+ }
380
+
381
+ // Dark theme adjustments
382
+ [data-theme="dark"] {
383
+ .wizard-step.error {
384
+ .wizard-step-title {
385
+ color: #f48fb1;
386
+ }
387
+
388
+ .wizard-step-indicator {
389
+ background: #f48fb1;
390
+ color: #000000;
391
+ }
392
+ }
393
+
394
+ .wizard-footer {
395
+ border-color: var(--mm-border-color, rgba(255, 255, 255, 0.12));
396
+ }
397
+ }
398
+
399
+ // Accessibility improvements
400
+ .wizard-step {
401
+ &:focus {
402
+ outline: 2px solid var(--mm-primary-color, #26a69a);
403
+ outline-offset: 2px;
404
+ border-radius: 4px;
405
+ }
406
+
407
+ &[aria-disabled="true"] {
408
+ pointer-events: none;
409
+ }
410
+ }
411
+
412
+ .wizard-step-indicator {
413
+ &[aria-current="step"] {
414
+ box-shadow: 0 0 0 4px var(--mm-primary-color-light, rgba(38, 166, 154, 0.2));
415
+ }
416
+ }
@@ -0,0 +1,203 @@
1
+ @use "../variables";
2
+
3
+ /* Checkboxes
4
+ ========================================================================== */
5
+
6
+ /* Remove default checkbox */
7
+ [type="checkbox"]:not(:checked),
8
+ [type="checkbox"]:checked {
9
+ position: absolute;
10
+ opacity: 0;
11
+ pointer-events: none;
12
+ }
13
+
14
+ // Checkbox Styles
15
+ [type="checkbox"] {
16
+ // Text Label Style
17
+ + span:not(.lever) {
18
+ position: relative;
19
+ padding-left: 35px;
20
+ cursor: pointer;
21
+ display: inline-block;
22
+ height: 25px;
23
+ line-height: 25px;
24
+ font-size: 1rem;
25
+ user-select: none;
26
+ }
27
+
28
+ /* checkbox aspect */
29
+ + span:not(.lever):before,
30
+ &:not(.filled-in) + span:not(.lever):after {
31
+ content: '';
32
+ position: absolute;
33
+ top: 0;
34
+ left: 0;
35
+ width: 18px;
36
+ height: 18px;
37
+ z-index: 0;
38
+ border: 2px solid variables.$radio-empty-color;
39
+ border-radius: 1px;
40
+ margin-top: 3px;
41
+ transition: .2s;
42
+ }
43
+
44
+ &:not(.filled-in) + span:not(.lever):after {
45
+ border: 0;
46
+ transform: scale(0);
47
+ }
48
+
49
+ &:not(:checked):disabled + span:not(.lever):before {
50
+ border: none;
51
+ background-color: variables.$input-disabled-color;
52
+ }
53
+
54
+ // Focused styles
55
+ &.tabbed:focus + span:not(.lever):after {
56
+ transform: scale(1);
57
+ border: 0;
58
+ border-radius: 50%;
59
+ box-shadow: 0 0 0 10px rgba(0,0,0,.1);
60
+ background-color: rgba(0,0,0,.1);
61
+ }
62
+ }
63
+
64
+ [type="checkbox"]:checked {
65
+ + span:not(.lever):before {
66
+ top: -4px;
67
+ left: -5px;
68
+ width: 12px;
69
+ height: 22px;
70
+ border-top: 2px solid transparent;
71
+ border-left: 2px solid transparent;
72
+ border-right: variables.$radio-border;
73
+ border-bottom: variables.$radio-border;
74
+ transform: rotate(40deg);
75
+ backface-visibility: hidden;
76
+ transform-origin: 100% 100%;
77
+ }
78
+
79
+ &:disabled + span:before {
80
+ border-right: 2px solid variables.$input-disabled-color;
81
+ border-bottom: 2px solid variables.$input-disabled-color;
82
+ }
83
+ }
84
+
85
+ /* Indeterminate checkbox */
86
+ [type="checkbox"]:indeterminate {
87
+ + span:not(.lever):before {
88
+ top: -11px;
89
+ left: -12px;
90
+ width: 10px;
91
+ height: 22px;
92
+ border-top: none;
93
+ border-left: none;
94
+ border-right: variables.$radio-border;
95
+ border-bottom: none;
96
+ transform: rotate(90deg);
97
+ backface-visibility: hidden;
98
+ transform-origin: 100% 100%;
99
+ }
100
+
101
+ // Disabled indeterminate
102
+ &:disabled + span:not(.lever):before {
103
+ border-right: 2px solid variables.$input-disabled-color;
104
+ background-color: transparent;
105
+ }
106
+ }
107
+
108
+ // Filled in Style
109
+ [type="checkbox"].filled-in {
110
+ // General
111
+ + span:not(.lever):after {
112
+ border-radius: 2px;
113
+ }
114
+
115
+ + span:not(.lever):before,
116
+ + span:not(.lever):after {
117
+ content: '';
118
+ left: 0;
119
+ position: absolute;
120
+ /* .1s delay is for check animation */
121
+ transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
122
+ z-index: 1;
123
+ }
124
+
125
+ // Unchecked style
126
+ &:not(:checked) + span:not(.lever):before {
127
+ width: 0;
128
+ height: 0;
129
+ border: 3px solid transparent;
130
+ left: 6px;
131
+ top: 10px;
132
+ transform: rotateZ(37deg);
133
+ transform-origin: 100% 100%;
134
+ }
135
+
136
+ &:not(:checked) + span:not(.lever):after {
137
+ height: 20px;
138
+ width: 20px;
139
+ background-color: transparent;
140
+ border: 2px solid variables.$radio-empty-color;
141
+ top: 0px;
142
+ z-index: 0;
143
+ }
144
+
145
+ // Checked style
146
+ &:checked {
147
+ + span:not(.lever):before {
148
+ top: 0;
149
+ left: 1px;
150
+ width: 8px;
151
+ height: 13px;
152
+ border-top: 2px solid transparent;
153
+ border-left: 2px solid transparent;
154
+ border-right: 2px solid variables.$input-background;
155
+ border-bottom: 2px solid variables.$input-background;
156
+ transform: rotateZ(37deg);
157
+ transform-origin: 100% 100%;
158
+ }
159
+
160
+ + span:not(.lever):after {
161
+ top: 0;
162
+ width: 20px;
163
+ height: 20px;
164
+ border: 2px solid variables.$secondary-color;
165
+ background-color: variables.$secondary-color;
166
+ z-index: 0;
167
+ }
168
+ }
169
+
170
+ // Focused styles
171
+ &.tabbed:focus + span:not(.lever):after {
172
+ border-radius: 2px;
173
+ border-color: variables.$radio-empty-color;
174
+ background-color: rgba(0,0,0,.1);
175
+ }
176
+
177
+ &.tabbed:checked:focus + span:not(.lever):after {
178
+ border-radius: 2px;
179
+ background-color: variables.$secondary-color;
180
+ border-color: variables.$secondary-color;
181
+ }
182
+
183
+ // Disabled style
184
+ &:disabled:not(:checked) + span:not(.lever):before {
185
+ background-color: transparent;
186
+ border: 2px solid transparent;
187
+ }
188
+
189
+ &:disabled:not(:checked) + span:not(.lever):after {
190
+ border-color: transparent;
191
+ background-color: variables.$input-disabled-solid-color;
192
+ }
193
+
194
+ &:disabled:checked + span:not(.lever):before {
195
+ background-color: transparent;
196
+ }
197
+
198
+ &:disabled:checked + span:not(.lever):after {
199
+ background-color: variables.$input-disabled-solid-color;
200
+ border-color: variables.$input-disabled-solid-color;
201
+ }
202
+ }
203
+
@@ -0,0 +1,50 @@
1
+ @use "../variables";
2
+
3
+ /* File Input
4
+ ========================================================================== */
5
+
6
+ .file-field {
7
+ position: relative;
8
+
9
+ .file-path-wrapper {
10
+ overflow: hidden;
11
+ padding-left: 10px;
12
+ }
13
+
14
+ input.file-path { width: 100%; }
15
+
16
+ .btn {
17
+ float: left;
18
+ height: variables.$input-height;
19
+ line-height: variables.$input-height;
20
+ }
21
+
22
+ span {
23
+ cursor: pointer;
24
+ }
25
+
26
+ input[type=file] {
27
+
28
+ // Needed to override webkit button
29
+ &::-webkit-file-upload-button {
30
+ display: none;
31
+ }
32
+
33
+ position: absolute;
34
+ top: 0;
35
+ right: 0;
36
+ left: 0;
37
+ bottom: 0;
38
+ width: 100%;
39
+ margin: 0;
40
+ padding: 0;
41
+ font-size: 20px;
42
+ cursor: pointer;
43
+ opacity: 0;
44
+ filter: alpha(opacity=0);
45
+ }
46
+
47
+ & .close {
48
+ height: 20px;
49
+ }
50
+ }
@@ -0,0 +1,28 @@
1
+ @use "../variables";
2
+
3
+ /* Shared styles for form groups (Options and RadioButtons components) */
4
+
5
+ /* New grid-based style for horizontal and consistent alignment */
6
+ .grid-container {
7
+ display: grid;
8
+ /* Create columns that are at least 150px wide and fill the available space */
9
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
10
+ /* Add space between grid items */
11
+ gap: 15px;
12
+ padding-top: 10px;
13
+ padding-bottom: 20px;
14
+ }
15
+
16
+ /* The paragraph elements don't need margin anymore as gap handles it */
17
+ .grid-container p {
18
+ margin: 0;
19
+ }
20
+
21
+ .form-group-label {
22
+ font-size: variables.$label-font-size;
23
+ color: variables.$input-border-color;
24
+ margin-bottom: 15px;
25
+ display: block;
26
+ cursor: text;
27
+ text-align: initial;
28
+ }
@@ -0,0 +1,24 @@
1
+ @use "../variables";
2
+ @use "input-fields";
3
+ @use "radio-buttons";
4
+ @use "checkboxes";
5
+ @use "switches";
6
+ @use "select";
7
+ @use "file-input";
8
+ @use "range";
9
+ @use "form-groups";
10
+
11
+ // Remove Focus Boxes
12
+ select:focus {
13
+ outline: variables.$select-focus;
14
+ }
15
+
16
+ button:focus {
17
+ outline: none;
18
+ background-color: variables.$button-background-focus;
19
+ }
20
+
21
+ label {
22
+ font-size: variables.$label-font-size;
23
+ color: variables.$input-border-color;
24
+ }