@carissa-io/theme-default 0.0.0-stage → 0.1.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.
package/dist/index.css ADDED
@@ -0,0 +1,1148 @@
1
+ .c-input {
2
+ display: block;
3
+ font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
4
+ font-size: 1rem;
5
+ color: #171717;
6
+ }
7
+ .c-input__box {
8
+ display: flex;
9
+ flex-direction: column;
10
+ gap: 0.25rem;
11
+ min-height: 2.75rem;
12
+ padding: 0.375rem 0.75rem;
13
+ background: #fff;
14
+ border: 1px solid #737373;
15
+ border-radius: 0;
16
+ transition: border-color 0.2s ease;
17
+ }
18
+ .c-input__box:hover {
19
+ border-color: #000;
20
+ }
21
+ .c-input__box:focus-within {
22
+ border-color: #000;
23
+ box-shadow: 0 0 0 1px #000;
24
+ }
25
+ .c-input__label {
26
+ font-size: 0.6875rem;
27
+ font-weight: 700;
28
+ text-transform: uppercase;
29
+ letter-spacing: 0.1em;
30
+ color: #737373;
31
+ }
32
+ .c-input--required .c-input__label::after {
33
+ content: " *";
34
+ color: #dc3545;
35
+ }
36
+ .c-input__field {
37
+ display: flex;
38
+ align-items: center;
39
+ gap: 0.25rem;
40
+ }
41
+ .c-input__control {
42
+ flex: 1 1 auto;
43
+ min-width: 0;
44
+ padding: 0;
45
+ font: inherit;
46
+ color: inherit;
47
+ background: transparent;
48
+ border: 0;
49
+ outline: 0;
50
+ }
51
+ .c-input__control::placeholder {
52
+ color: #737373;
53
+ }
54
+ .c-input--multiline .c-input__control {
55
+ display: block;
56
+ min-height: 6rem;
57
+ resize: vertical;
58
+ }
59
+ .c-input--multiline .c-input__box {
60
+ padding-top: 0.875rem;
61
+ padding-bottom: 0.875rem;
62
+ }
63
+ .c-input__start, .c-input__end {
64
+ display: inline-flex;
65
+ flex: 0 0 auto;
66
+ align-items: center;
67
+ color: #737373;
68
+ }
69
+ .c-input__start {
70
+ padding-inline-end: 0.25rem;
71
+ }
72
+ .c-input__end {
73
+ padding-inline-start: 0.25rem;
74
+ }
75
+ .c-input__button {
76
+ display: inline-flex;
77
+ flex: 0 0 auto;
78
+ align-items: center;
79
+ justify-content: center;
80
+ width: 2.25rem;
81
+ height: 2.25rem;
82
+ padding: 0;
83
+ color: #737373;
84
+ background: transparent;
85
+ border: 0;
86
+ border-radius: 0;
87
+ cursor: pointer;
88
+ }
89
+ .c-input__button:hover:not(:disabled) {
90
+ color: #000;
91
+ background: transparent;
92
+ }
93
+ .c-input__button:disabled {
94
+ cursor: not-allowed;
95
+ }
96
+ .c-input__error {
97
+ margin: 0.25rem 0 0;
98
+ font-size: 0.8125rem;
99
+ color: #dc3545;
100
+ }
101
+ .c-input--invalid .c-input__box {
102
+ border-color: #dc3545;
103
+ }
104
+ .c-input--invalid .c-input__box:focus-within {
105
+ box-shadow: 0 0 0 1px #dc3545;
106
+ }
107
+ .c-input--disabled .c-input__box {
108
+ background: #f5f5f5;
109
+ color: #a3a3a3;
110
+ }
111
+ .c-input {
112
+ padding-top: 0.34375rem;
113
+ }
114
+ .c-input__box {
115
+ position: relative;
116
+ justify-content: center;
117
+ }
118
+ .c-input__label {
119
+ position: absolute;
120
+ top: 0;
121
+ left: 0.5rem;
122
+ padding: 0 0.25rem;
123
+ line-height: 1;
124
+ background: #fff;
125
+ transform: translateY(-50%);
126
+ }
127
+ .c-input--disabled .c-input__label {
128
+ background: #f5f5f5;
129
+ }
130
+
131
+ .c-button {
132
+ display: inline-flex;
133
+ align-items: center;
134
+ justify-content: center;
135
+ gap: 0.5rem;
136
+ min-height: 2.75rem;
137
+ padding: 0.375rem 1.25rem;
138
+ font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
139
+ font-size: 0.6875rem;
140
+ font-weight: 700;
141
+ line-height: 1.5;
142
+ text-transform: uppercase;
143
+ letter-spacing: 0.1em;
144
+ text-decoration: none;
145
+ white-space: nowrap;
146
+ cursor: pointer;
147
+ border: 1px solid transparent;
148
+ border-radius: 0;
149
+ transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
150
+ }
151
+ .c-button:focus-visible {
152
+ outline: 1px solid #000;
153
+ outline-offset: 2px;
154
+ }
155
+ .c-button--secondary:focus-visible, .c-button--ghost:focus-visible {
156
+ border-color: #000;
157
+ outline: 0;
158
+ box-shadow: inset 0 0 0 1px #000;
159
+ }
160
+ .c-button:disabled {
161
+ cursor: not-allowed;
162
+ opacity: 1;
163
+ }
164
+ .c-button__icon {
165
+ display: inline-flex;
166
+ flex: none;
167
+ align-items: center;
168
+ justify-content: center;
169
+ min-width: 1.25em;
170
+ height: 1.25em;
171
+ }
172
+ .c-button__icon > svg {
173
+ width: 100%;
174
+ height: 100%;
175
+ }
176
+ .c-button__label {
177
+ min-width: 0;
178
+ }
179
+ .c-button--primary {
180
+ color: #fff;
181
+ background: #000;
182
+ border-color: #000;
183
+ }
184
+ .c-button--primary:hover:not(:disabled) {
185
+ color: #fff;
186
+ background: #262626;
187
+ border-color: #262626;
188
+ }
189
+ .c-button--primary:active:not(:disabled) {
190
+ color: #fff;
191
+ background: #404040;
192
+ border-color: #404040;
193
+ }
194
+ .c-button--primary:disabled {
195
+ color: #a3a3a3;
196
+ background: #f5f5f5;
197
+ border-color: #f5f5f5;
198
+ }
199
+ .c-button--secondary {
200
+ color: #171717;
201
+ background: #fff;
202
+ border-color: #737373;
203
+ }
204
+ .c-button--secondary:hover:not(:disabled) {
205
+ color: #000;
206
+ background: #fff;
207
+ border-color: #000;
208
+ }
209
+ .c-button--secondary:active:not(:disabled) {
210
+ color: #000;
211
+ background: #f5f5f5;
212
+ border-color: #000;
213
+ }
214
+ .c-button--secondary:disabled {
215
+ color: #a3a3a3;
216
+ background: #fff;
217
+ border-color: #d4d4d4;
218
+ }
219
+ .c-button--ghost {
220
+ color: #171717;
221
+ background: transparent;
222
+ border-color: transparent;
223
+ }
224
+ .c-button--ghost:hover:not(:disabled) {
225
+ color: #000;
226
+ background: #f5f5f5;
227
+ border-color: transparent;
228
+ }
229
+ .c-button--ghost:active:not(:disabled) {
230
+ color: #000;
231
+ background: #e5e5e5;
232
+ border-color: transparent;
233
+ }
234
+ .c-button--ghost:disabled {
235
+ color: #a3a3a3;
236
+ background: transparent;
237
+ border-color: transparent;
238
+ }
239
+
240
+ .c-checkbox {
241
+ display: block;
242
+ font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
243
+ font-size: 1rem;
244
+ font-weight: 400;
245
+ line-height: 1.5;
246
+ color: #171717;
247
+ }
248
+ .c-checkbox__row {
249
+ position: relative;
250
+ display: inline-flex;
251
+ align-items: center;
252
+ gap: 0.75rem;
253
+ min-height: 2.75rem;
254
+ cursor: pointer;
255
+ }
256
+ .c-checkbox__control {
257
+ position: absolute;
258
+ width: 1px;
259
+ height: 1px;
260
+ margin: -1px;
261
+ padding: 0;
262
+ overflow: hidden;
263
+ clip: rect(0 0 0 0);
264
+ white-space: nowrap;
265
+ border: 0;
266
+ opacity: 0;
267
+ }
268
+ .c-checkbox__box {
269
+ position: relative;
270
+ display: inline-flex;
271
+ flex: none;
272
+ align-items: center;
273
+ justify-content: center;
274
+ box-sizing: border-box;
275
+ width: 1.25rem;
276
+ height: 1.25rem;
277
+ color: #fff;
278
+ background: #fff;
279
+ border: 1px solid #737373;
280
+ border-radius: 0;
281
+ transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
282
+ }
283
+ .c-checkbox__mark {
284
+ display: inline-flex;
285
+ width: 1rem;
286
+ height: 1rem;
287
+ opacity: 0;
288
+ transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
289
+ }
290
+ .c-checkbox__mark > svg {
291
+ width: 100%;
292
+ height: 100%;
293
+ }
294
+ .c-checkbox__label {
295
+ min-width: 0;
296
+ }
297
+ .c-checkbox__error {
298
+ margin: 0.25rem 0 0;
299
+ font-size: 0.8125rem;
300
+ color: #dc3545;
301
+ }
302
+ :where(.c-checkbox__row:hover) .c-checkbox__control:where(:not(:disabled)) + .c-checkbox__box {
303
+ border-color: #000;
304
+ }
305
+ .c-checkbox__control:checked + .c-checkbox__box {
306
+ background: #000;
307
+ border-color: #000;
308
+ }
309
+ .c-checkbox__control:checked + .c-checkbox__box .c-checkbox__mark {
310
+ opacity: 1;
311
+ }
312
+ .c-checkbox--invalid .c-checkbox__control + .c-checkbox__box {
313
+ border-color: #dc3545;
314
+ }
315
+ .c-checkbox__control:disabled + .c-checkbox__box {
316
+ color: #a3a3a3;
317
+ background: #f5f5f5;
318
+ border-color: #d4d4d4;
319
+ }
320
+ .c-checkbox--disabled {
321
+ color: #a3a3a3;
322
+ }
323
+ .c-checkbox--disabled .c-checkbox__row {
324
+ cursor: not-allowed;
325
+ }
326
+ .c-checkbox__control:focus-visible + .c-checkbox__box {
327
+ border-color: #000;
328
+ box-shadow: inset 0 0 0 1px #000;
329
+ }
330
+ .c-checkbox__control:checked:focus-visible + .c-checkbox__box {
331
+ outline: 1px solid #000;
332
+ outline-offset: 2px;
333
+ box-shadow: none;
334
+ }
335
+
336
+ .c-switch .c-checkbox__box {
337
+ width: 2.5rem;
338
+ height: 1.25rem;
339
+ background: #fff;
340
+ border-width: 1px;
341
+ border-color: #737373;
342
+ border-radius: 0;
343
+ transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
344
+ }
345
+ .c-switch .c-checkbox__box::after {
346
+ content: "";
347
+ position: absolute;
348
+ top: 50%;
349
+ left: 0.125rem;
350
+ width: 0.875rem;
351
+ height: 0.875rem;
352
+ background: #737373;
353
+ border-radius: 0;
354
+ transform: translateY(-50%);
355
+ transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
356
+ }
357
+ .c-switch :where(.c-checkbox__row:hover) .c-checkbox__control:where(:not(:disabled)) + .c-checkbox__box {
358
+ border-color: #000;
359
+ }
360
+ .c-switch .c-checkbox__control:checked + .c-checkbox__box {
361
+ background: #000;
362
+ border-color: #000;
363
+ }
364
+ .c-switch .c-checkbox__control:checked + .c-checkbox__box::after {
365
+ background: #fff;
366
+ transform: translate(calc(2.5rem - 2 * 1px - 0.875rem - 2 * 0.125rem), -50%);
367
+ }
368
+ .c-switch.c-checkbox--invalid .c-checkbox__control + .c-checkbox__box {
369
+ border-color: #dc3545;
370
+ }
371
+ .c-switch .c-checkbox__control:disabled + .c-checkbox__box {
372
+ background: #f5f5f5;
373
+ border-color: #d4d4d4;
374
+ }
375
+ .c-switch .c-checkbox__control:disabled + .c-checkbox__box::after {
376
+ background: #a3a3a3;
377
+ }
378
+ .c-switch .c-checkbox__control:focus-visible + .c-checkbox__box {
379
+ border-color: #000;
380
+ box-shadow: inset 0 0 0 1px #000;
381
+ }
382
+ .c-switch .c-checkbox__control:checked:focus-visible + .c-checkbox__box {
383
+ outline: 1px solid #000;
384
+ outline-offset: 2px;
385
+ box-shadow: none;
386
+ }
387
+
388
+ .c-radio-group {
389
+ min-width: 0;
390
+ margin: 0;
391
+ padding: 0;
392
+ border: 0;
393
+ font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
394
+ line-height: 1.5;
395
+ }
396
+ .c-radio-group__legend {
397
+ padding: 0;
398
+ margin: 0 0 0.25rem;
399
+ font-size: 0.6875rem;
400
+ line-height: 1rem;
401
+ font-weight: 700;
402
+ color: #737373;
403
+ text-transform: uppercase;
404
+ letter-spacing: 0.1em;
405
+ }
406
+ .c-radio-group__options {
407
+ display: flex;
408
+ flex-direction: column;
409
+ align-items: flex-start;
410
+ gap: 0;
411
+ }
412
+ .c-radio-group--horizontal .c-radio-group__options {
413
+ flex-direction: row;
414
+ flex-wrap: wrap;
415
+ align-items: center;
416
+ column-gap: 1.5rem;
417
+ }
418
+ .c-radio-group__option {
419
+ position: relative;
420
+ display: inline-flex;
421
+ align-items: center;
422
+ gap: 0.75rem;
423
+ min-height: 2.75rem;
424
+ font-size: 1rem;
425
+ font-weight: 400;
426
+ color: #171717;
427
+ cursor: pointer;
428
+ }
429
+ .c-radio-group__control {
430
+ position: absolute;
431
+ width: 1px;
432
+ height: 1px;
433
+ margin: -1px;
434
+ padding: 0;
435
+ overflow: hidden;
436
+ clip: rect(0 0 0 0);
437
+ white-space: nowrap;
438
+ border: 0;
439
+ opacity: 0;
440
+ }
441
+ .c-radio-group__dot {
442
+ position: relative;
443
+ display: inline-flex;
444
+ flex: none;
445
+ align-items: center;
446
+ justify-content: center;
447
+ box-sizing: border-box;
448
+ width: 1.25rem;
449
+ height: 1.25rem;
450
+ background-color: #fff;
451
+ background-image: radial-gradient(circle closest-side, #000 calc(100% - 0.5px), transparent 100%);
452
+ background-repeat: no-repeat;
453
+ background-position: center;
454
+ background-size: 0 0;
455
+ border: 1px solid #737373;
456
+ border-radius: 50%;
457
+ transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, background-size 0.2s ease;
458
+ }
459
+ .c-radio-group__label {
460
+ min-width: 0;
461
+ }
462
+ .c-radio-group__error {
463
+ margin: 0.25rem 0 0;
464
+ font-size: 0.8125rem;
465
+ color: #dc3545;
466
+ }
467
+ :where(.c-radio-group__option:hover) .c-radio-group__control:where(:not(:disabled)) + .c-radio-group__dot {
468
+ border-color: #000;
469
+ }
470
+ .c-radio-group__control:checked + .c-radio-group__dot {
471
+ background-size: 0.625rem 0.625rem;
472
+ border-color: #000;
473
+ }
474
+ .c-radio-group--invalid .c-radio-group__control + .c-radio-group__dot {
475
+ border-color: #dc3545;
476
+ }
477
+ .c-radio-group__control:disabled + .c-radio-group__dot {
478
+ background-color: #f5f5f5;
479
+ background-image: radial-gradient(circle closest-side, #a3a3a3 calc(100% - 0.5px), transparent 100%);
480
+ border-color: #d4d4d4;
481
+ }
482
+ .c-radio-group__option--disabled {
483
+ color: #a3a3a3;
484
+ cursor: not-allowed;
485
+ }
486
+ .c-radio-group__control:focus-visible + .c-radio-group__dot {
487
+ border-color: #000;
488
+ box-shadow: inset 0 0 0 1px #000;
489
+ }
490
+
491
+ .c-slider {
492
+ display: block;
493
+ font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
494
+ font-size: 1rem;
495
+ color: #171717;
496
+ }
497
+ .c-slider__header {
498
+ display: flex;
499
+ align-items: baseline;
500
+ justify-content: space-between;
501
+ gap: 0.25rem;
502
+ margin-bottom: 0.25rem;
503
+ }
504
+ .c-slider__label {
505
+ font-size: 0.6875rem;
506
+ font-weight: 700;
507
+ text-transform: uppercase;
508
+ letter-spacing: 0.1em;
509
+ color: #737373;
510
+ }
511
+ .c-slider__value {
512
+ margin-left: auto;
513
+ font-size: 1rem;
514
+ font-weight: 400;
515
+ font-variant-numeric: tabular-nums;
516
+ color: #171717;
517
+ }
518
+ .c-slider__control {
519
+ display: block;
520
+ box-sizing: border-box;
521
+ width: 100%;
522
+ height: 2.75rem;
523
+ margin: 0;
524
+ padding: 0;
525
+ background: transparent;
526
+ cursor: pointer;
527
+ outline: 0;
528
+ appearance: none;
529
+ }
530
+ .c-slider__control::-webkit-slider-runnable-track {
531
+ background: linear-gradient(to right, #000 var(--c-slider-fill, 0%), #737373 var(--c-slider-fill, 0%));
532
+ }
533
+ .c-slider__control::-moz-range-progress {
534
+ height: 2px;
535
+ background: #000;
536
+ border-radius: 0;
537
+ }
538
+ .c-slider__control::-webkit-slider-runnable-track {
539
+ box-sizing: border-box;
540
+ height: 2px;
541
+ background-color: #737373;
542
+ border: 0;
543
+ border-radius: 0;
544
+ }
545
+ .c-slider__control::-moz-range-track {
546
+ box-sizing: border-box;
547
+ height: 2px;
548
+ background-color: #737373;
549
+ border: 0;
550
+ border-radius: 0;
551
+ }
552
+ .c-slider__control::-webkit-slider-thumb {
553
+ box-sizing: border-box;
554
+ width: 1.25rem;
555
+ height: 1.25rem;
556
+ background: #000;
557
+ border: 1px solid #fff;
558
+ border-radius: 0;
559
+ transition: background-color 0.2s ease, border-color 0.2s ease;
560
+ }
561
+ .c-slider__control::-moz-range-thumb {
562
+ box-sizing: border-box;
563
+ width: 1.25rem;
564
+ height: 1.25rem;
565
+ background: #000;
566
+ border: 1px solid #fff;
567
+ border-radius: 0;
568
+ transition: background-color 0.2s ease, border-color 0.2s ease;
569
+ }
570
+ .c-slider__control::-webkit-slider-thumb {
571
+ margin-top: calc((2px - 1.25rem) / 2);
572
+ appearance: none;
573
+ }
574
+ .c-slider__control::-moz-range-thumb {
575
+ appearance: none;
576
+ }
577
+ .c-slider__control:hover:not(:disabled)::-webkit-slider-thumb {
578
+ background: #262626;
579
+ }
580
+ .c-slider__control:hover:not(:disabled)::-moz-range-thumb {
581
+ background: #262626;
582
+ }
583
+ .c-slider__control:active:not(:disabled)::-webkit-slider-thumb {
584
+ background: #404040;
585
+ }
586
+ .c-slider__control:active:not(:disabled)::-moz-range-thumb {
587
+ background: #404040;
588
+ }
589
+ .c-slider__control:disabled {
590
+ cursor: not-allowed;
591
+ }
592
+ .c-slider__control:disabled::-webkit-slider-runnable-track {
593
+ background: linear-gradient(to right, #a3a3a3 var(--c-slider-fill, 0%), #d4d4d4 var(--c-slider-fill, 0%));
594
+ }
595
+ .c-slider__control:disabled::-moz-range-track {
596
+ background: #d4d4d4;
597
+ }
598
+ .c-slider__control:disabled::-moz-range-progress {
599
+ background: #a3a3a3;
600
+ }
601
+ .c-slider__control:disabled::-webkit-slider-thumb {
602
+ background: #a3a3a3;
603
+ }
604
+ .c-slider__control:disabled::-moz-range-thumb {
605
+ background: #a3a3a3;
606
+ }
607
+ .c-slider__control:focus-visible::-webkit-slider-thumb {
608
+ outline: 1px solid #000;
609
+ outline-offset: 2px;
610
+ }
611
+ .c-slider__control:focus-visible::-moz-range-thumb {
612
+ outline: 1px solid #000;
613
+ outline-offset: 2px;
614
+ }
615
+ .c-slider--disabled .c-slider__label, .c-slider--disabled .c-slider__value {
616
+ color: #a3a3a3;
617
+ }
618
+
619
+ @keyframes c-popover-in {
620
+ from {
621
+ opacity: 0;
622
+ }
623
+ }
624
+ .c-popover {
625
+ position: relative;
626
+ display: block;
627
+ }
628
+ .c-popover__panel {
629
+ position: absolute;
630
+ top: calc(100% + 0.5rem);
631
+ z-index: 1000;
632
+ box-sizing: border-box;
633
+ width: max-content;
634
+ min-width: 0;
635
+ max-width: 100vw;
636
+ max-height: none;
637
+ padding: 0;
638
+ overflow-y: auto;
639
+ color: #171717;
640
+ background: #fff;
641
+ border: 1px solid #737373;
642
+ border-radius: 0;
643
+ box-shadow: none;
644
+ animation: c-popover-in 0.2s ease-in-out;
645
+ }
646
+ .c-popover__panel--bottom-start {
647
+ left: 0;
648
+ }
649
+ .c-popover__panel--bottom-end {
650
+ right: 0;
651
+ }
652
+ .c-popover__panel--top {
653
+ top: auto;
654
+ bottom: calc(100% + 0.5rem);
655
+ }
656
+ .c-popover__panel--match-width {
657
+ min-width: max(100%, 0px);
658
+ }
659
+
660
+ .c-listbox {
661
+ box-sizing: border-box;
662
+ max-height: 15rem;
663
+ margin: 0;
664
+ padding: 0;
665
+ overflow-y: auto;
666
+ font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
667
+ font-size: 1rem;
668
+ list-style: none;
669
+ background: transparent;
670
+ }
671
+ .c-listbox__option {
672
+ box-sizing: border-box;
673
+ display: flex;
674
+ align-items: center;
675
+ min-height: 2.75rem;
676
+ padding: 0 0.75rem;
677
+ color: #171717;
678
+ cursor: pointer;
679
+ user-select: none;
680
+ background: transparent;
681
+ border-inline-start: 2px solid transparent;
682
+ transition: background-color 0.2s ease, color 0.2s ease;
683
+ }
684
+ .c-listbox__option + .c-listbox__option {
685
+ border-top: 0 solid #dee2e6;
686
+ }
687
+ .c-listbox__option--selected {
688
+ font-weight: 700;
689
+ color: #171717;
690
+ border-inline-start-color: #000;
691
+ }
692
+ .c-listbox__option--active {
693
+ color: #171717;
694
+ background: #f5f5f5;
695
+ }
696
+ .c-listbox__option--disabled {
697
+ color: #a3a3a3;
698
+ cursor: not-allowed;
699
+ background: transparent;
700
+ }
701
+ .c-listbox__empty {
702
+ padding: 0.75rem;
703
+ color: #737373;
704
+ list-style: none;
705
+ }
706
+
707
+ .c-select .c-input__box {
708
+ position: relative;
709
+ }
710
+ .c-select .c-select__popover {
711
+ position: static;
712
+ display: flex;
713
+ flex: 1 1 auto;
714
+ align-items: center;
715
+ min-width: 0;
716
+ }
717
+ .c-select__trigger {
718
+ display: block;
719
+ flex: 1 1 auto;
720
+ box-sizing: border-box;
721
+ width: 100%;
722
+ min-height: 1.5em;
723
+ margin: 0;
724
+ padding: 0 calc(1rem + 0.5rem) 0 0;
725
+ overflow: hidden;
726
+ font: inherit;
727
+ color: #171717;
728
+ text-align: left;
729
+ text-overflow: ellipsis;
730
+ white-space: nowrap;
731
+ cursor: pointer;
732
+ appearance: none;
733
+ background: transparent;
734
+ border: 0;
735
+ border-radius: 0;
736
+ outline: 0;
737
+ }
738
+ .c-select__trigger::after {
739
+ position: absolute;
740
+ inset: 0;
741
+ content: "";
742
+ }
743
+ .c-select__trigger:disabled {
744
+ color: inherit;
745
+ cursor: not-allowed;
746
+ }
747
+ .c-select__placeholder {
748
+ color: #737373;
749
+ }
750
+ .c-select__arrow {
751
+ position: absolute;
752
+ top: 50%;
753
+ right: 0.75rem;
754
+ display: inline-flex;
755
+ width: 1rem;
756
+ height: 1rem;
757
+ color: #737373;
758
+ pointer-events: none;
759
+ translate: 0 -50%;
760
+ transition: rotate 0.2s ease, color 0.2s ease;
761
+ }
762
+ .c-select__arrow > svg {
763
+ width: 100%;
764
+ height: 100%;
765
+ }
766
+ .c-input__box:hover .c-select__arrow {
767
+ color: #000;
768
+ }
769
+ .c-select--open .c-select__arrow {
770
+ color: #000;
771
+ rotate: 180deg;
772
+ }
773
+ .c-select--open:not(.c-input--invalid) .c-input__box {
774
+ border-color: #000;
775
+ }
776
+ .c-select.c-input--disabled .c-select__arrow {
777
+ color: #a3a3a3;
778
+ }
779
+
780
+ .c-combobox .c-input__box {
781
+ position: relative;
782
+ cursor: text;
783
+ }
784
+ .c-combobox .c-combobox__popover {
785
+ position: static;
786
+ display: flex;
787
+ flex: 1 1 auto;
788
+ align-items: center;
789
+ min-width: 0;
790
+ }
791
+ .c-combobox__input {
792
+ box-sizing: border-box;
793
+ width: 100%;
794
+ min-height: 1.5em;
795
+ padding: 0 calc(1rem + 0.5rem) 0 0;
796
+ color: #171717;
797
+ text-overflow: ellipsis;
798
+ }
799
+ .c-combobox__input:disabled {
800
+ color: inherit;
801
+ cursor: not-allowed;
802
+ }
803
+ .c-combobox__arrow {
804
+ position: absolute;
805
+ top: 50%;
806
+ right: 0.75rem;
807
+ display: inline-flex;
808
+ width: 1rem;
809
+ height: 1rem;
810
+ color: #737373;
811
+ pointer-events: none;
812
+ translate: 0 -50%;
813
+ transition: rotate 0.2s ease, color 0.2s ease;
814
+ }
815
+ .c-combobox__arrow > svg {
816
+ width: 100%;
817
+ height: 100%;
818
+ }
819
+ .c-input__box:hover .c-combobox__arrow {
820
+ color: #000;
821
+ }
822
+ .c-combobox--open .c-combobox__arrow {
823
+ color: #000;
824
+ rotate: 180deg;
825
+ }
826
+ .c-combobox.c-input--disabled .c-input__box {
827
+ cursor: not-allowed;
828
+ }
829
+ .c-combobox.c-input--disabled .c-combobox__arrow {
830
+ color: #a3a3a3;
831
+ }
832
+
833
+ .c-upload .c-input__box {
834
+ border-style: dashed;
835
+ transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
836
+ }
837
+ .c-upload .c-input__field {
838
+ flex-direction: column;
839
+ align-items: stretch;
840
+ gap: 0;
841
+ }
842
+ .c-upload__zone {
843
+ position: relative;
844
+ display: flex;
845
+ align-items: center;
846
+ justify-content: center;
847
+ box-sizing: border-box;
848
+ min-height: 5.5rem;
849
+ padding: 0.75rem 0;
850
+ color: #737373;
851
+ text-align: center;
852
+ cursor: pointer;
853
+ transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
854
+ }
855
+ .c-upload__control {
856
+ position: absolute;
857
+ width: 1px;
858
+ height: 1px;
859
+ margin: -1px;
860
+ padding: 0;
861
+ overflow: hidden;
862
+ clip: rect(0 0 0 0);
863
+ white-space: nowrap;
864
+ border: 0;
865
+ opacity: 0;
866
+ pointer-events: none;
867
+ }
868
+ .c-upload--dragging .c-input__box {
869
+ background: #f5f5f5;
870
+ border-color: #000;
871
+ }
872
+ .c-upload.c-input--disabled .c-upload__zone {
873
+ color: inherit;
874
+ cursor: not-allowed;
875
+ }
876
+ .c-upload.c-input--disabled .c-upload__file-name, .c-upload.c-input--disabled .c-upload__remove {
877
+ color: inherit;
878
+ }
879
+ .c-upload__files {
880
+ margin: 0;
881
+ padding: 0;
882
+ list-style: none;
883
+ }
884
+ .c-upload__file {
885
+ display: flex;
886
+ gap: 0.5rem;
887
+ align-items: center;
888
+ justify-content: space-between;
889
+ box-sizing: border-box;
890
+ min-height: 2.75rem;
891
+ padding: 0;
892
+ border-top: 1px solid #e5e5e5;
893
+ }
894
+ .c-upload__file-name {
895
+ flex: 1 1 auto;
896
+ min-width: 0;
897
+ overflow: hidden;
898
+ font-size: 1rem;
899
+ color: #171717;
900
+ text-overflow: ellipsis;
901
+ white-space: nowrap;
902
+ }
903
+ .c-upload__remove {
904
+ display: inline-flex;
905
+ flex: 0 0 auto;
906
+ align-items: center;
907
+ justify-content: center;
908
+ box-sizing: border-box;
909
+ width: 2.75rem;
910
+ height: 2.75rem;
911
+ padding: 0;
912
+ font: inherit;
913
+ font-size: 1.25rem;
914
+ line-height: 1;
915
+ color: #737373;
916
+ cursor: pointer;
917
+ background: transparent;
918
+ border: 0;
919
+ border-radius: 0;
920
+ transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
921
+ }
922
+ .c-upload__remove:hover:not(:disabled) {
923
+ color: #000;
924
+ background: transparent;
925
+ }
926
+ .c-upload__remove:focus-visible {
927
+ outline: 1px solid #000;
928
+ outline-offset: -1px;
929
+ }
930
+ .c-upload__remove:disabled {
931
+ cursor: not-allowed;
932
+ }
933
+
934
+ .c-calendar {
935
+ display: block;
936
+ box-sizing: border-box;
937
+ width: 100%;
938
+ min-width: 17.5rem;
939
+ font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
940
+ font-size: 1rem;
941
+ }
942
+ .c-calendar__header {
943
+ display: flex;
944
+ align-items: center;
945
+ gap: 0.25rem;
946
+ padding: 0 0 0.5rem;
947
+ }
948
+ .c-calendar__title {
949
+ flex: 1 1 auto;
950
+ font-size: 0.6875rem;
951
+ font-weight: 700;
952
+ text-transform: uppercase;
953
+ letter-spacing: 0.1em;
954
+ color: #737373;
955
+ text-align: center;
956
+ }
957
+ .c-calendar__nav {
958
+ display: inline-flex;
959
+ flex: 0 0 auto;
960
+ align-items: center;
961
+ justify-content: center;
962
+ box-sizing: border-box;
963
+ width: 2.75rem;
964
+ height: 2.75rem;
965
+ padding: 0;
966
+ border: 0;
967
+ border-radius: 0;
968
+ background: transparent;
969
+ color: #737373;
970
+ font: inherit;
971
+ cursor: pointer;
972
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
973
+ }
974
+ .c-calendar__nav > svg {
975
+ width: 1.25rem;
976
+ height: 1.25rem;
977
+ }
978
+ .c-calendar__nav:hover:not(:disabled) {
979
+ background: transparent;
980
+ color: #000;
981
+ }
982
+ .c-calendar__nav:disabled {
983
+ color: #a3a3a3;
984
+ cursor: default;
985
+ }
986
+ .c-calendar__nav:focus-visible {
987
+ outline: 1px solid #000;
988
+ outline-offset: -1px;
989
+ }
990
+ .c-calendar__grid {
991
+ width: 100%;
992
+ border-collapse: separate;
993
+ border-spacing: 0;
994
+ }
995
+ .c-calendar__weekday {
996
+ padding: 0.25rem 0;
997
+ font-size: 0.6875rem;
998
+ font-weight: 700;
999
+ text-transform: uppercase;
1000
+ letter-spacing: 0.1em;
1001
+ color: #737373;
1002
+ text-align: center;
1003
+ }
1004
+ .c-calendar__cell {
1005
+ padding: 0;
1006
+ text-align: center;
1007
+ }
1008
+ .c-calendar__day {
1009
+ display: inline-flex;
1010
+ align-items: center;
1011
+ justify-content: center;
1012
+ box-sizing: border-box;
1013
+ width: 2.75rem;
1014
+ height: 2.75rem;
1015
+ margin: 0;
1016
+ padding: 0;
1017
+ border: 1px solid transparent;
1018
+ border-radius: 0;
1019
+ background: transparent;
1020
+ color: #171717;
1021
+ font: inherit;
1022
+ font-size: 1rem;
1023
+ cursor: pointer;
1024
+ transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
1025
+ }
1026
+ .c-calendar__day:hover:not(:disabled):not(.c-calendar__day--selected) {
1027
+ background: #f5f5f5;
1028
+ color: #171717;
1029
+ }
1030
+ .c-calendar__day--today {
1031
+ border-color: #000;
1032
+ }
1033
+ .c-calendar__day--selected {
1034
+ background: #000;
1035
+ border-color: #000;
1036
+ color: #fff;
1037
+ }
1038
+ .c-calendar__day--disabled, .c-calendar__day:disabled {
1039
+ color: #a3a3a3;
1040
+ cursor: not-allowed;
1041
+ }
1042
+ .c-calendar__day:focus-visible {
1043
+ outline: 1px solid #000;
1044
+ outline-offset: -1px;
1045
+ }
1046
+ .c-calendar__day--outside {
1047
+ background: transparent;
1048
+ }
1049
+
1050
+ .c-date-picker .c-input__box {
1051
+ position: relative;
1052
+ }
1053
+ .c-date-picker .c-date-picker__popover {
1054
+ position: static;
1055
+ display: flex;
1056
+ flex: 1 1 auto;
1057
+ align-items: center;
1058
+ min-width: 0;
1059
+ }
1060
+ .c-date-picker__trigger {
1061
+ display: block;
1062
+ flex: 1 1 auto;
1063
+ box-sizing: border-box;
1064
+ width: 100%;
1065
+ min-height: 1.5em;
1066
+ margin: 0;
1067
+ padding: 0 calc(1rem + 0.5rem) 0 0;
1068
+ overflow: hidden;
1069
+ font: inherit;
1070
+ color: #171717;
1071
+ text-align: left;
1072
+ text-overflow: ellipsis;
1073
+ white-space: nowrap;
1074
+ cursor: pointer;
1075
+ appearance: none;
1076
+ background: transparent;
1077
+ border: 0;
1078
+ border-radius: 0;
1079
+ outline: 0;
1080
+ }
1081
+ .c-date-picker__trigger::after {
1082
+ position: absolute;
1083
+ inset: 0;
1084
+ content: "";
1085
+ }
1086
+ .c-date-picker__trigger:disabled {
1087
+ color: inherit;
1088
+ cursor: not-allowed;
1089
+ }
1090
+ .c-date-picker__placeholder {
1091
+ color: #737373;
1092
+ }
1093
+ .c-date-picker__panel {
1094
+ padding: 0.5rem;
1095
+ }
1096
+ .c-date-picker__icon {
1097
+ position: absolute;
1098
+ top: 50%;
1099
+ right: 0.75rem;
1100
+ display: inline-flex;
1101
+ width: 1rem;
1102
+ height: 1rem;
1103
+ color: #737373;
1104
+ pointer-events: none;
1105
+ translate: 0 -50%;
1106
+ transition: color 0.2s ease;
1107
+ }
1108
+ .c-date-picker__icon > svg {
1109
+ width: 100%;
1110
+ height: 100%;
1111
+ }
1112
+ .c-input__box:hover .c-date-picker__icon {
1113
+ color: #000;
1114
+ }
1115
+ .c-date-picker--open .c-date-picker__icon {
1116
+ color: #000;
1117
+ }
1118
+ .c-date-picker--open:not(.c-input--invalid) .c-input__box {
1119
+ border-color: #000;
1120
+ }
1121
+ .c-date-picker.c-input--disabled .c-date-picker__icon {
1122
+ color: #a3a3a3;
1123
+ }
1124
+
1125
+ .c-search .c-input__control {
1126
+ appearance: none;
1127
+ }
1128
+ .c-search .c-input__control::-webkit-search-cancel-button, .c-search .c-input__control::-webkit-search-decoration {
1129
+ appearance: none;
1130
+ display: none;
1131
+ }
1132
+ .c-search__icon {
1133
+ display: inline-flex;
1134
+ font-size: 1.25rem;
1135
+ color: #737373;
1136
+ transition: color 0.2s ease;
1137
+ }
1138
+ .c-input__box:focus-within .c-search__icon {
1139
+ color: #000;
1140
+ }
1141
+ .c-search__clear {
1142
+ font-size: 1rem;
1143
+ color: #737373;
1144
+ transition: color 0.2s ease;
1145
+ }
1146
+ .c-search__clear:hover:not(:disabled) {
1147
+ color: #000;
1148
+ }