@triptease/stylesheet 2.0.1 → 2.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.
@@ -0,0 +1,1477 @@
1
+ import { css } from 'lit';
2
+ export const styles = css`/*
3
+ * @triptease/stylesheet v2.1.0
4
+ */
5
+
6
+
7
+ @layer base{
8
+
9
+ /**
10
+ * Do not edit directly, this file was auto-generated.
11
+ */
12
+
13
+ :root {
14
+ --asset-font-noe-text-name: 'Noe Text';
15
+ --asset-font-noe-text-style: normal;
16
+ --asset-font-noe-text-weight: 400;
17
+ --asset-font-inter-name: Inter;
18
+ --asset-font-inter-style: normal;
19
+ --color-alert-subtle: #ffd8eb;
20
+ --color-alert-strong: #d02521;
21
+ --color-border-100: #e8eaec;
22
+ --color-border-200: #e0e1e5;
23
+ --color-border-300: #d7d9dd;
24
+ --color-border-400: #c5c8ce;
25
+ --color-border-500: #b7bbc2;
26
+ --color-text-100: #ffffff;
27
+ --color-text-200: #b5b0b5;
28
+ --color-text-300: #575157;
29
+ --color-text-400: #3b353b;
30
+ --color-text-500: #0d0c0d;
31
+ --color-text-inverted-100: #0d0c0d;
32
+ --color-text-inverted-200: #77758a;
33
+ --color-text-inverted-300: #9d9cab;
34
+ --color-text-inverted-400: #d3d3da;
35
+ --color-text-inverted-500: #ffffff;
36
+ --color-info-subtle: #f0f8ff;
37
+ --color-info-strong: #2475b9;
38
+ --color-primary-100: #f3f0fa;
39
+ --color-primary-200: #e8e3f6;
40
+ --color-primary-300: #cfc6ed;
41
+ --color-primary-400: #5e43c2;
42
+ --color-primary-500: #4d35a1;
43
+ --color-success-subtle: #def5d6;
44
+ --color-success-strong: #227d02;
45
+ --color-surface-100: #ffffff;
46
+ --color-surface-200: #f9fafb;
47
+ --color-surface-300: #f1f2f4;
48
+ --color-surface-400: #e8eaec;
49
+ --color-surface-500: #e0e1e5;
50
+ --color-surface-600: #d7d9dd;
51
+ --color-surface-700: #75767e;
52
+ --color-surface-800: #1c1b27;
53
+ --color-surface-inverted-100: #1c1b27;
54
+ --color-surface-inverted-200: #3a384d;
55
+ --color-surface-inverted-300: #5b5974;
56
+ --color-surface-inverted-400: #7f7d95;
57
+ --color-surface-inverted-500: #acaabc;
58
+ --color-warning-subtle: #ffedd6;
59
+ --color-warning-strong: #ac5500;
60
+ --font-family-serif: 'Noe Text', 'PT Serif', serif;
61
+ --font-family-sans: 'Roboto', sans-serif;
62
+ --font-family-inter: 'Inter', 'Helvetica Neue', sans-serif;
63
+ --font-line-height-100: 1.4; /** Line height for small text */
64
+ --font-line-height-200: 1.5; /** Line height for body text */
65
+ --font-line-height-300: 1.3; /** Line height for heading 3 text */
66
+ --font-line-height-400: 1.4; /** Line height for heading 2 text */
67
+ --font-line-height-500: 1.3; /** Line height for heading 1 text */
68
+ --font-line-height-600: 1.5; /** Line height for display text */
69
+ --font-size-100: 0.875rem; /** Small text */
70
+ --font-size-200: 1rem; /** Body text */
71
+ --font-size-300: 1.125rem; /** Heading 3 text */
72
+ --font-size-400: 1.25rem; /** Heading 2 text */
73
+ --font-size-500: 1.5rem; /** Heading 1 text */
74
+ --font-size-600: 2rem; /** Display text */
75
+ --font-weight-light: 300;
76
+ --font-weight-normal: 400; /** This is called 'regular' in Figma. */
77
+ --font-weight-medium: 500;
78
+ --font-weight-semibold: 600;
79
+ --font-weight-bold: 700;
80
+ --space-scale-1: 0.5rem;
81
+ --space-scale-2: 1rem;
82
+ --space-scale-3: 1.5rem;
83
+ --space-scale-4: 2.5rem;
84
+ --space-scale-5: 3.5rem;
85
+ --space-scale-6: 4.5rem;
86
+ --space-scale-7: 5.5rem;
87
+ --space-scale-8: 6.5rem;
88
+ --space-scale-9: 7.5rem;
89
+ --space-scale-10: 8.5rem;
90
+ --space-scale-0-5: 0.25rem;
91
+ --space-scale-1-5: 0.75rem;
92
+ --space-scale-2-5: 1.25rem;
93
+ --space-scale-3-5: 2rem;
94
+ --space-scale-4-5: 3rem;
95
+ --space-scale-5-5: 4rem;
96
+ --space-scale-6-5: 5rem;
97
+ --space-scale-7-5: 6rem;
98
+ --space-scale-8-5: 7rem;
99
+ --space-scale-9-5: 8rem;
100
+ --border-radius: 0.5rem; /** Legacy border radius, use 'border-radius-100' instead */
101
+ --border-radius-50: 0.25rem; /** Small border radius for badges and other small visual components */
102
+ --border-radius-100: 0.5rem;
103
+ --border-radius-200: 1rem;
104
+ --box-shadow-sm: 0px 2px 5px rgba(0, 0, 0, 0.1);
105
+ --box-shadow-lg: 0px 2px 20px rgba(0, 0, 0, 0.1);
106
+ --box-shadow-lg-hover: 0px 10px 20px rgba(0, 0, 0, 0.2); /** Large box shadow used for hover effects */
107
+ }
108
+ }
109
+ @layer base{
110
+
111
+ /* http://meyerweb.com/eric/tools/css/reset/
112
+ v2.0 | 20110126
113
+ License: none (public domain)
114
+ */
115
+
116
+ html,
117
+ body,
118
+ div,
119
+ span,
120
+ applet,
121
+ object,
122
+ iframe,
123
+ h1,
124
+ h2,
125
+ h3,
126
+ h4,
127
+ h5,
128
+ h6,
129
+ p,
130
+ blockquote,
131
+ pre,
132
+ a,
133
+ abbr,
134
+ acronym,
135
+ address,
136
+ big,
137
+ cite,
138
+ code,
139
+ del,
140
+ dfn,
141
+ em,
142
+ img,
143
+ ins,
144
+ kbd,
145
+ q,
146
+ s,
147
+ samp,
148
+ small,
149
+ strike,
150
+ strong,
151
+ sub,
152
+ sup,
153
+ tt,
154
+ var,
155
+ b,
156
+ u,
157
+ i,
158
+ center,
159
+ dl,
160
+ dt,
161
+ dd,
162
+ ol,
163
+ ul,
164
+ li,
165
+ fieldset,
166
+ form,
167
+ label,
168
+ legend,
169
+ table,
170
+ caption,
171
+ tbody,
172
+ tfoot,
173
+ thead,
174
+ tr,
175
+ th,
176
+ td,
177
+ article,
178
+ aside,
179
+ canvas,
180
+ details,
181
+ embed,
182
+ figure,
183
+ figcaption,
184
+ footer,
185
+ header,
186
+ hgroup,
187
+ menu,
188
+ nav,
189
+ output,
190
+ ruby,
191
+ section,
192
+ summary,
193
+ time,
194
+ mark,
195
+ audio,
196
+ video {
197
+ margin: 0;
198
+ padding: 0;
199
+ border: 0;
200
+ font-size: 100%;
201
+ font: inherit;
202
+ vertical-align: baseline;
203
+ font-smoothing: antialiased;
204
+ -webkit-font-smoothing: antialiased;
205
+ -moz-osx-font-smoothing: grayscale;
206
+ }
207
+
208
+ /* HTML5 display-role reset for older browsers */
209
+ article,
210
+ aside,
211
+ details,
212
+ figcaption,
213
+ figure,
214
+ footer,
215
+ header,
216
+ hgroup,
217
+ menu,
218
+ nav,
219
+ section {
220
+ display: block;
221
+ }
222
+
223
+ ol,
224
+ ul {
225
+ list-style: none;
226
+ }
227
+
228
+ blockquote,
229
+ q {
230
+ quotes: none;
231
+ }
232
+
233
+ blockquote:before,
234
+ blockquote:after,
235
+ q:before,
236
+ q:after {
237
+ content: '';
238
+ content: none;
239
+ }
240
+
241
+ table {
242
+ border-collapse: collapse;
243
+ border-spacing: 0;
244
+ }
245
+
246
+ body {
247
+ font-family: var(--font-family-inter);
248
+ font-size: 16px;
249
+ color: var(--color-text-500);
250
+ line-height: 1;
251
+ background-color: var(--color-surface-200);
252
+ min-height: 100vh;
253
+ }
254
+
255
+ button {
256
+ font-family: inherit;
257
+ font-size: inherit;
258
+ }
259
+ }
260
+ /*
261
+ Suppress "invalid at-rule" warnings: @import-glob is a build-time feature
262
+ handled by our bundler, not standard CSS. WebStorm doesn't recognize it.
263
+ */
264
+ /* noinspection CssInvalidAtRule */
265
+ @layer base{
266
+
267
+ button,
268
+ .button {
269
+ -webkit-appearance: none;
270
+ -moz-appearance: none;
271
+ appearance: none;
272
+ cursor: pointer;
273
+ position: relative;
274
+ height: -moz-max-content;
275
+ height: max-content;
276
+ font-size: var(--font-size-200);
277
+ font-weight: var(--font-weight-semibold);
278
+ line-height: var(--space-scale-3);
279
+ padding: var(--space-scale-1) var(--space-scale-1-5);
280
+ border-radius: var(--border-radius-100);
281
+ border: none;
282
+ outline: none;
283
+ transition:
284
+ background-color 0.3s ease,
285
+ box-shadow 0.3s ease;
286
+ background-color: transparent;
287
+ color: var(--color-text-500);
288
+ width: -moz-fit-content;
289
+ width: fit-content;
290
+ display: flex;
291
+ flex-direction: row;
292
+ align-items: center;
293
+ justify-content: center;
294
+ gap: var(--space-scale-1);
295
+
296
+ &:is([disabled], [aria-disabled='true']) {
297
+ cursor: not-allowed;
298
+ }
299
+
300
+ &:focus {
301
+ outline: none;
302
+ }
303
+
304
+ &:focus-visible {
305
+ outline: 4px solid rgba(1, 150, 237, 0.24);
306
+ outline-offset: 0;
307
+ }
308
+
309
+ &[data-theme='primary'] {
310
+ background-color: var(--color-primary-400);
311
+ color: var(--color-text-100);
312
+ border: 1px solid var(--color-primary-500);
313
+ box-shadow:
314
+ inset 0 -2px 2px 0 var(--color-primary-400),
315
+ inset 0 0 0 1px rgba(255, 255, 255, 0.16),
316
+ 0 1px 2px rgba(94, 66, 194, 0.2);
317
+
318
+ &:hover:not(:disabled):not([aria-disabled='true']) {
319
+ background-color: var(--color-primary-500);
320
+ }
321
+
322
+ &:disabled {
323
+ background-color: var(--color-primary-300);
324
+ box-shadow: none;
325
+ border-color: var(--color-primary-300);
326
+ }
327
+
328
+ &[data-loading='true'] {
329
+ background-color: var(--color-primary-300);
330
+ box-shadow: none;
331
+ border-color: var(--color-primary-200);
332
+ }
333
+ }
334
+
335
+ &[data-theme='secondary'] {
336
+ background-color: var(--color-surface-200);
337
+ color: var(--color-primary-400);
338
+ border: 1px solid var(--color-primary-400);
339
+ box-shadow:
340
+ inset 0 -2px 2px 0 rgba(224, 225, 229, 0.56),
341
+ inset 0 0 0 2px rgba(255, 255, 255, 0.4),
342
+ 0 1px 2px 0 rgba(60, 66, 87, 0.08);
343
+
344
+ &:hover:not(:disabled):not([aria-disabled='true']) {
345
+ color: var(--color-primary-500);
346
+ border: 1px solid var(--color-primary-500);
347
+ }
348
+
349
+ &:disabled {
350
+ box-shadow: none;
351
+ border-color: var(--color-primary-300);
352
+ color: var(--color-primary-300);
353
+ }
354
+
355
+ &[data-loading='true'] {
356
+ border-color: var(--color-primary-300);
357
+ box-shadow: none;
358
+ }
359
+ }
360
+
361
+ &[data-theme='suggestion'] {
362
+ padding: var(--space-scale-1) var(--space-scale-2);
363
+ background-color: var(--color-surface-200);
364
+ color: var(--color-primary-400);
365
+ border: 1px solid var(--color-primary-400);
366
+ line-height: var(--space-scale-2);
367
+ font-weight: var(--font-weight-normal);
368
+ font-size: var(--font-size-100);
369
+ border-radius: var(--border-radius-200);
370
+ box-shadow:
371
+ inset 0 -2px 2px 0 rgba(224, 225, 229, 0.56),
372
+ inset 0 0 0 2px rgba(255, 255, 255, 0.4),
373
+ 0 1px 2px 0 rgba(60, 66, 87, 0.08);
374
+
375
+ &:hover:not(:disabled):not([aria-disabled='true']) {
376
+ background-color: var(--color-surface-300);
377
+ }
378
+ }
379
+
380
+ &[data-theme='tertiary'] {
381
+ color: var(--color-primary-400);
382
+
383
+ &:disabled {
384
+ box-shadow: none;
385
+ color: var(--color-primary-300);
386
+ }
387
+
388
+ &:hover:not(:disabled):not([aria-disabled='true']) {
389
+ background-color: var(--color-primary-100);
390
+ color: var(--color-primary-500);
391
+ }
392
+
393
+ &[data-loading='true'] {
394
+ box-shadow: none;
395
+ }
396
+ }
397
+
398
+ &[data-theme='destructive-primary'] {
399
+ --color-disabled: #890000;
400
+
401
+ background-color: var(--color-alert-strong);
402
+ color: var(--color-text-100);
403
+ border: 1px solid var(--color-alert-strong);
404
+ box-shadow:
405
+ inset 0 -2px 2px 0 rgba(168, 5, 5, 0.56),
406
+ inset 0 0 0 1px rgba(255, 255, 255, 0.24),
407
+ 0 1px 2px rgba(60, 66, 87, 0.08);
408
+
409
+ &:hover:not(:disabled):not([aria-disabled='true']) {
410
+ background-color: --color-disabled;
411
+ }
412
+
413
+ &:disabled {
414
+ background-color: var(--color-alert-subtle);
415
+ box-shadow: none;
416
+ border-color: var(--color-alert-subtle);
417
+ }
418
+
419
+ &[data-loading='true'] {
420
+ background-color: var(--color-alert-subtle);
421
+ box-shadow: none;
422
+ border-color: var(--color-alert-subtle);
423
+
424
+ &::after {
425
+ background-color: var(--color-surface-100);
426
+ }
427
+ }
428
+ }
429
+
430
+ &[data-theme='destructive-secondary'] {
431
+ background-color: var(--color-surface-200);
432
+ color: var(--color-alert-strong);
433
+ border: 1px solid var(--color-alert-strong);
434
+ box-shadow:
435
+ inset 0 -2px 2px 0 rgba(224, 225, 229, 0.56),
436
+ inset 0 0 0 2px rgba(255, 255, 255, 0.4),
437
+ 0 1px 2px 0 rgba(60, 66, 87, 0.08);
438
+
439
+ &:hover:not(:disabled):not([aria-disabled='true']) {
440
+ border-color: --color-disabled;
441
+ color: --color-disabled;
442
+ }
443
+
444
+ &:disabled {
445
+ box-shadow: none;
446
+ border-color: var(--color-alert-subtle);
447
+ color: var(--color-alert-subtle);
448
+ }
449
+
450
+ &[data-loading='true'] {
451
+ box-shadow: none;
452
+
453
+ &::after {
454
+ background-color: var(--color-alert-strong);
455
+ }
456
+ }
457
+ }
458
+
459
+ &[data-theme='destructive-tertiary'] {
460
+ color: var(--color-alert-strong);
461
+
462
+ &:disabled {
463
+ box-shadow: none;
464
+ color: var(--color-alert-subtle);
465
+ }
466
+
467
+ &:hover:not(:disabled):not([aria-disabled='true']) {
468
+ background-color: --color-disabled;
469
+ color: --color-disabled;
470
+ }
471
+
472
+ &[data-loading='true'] {
473
+ box-shadow: none;
474
+
475
+ &::after {
476
+ background-color: var(--color-alert-strong);
477
+ }
478
+ }
479
+ }
480
+
481
+ &.small {
482
+ padding: var(--space-scale-0-5) var(--space-scale-1);
483
+ }
484
+
485
+ &.large {
486
+ padding: var(--space-scale-1-5) var(--space-scale-2);
487
+ }
488
+
489
+ &[data-loading='true'] {
490
+ position: relative;
491
+ color: transparent !important;
492
+ pointer-events: none;
493
+ cursor: not-allowed;
494
+ -webkit-user-select: none;
495
+ -moz-user-select: none;
496
+ user-select: none;
497
+ }
498
+
499
+ /*Spinner magic*/
500
+
501
+ &[data-loading='true']::after {
502
+ content: '';
503
+ position: absolute;
504
+ top: calc(50% - 10px);
505
+ left: calc(50% - 10px);
506
+ width: 20px;
507
+ height: 20px;
508
+ transform: translate(-50%, -50%);
509
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='none' fill-rule='evenodd' stroke='white' stroke-linecap='round' stroke-width='2' d='M9 1a8 8 0 1 0 0 16 8 8 0 0 0 8-8'/%3E%3C/svg%3E");
510
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='none' fill-rule='evenodd' stroke='white' stroke-linecap='round' stroke-width='2' d='M9 1a8 8 0 1 0 0 16 8 8 0 0 0 8-8'/%3E%3C/svg%3E");
511
+ mask-size: contain;
512
+ -webkit-mask-size: contain;
513
+ background-color: var(--color-primary-400);
514
+ animation: spin-animation 1s infinite linear;
515
+ }
516
+ }
517
+
518
+ @keyframes spin-animation {
519
+ from {
520
+ transform: rotate(0turn);
521
+ }
522
+ to {
523
+ transform: rotate(1turn);
524
+ }
525
+ }
526
+ }
527
+ @layer base{
528
+
529
+ @font-face {
530
+ font-family: 'Noe Text';
531
+ src:
532
+ url("assets/fonts/Noe/noeTextBook.woff") format('woff'),
533
+ url("assets/fonts/Noe/noeTextBook.ttf") format('truetype');
534
+ }
535
+
536
+ @font-face {
537
+ font-family: 'Noe Display';
538
+ src:
539
+ url("assets/fonts/Noe/noeDisplayRegular.woff") format('woff'),
540
+ url("assets/fonts/Noe/noeDisplayRegular.ttf") format('truetype');
541
+ }
542
+ }
543
+ @layer base{
544
+ @property --input-horizontal-spacing {
545
+ syntax: '<length>';
546
+ inherits: true;
547
+ initial-value: 1rem;
548
+ }
549
+
550
+ @property --input-background-color {
551
+ syntax: '<color>';
552
+ inherits: true;
553
+ initial-value: #FFFFFF;
554
+ }
555
+
556
+ @property --input-border-color {
557
+ syntax: '<color>';
558
+ inherits: true;
559
+ initial-value: #C5C8CE;
560
+ }
561
+
562
+ @property --input-border-width {
563
+ syntax: '<length>';
564
+ inherits: true;
565
+ initial-value: 1px;
566
+ }
567
+
568
+ @property --input-color {
569
+ syntax: '*';
570
+ inherits: true;
571
+ initial-value: inherit;
572
+ }
573
+
574
+ @property --input-height {
575
+ syntax: '<length>';
576
+ inherits: true;
577
+ initial-value: 2.5rem;
578
+ }
579
+
580
+ @property --input-vertical-spacing {
581
+ syntax: '<length>';
582
+ inherits: true;
583
+ initial-value: 0;
584
+ }
585
+
586
+ @property --placeholder-color {
587
+ syntax: '<color>';
588
+ inherits: true;
589
+ initial-value: #575157;
590
+ }
591
+
592
+ @property --input-focus-border-color {
593
+ syntax: '<color>';
594
+ inherits: true;
595
+ initial-value: #5E43C2;
596
+ }
597
+ }
598
+ @layer base{
599
+
600
+ input[type='checkbox'] {
601
+ accent-color: var(--color-primary-400);
602
+ width: var(--space-scale-2);
603
+ aspect-ratio: 1;
604
+
605
+ &[aria-invalid]:not([aria-invalid='false']),
606
+ &:user-invalid,
607
+ &[aria-invalid='true'] {
608
+ accent-color: var(--color-alert-strong);
609
+ outline: 1px solid var(--color-alert-strong);
610
+ outline-offset: -1px;
611
+ }
612
+ }
613
+
614
+ input[type='checkbox'][data-theme='toggle'],
615
+ [role='switch'] {
616
+ -webkit-appearance: none;
617
+ -moz-appearance: none;
618
+ appearance: none;
619
+ width: var(--space-scale-5);
620
+ height: 1.75rem;
621
+ border-radius: 18px;
622
+ color: var(--color-text-200);
623
+ background-color: var(--color-surface-700);
624
+ transition:
625
+ color 0.25s,
626
+ background-color 0.25s;
627
+ cursor: pointer;
628
+ display: block;
629
+ border-color: transparent;
630
+ border-width: 0px;
631
+ padding: 2px;
632
+ position: relative;
633
+ isolation: isolate;
634
+ min-width: var(--space-scale-5);
635
+
636
+ &:hover {
637
+ color: var(--color-text-300);
638
+ background-color: var(--color-surface-800);
639
+ }
640
+
641
+ &[disabled],
642
+ &[aria-disabled='true'] {
643
+ opacity: 0.5;
644
+ cursor: not-allowed;
645
+ pointer-events: none;
646
+ }
647
+
648
+ &:checked,
649
+ &[aria-checked='true'] {
650
+ color: var(--color-success-strong);
651
+ background-color: var(--color-success-strong);
652
+
653
+ &:hover {
654
+ color: #004200;
655
+ background-color: oklch(from var(--color-success-strong) calc(l - 0.2) c h);
656
+ }
657
+ }
658
+
659
+ &::before {
660
+ content: '';
661
+ position: absolute;
662
+ top: 2px;
663
+ right: calc(100% - 1.75rem + 2px);
664
+ height: calc(100% - 4px);
665
+ aspect-ratio: 1;
666
+ border-radius: inherit;
667
+ background-color: var(--color-surface-100);
668
+ transition: right 0.25s ease;
669
+ z-index: 1;
670
+ padding: 4px;
671
+ box-sizing: border-box;
672
+ }
673
+
674
+ &::after {
675
+ content: '';
676
+ -webkit-mask-image: url("assets/icons/close.svg");
677
+ mask-image: url("assets/icons/close.svg");
678
+ -webkit-mask-size: 18px;
679
+ mask-size: 18px;
680
+ -webkit-mask-position: center center;
681
+ mask-position: center center;
682
+ -webkit-mask-repeat: no-repeat;
683
+ mask-repeat: no-repeat;
684
+ position: absolute;
685
+ top: 2px;
686
+ right: calc(100% - 1.75rem + 2px);
687
+ height: calc(100% - 4px);
688
+ aspect-ratio: 1;
689
+ border-radius: inherit;
690
+ background-color: var(--color-surface-700);
691
+ transition: right 0.25s ease;
692
+ z-index: 2;
693
+ padding: 4px;
694
+ box-sizing: border-box;
695
+ }
696
+
697
+ &:is(:checked, [aria-checked='true']) {
698
+ &::before,
699
+ &::after {
700
+ right: 2px;
701
+ }
702
+
703
+ &::after {
704
+ -webkit-mask-image: url("assets/icons/tick.svg");
705
+ mask-image: url("assets/icons/tick.svg");
706
+ -webkit-mask-size: 14px;
707
+ mask-size: 14px;
708
+ background-size: 12px;
709
+ background-position: center center;
710
+ -webkit-mask-position: center calc(50% + 1px);
711
+ mask-position: center calc(50% + 1px);
712
+ background-color: var(--color-success-strong);
713
+ }
714
+ }
715
+
716
+ &[aria-invalid]:not([aria-invalid='false']),
717
+ &:user-invalid {
718
+ accent-color: var(--color-alert-strong);
719
+ }
720
+ }
721
+ }
722
+ @layer base{
723
+ label {
724
+ font-size: var(--font-size-200);
725
+ line-height: 1.5;
726
+ font-weight: var(--font-weight-normal);
727
+ color: var(--color-text-300);
728
+ }
729
+ }
730
+ @layer base{
731
+
732
+ input[type='number'] {
733
+ position: relative;
734
+ }
735
+
736
+ input[type='number']::-webkit-inner-spin-button {
737
+ position: absolute;
738
+ top: var(--space-scale-0-5);
739
+ right: var(--input-horizontal-spacing, var(--space-scale-2));
740
+ height: calc(100% - var(--space-scale-1));
741
+ }
742
+ }
743
+ @layer base{
744
+
745
+ @property --radio-size {
746
+ syntax: '<length>';
747
+ inherits: true;
748
+ initial-value: 1rem;
749
+ }
750
+
751
+ @property --radio-accent-color {
752
+ syntax: '<color>';
753
+ inherits: true;
754
+ initial-value: #5E43C2;
755
+ }
756
+
757
+ input[type='radio'] {
758
+ --radio-size: var(--space-scale-2);
759
+ --radio-accent-color: var(--color-primary-400);
760
+
761
+ -webkit-appearance: none;
762
+
763
+ -moz-appearance: none;
764
+
765
+ appearance: none;
766
+ accent-color: var(--radio-accent-color);
767
+ width: var(--radio-size);
768
+ aspect-ratio: 1;
769
+ cursor: pointer;
770
+ border: 1px solid var(--radio-accent-color);
771
+ border-radius: 50%;
772
+
773
+ display: inline-grid;
774
+ place-content: center;
775
+ margin: 0;
776
+
777
+ &::before {
778
+ transform: scale(0);
779
+ content: '';
780
+ width: calc(var(--radio-size) * 0.75);
781
+ aspect-ratio: 1;
782
+ border-radius: 50%;
783
+ transition: 120ms transform ease-in-out;
784
+ background: var(--radio-accent-color);
785
+ }
786
+
787
+ &:checked::before {
788
+ transform: scale(1);
789
+ }
790
+
791
+ &:disabled {
792
+ opacity: 0.5;
793
+ cursor: not-allowed;
794
+
795
+ + label {
796
+ opacity: 0.75;
797
+ }
798
+ }
799
+ }
800
+ }
801
+ @layer base{
802
+
803
+ @property --select-border-color {
804
+ syntax: '<color>';
805
+ inherits: true;
806
+ initial-value: #C5C8CE;
807
+ }
808
+
809
+ @property --select-background-color {
810
+ syntax: '<color>';
811
+ inherits: true;
812
+ initial-value: #FFFFFF;
813
+ }
814
+
815
+ @property --select-hover-background-color {
816
+ syntax: '<color>';
817
+ inherits: true;
818
+ initial-value: #F1F2F4;
819
+ }
820
+
821
+ @property --select-min-width {
822
+ syntax: '<length>';
823
+ inherits: true;
824
+ initial-value: 250px;
825
+ }
826
+
827
+ @property --select-max-width {
828
+ syntax: '<length>';
829
+ inherits: true;
830
+ initial-value: 300px;
831
+ }
832
+
833
+ select {
834
+ align-items: center;
835
+ background-color: var(--select-background-color);
836
+ border-style: solid;
837
+ border-width: 1px;
838
+ border-radius: var(--border-radius);
839
+ border-color: var(--select-border-color);
840
+ color: var(--color-text-400);
841
+ display: flex;
842
+ font-family: var(--font-family-sans);
843
+ font-size: var(--font-size-200);
844
+ line-height: 1.3;
845
+ max-width: var(--select-max-width);
846
+ min-width: var(--select-min-width);
847
+ padding: 0.5rem;
848
+
849
+ &::picker-icon {
850
+ content: '';
851
+ height: 12px;
852
+ width: 12px;
853
+
854
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentcolor" width="12" height="12" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z" stroke="currentcolor"/></svg>');
855
+ background-size: cover;
856
+ transition: rotate 0.2s allow-discrete;
857
+ }
858
+
859
+ &:open::picker-icon {
860
+ rotate: -180deg;
861
+ }
862
+
863
+ &:hover {
864
+ background-color: var(--select-hover-background-color);
865
+ }
866
+ }
867
+
868
+ @supports ((-webkit-appearance: base-select) or (-moz-appearance: base-select) or (appearance: base-select)) {
869
+ select,
870
+ ::picker(select) {
871
+ -webkit-appearance: base-select;
872
+ -moz-appearance: base-select;
873
+ appearance: base-select;
874
+ }
875
+
876
+ ::picker(select) {
877
+ border: 1px solid var(--select-border-color);
878
+ border-radius: var(--border-radius);
879
+ top: calc(anchor(bottom) + var(--space-scale-1));
880
+ }
881
+
882
+ option {
883
+ text-align: left;
884
+ padding: var(--space-scale-1);
885
+ font-size: var(--font-size-200);
886
+ font-weight: var(--font-weight-normal);
887
+ color: var(--color-text-400);
888
+ line-height: 1.1;
889
+ box-sizing: border-box;
890
+ }
891
+
892
+ option:is(:hover, :focus) {
893
+ background-color: var(--select-hover-background-color);
894
+ outline: none;
895
+ }
896
+ option:checked {
897
+ font-weight: var(--font-weight-medium);
898
+ color: var(--color-primary-400);
899
+ }
900
+
901
+ option::checkmark {
902
+ display: none;
903
+ }
904
+ }
905
+ }
906
+ @layer base{
907
+ input:not([type='checkbox'], [type='radio']),
908
+ textarea {
909
+ -webkit-appearance: none;
910
+ -moz-appearance: none;
911
+ appearance: none;
912
+ background-color: var(--input-background-color, var(--color-surface-100));
913
+ border-color: var(--input-border-color, var(--color-border-400));
914
+ border-radius: var(--border-radius-100);
915
+ border-style: solid;
916
+ border-width: var(--input-border-width, 1px);
917
+ box-sizing: border-box;
918
+ color: var(--input-color, inherit);
919
+ height: var(--input-height, var(--space-scale-4));
920
+ padding: var(--input-vertical-spacing, 0) var(--input-horizontal-spacing, var(--space-scale-2));
921
+ font-family: var(--font-family-sans);
922
+ font-size: var(--font-size-100);
923
+ line-height: var(--line-height-200);
924
+ transition:
925
+ background-color ease-in 100ms,
926
+ border-color ease-in 200ms;
927
+ width: 100%;
928
+
929
+ &:hover {
930
+ --input-background-color: var(--color-surface-300);
931
+ }
932
+
933
+ &::-moz-placeholder {
934
+ font-size: var(--font-size-100);
935
+ color: var(--placeholder-color, var(--color-text-300));
936
+ }
937
+
938
+ &::placeholder {
939
+ font-size: var(--font-size-100);
940
+ color: var(--placeholder-color, var(--color-text-300));
941
+ }
942
+
943
+ &:focus {
944
+ outline: none;
945
+ border-color: var(--input-focus-border-color, var(--color-primary-400));
946
+ box-shadow: 0px 0px 0px 4px rgba(1, 150, 237, 0.24);
947
+ }
948
+
949
+ &:disabled,
950
+ [aria-disabled='true'] {
951
+ --input-color: var(--color-text-200);
952
+ --placeholder-color: var(--color-text-200);
953
+ --input-background-color: var(--color-surface-200);
954
+ }
955
+
956
+ &[aria-invalid]:not([aria-invalid='false']),
957
+ &:user-invalid {
958
+ --input-border-color: var(--color-alert-strong);
959
+ --input-focus-border-color: var(--color-alert-strong);
960
+ }
961
+ }
962
+ }
963
+ @layer base{
964
+ textarea {
965
+ --input-vertical-spacing: var(--space-scale-2);
966
+ --input-height: auto;
967
+ resize: none;
968
+ text-align: left;
969
+ }
970
+ }
971
+ @layer base{
972
+ h1,
973
+ h2,
974
+ h3,
975
+ h4 {
976
+ font-family: var(--font-family-inter);
977
+ font-weight: var(--font-weight-semibold);
978
+ color: var(--color-text-500);
979
+ }
980
+
981
+ .display {
982
+ font-size: var(--font-size-600);
983
+ line-height: var(--font-line-height-600);
984
+ }
985
+
986
+ h1,
987
+ .heading-1 {
988
+ font-size: var(--font-size-500);
989
+ line-height: var(--font-line-height-500);
990
+ }
991
+
992
+ h2,
993
+ .heading-2 {
994
+ font-size: var(--font-size-400);
995
+ line-height: var(--font-line-height-400);
996
+ }
997
+
998
+ h3,
999
+ .heading-3 {
1000
+ font-size: var(--font-size-300);
1001
+ line-height: var(--font-line-height-300);
1002
+ }
1003
+
1004
+ h4,
1005
+ .heading-4 {
1006
+ font-size: var(--font-size-200);
1007
+ line-height: var(--font-line-height-200);
1008
+ }
1009
+
1010
+ p,
1011
+ .body {
1012
+ line-height: var(--font-line-height-200);
1013
+ font-size: var(--font-size-200);
1014
+ color: var(--color-text-400);
1015
+ }
1016
+
1017
+ strong,
1018
+ .strong {
1019
+ font-weight: var(--font-weight-semibold);
1020
+ }
1021
+
1022
+ .small {
1023
+ font-size: var(--font-size-100);
1024
+ line-height: var(--font-line-height-100);
1025
+ }
1026
+
1027
+ a {
1028
+ font-weight: var(--font-weight-medium);
1029
+ color: var(--color-primary-400);
1030
+ cursor: pointer;
1031
+ text-decoration: none;
1032
+ line-height: 1.4;
1033
+ }
1034
+
1035
+ .text-error,
1036
+ .text-danger {
1037
+ color: var(--color-alert-strong);
1038
+ }
1039
+
1040
+ .text-success {
1041
+ color: var(--color-success-strong);
1042
+ }
1043
+
1044
+ body {
1045
+ color: var(--color-text-500);
1046
+ font-weight: var(--font-weight-normal);
1047
+ font-size: var(--font-size-200);
1048
+ }
1049
+ }
1050
+ /* noinspection CssInvalidAtRule */
1051
+ @layer blocks{
1052
+ .badge {
1053
+ display: inline-block;
1054
+ width: -moz-fit-content;
1055
+ width: fit-content;
1056
+ height: -moz-fit-content;
1057
+ height: fit-content;
1058
+ border-radius: var(--border-radius-50);
1059
+ padding: 0 var(--space-scale-1);
1060
+ font-weight: var(--font-weight-normal);
1061
+ font-size: var(--font-size-200);
1062
+ line-height: var(--font-line-height-200);
1063
+ background-color: var(--color-surface-300);
1064
+ color: var(--color-text-400);
1065
+
1066
+ &[data-theme='subtle'] {
1067
+ background-color: var(--color-surface-200);
1068
+ }
1069
+
1070
+ &[data-theme='danger'] {
1071
+ background-color: var(--color-alert-subtle);
1072
+ color: var(--color-alert-strong);
1073
+ }
1074
+
1075
+ &[data-theme='success'] {
1076
+ background-color: var(--color-success-subtle);
1077
+ color: var(--color-success-strong);
1078
+ }
1079
+
1080
+ &[data-theme='warning'] {
1081
+ background-color: var(--color-warning-subtle);
1082
+ color: var(--color-warning-strong);
1083
+ }
1084
+
1085
+ &[data-theme='info'] {
1086
+ background-color: var(--color-info-subtle);
1087
+ color: var(--color-info-strong);
1088
+ }
1089
+
1090
+ &[data-theme='primary'] {
1091
+ background-color: var(--color-primary-100);
1092
+ color: var(--color-primary-400);
1093
+ }
1094
+ }
1095
+ }
1096
+ @layer blocks{
1097
+ .banner {
1098
+ display: grid;
1099
+ gap: var(--space-scale-0-5);
1100
+ grid-template-columns: min-content 1fr max-content;
1101
+ grid-template-areas: 'icon body action';
1102
+ align-items: center;
1103
+ padding: var(--space-scale-1);
1104
+ border-radius: var(--border-radius-100);
1105
+ color: var(--color-text-400);
1106
+ background-color: var(--color-info-subtle);
1107
+
1108
+ .banner--body {
1109
+ grid-area: body;
1110
+ font-size: var(--font-size-100);
1111
+ }
1112
+
1113
+ .banner--action {
1114
+ grid-area: action;
1115
+ }
1116
+
1117
+ .banner--title {
1118
+ font-weight: var(--font-weight-semibold);
1119
+ grid-area: title;
1120
+ }
1121
+
1122
+ &:has(.banner--title) {
1123
+ grid-template-rows: min-content 1fr;
1124
+ grid-template-areas:
1125
+ 'icon title action'
1126
+ '. body .';
1127
+ }
1128
+
1129
+ &::before {
1130
+ display: block;
1131
+ grid-area: icon;
1132
+ content: '';
1133
+ width: 24px;
1134
+ height: 24px;
1135
+ background-color: var(--color-info-strong);
1136
+ -webkit-mask-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5C16.6944 3.5 20.5 7.30558 20.5 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.25 15.75C11.25 16.1642 11.5858 16.5 12 16.5C12.4142 16.5 12.75 16.1642 12.75 15.75V10.25C12.75 9.83579 12.4142 9.5 12 9.5C11.5858 9.5 11.25 9.83579 11.25 10.25V15.75ZM12.75 7.75C12.75 7.33579 12.4142 7 12 7C11.5858 7 11.25 7.33579 11.25 7.75C11.25 8.16421 11.5858 8.5 12 8.5C12.4142 8.5 12.75 8.16421 12.75 7.75Z" fill="currentColor"/> </svg>');
1137
+ mask-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5C16.6944 3.5 20.5 7.30558 20.5 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.25 15.75C11.25 16.1642 11.5858 16.5 12 16.5C12.4142 16.5 12.75 16.1642 12.75 15.75V10.25C12.75 9.83579 12.4142 9.5 12 9.5C11.5858 9.5 11.25 9.83579 11.25 10.25V15.75ZM12.75 7.75C12.75 7.33579 12.4142 7 12 7C11.5858 7 11.25 7.33579 11.25 7.75C11.25 8.16421 11.5858 8.5 12 8.5C12.4142 8.5 12.75 8.16421 12.75 7.75Z" fill="currentColor"/> </svg>');
1138
+ }
1139
+
1140
+ &[data-theme='warning'] {
1141
+ color: var(--color-text-400);
1142
+ background-color: var(--color-warning-subtle);
1143
+
1144
+ &::before {
1145
+ background-color: var(--color-warning-strong);
1146
+ -webkit-mask-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5C16.6944 3.5 20.5 7.30558 20.5 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7C12.4142 7 12.75 7.33579 12.75 7.75V13.25C12.75 13.6642 12.4142 14 12 14C11.5858 14 11.25 13.6642 11.25 13.25V7.75ZM12.75 15.75C12.75 16.1642 12.4142 16.5 12 16.5C11.5858 16.5 11.25 16.1642 11.25 15.75C11.25 15.3358 11.5858 15 12 15C12.4142 15 12.75 15.3358 12.75 15.75Z" fill="currentColor"/> </svg>');
1147
+ mask-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5C16.6944 3.5 20.5 7.30558 20.5 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7C12.4142 7 12.75 7.33579 12.75 7.75V13.25C12.75 13.6642 12.4142 14 12 14C11.5858 14 11.25 13.6642 11.25 13.25V7.75ZM12.75 15.75C12.75 16.1642 12.4142 16.5 12 16.5C11.5858 16.5 11.25 16.1642 11.25 15.75C11.25 15.3358 11.5858 15 12 15C12.4142 15 12.75 15.3358 12.75 15.75Z" fill="currentColor"/> </svg>');
1148
+ }
1149
+ }
1150
+
1151
+ &[data-theme='alert'] {
1152
+ color: var(--color-text-400);
1153
+ background-color: var(--color-alert-subtle);
1154
+
1155
+ &::before {
1156
+ background-color: var(--color-alert-strong);
1157
+ -webkit-mask-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7C12.4142 7 12.75 7.33579 12.75 7.75V13.25C12.75 13.6642 12.4142 14 12 14C11.5858 14 11.25 13.6642 11.25 13.25V7.75ZM12.75 15.75C12.75 16.1642 12.4142 16.5 12 16.5C11.5858 16.5 11.25 16.1642 11.25 15.75C11.25 15.3358 11.5858 15 12 15C12.4142 15 12.75 15.3358 12.75 15.75Z" fill="currentColor"/> </svg>');
1158
+ mask-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7C12.4142 7 12.75 7.33579 12.75 7.75V13.25C12.75 13.6642 12.4142 14 12 14C11.5858 14 11.25 13.6642 11.25 13.25V7.75ZM12.75 15.75C12.75 16.1642 12.4142 16.5 12 16.5C11.5858 16.5 11.25 16.1642 11.25 15.75C11.25 15.3358 11.5858 15 12 15C12.4142 15 12.75 15.3358 12.75 15.75Z" fill="currentColor"/> </svg>');
1159
+ }
1160
+ }
1161
+ }
1162
+ }
1163
+ @layer blocks{
1164
+
1165
+ @property --card-padding {
1166
+ syntax: '<length>';
1167
+ inherits: true;
1168
+ initial-value: 1.5rem;
1169
+ }
1170
+
1171
+ @property --card-vertical-spacing {
1172
+ syntax: '<length>';
1173
+ inherits: true;
1174
+ initial-value: 0.5rem;
1175
+ }
1176
+
1177
+ .card,
1178
+ .card-dataview {
1179
+ border-radius: var(--border-radius-100);
1180
+ border: 1px solid var(--color-border-100);
1181
+ background-color: var(--color-surface-100);
1182
+ box-shadow: var(--box-shadow-lg);
1183
+ padding: var(--card-padding, var(--space-scale-2));
1184
+ display: flex;
1185
+ flex-direction: column;
1186
+ gap: var(--card-vertical-spacing, var(--space-scale-1));
1187
+ font-size: var(--font-size-200);
1188
+ font-weight: var(--font-weight-normal);
1189
+ line-height: 1.5;
1190
+
1191
+ .value {
1192
+ font-size: var(--font-size-600);
1193
+ font-weight: var(--font-weight-normal);
1194
+ line-height: normal;
1195
+ display: block;
1196
+ font-family: var(--font-family-serif);
1197
+ }
1198
+ }
1199
+
1200
+ .card-dataview {
1201
+ --card-vertical-spacing: 0;
1202
+ --card-padding: var(--space-scale-2);
1203
+
1204
+ display: grid;
1205
+ grid-template-rows: repeat(4, 1fr);
1206
+
1207
+ .title {
1208
+ font-size: inherit;
1209
+ font-weight: inherit;
1210
+ line-height: inherit;
1211
+ }
1212
+
1213
+ .status {
1214
+ align-self: center;
1215
+ }
1216
+ }
1217
+ }
1218
+ @layer blocks{
1219
+ header[data-theme='top-nav'] {
1220
+ background-color: var(--color-surface-800);
1221
+ color: var(--color-text-100);
1222
+ padding: var(--space-scale-2) var(--space-scale-6);
1223
+ min-height: var(--space-scale-7-5);
1224
+ display: flex;
1225
+ align-items: center;
1226
+ gap: var(--space-scale-4);
1227
+ width: 100%;
1228
+ box-sizing: border-box;
1229
+
1230
+ img {
1231
+ }
1232
+
1233
+ nav {
1234
+ > ul {
1235
+ display: flex;
1236
+ gap: var(--space-scale-3);
1237
+ list-style: none;
1238
+ margin: 0;
1239
+ padding: 0;
1240
+ align-items: center;
1241
+ height: 100%;
1242
+ }
1243
+
1244
+ a {
1245
+ color: inherit;
1246
+ text-underline-offset: var(--space-scale-1-5);
1247
+ font-weight: var(--font-weight-bold);
1248
+ font-size: var(--font-size-100);
1249
+
1250
+ &:is(:hover, [data-active='true']) {
1251
+ text-decoration: underline;
1252
+ text-decoration-thickness: 2px;
1253
+ text-decoration-color: var(--color-primary-300);
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1258
+ }
1259
+ @layer blocks{
1260
+ .statistic {
1261
+ display: grid;
1262
+ width: 100%;
1263
+ grid-template-columns: min-content 1fr;
1264
+ grid-template-rows: repeat(3, min-content);
1265
+ grid-template-areas:
1266
+ 'label label'
1267
+ 'value indicator'
1268
+ 'context context';
1269
+ -moz-column-gap: var(--space-scale-1);
1270
+ column-gap: var(--space-scale-1);
1271
+ row-gap: var(--space-scale-0-5);
1272
+ align-items: center;
1273
+
1274
+ .statistic--indicator {
1275
+ grid-area: indicator;
1276
+
1277
+ &:not(.badge) {
1278
+ font-size: var(--font-size-100);
1279
+ }
1280
+ }
1281
+
1282
+ .statistic--label {
1283
+ grid-area: label;
1284
+ color: var(--color-text-300);
1285
+ }
1286
+
1287
+ .statistic--value {
1288
+ grid-area: value;
1289
+ gap: var(--space-scale-1);
1290
+ font-size: var(--font-size-500);
1291
+ font-weight: var(--font-weight-semibold);
1292
+ }
1293
+
1294
+ .statistic--context {
1295
+ grid-area: context;
1296
+ color: var(--color-text-300);
1297
+ font-size: var(--font-size-100);
1298
+ }
1299
+ }
1300
+ }
1301
+ @layer blocks{
1302
+
1303
+ @property --tag-background-color {
1304
+ syntax: '<color>';
1305
+ inherits: true;
1306
+ initial-value: #FFFFFF;
1307
+ }
1308
+
1309
+ @property --tag-color {
1310
+ syntax: '<color>';
1311
+ inherits: true;
1312
+ initial-value: #0D0C0D;
1313
+ }
1314
+
1315
+ .status {
1316
+ --tag-background-color: var(--color-surface-100);
1317
+ --tag-color: var(--color-text-500);
1318
+
1319
+ background-color: var(--tag-background-color);
1320
+ color: var(--tag-color);
1321
+ border-radius: var(--border-radius-100);
1322
+ padding: var(--space-scale-0-5) var(--space-scale-1);
1323
+ font-size: var(--font-size-100);
1324
+ width: -moz-fit-content;
1325
+ width: fit-content;
1326
+ height: -moz-fit-content;
1327
+ height: fit-content;
1328
+
1329
+ &[data-status='warning'] {
1330
+ --tag-background-color: var(--color-warning-subtle);
1331
+ --tag-color: var(--color-warning-strong);
1332
+ }
1333
+ }
1334
+ }
1335
+ @layer blocks{
1336
+ table {
1337
+ width: 100%;
1338
+ border: 1px solid var(--color-surface-500);
1339
+ }
1340
+ thead {
1341
+ background-color: var(--color-surface-300);
1342
+ color: var(--color-text-400);
1343
+ }
1344
+
1345
+ th {
1346
+ padding: var(--space-scale-1);
1347
+ text-align: right;
1348
+
1349
+ &:first-child {
1350
+ text-align: left;
1351
+ }
1352
+ }
1353
+
1354
+ td {
1355
+ padding: var(--space-scale-1);
1356
+ text-align: right;
1357
+ vertical-align: middle;
1358
+
1359
+ &:first-child {
1360
+ text-align: left;
1361
+ }
1362
+ }
1363
+
1364
+ tr {
1365
+ border-top: 1px solid var(--color-surface-500);
1366
+ border-bottom: 1px solid var(--color-surface-500);
1367
+ }
1368
+
1369
+ tfoot {
1370
+ }
1371
+ }
1372
+ /* noinspection CssInvalidAtRule */
1373
+ @layer compositions{
1374
+
1375
+ @property --column-vertical-spacing {
1376
+ syntax: '<length>';
1377
+ inherits: true;
1378
+ initial-value: 0.5rem;
1379
+ }
1380
+
1381
+ [class^='column'] {
1382
+ display: flex;
1383
+ flex-direction: column;
1384
+ gap: var(--column-vertical-spacing, var(--space-scale-1));
1385
+
1386
+ &[data-align='end'] {
1387
+ align-items: flex-end;
1388
+ }
1389
+
1390
+ &[data-align='center'] {
1391
+ align-items: center;
1392
+ }
1393
+
1394
+ &[data-align='start'] {
1395
+ align-items: flex-start;
1396
+ }
1397
+
1398
+ &[data-justify='end'] {
1399
+ justify-content: flex-end;
1400
+ }
1401
+
1402
+ &[data-justify='center'] {
1403
+ justify-content: center;
1404
+ }
1405
+ }
1406
+
1407
+ .column-xs {
1408
+ --column-vertical-spacing: var(--space-scale-0-5);
1409
+ }
1410
+
1411
+ .column-sm {
1412
+ --column-vertical-spacing: var(--space-scale-1);
1413
+ }
1414
+
1415
+ .column-md {
1416
+ --column-vertical-spacing: var(--space-scale-2);
1417
+ }
1418
+
1419
+ .column-lg {
1420
+ --column-vertical-spacing: var(--space-scale-3);
1421
+ }
1422
+
1423
+ .column-xl {
1424
+ --column-vertical-spacing: var(--space-scale-4);
1425
+ }
1426
+
1427
+ .column-2xl {
1428
+ --column-vertical-spacing: var(--space-scale-5);
1429
+ }
1430
+ }
1431
+ @layer compositions{
1432
+
1433
+ @property --stack-vertical-spacing {
1434
+ syntax: '<length>';
1435
+ inherits: false;
1436
+ initial-value: 0.5rem;
1437
+ }
1438
+
1439
+ [class^='stack'] > * + * {
1440
+ margin-top: var(--stack-vertical-spacing);
1441
+ }
1442
+
1443
+ .stack-xs {
1444
+ --stack-vertical-spacing: var(--space-scale-0-5);
1445
+ }
1446
+
1447
+ .stack-sm {
1448
+ --stack-vertical-spacing: var(--space-scale-1);
1449
+ }
1450
+
1451
+ .stack-md {
1452
+ --stack-vertical-spacing: var(--space-scale-2);
1453
+ }
1454
+
1455
+ .stack-lg {
1456
+ --stack-vertical-spacing: var(--space-scale-3);
1457
+ }
1458
+
1459
+ .stack-xl {
1460
+ --stack-vertical-spacing: var(--space-scale-4);
1461
+ }
1462
+
1463
+ .stack-2xl {
1464
+ --stack-vertical-spacing: var(--space-scale-5);
1465
+ }
1466
+ }
1467
+ /* noinspection CssInvalidAtRule */
1468
+ /* noinspection CssInvalidAtRule */
1469
+ @layer exceptions{
1470
+ /**
1471
+ Hide web componentManifest until they are defined
1472
+ */
1473
+ :is(tt-combobox, tt-navbar, tt-date-picker, tt-date-range-picker):not(:defined) {
1474
+ visibility: hidden;
1475
+ }
1476
+ }
1477
+ `;