@cirthcss/cirth 0.14.1 → 0.15.0-beta.1
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/NOTICE.md +9 -0
- package/README.md +18 -13
- package/dist/cirth.classless.css +305 -201
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +305 -201
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +348 -221
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.print.classless.css +1 -0
- package/dist/cirth.print.classless.min.css +1 -1
- package/dist/cirth.print.classless.scoped.css +1 -0
- package/dist/cirth.print.classless.scoped.min.css +1 -1
- package/dist/cirth.print.css +1 -0
- package/dist/cirth.print.min.css +1 -1
- package/dist/cirth.print.scoped.css +1 -0
- package/dist/cirth.print.scoped.min.css +1 -1
- package/dist/cirth.scoped.css +348 -221
- package/dist/cirth.scoped.min.css +1 -1
- package/dist/presets/plain.css +2 -2
- package/dist/presets/plain.min.css +1 -1
- package/dist/presets/playroom.css +5 -10
- package/dist/presets/playroom.min.css +1 -1
- package/package.json +16 -3
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.cirth > header, .cirth > main, .cirth > footer {
|
|
37
|
-
grid-template-columns: minmax(var(--cirth-
|
|
37
|
+
grid-template-columns: [full-start] minmax(var(--cirth-container-gutter), 1fr) [content-start] minmax(0, var(--cirth-container-max-width)) [content-end] minmax(var(--cirth-container-gutter), 1fr) [full-end];
|
|
38
38
|
padding-block: var(--cirth-block-spacing-vertical);
|
|
39
39
|
display: grid;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.cirth > header > *, .cirth > main > *, .cirth > footer > * {
|
|
43
|
-
grid-column:
|
|
43
|
+
grid-column: content;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.cirth section {
|
|
@@ -67,11 +67,9 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.cirth address, .cirth blockquote, .cirth dl, .cirth ol, .cirth p, .cirth pre, .cirth table, .cirth ul {
|
|
70
|
-
margin-
|
|
71
|
-
margin-bottom: var(--cirth-typography-spacing-vertical);
|
|
70
|
+
margin-block: 0 var(--cirth-typography-spacing-vertical);
|
|
72
71
|
color: var(--cirth-color);
|
|
73
72
|
font-style: normal;
|
|
74
|
-
font-weight: var(--cirth-font-weight);
|
|
75
73
|
}
|
|
76
74
|
|
|
77
75
|
.cirth p {
|
|
@@ -79,8 +77,7 @@
|
|
|
79
77
|
}
|
|
80
78
|
|
|
81
79
|
.cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
|
|
82
|
-
margin-
|
|
83
|
-
margin-bottom: var(--cirth-typography-spacing-vertical);
|
|
80
|
+
margin-block: 0 calc(var(--cirth-typography-spacing-vertical) * .5);
|
|
84
81
|
color: var(--cirth-color);
|
|
85
82
|
font-weight: var(--cirth-font-weight);
|
|
86
83
|
font-size: var(--cirth-font-size);
|
|
@@ -118,13 +115,12 @@
|
|
|
118
115
|
margin-top: var(--cirth-typography-spacing-top);
|
|
119
116
|
}
|
|
120
117
|
|
|
121
|
-
.cirth
|
|
118
|
+
.cirth hgroup {
|
|
122
119
|
margin-bottom: var(--cirth-typography-spacing-vertical);
|
|
123
120
|
}
|
|
124
121
|
|
|
125
122
|
.cirth hgroup > * {
|
|
126
|
-
margin-
|
|
127
|
-
margin-bottom: 0;
|
|
123
|
+
margin-block: 0;
|
|
128
124
|
}
|
|
129
125
|
|
|
130
126
|
.cirth hgroup > :not(:first-child):last-child {
|
|
@@ -146,6 +142,18 @@
|
|
|
146
142
|
list-style: square;
|
|
147
143
|
}
|
|
148
144
|
|
|
145
|
+
.cirth dt {
|
|
146
|
+
font-weight: var(--cirth-font-weight-semibold);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.cirth dd {
|
|
150
|
+
margin-inline-start: 0;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.cirth dl > dd + dt {
|
|
154
|
+
margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
|
|
155
|
+
}
|
|
156
|
+
|
|
149
157
|
.cirth mark {
|
|
150
158
|
padding: 0 var(--cirth-space-1);
|
|
151
159
|
background-color: var(--cirth-mark-background-color);
|
|
@@ -158,7 +166,10 @@
|
|
|
158
166
|
padding: var(--cirth-spacing);
|
|
159
167
|
border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
|
|
160
168
|
border-inline-end: none;
|
|
161
|
-
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.cirth blockquote > :last-child, .cirth blockquote > :has( + footer) {
|
|
172
|
+
margin-bottom: 0;
|
|
162
173
|
}
|
|
163
174
|
|
|
164
175
|
.cirth blockquote footer {
|
|
@@ -210,10 +221,14 @@
|
|
|
210
221
|
outline: var(--cirth-outline-width) solid transparent;
|
|
211
222
|
}
|
|
212
223
|
|
|
213
|
-
.cirth :where(a:not([role="button"])):visited:not([aria-current]:not([aria-current="false"]), :hover, :active, :focus, nav a) {
|
|
224
|
+
.cirth :where(a:not([role="button"])):visited:not([aria-current]:not([aria-current="false"]), :hover, :active, :focus, nav a, :has(article)) {
|
|
214
225
|
color: var(--cirth-link-visited-color);
|
|
215
226
|
}
|
|
216
227
|
|
|
228
|
+
.cirth :where(a:not([role="button"])):has(article) {
|
|
229
|
+
--cirth-color: inherit;
|
|
230
|
+
}
|
|
231
|
+
|
|
217
232
|
.cirth a[role="button"] {
|
|
218
233
|
display: inline-block;
|
|
219
234
|
}
|
|
@@ -234,7 +249,7 @@
|
|
|
234
249
|
--cirth-color: var(--cirth-primary-inverse);
|
|
235
250
|
--cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
|
|
236
251
|
max-width: 100%;
|
|
237
|
-
min-block-size:
|
|
252
|
+
min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
|
|
238
253
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
239
254
|
border: var(--cirth-border-width) solid var(--cirth-border-color);
|
|
240
255
|
border-radius: var(--cirth-border-radius);
|
|
@@ -259,7 +274,7 @@
|
|
|
259
274
|
--cirth-color: var(--cirth-primary-inverse);
|
|
260
275
|
--cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
|
|
261
276
|
max-width: 100%;
|
|
262
|
-
min-block-size:
|
|
277
|
+
min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
|
|
263
278
|
padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
|
|
264
279
|
border: var(--cirth-border-width) solid var(--cirth-border-color);
|
|
265
280
|
border-radius: var(--cirth-border-radius);
|
|
@@ -300,11 +315,11 @@
|
|
|
300
315
|
}
|
|
301
316
|
|
|
302
317
|
.cirth button:active, .cirth [type="submit"]:active, .cirth [type="reset"]:active, .cirth [type="button"]:active, .cirth [role="button"]:active {
|
|
303
|
-
|
|
318
|
+
background-image: linear-gradient(#0000001f 0 0);
|
|
304
319
|
}
|
|
305
320
|
|
|
306
321
|
.cirth [type="file"]::file-selector-button:active {
|
|
307
|
-
|
|
322
|
+
background-image: linear-gradient(#0000001f 0 0);
|
|
308
323
|
}
|
|
309
324
|
|
|
310
325
|
.cirth button:focus-visible, .cirth button[aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="submit"]:focus-visible, .cirth [type="submit"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="reset"]:focus-visible, .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="button"]:focus-visible, .cirth [type="button"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [role="button"]:focus-visible, .cirth [role="button"][aria-current]:not([aria-current="false"]):focus-visible {
|
|
@@ -313,18 +328,6 @@
|
|
|
313
328
|
outline: var(--cirth-outline-width) solid transparent;
|
|
314
329
|
}
|
|
315
330
|
|
|
316
|
-
.cirth [type="file"]::file-selector-button:focus-visible {
|
|
317
|
-
--cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
|
|
318
|
-
0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
|
|
319
|
-
outline: var(--cirth-outline-width) solid transparent;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.cirth [type="file"]::file-selector-button:is():focus-visible {
|
|
323
|
-
--cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
|
|
324
|
-
0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
|
|
325
|
-
outline: var(--cirth-outline-width) solid transparent;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
331
|
.cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
|
|
329
332
|
margin-bottom: var(--cirth-spacing);
|
|
330
333
|
}
|
|
@@ -360,32 +363,31 @@
|
|
|
360
363
|
0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
|
|
361
364
|
}
|
|
362
365
|
|
|
363
|
-
.cirth [type="file"]::file-selector-button:focus-visible {
|
|
364
|
-
--cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
|
|
365
|
-
0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
366
|
.cirth :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], .cirth :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
|
|
369
367
|
opacity: var(--cirth-opacity-disabled);
|
|
370
368
|
pointer-events: none;
|
|
371
369
|
}
|
|
372
370
|
|
|
373
|
-
.cirth form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
|
|
371
|
+
.cirth form:has(:user-invalid) :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
|
|
374
372
|
filter: grayscale();
|
|
375
373
|
}
|
|
376
374
|
|
|
377
375
|
.cirth :where(table) {
|
|
378
376
|
border-collapse: collapse;
|
|
379
|
-
border-spacing: 0;
|
|
380
377
|
text-indent: 0;
|
|
381
378
|
border-color: currentColor;
|
|
382
379
|
width: 100%;
|
|
383
380
|
}
|
|
384
381
|
|
|
382
|
+
.cirth caption {
|
|
383
|
+
color: var(--cirth-muted-color);
|
|
384
|
+
text-align: start;
|
|
385
|
+
padding-block-end: calc(var(--cirth-spacing) * .5);
|
|
386
|
+
}
|
|
387
|
+
|
|
385
388
|
.cirth th, .cirth td {
|
|
386
389
|
padding: calc(var(--cirth-spacing) / 2) var(--cirth-spacing);
|
|
387
390
|
border-bottom: var(--cirth-border-width) solid var(--cirth-table-border-color);
|
|
388
|
-
color: var(--cirth-color);
|
|
389
391
|
font-weight: var(--cirth-font-weight);
|
|
390
392
|
font-variant-numeric: tabular-nums;
|
|
391
393
|
text-align: start;
|
|
@@ -447,10 +449,15 @@
|
|
|
447
449
|
|
|
448
450
|
.cirth pre {
|
|
449
451
|
margin-bottom: var(--cirth-spacing);
|
|
452
|
+
border: var(--cirth-border-width) solid var(--cirth-card-border-color);
|
|
450
453
|
display: block;
|
|
451
454
|
overflow-x: auto;
|
|
452
455
|
}
|
|
453
456
|
|
|
457
|
+
.cirth pre:focus-visible {
|
|
458
|
+
outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
|
|
459
|
+
}
|
|
460
|
+
|
|
454
461
|
.cirth pre > code, .cirth pre > samp {
|
|
455
462
|
padding: var(--cirth-spacing);
|
|
456
463
|
line-height: var(--cirth-line-height);
|
|
@@ -538,11 +545,11 @@
|
|
|
538
545
|
}
|
|
539
546
|
|
|
540
547
|
.cirth input:not([type="checkbox"], [type="radio"], [type="range"]) {
|
|
541
|
-
height:
|
|
548
|
+
height: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
|
|
542
549
|
}
|
|
543
550
|
|
|
544
551
|
.cirth select, .cirth textarea {
|
|
545
|
-
min-block-size:
|
|
552
|
+
min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
|
|
546
553
|
}
|
|
547
554
|
|
|
548
555
|
.cirth fieldset {
|
|
@@ -560,10 +567,6 @@
|
|
|
560
567
|
display: block;
|
|
561
568
|
}
|
|
562
569
|
|
|
563
|
-
.cirth fieldset legend {
|
|
564
|
-
margin-bottom: calc(var(--cirth-spacing) * .5);
|
|
565
|
-
}
|
|
566
|
-
|
|
567
570
|
.cirth input:not([type="checkbox"], [type="radio"], [size]), .cirth button[type="submit"], .cirth select, .cirth textarea {
|
|
568
571
|
width: 100%;
|
|
569
572
|
}
|
|
@@ -588,6 +591,11 @@
|
|
|
588
591
|
outline: none;
|
|
589
592
|
}
|
|
590
593
|
|
|
594
|
+
.cirth :where(input, textarea)[readonly] {
|
|
595
|
+
background-color: var(--cirth-card-sectioning-background-color);
|
|
596
|
+
border-style: dashed;
|
|
597
|
+
}
|
|
598
|
+
|
|
591
599
|
.cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
|
|
592
600
|
--cirth-background-color: var(--cirth-form-element-active-background-color);
|
|
593
601
|
}
|
|
@@ -596,10 +604,18 @@
|
|
|
596
604
|
--cirth-border-color: var(--cirth-form-element-active-border-color);
|
|
597
605
|
}
|
|
598
606
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
607
|
+
@media (hover: hover) and (pointer: fine) {
|
|
608
|
+
.cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="file"], [readonly]):hover:not(:active, :focus, :disabled, [aria-invalid], :user-invalid) {
|
|
609
|
+
--cirth-border-color: color-mix(in oklch,
|
|
610
|
+
var(--cirth-form-element-border-color) 65%,
|
|
611
|
+
var(--cirth-color));
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.cirth :where(select, textarea):not([readonly]):hover:not(:active, :focus, :disabled, [aria-invalid], :user-invalid) {
|
|
615
|
+
--cirth-border-color: color-mix(in oklch,
|
|
616
|
+
var(--cirth-form-element-border-color) 65%,
|
|
617
|
+
var(--cirth-color));
|
|
618
|
+
}
|
|
603
619
|
}
|
|
604
620
|
|
|
605
621
|
.cirth input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, .cirth :where(select, textarea):not([readonly]):focus {
|
|
@@ -704,7 +720,7 @@
|
|
|
704
720
|
.cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
|
|
705
721
|
--cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
|
|
706
722
|
var(--cirth-form-element-spacing-vertical) * 2 +
|
|
707
|
-
var(--cirth-border-width) * 2);
|
|
723
|
+
(var(--cirth-border-width) * 2));
|
|
708
724
|
background-position: top right var(--cirth-space-3);
|
|
709
725
|
background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
|
|
710
726
|
}
|
|
@@ -1058,16 +1074,21 @@
|
|
|
1058
1074
|
|
|
1059
1075
|
.cirth details {
|
|
1060
1076
|
margin-bottom: var(--cirth-spacing);
|
|
1061
|
-
display: block;
|
|
1062
1077
|
}
|
|
1063
1078
|
|
|
1064
1079
|
.cirth details summary {
|
|
1065
|
-
line-height: var(--cirth-
|
|
1080
|
+
line-height: var(--cirth-line-height-normal);
|
|
1066
1081
|
cursor: pointer;
|
|
1067
1082
|
transition: color var(--cirth-transition);
|
|
1068
1083
|
list-style-type: none;
|
|
1069
1084
|
}
|
|
1070
1085
|
|
|
1086
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1087
|
+
.cirth details summary:hover:not([role]) {
|
|
1088
|
+
color: var(--cirth-accordion-active-summary-color);
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1071
1092
|
.cirth details summary:not([role]) {
|
|
1072
1093
|
color: var(--cirth-accordion-close-summary-color);
|
|
1073
1094
|
}
|
|
@@ -1081,16 +1102,16 @@
|
|
|
1081
1102
|
}
|
|
1082
1103
|
|
|
1083
1104
|
.cirth details summary:after {
|
|
1084
|
-
width:
|
|
1085
|
-
height:
|
|
1105
|
+
width: 1em;
|
|
1106
|
+
height: 1lh;
|
|
1086
1107
|
float: right;
|
|
1087
|
-
background-color: var(--cirth-muted-color);
|
|
1088
1108
|
mask-image: var(--cirth-icon-chevron);
|
|
1089
|
-
|
|
1090
|
-
mask-size: var(--cirth-font-size-md) auto;
|
|
1109
|
+
background-color: currentColor;
|
|
1091
1110
|
margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
|
|
1092
1111
|
display: block;
|
|
1093
|
-
transform: rotate(
|
|
1112
|
+
transform: rotate(0);
|
|
1113
|
+
mask-position: 100%;
|
|
1114
|
+
mask-size: 1em;
|
|
1094
1115
|
mask-repeat: no-repeat;
|
|
1095
1116
|
}
|
|
1096
1117
|
|
|
@@ -1115,8 +1136,8 @@
|
|
|
1115
1136
|
|
|
1116
1137
|
.cirth details summary:focus-visible:not([role]) {
|
|
1117
1138
|
outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
|
|
1118
|
-
outline-offset:
|
|
1119
|
-
color: var(--cirth-
|
|
1139
|
+
outline-offset: var(--cirth-space-1);
|
|
1140
|
+
color: var(--cirth-accordion-active-summary-color);
|
|
1120
1141
|
}
|
|
1121
1142
|
|
|
1122
1143
|
.cirth details summary[role="button"] {
|
|
@@ -1124,59 +1145,92 @@
|
|
|
1124
1145
|
width: 100%;
|
|
1125
1146
|
}
|
|
1126
1147
|
|
|
1127
|
-
.cirth details summary[role="button"]:after {
|
|
1128
|
-
height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
1148
|
.cirth details[open] > summary {
|
|
1132
|
-
margin-bottom: var(--cirth-
|
|
1149
|
+
margin-bottom: var(--cirth-space-2);
|
|
1133
1150
|
}
|
|
1134
1151
|
|
|
1135
|
-
.cirth details[open] > summary:not([role]):not(:focus) {
|
|
1152
|
+
.cirth details[open] > summary:not([role]):not(:focus, :hover) {
|
|
1136
1153
|
color: var(--cirth-accordion-open-summary-color);
|
|
1137
1154
|
}
|
|
1138
1155
|
|
|
1139
1156
|
.cirth details[open] > summary:after {
|
|
1140
|
-
transform: rotate(
|
|
1157
|
+
transform: rotate(180deg);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.cirth details {
|
|
1161
|
+
border-block-end: var(--cirth-border-width) solid var(--cirth-muted-border-color);
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.cirth details > summary {
|
|
1165
|
+
min-block-size: 2.75rem;
|
|
1166
|
+
padding-block: var(--cirth-space-2);
|
|
1167
|
+
font-weight: var(--cirth-font-weight-semibold);
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.cirth details[open] {
|
|
1171
|
+
padding-block-end: var(--cirth-space-4);
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.cirth details > :last-child:not(summary) {
|
|
1175
|
+
margin-bottom: 0;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1179
|
+
@supports selector(::details-content) {
|
|
1180
|
+
.cirth details::details-content {
|
|
1181
|
+
block-size: 0;
|
|
1182
|
+
transition: block-size var(--cirth-transition), content-visibility var(--cirth-transition) allow-discrete;
|
|
1183
|
+
interpolate-size: allow-keywords;
|
|
1184
|
+
overflow: hidden;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
.cirth details[open]::details-content {
|
|
1188
|
+
block-size: auto;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1141
1191
|
}
|
|
1142
1192
|
|
|
1143
1193
|
[dir="rtl"] .cirth details summary:after {
|
|
1144
1194
|
float: left;
|
|
1145
|
-
background-position: 0;
|
|
1146
1195
|
}
|
|
1147
1196
|
|
|
1148
1197
|
.cirth article {
|
|
1149
1198
|
margin-bottom: var(--cirth-block-spacing-vertical);
|
|
1150
1199
|
padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
|
|
1151
|
-
border
|
|
1200
|
+
border: var(--cirth-border-width) solid var(--cirth-card-border-color);
|
|
1201
|
+
border-radius: var(--cirth-card-border-radius);
|
|
1152
1202
|
background: var(--cirth-card-background-color);
|
|
1153
1203
|
box-shadow: var(--cirth-card-box-shadow);
|
|
1154
1204
|
}
|
|
1155
1205
|
|
|
1206
|
+
.cirth article > :last-child:not(header, footer), .cirth article > :is(header, footer) > :last-child {
|
|
1207
|
+
margin-bottom: 0;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.cirth article > :is(header, footer) :is(h1, h2, h3, h4, h5, h6) {
|
|
1211
|
+
margin-top: 0;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1156
1214
|
.cirth article > header, .cirth article > footer {
|
|
1157
1215
|
margin-inline: calc(var(--cirth-block-spacing-horizontal) * -1);
|
|
1158
1216
|
padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
|
|
1159
1217
|
background-color: var(--cirth-card-sectioning-background-color);
|
|
1160
1218
|
}
|
|
1161
1219
|
|
|
1162
|
-
.cirth article > header > :last-child, .cirth article > footer > :last-child {
|
|
1163
|
-
margin-bottom: 0;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
1220
|
.cirth article > header {
|
|
1167
1221
|
margin-top: calc(var(--cirth-block-spacing-vertical) * -1);
|
|
1168
1222
|
margin-bottom: var(--cirth-block-spacing-vertical);
|
|
1169
1223
|
border-bottom: var(--cirth-border-width) solid var(--cirth-card-border-color);
|
|
1170
|
-
border-top-right-radius: var(--cirth-border-radius);
|
|
1171
|
-
border-top-left-radius: var(--cirth-border-radius);
|
|
1224
|
+
border-top-right-radius: var(--cirth-card-border-radius);
|
|
1225
|
+
border-top-left-radius: var(--cirth-card-border-radius);
|
|
1172
1226
|
}
|
|
1173
1227
|
|
|
1174
1228
|
.cirth article > footer {
|
|
1175
1229
|
margin-top: var(--cirth-block-spacing-vertical);
|
|
1176
1230
|
margin-bottom: calc(var(--cirth-block-spacing-vertical) * -1);
|
|
1177
1231
|
border-top: var(--cirth-border-width) solid var(--cirth-card-border-color);
|
|
1178
|
-
border-bottom-right-radius: var(--cirth-border-radius);
|
|
1179
|
-
border-bottom-left-radius: var(--cirth-border-radius);
|
|
1232
|
+
border-bottom-right-radius: var(--cirth-card-border-radius);
|
|
1233
|
+
border-bottom-left-radius: var(--cirth-card-border-radius);
|
|
1180
1234
|
}
|
|
1181
1235
|
|
|
1182
1236
|
.cirth [role="search"], .cirth [role="group"]:not(fieldset) {
|
|
@@ -1390,31 +1444,19 @@
|
|
|
1390
1444
|
|
|
1391
1445
|
.cirth dialog > article {
|
|
1392
1446
|
transition: opacity var(--cirth-transition), transform var(--cirth-transition);
|
|
1393
|
-
width: 100
|
|
1447
|
+
width: min(100% - var(--cirth-spacing) * 2, var(--cirth-modal-max-width));
|
|
1394
1448
|
max-height: calc(100vh - var(--cirth-spacing) * 2);
|
|
1395
1449
|
max-height: calc(100dvh - var(--cirth-spacing) * 2);
|
|
1396
1450
|
margin: var(--cirth-spacing);
|
|
1397
1451
|
overflow: auto;
|
|
1398
1452
|
}
|
|
1399
1453
|
|
|
1400
|
-
@media (width >= 576px) {
|
|
1401
|
-
.cirth dialog > article {
|
|
1402
|
-
max-width: 510px;
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
@media (width >= 768px) {
|
|
1407
|
-
.cirth dialog > article {
|
|
1408
|
-
max-width: 700px;
|
|
1409
|
-
}
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
1454
|
.cirth dialog > article > header > * {
|
|
1413
1455
|
margin-bottom: 0;
|
|
1414
1456
|
}
|
|
1415
1457
|
|
|
1416
1458
|
.cirth dialog > article > header :is(a, button)[rel="prev"] {
|
|
1417
|
-
margin: calc(calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * -1);
|
|
1459
|
+
margin: calc(calc((max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2) - var(--cirth-font-size-md)) / 2) * -1);
|
|
1418
1460
|
float: right;
|
|
1419
1461
|
margin-inline-start: var(--cirth-spacing);
|
|
1420
1462
|
padding: 0;
|
|
@@ -1433,11 +1475,11 @@
|
|
|
1433
1475
|
}
|
|
1434
1476
|
|
|
1435
1477
|
.cirth dialog > article :is(a, button)[rel="prev"] {
|
|
1436
|
-
width: calc(var(--cirth-font-size-md) + calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * 2);
|
|
1437
|
-
height: calc(var(--cirth-font-size-md) + calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * 2);
|
|
1438
|
-
margin-top: calc(var(--cirth-spacing) * -1 - calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2));
|
|
1439
|
-
margin-right: calc(calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * -1);
|
|
1440
|
-
margin-bottom: calc(var(--cirth-spacing) - calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2));
|
|
1478
|
+
width: calc(var(--cirth-font-size-md) + calc((max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2) - var(--cirth-font-size-md)) / 2) * 2);
|
|
1479
|
+
height: calc(var(--cirth-font-size-md) + calc((max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2) - var(--cirth-font-size-md)) / 2) * 2);
|
|
1480
|
+
margin-top: calc(var(--cirth-spacing) * -1 - calc((max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2) - var(--cirth-font-size-md)) / 2));
|
|
1481
|
+
margin-right: calc(calc((max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2) - var(--cirth-font-size-md)) / 2) * -1);
|
|
1482
|
+
margin-bottom: calc(var(--cirth-spacing) - calc((max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2) - var(--cirth-font-size-md)) / 2));
|
|
1441
1483
|
opacity: .5;
|
|
1442
1484
|
transition: opacity var(--cirth-transition);
|
|
1443
1485
|
background-color: #0000;
|
|
@@ -1477,11 +1519,11 @@
|
|
|
1477
1519
|
}
|
|
1478
1520
|
|
|
1479
1521
|
.cirth :where(nav li):before {
|
|
1480
|
-
float: left;
|
|
1481
1522
|
content: "";
|
|
1523
|
+
position: absolute;
|
|
1482
1524
|
}
|
|
1483
1525
|
|
|
1484
|
-
.cirth nav, .cirth nav ul {
|
|
1526
|
+
.cirth nav, .cirth nav :is(ol, ul) {
|
|
1485
1527
|
display: flex;
|
|
1486
1528
|
}
|
|
1487
1529
|
|
|
@@ -1512,8 +1554,11 @@
|
|
|
1512
1554
|
}
|
|
1513
1555
|
|
|
1514
1556
|
.cirth nav li :where(a:not([role="button"]), [role="link"]) {
|
|
1515
|
-
|
|
1557
|
+
--cirth-color: inherit;
|
|
1558
|
+
margin-block: calc(var(--cirth-nav-link-spacing-vertical) * -1);
|
|
1559
|
+
margin-inline: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
|
|
1516
1560
|
padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
|
|
1561
|
+
border-block-end: var(--cirth-border-width-2) solid transparent;
|
|
1517
1562
|
border-radius: var(--cirth-border-radius);
|
|
1518
1563
|
display: inline-block;
|
|
1519
1564
|
}
|
|
@@ -1522,6 +1567,13 @@
|
|
|
1522
1567
|
text-decoration: none;
|
|
1523
1568
|
}
|
|
1524
1569
|
|
|
1570
|
+
.cirth nav li :where(a:not([role="button"]), [role="link"]):is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
|
|
1571
|
+
--cirth-color: inherit;
|
|
1572
|
+
--cirth-text-decoration: none;
|
|
1573
|
+
border-block-end-color: var(--cirth-primary-border);
|
|
1574
|
+
border-radius: 0;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1525
1577
|
.cirth nav li [role="group"]:not(fieldset), .cirth nav li [role="search"] {
|
|
1526
1578
|
width: auto;
|
|
1527
1579
|
margin-bottom: 0;
|
|
@@ -1529,7 +1581,7 @@
|
|
|
1529
1581
|
|
|
1530
1582
|
.cirth nav li button, .cirth nav li [role="button"], .cirth nav li [type="button"], .cirth nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth nav li select {
|
|
1531
1583
|
height: auto;
|
|
1532
|
-
min-block-size: var(--cirth-space-
|
|
1584
|
+
min-block-size: var(--cirth-space-10);
|
|
1533
1585
|
margin-inline: inherit;
|
|
1534
1586
|
padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
|
|
1535
1587
|
margin-bottom: 0;
|
|
@@ -1540,16 +1592,16 @@
|
|
|
1540
1592
|
align-items: center;
|
|
1541
1593
|
}
|
|
1542
1594
|
|
|
1543
|
-
.cirth nav[aria-label="breadcrumb"] ul li:not(:first-child) {
|
|
1595
|
+
.cirth nav[aria-label="breadcrumb"] :is(ol, ul) li:not(:first-child) {
|
|
1544
1596
|
margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
|
|
1545
1597
|
}
|
|
1546
1598
|
|
|
1547
|
-
.cirth nav[aria-label="breadcrumb"] ul li a {
|
|
1599
|
+
.cirth nav[aria-label="breadcrumb"] :is(ol, ul) li a {
|
|
1548
1600
|
margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
|
|
1549
|
-
margin-inline-start: calc(var(--cirth-nav-
|
|
1601
|
+
margin-inline-start: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
|
|
1550
1602
|
}
|
|
1551
1603
|
|
|
1552
|
-
.cirth nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
|
|
1604
|
+
.cirth nav[aria-label="breadcrumb"] :is(ol, ul) li:not(:last-child):after {
|
|
1553
1605
|
width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
|
|
1554
1606
|
margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
|
|
1555
1607
|
content: var(--cirth-nav-breadcrumb-divider);
|
|
@@ -1565,22 +1617,65 @@
|
|
|
1565
1617
|
color: inherit;
|
|
1566
1618
|
pointer-events: none;
|
|
1567
1619
|
background-color: #0000;
|
|
1620
|
+
border-block-end-color: #0000;
|
|
1568
1621
|
text-decoration: none;
|
|
1569
1622
|
}
|
|
1570
1623
|
|
|
1571
|
-
.cirth aside
|
|
1624
|
+
.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav {
|
|
1625
|
+
--cirth-nav-element-spacing-vertical: var(--cirth-space-2);
|
|
1626
|
+
flex-wrap: wrap;
|
|
1627
|
+
align-items: center;
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]) {
|
|
1631
|
+
--cirth-color: var(--cirth-muted-color);
|
|
1632
|
+
--cirth-text-decoration: none;
|
|
1633
|
+
border-block-end: 0;
|
|
1634
|
+
border-radius: 0;
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]):is(:hover, :focus, :active) {
|
|
1638
|
+
--cirth-color: color-mix(in oklch,
|
|
1639
|
+
var(--cirth-muted-color),
|
|
1640
|
+
var(--cirth-contrast));
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]):is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
|
|
1644
|
+
--cirth-color: var(--cirth-contrast);
|
|
1645
|
+
font-weight: var(--cirth-font-weight-semibold);
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"])[aria-disabled="true"] {
|
|
1649
|
+
--cirth-color: color-mix(in oklch,
|
|
1650
|
+
var(--cirth-muted-color) 55%,
|
|
1651
|
+
transparent);
|
|
1652
|
+
pointer-events: none;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
.cirth aside nav {
|
|
1656
|
+
--cirth-nav-element-spacing-horizontal: 0;
|
|
1572
1657
|
display: block;
|
|
1573
1658
|
}
|
|
1574
1659
|
|
|
1575
|
-
.cirth aside li {
|
|
1576
|
-
|
|
1660
|
+
.cirth aside nav ol, .cirth aside nav ul, .cirth aside nav li {
|
|
1661
|
+
display: block;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
.cirth aside nav li {
|
|
1665
|
+
padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) 0;
|
|
1577
1666
|
}
|
|
1578
1667
|
|
|
1579
|
-
.cirth aside li a {
|
|
1668
|
+
.cirth aside nav li a {
|
|
1669
|
+
border-inline-start: var(--cirth-border-width-2) solid transparent;
|
|
1580
1670
|
display: block;
|
|
1581
1671
|
}
|
|
1582
1672
|
|
|
1583
|
-
.cirth aside li [
|
|
1673
|
+
.cirth aside nav li a:is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
|
|
1674
|
+
border-block-end-color: #0000;
|
|
1675
|
+
border-inline-start-color: var(--cirth-primary-border);
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
.cirth aside nav li [role="button"] {
|
|
1584
1679
|
margin: inherit;
|
|
1585
1680
|
}
|
|
1586
1681
|
|
|
@@ -1598,11 +1693,18 @@
|
|
|
1598
1693
|
background-color: var(--cirth-popover-background-color);
|
|
1599
1694
|
box-shadow: var(--cirth-popover-box-shadow);
|
|
1600
1695
|
color: var(--cirth-popover-color);
|
|
1601
|
-
transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
|
|
1602
1696
|
margin: auto;
|
|
1603
1697
|
inset: 0;
|
|
1604
1698
|
}
|
|
1605
1699
|
|
|
1700
|
+
.cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open > :last-child {
|
|
1701
|
+
margin-bottom: 0;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
.cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
|
|
1705
|
+
transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1606
1708
|
@starting-style {
|
|
1607
1709
|
.cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
|
|
1608
1710
|
opacity: 0;
|
|
@@ -1725,7 +1827,7 @@
|
|
|
1725
1827
|
--cirth-font-weight-medium: 500;
|
|
1726
1828
|
--cirth-font-weight-semibold: 600;
|
|
1727
1829
|
--cirth-font-weight-bold: 700;
|
|
1728
|
-
--cirth-letter-spacing-tight: -.
|
|
1830
|
+
--cirth-letter-spacing-tight: -.03em;
|
|
1729
1831
|
--cirth-letter-spacing-snug: -.01em;
|
|
1730
1832
|
--cirth-line-height-none: 1;
|
|
1731
1833
|
--cirth-line-height-tight: 1.125;
|
|
@@ -1775,12 +1877,12 @@
|
|
|
1775
1877
|
--cirth-z-index-modal-backdrop: 1040;
|
|
1776
1878
|
--cirth-z-index-modal: 1050;
|
|
1777
1879
|
--cirth-font-family: var(--cirth-font-family-sans);
|
|
1778
|
-
--cirth-font-family-display: var(--cirth-font-family-
|
|
1880
|
+
--cirth-font-family-display: var(--cirth-font-family-sans);
|
|
1779
1881
|
--cirth-line-height: var(--cirth-line-height-normal);
|
|
1780
1882
|
--cirth-font-weight: var(--cirth-font-weight-regular);
|
|
1781
1883
|
--cirth-font-size: 100%;
|
|
1782
1884
|
--cirth-text-underline-offset: .15em;
|
|
1783
|
-
--cirth-border-radius: var(--cirth-radius-
|
|
1885
|
+
--cirth-border-radius: var(--cirth-radius-sm);
|
|
1784
1886
|
--cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
|
|
1785
1887
|
--cirth-checkbox-border-radius: min(var(--cirth-border-radius),
|
|
1786
1888
|
var(--cirth-radius-sm));
|
|
@@ -1791,25 +1893,29 @@
|
|
|
1791
1893
|
--cirth-background-color: var(--cirth-canvas);
|
|
1792
1894
|
--cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
|
|
1793
1895
|
--cirth-spacing: var(--cirth-space-4);
|
|
1794
|
-
--cirth-typography-spacing-vertical: var(--cirth-
|
|
1896
|
+
--cirth-typography-spacing-vertical: var(--cirth-spacing);
|
|
1795
1897
|
--cirth-block-spacing-vertical: var(--cirth-spacing);
|
|
1796
1898
|
--cirth-block-spacing-horizontal: var(--cirth-spacing);
|
|
1899
|
+
--cirth-container-gutter: clamp(var(--cirth-space-4),
|
|
1900
|
+
4%,
|
|
1901
|
+
var(--cirth-space-12));
|
|
1797
1902
|
--cirth-container-max-width: 60rem;
|
|
1798
1903
|
--cirth-form-element-spacing-vertical: var(--cirth-space-2);
|
|
1799
1904
|
--cirth-form-element-spacing-horizontal: var(--cirth-space-4);
|
|
1800
|
-
--cirth-form-label-font-weight: var(--cirth-font-weight);
|
|
1905
|
+
--cirth-form-label-font-weight: var(--cirth-font-weight-medium);
|
|
1801
1906
|
--cirth-group-box-shadow: 0 0 0 #0000;
|
|
1802
1907
|
--cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
|
|
1803
1908
|
var(--cirth-primary-focus);
|
|
1804
1909
|
--cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
|
|
1805
1910
|
var(--cirth-form-element-border-color);
|
|
1911
|
+
--cirth-card-box-shadow: none;
|
|
1806
1912
|
--cirth-meter-background-color: var(--cirth-progress-background-color);
|
|
1807
1913
|
--cirth-meter-border-color: var(--cirth-progress-border-color);
|
|
1808
|
-
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
1809
1914
|
--cirth-popover-border-color: var(--cirth-muted-border-color);
|
|
1810
|
-
--cirth-popover-color: var(--cirth-
|
|
1915
|
+
--cirth-popover-color: var(--cirth-ink);
|
|
1811
1916
|
--cirth-popover-box-shadow: var(--cirth-box-shadow);
|
|
1812
1917
|
--cirth-popover-max-width: min(30rem, 100% - var(--cirth-spacing) * 2);
|
|
1918
|
+
--cirth-modal-max-width: 43.75rem;
|
|
1813
1919
|
--cirth-modal-overlay-backdrop-filter: blur(.375rem);
|
|
1814
1920
|
--cirth-nav-element-spacing-vertical: var(--cirth-space-4);
|
|
1815
1921
|
--cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
|
|
@@ -1839,30 +1945,35 @@
|
|
|
1839
1945
|
--cirth-font-weight: var(--cirth-font-weight-semibold);
|
|
1840
1946
|
}
|
|
1841
1947
|
|
|
1948
|
+
.cirth h1, .cirth h2 {
|
|
1949
|
+
--cirth-letter-spacing: var(--cirth-letter-spacing-tight);
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
.cirth h3, .cirth h4 {
|
|
1953
|
+
--cirth-letter-spacing: var(--cirth-letter-spacing-snug);
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1842
1956
|
.cirth h1 {
|
|
1843
|
-
--cirth-font-size: clamp(var(--cirth-font-size-
|
|
1844
|
-
1.
|
|
1845
|
-
var(--cirth-font-size-
|
|
1957
|
+
--cirth-font-size: clamp(var(--cirth-font-size-3xl),
|
|
1958
|
+
1.31rem + 1.8vw,
|
|
1959
|
+
var(--cirth-font-size-6xl));
|
|
1846
1960
|
--cirth-line-height: var(--cirth-line-height-tight);
|
|
1847
|
-
--cirth-letter-spacing: var(--cirth-letter-spacing-tight);
|
|
1848
1961
|
--cirth-typography-spacing-top: var(--cirth-space-12);
|
|
1849
1962
|
}
|
|
1850
1963
|
|
|
1851
1964
|
.cirth h2 {
|
|
1852
1965
|
--cirth-font-size: clamp(var(--cirth-font-size-2xl),
|
|
1853
|
-
1.
|
|
1966
|
+
1.28rem + .9vw,
|
|
1854
1967
|
var(--cirth-font-size-4xl));
|
|
1855
|
-
--cirth-line-height:
|
|
1856
|
-
--cirth-letter-spacing: var(--cirth-letter-spacing-tight);
|
|
1968
|
+
--cirth-line-height: var(--cirth-line-height-snug);
|
|
1857
1969
|
--cirth-typography-spacing-top: var(--cirth-space-12);
|
|
1858
1970
|
}
|
|
1859
1971
|
|
|
1860
1972
|
.cirth h3 {
|
|
1861
1973
|
--cirth-font-size: clamp(var(--cirth-font-size-xl),
|
|
1862
|
-
1.
|
|
1974
|
+
1.14rem + .45vw,
|
|
1863
1975
|
var(--cirth-font-size-2xl));
|
|
1864
|
-
--cirth-line-height:
|
|
1865
|
-
--cirth-letter-spacing: var(--cirth-letter-spacing-snug);
|
|
1976
|
+
--cirth-line-height: var(--cirth-line-height-snug);
|
|
1866
1977
|
--cirth-typography-spacing-top: var(--cirth-space-10);
|
|
1867
1978
|
}
|
|
1868
1979
|
|
|
@@ -1885,14 +1996,12 @@
|
|
|
1885
1996
|
}
|
|
1886
1997
|
|
|
1887
1998
|
.cirth article {
|
|
1888
|
-
--cirth-
|
|
1889
|
-
--cirth-block-spacing-
|
|
1890
|
-
--cirth-block-spacing-horizontal: var(--cirth-space-6);
|
|
1999
|
+
--cirth-block-spacing-vertical: var(--cirth-space-5);
|
|
2000
|
+
--cirth-block-spacing-horizontal: var(--cirth-space-5);
|
|
1891
2001
|
}
|
|
1892
2002
|
|
|
1893
2003
|
.cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
|
|
1894
2004
|
--cirth-font-weight: var(--cirth-font-weight-semibold);
|
|
1895
|
-
--cirth-border-width: .1875rem;
|
|
1896
2005
|
}
|
|
1897
2006
|
|
|
1898
2007
|
.cirth pre, .cirth code, .cirth kbd, .cirth samp, .cirth var {
|
|
@@ -1907,11 +2016,6 @@
|
|
|
1907
2016
|
--cirth-font-weight: bolder;
|
|
1908
2017
|
}
|
|
1909
2018
|
|
|
1910
|
-
.cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where(select, textarea) {
|
|
1911
|
-
--cirth-outline-width: var(--cirth-border-width-1);
|
|
1912
|
-
--cirth-line-height: var(--cirth-line-height-relaxed);
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
2019
|
.cirth [type="search"] {
|
|
1916
2020
|
--cirth-border-radius: var(--cirth-radius-pill);
|
|
1917
2021
|
}
|
|
@@ -1922,12 +2026,7 @@
|
|
|
1922
2026
|
|
|
1923
2027
|
.cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
|
|
1924
2028
|
--cirth-font-weight: var(--cirth-font-weight-semibold);
|
|
1925
|
-
--cirth-
|
|
1926
|
-
--cirth-form-element-spacing-horizontal: var(--cirth-space-5);
|
|
1927
|
-
}
|
|
1928
|
-
|
|
1929
|
-
.cirth [type="file"] {
|
|
1930
|
-
--cirth-line-height: var(--cirth-line-height-relaxed);
|
|
2029
|
+
--cirth-form-element-spacing-horizontal: var(--cirth-space-4);
|
|
1931
2030
|
}
|
|
1932
2031
|
|
|
1933
2032
|
.cirth [type="checkbox"], .cirth [type="radio"] {
|
|
@@ -1956,9 +2055,10 @@
|
|
|
1956
2055
|
|
|
1957
2056
|
.cirth {
|
|
1958
2057
|
--cirth-canvas: light-dark(oklch(97.4% .004 69.35), oklch(20.15% .003 264));
|
|
1959
|
-
--cirth-
|
|
2058
|
+
--cirth-ink: light-dark(oklch(35.3% .021 264), oklch(83% .016 264));
|
|
2059
|
+
--cirth-color: var(--cirth-ink);
|
|
1960
2060
|
--cirth-text-selection-color: light-dark(oklch(65.7% .121 69.35 / .25), oklch(70% .129 69.35 / .1875));
|
|
1961
|
-
--cirth-muted-color: light-dark(oklch(52.7% .032 264), oklch(
|
|
2061
|
+
--cirth-muted-color: light-dark(oklch(52.7% .032 264), oklch(65.7% .03 264));
|
|
1962
2062
|
--cirth-muted-border-color: light-dark(oklch(93.85% .003 264), oklch(26.7% .011 264));
|
|
1963
2063
|
--cirth-error: light-dark(oklch(44% .151 29.73), oklch(74.3% .133 29.73));
|
|
1964
2064
|
--cirth-success: light-dark(oklch(52.7% .1 160.59), oklch(65.7% .125 160.59));
|
|
@@ -1976,9 +2076,9 @@
|
|
|
1976
2076
|
--cirth-contrast-hover-background: light-dark(oklch(0% 0 0), oklch(100% 0 0));
|
|
1977
2077
|
--cirth-contrast-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(87.3% .011 264 / .5));
|
|
1978
2078
|
--cirth-contrast-inverse: light-dark(oklch(100% 0 0), oklch(0% 0 0));
|
|
1979
|
-
--cirth-link-visited-color: light-dark(oklch(48.3%
|
|
2079
|
+
--cirth-link-visited-color: light-dark(oklch(48.3% 0 264), oklch(65.7% 0 264));
|
|
1980
2080
|
--cirth-box-shadow: light-dark(.0145rem .029rem .174rem oklch(65.7% .03 264 / .01698), .0335rem .067rem .402rem oklch(65.7% .03 264 / .024), .0625rem .125rem .75rem oklch(65.7% .03 264 / .03), .1125rem .225rem 1.35rem oklch(65.7% .03 264 / .036), .2085rem .417rem 2.502rem oklch(65.7% .03 264 / .04302), .5rem 1rem 6rem oklch(65.7% .03 264 / .06), 0 0 0 .0625rem oklch(65.7% .03 264 / .015),
|
|
1981
|
-
.0145rem .029rem .174rem oklch(9% 0
|
|
2081
|
+
.0145rem .029rem .174rem oklch(9% 0 none / .01698), .0335rem .067rem .402rem oklch(9% 0 none / .024), .0625rem .125rem .75rem oklch(9% 0 none / .03), .1125rem .225rem 1.35rem oklch(9% 0 none / .036), .2085rem .417rem 2.502rem oklch(9% 0 none / .04302), .5rem 1rem 6rem oklch(9% 0 none / .06), 0 0 0 .0625rem oklch(9% 0 none / .015));
|
|
1982
2082
|
--cirth-h1-color: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
|
|
1983
2083
|
--cirth-h2-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
|
|
1984
2084
|
--cirth-h3-color: light-dark(oklch(31% .016 264), oklch(83% .016 264));
|
|
@@ -1986,21 +2086,13 @@
|
|
|
1986
2086
|
--cirth-h5-color: light-dark(oklch(39.7% .025 264), oklch(74.3% .025 264));
|
|
1987
2087
|
--cirth-h6-color: light-dark(oklch(44% .028 264), oklch(65.7% .03 264));
|
|
1988
2088
|
--cirth-mark-color: light-dark(oklch(18% 0 264), oklch(100% 0 0));
|
|
1989
|
-
--cirth-code-background-color: light-dark(oklch(97% 0 288), oklch(23.4% .00725 264));
|
|
1990
2089
|
--cirth-code-color: light-dark(oklch(52.7% .032 264), oklch(65.7% .03 264));
|
|
1991
|
-
--cirth-form-element-background-color: light-dark(oklch(99% 0 336), oklch(24.5% .0085 264));
|
|
1992
2090
|
--cirth-form-element-selected-background-color: light-dark(oklch(91.7% .006 264), oklch(31% .016 264));
|
|
1993
2091
|
--cirth-form-element-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
|
|
1994
2092
|
--cirth-form-element-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
|
|
1995
|
-
--cirth-form-element-active-background-color: light-dark(oklch(100% 0 0), oklch(23.4% .00725 264));
|
|
1996
2093
|
--cirth-switch-background-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
|
|
1997
2094
|
--cirth-range-border-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
|
|
1998
2095
|
--cirth-range-active-border-color: light-dark(oklch(83% .016 264), oklch(31% .016 264));
|
|
1999
|
-
--cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
|
|
2000
|
-
--cirth-card-sectioning-background-color: light-dark(oklch(99% 0 336), oklch(23.4% .00725 264));
|
|
2001
|
-
--cirth-dropdown-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
|
|
2002
|
-
--cirth-dropdown-border-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
|
|
2003
|
-
--cirth-dropdown-hover-background-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
|
|
2004
2096
|
--cirth-progress-background-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
|
|
2005
2097
|
--cirth-progress-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
|
|
2006
2098
|
}
|
|
@@ -2030,6 +2122,13 @@
|
|
|
2030
2122
|
--cirth-primary-hover-underline: var(--cirth-primary-hover);
|
|
2031
2123
|
--cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
|
|
2032
2124
|
--cirth-primary-inverse: oklch(100% 0 0);
|
|
2125
|
+
--cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .019) c h);
|
|
2126
|
+
--cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .009) c h);
|
|
2127
|
+
--cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
|
|
2128
|
+
--cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .018) c h);
|
|
2129
|
+
--cirth-form-element-active-background-color: var(--cirth-canvas);
|
|
2130
|
+
--cirth-dropdown-background-color: var(--cirth-card-background-color);
|
|
2131
|
+
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
2033
2132
|
--cirth-secondary-background: oklch(48.3% .03 264);
|
|
2034
2133
|
--cirth-secondary-border: var(--cirth-secondary-background);
|
|
2035
2134
|
--cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
|
|
@@ -2045,13 +2144,13 @@
|
|
|
2045
2144
|
--cirth-blockquote-footer-color: var(--cirth-muted-color);
|
|
2046
2145
|
--cirth-button-box-shadow: 0 0 0 #0000;
|
|
2047
2146
|
--cirth-button-hover-box-shadow: 0 0 0 #0000;
|
|
2048
|
-
--cirth-table-border-color: var(--cirth-
|
|
2147
|
+
--cirth-table-border-color: var(--cirth-card-border-color);
|
|
2049
2148
|
--cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
|
|
2050
|
-
--cirth-code-kbd-background-color: var(--cirth-
|
|
2149
|
+
--cirth-code-kbd-background-color: var(--cirth-ink);
|
|
2051
2150
|
--cirth-code-kbd-color: var(--cirth-background-color);
|
|
2052
2151
|
--cirth-form-element-placeholder-color: var(--cirth-muted-color);
|
|
2053
2152
|
--cirth-form-element-active-border-color: var(--cirth-primary-border);
|
|
2054
|
-
--cirth-form-element-focus-color: var(--cirth-primary-
|
|
2153
|
+
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2055
2154
|
--cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
|
|
2056
2155
|
--cirth-form-element-invalid-border-color: var(--cirth-error-border);
|
|
2057
2156
|
--cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
|
|
@@ -2066,10 +2165,11 @@
|
|
|
2066
2165
|
--cirth-range-thumb-color: var(--cirth-secondary-background);
|
|
2067
2166
|
--cirth-range-thumb-active-color: var(--cirth-primary-background);
|
|
2068
2167
|
--cirth-accordion-active-summary-color: var(--cirth-primary-hover);
|
|
2069
|
-
--cirth-accordion-close-summary-color: var(--cirth-
|
|
2070
|
-
--cirth-accordion-open-summary-color: var(--cirth-
|
|
2071
|
-
--cirth-card-border-color:
|
|
2072
|
-
|
|
2168
|
+
--cirth-accordion-close-summary-color: var(--cirth-ink);
|
|
2169
|
+
--cirth-accordion-open-summary-color: var(--cirth-ink);
|
|
2170
|
+
--cirth-card-border-color: color-mix(in oklab,
|
|
2171
|
+
var(--cirth-form-element-border-color) 38%,
|
|
2172
|
+
var(--cirth-card-background-color));
|
|
2073
2173
|
--cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
|
|
2074
2174
|
--cirth-meter-optimum-color: var(--cirth-success);
|
|
2075
2175
|
--cirth-meter-suboptimum-color: var(--cirth-warning);
|
|
@@ -2083,10 +2183,6 @@
|
|
|
2083
2183
|
--cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
|
2084
2184
|
}
|
|
2085
2185
|
|
|
2086
|
-
.cirth:where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth:where(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2087
|
-
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2088
|
-
}
|
|
2089
|
-
|
|
2090
2186
|
@media only screen and (prefers-color-scheme: dark) {
|
|
2091
2187
|
.cirth:where(:not([data-theme])) {
|
|
2092
2188
|
color-scheme: dark;
|
|
@@ -2109,12 +2205,19 @@
|
|
|
2109
2205
|
--cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
|
|
2110
2206
|
--cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
|
|
2111
2207
|
--cirth-primary-hover-background: color-mix(in oklch,
|
|
2112
|
-
var(--cirth-primary)
|
|
2208
|
+
var(--cirth-primary) 72%,
|
|
2113
2209
|
black);
|
|
2114
2210
|
--cirth-primary-hover-border: var(--cirth-primary-hover-background);
|
|
2115
2211
|
--cirth-primary-hover-underline: var(--cirth-primary-hover);
|
|
2116
2212
|
--cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
|
|
2117
2213
|
--cirth-primary-inverse: oklch(100% 0 0);
|
|
2214
|
+
--cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .02) c h);
|
|
2215
|
+
--cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .025) c h);
|
|
2216
|
+
--cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
|
|
2217
|
+
--cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .04) c h);
|
|
2218
|
+
--cirth-form-element-active-background-color: var(--cirth-canvas);
|
|
2219
|
+
--cirth-dropdown-background-color: var(--cirth-card-background-color);
|
|
2220
|
+
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
2118
2221
|
--cirth-secondary-background: oklch(48.3% .03 264);
|
|
2119
2222
|
--cirth-secondary-border: var(--cirth-secondary-background);
|
|
2120
2223
|
--cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
|
|
@@ -2130,13 +2233,13 @@
|
|
|
2130
2233
|
--cirth-blockquote-footer-color: var(--cirth-muted-color);
|
|
2131
2234
|
--cirth-button-box-shadow: 0 0 0 #0000;
|
|
2132
2235
|
--cirth-button-hover-box-shadow: 0 0 0 #0000;
|
|
2133
|
-
--cirth-table-border-color: var(--cirth-
|
|
2236
|
+
--cirth-table-border-color: var(--cirth-card-border-color);
|
|
2134
2237
|
--cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
|
|
2135
|
-
--cirth-code-kbd-background-color: var(--cirth-
|
|
2238
|
+
--cirth-code-kbd-background-color: var(--cirth-ink);
|
|
2136
2239
|
--cirth-code-kbd-color: var(--cirth-background-color);
|
|
2137
2240
|
--cirth-form-element-placeholder-color: oklch(65.7% .03 264);
|
|
2138
2241
|
--cirth-form-element-active-border-color: var(--cirth-primary-border);
|
|
2139
|
-
--cirth-form-element-focus-color: var(--cirth-primary-
|
|
2242
|
+
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2140
2243
|
--cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
|
|
2141
2244
|
--cirth-form-element-invalid-border-color: var(--cirth-error-border);
|
|
2142
2245
|
--cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
|
|
@@ -2151,26 +2254,23 @@
|
|
|
2151
2254
|
--cirth-range-thumb-color: var(--cirth-secondary-background);
|
|
2152
2255
|
--cirth-range-thumb-active-color: var(--cirth-primary-background);
|
|
2153
2256
|
--cirth-accordion-active-summary-color: var(--cirth-primary-hover);
|
|
2154
|
-
--cirth-accordion-close-summary-color: var(--cirth-
|
|
2155
|
-
--cirth-accordion-open-summary-color: var(--cirth-
|
|
2156
|
-
--cirth-card-border-color:
|
|
2157
|
-
|
|
2158
|
-
|
|
2257
|
+
--cirth-accordion-close-summary-color: var(--cirth-ink);
|
|
2258
|
+
--cirth-accordion-open-summary-color: var(--cirth-ink);
|
|
2259
|
+
--cirth-card-border-color: color-mix(in oklab,
|
|
2260
|
+
var(--cirth-form-element-border-color) 46%,
|
|
2261
|
+
var(--cirth-card-background-color));
|
|
2262
|
+
--cirth-modal-overlay-background-color: oklch(9% 0 0deg / var(--cirth-opacity-overlay));
|
|
2159
2263
|
--cirth-meter-optimum-color: var(--cirth-success);
|
|
2160
2264
|
--cirth-meter-suboptimum-color: var(--cirth-warning);
|
|
2161
2265
|
--cirth-meter-even-less-good-color: var(--cirth-error);
|
|
2162
|
-
--cirth-progress-color:
|
|
2163
|
-
--cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(
|
|
2164
|
-
--cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(
|
|
2165
|
-
--cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(
|
|
2166
|
-
--cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(
|
|
2266
|
+
--cirth-progress-color: var(--cirth-primary);
|
|
2267
|
+
--cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|
|
2268
|
+
--cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
|
|
2269
|
+
--cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
|
|
2270
|
+
--cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
|
|
2167
2271
|
--cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
|
2168
2272
|
--cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
|
2169
2273
|
}
|
|
2170
|
-
|
|
2171
|
-
.cirth:where(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2172
|
-
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2173
|
-
}
|
|
2174
2274
|
}
|
|
2175
2275
|
|
|
2176
2276
|
.cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
|
|
@@ -2194,12 +2294,19 @@
|
|
|
2194
2294
|
--cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
|
|
2195
2295
|
--cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
|
|
2196
2296
|
--cirth-primary-hover-background: color-mix(in oklch,
|
|
2197
|
-
var(--cirth-primary)
|
|
2297
|
+
var(--cirth-primary) 72%,
|
|
2198
2298
|
black);
|
|
2199
2299
|
--cirth-primary-hover-border: var(--cirth-primary-hover-background);
|
|
2200
2300
|
--cirth-primary-hover-underline: var(--cirth-primary-hover);
|
|
2201
2301
|
--cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
|
|
2202
2302
|
--cirth-primary-inverse: oklch(100% 0 0);
|
|
2303
|
+
--cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .02) c h);
|
|
2304
|
+
--cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .025) c h);
|
|
2305
|
+
--cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
|
|
2306
|
+
--cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .04) c h);
|
|
2307
|
+
--cirth-form-element-active-background-color: var(--cirth-canvas);
|
|
2308
|
+
--cirth-dropdown-background-color: var(--cirth-card-background-color);
|
|
2309
|
+
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
2203
2310
|
--cirth-secondary-background: oklch(48.3% .03 264);
|
|
2204
2311
|
--cirth-secondary-border: var(--cirth-secondary-background);
|
|
2205
2312
|
--cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
|
|
@@ -2215,13 +2322,13 @@
|
|
|
2215
2322
|
--cirth-blockquote-footer-color: var(--cirth-muted-color);
|
|
2216
2323
|
--cirth-button-box-shadow: 0 0 0 #0000;
|
|
2217
2324
|
--cirth-button-hover-box-shadow: 0 0 0 #0000;
|
|
2218
|
-
--cirth-table-border-color: var(--cirth-
|
|
2325
|
+
--cirth-table-border-color: var(--cirth-card-border-color);
|
|
2219
2326
|
--cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
|
|
2220
|
-
--cirth-code-kbd-background-color: var(--cirth-
|
|
2327
|
+
--cirth-code-kbd-background-color: var(--cirth-ink);
|
|
2221
2328
|
--cirth-code-kbd-color: var(--cirth-background-color);
|
|
2222
2329
|
--cirth-form-element-placeholder-color: oklch(65.7% .03 264);
|
|
2223
2330
|
--cirth-form-element-active-border-color: var(--cirth-primary-border);
|
|
2224
|
-
--cirth-form-element-focus-color: var(--cirth-primary-
|
|
2331
|
+
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2225
2332
|
--cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
|
|
2226
2333
|
--cirth-form-element-invalid-border-color: var(--cirth-error-border);
|
|
2227
2334
|
--cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
|
|
@@ -2236,34 +2343,31 @@
|
|
|
2236
2343
|
--cirth-range-thumb-color: var(--cirth-secondary-background);
|
|
2237
2344
|
--cirth-range-thumb-active-color: var(--cirth-primary-background);
|
|
2238
2345
|
--cirth-accordion-active-summary-color: var(--cirth-primary-hover);
|
|
2239
|
-
--cirth-accordion-close-summary-color: var(--cirth-
|
|
2240
|
-
--cirth-accordion-open-summary-color: var(--cirth-
|
|
2241
|
-
--cirth-card-border-color:
|
|
2242
|
-
|
|
2243
|
-
|
|
2346
|
+
--cirth-accordion-close-summary-color: var(--cirth-ink);
|
|
2347
|
+
--cirth-accordion-open-summary-color: var(--cirth-ink);
|
|
2348
|
+
--cirth-card-border-color: color-mix(in oklab,
|
|
2349
|
+
var(--cirth-form-element-border-color) 46%,
|
|
2350
|
+
var(--cirth-card-background-color));
|
|
2351
|
+
--cirth-modal-overlay-background-color: oklch(9% 0 0deg / var(--cirth-opacity-overlay));
|
|
2244
2352
|
--cirth-meter-optimum-color: var(--cirth-success);
|
|
2245
2353
|
--cirth-meter-suboptimum-color: var(--cirth-warning);
|
|
2246
2354
|
--cirth-meter-even-less-good-color: var(--cirth-error);
|
|
2247
|
-
--cirth-progress-color:
|
|
2248
|
-
--cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(
|
|
2249
|
-
--cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(
|
|
2250
|
-
--cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(
|
|
2251
|
-
--cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(
|
|
2355
|
+
--cirth-progress-color: var(--cirth-primary);
|
|
2356
|
+
--cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|
|
2357
|
+
--cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
|
|
2358
|
+
--cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
|
|
2359
|
+
--cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
|
|
2252
2360
|
--cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
|
2253
2361
|
--cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
|
2254
2362
|
}
|
|
2255
2363
|
|
|
2256
|
-
.cirth:where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2257
|
-
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2258
|
-
}
|
|
2259
|
-
|
|
2260
2364
|
.cirth progress, .cirth [type="checkbox"], .cirth [type="radio"], .cirth [type="range"] {
|
|
2261
2365
|
accent-color: var(--cirth-primary);
|
|
2262
2366
|
}
|
|
2263
2367
|
|
|
2264
2368
|
@media (prefers-contrast: more) {
|
|
2265
2369
|
.cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
|
|
2266
|
-
--cirth-
|
|
2370
|
+
--cirth-ink: oklch(22.3% .006 264);
|
|
2267
2371
|
--cirth-h1-color: var(--cirth-color);
|
|
2268
2372
|
--cirth-h2-color: var(--cirth-color);
|
|
2269
2373
|
--cirth-h3-color: var(--cirth-color);
|
|
@@ -2300,7 +2404,7 @@
|
|
|
2300
2404
|
|
|
2301
2405
|
@media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
|
|
2302
2406
|
.cirth:where(:not([data-theme])) {
|
|
2303
|
-
--cirth-
|
|
2407
|
+
--cirth-ink: oklch(96% 0 264);
|
|
2304
2408
|
--cirth-h1-color: var(--cirth-color);
|
|
2305
2409
|
--cirth-h2-color: var(--cirth-color);
|
|
2306
2410
|
--cirth-h3-color: var(--cirth-color);
|
|
@@ -2340,7 +2444,7 @@
|
|
|
2340
2444
|
|
|
2341
2445
|
@media (prefers-contrast: more) {
|
|
2342
2446
|
.cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
|
|
2343
|
-
--cirth-
|
|
2447
|
+
--cirth-ink: oklch(96% 0 264);
|
|
2344
2448
|
--cirth-h1-color: var(--cirth-color);
|
|
2345
2449
|
--cirth-h2-color: var(--cirth-color);
|
|
2346
2450
|
--cirth-h3-color: var(--cirth-color);
|