@cirthcss/cirth 0.7.0 → 0.8.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/README.md +1 -1
- package/dist/cirth.classless.css +72 -69
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +72 -69
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +70 -70
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.scoped.css +70 -70
- package/dist/cirth.scoped.min.css +1 -1
- package/package.json +4 -4
|
@@ -33,40 +33,13 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.cirth > header, .cirth > main, .cirth > footer {
|
|
36
|
-
|
|
37
|
-
padding: var(--cirth-block-spacing-vertical)
|
|
38
|
-
|
|
36
|
+
grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, var(--cirth-container-max-width)) minmax(var(--cirth-spacing), 1fr);
|
|
37
|
+
padding-block: var(--cirth-block-spacing-vertical);
|
|
38
|
+
display: grid;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
max-width: 510px;
|
|
44
|
-
padding-inline: 0;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media (min-width: 768px) {
|
|
49
|
-
.cirth > header, .cirth > main, .cirth > footer {
|
|
50
|
-
max-width: 700px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@media (min-width: 1024px) {
|
|
55
|
-
.cirth > header, .cirth > main, .cirth > footer {
|
|
56
|
-
max-width: 950px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@media (min-width: 1280px) {
|
|
61
|
-
.cirth > header, .cirth > main, .cirth > footer {
|
|
62
|
-
max-width: 1200px;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@media (min-width: 1536px) {
|
|
67
|
-
.cirth > header, .cirth > main, .cirth > footer {
|
|
68
|
-
max-width: 1450px;
|
|
69
|
-
}
|
|
41
|
+
.cirth > header > *, .cirth > main > *, .cirth > footer > * {
|
|
42
|
+
grid-column: 2;
|
|
70
43
|
}
|
|
71
44
|
|
|
72
45
|
.cirth section {
|
|
@@ -388,6 +361,10 @@
|
|
|
388
361
|
pointer-events: none;
|
|
389
362
|
}
|
|
390
363
|
|
|
364
|
+
.cirth form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
|
|
365
|
+
opacity: var(--cirth-opacity-disabled);
|
|
366
|
+
}
|
|
367
|
+
|
|
391
368
|
.cirth :where(table) {
|
|
392
369
|
border-collapse: collapse;
|
|
393
370
|
border-spacing: 0;
|
|
@@ -619,52 +596,52 @@
|
|
|
619
596
|
opacity: 1;
|
|
620
597
|
}
|
|
621
598
|
|
|
622
|
-
.cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
|
|
599
|
+
.cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]):is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
|
|
623
600
|
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
624
601
|
background-position: center right var(--cirth-space-3);
|
|
625
602
|
background-size: var(--cirth-size-4) auto;
|
|
626
603
|
background-repeat: no-repeat;
|
|
627
604
|
}
|
|
628
605
|
|
|
629
|
-
.cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="false"]:not(select) {
|
|
606
|
+
.cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]):is([aria-invalid="false"], :user-valid:not([aria-invalid])):not(select) {
|
|
630
607
|
background-image: var(--cirth-icon-valid);
|
|
631
608
|
}
|
|
632
609
|
|
|
633
|
-
.cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="true"]:not(select) {
|
|
610
|
+
.cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):not(select) {
|
|
634
611
|
background-image: var(--cirth-icon-invalid);
|
|
635
612
|
}
|
|
636
613
|
|
|
637
|
-
.cirth :where(input, select, textarea)[aria-invalid="false"] {
|
|
614
|
+
.cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])) {
|
|
638
615
|
--cirth-border-color: var(--cirth-form-element-valid-border-color);
|
|
639
616
|
}
|
|
640
617
|
|
|
641
|
-
.cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
|
|
618
|
+
.cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus) {
|
|
642
619
|
--cirth-border-color: var(--cirth-form-element-valid-active-border-color);
|
|
643
620
|
}
|
|
644
621
|
|
|
645
|
-
.cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
|
|
622
|
+
.cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
|
|
646
623
|
--cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
|
|
647
624
|
var(--cirth-form-element-valid-focus-color);
|
|
648
625
|
}
|
|
649
626
|
|
|
650
|
-
.cirth :where(input, select, textarea)[aria-invalid="true"] {
|
|
627
|
+
.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) {
|
|
651
628
|
--cirth-border-color: var(--cirth-form-element-invalid-border-color);
|
|
652
629
|
}
|
|
653
630
|
|
|
654
|
-
.cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
|
|
631
|
+
.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus) {
|
|
655
632
|
--cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
|
|
656
633
|
}
|
|
657
634
|
|
|
658
|
-
.cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
|
|
635
|
+
.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
|
|
659
636
|
--cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
|
|
660
637
|
var(--cirth-form-element-invalid-focus-color);
|
|
661
638
|
}
|
|
662
639
|
|
|
663
|
-
[dir="rtl"] .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid
|
|
640
|
+
[dir="rtl"] .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
|
|
664
641
|
background-position: center left var(--cirth-space-3);
|
|
665
642
|
}
|
|
666
643
|
|
|
667
|
-
[dir="rtl"] .cirth textarea[aria-invalid] {
|
|
644
|
+
[dir="rtl"] .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
|
|
668
645
|
background-position: top left var(--cirth-space-3);
|
|
669
646
|
}
|
|
670
647
|
|
|
@@ -699,7 +676,7 @@
|
|
|
699
676
|
display: block;
|
|
700
677
|
}
|
|
701
678
|
|
|
702
|
-
.cirth textarea[aria-invalid] {
|
|
679
|
+
.cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
|
|
703
680
|
--cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
|
|
704
681
|
var(--cirth-form-element-spacing-vertical) * 2 +
|
|
705
682
|
var(--cirth-border-width) * 2);
|
|
@@ -715,11 +692,11 @@
|
|
|
715
692
|
display: block;
|
|
716
693
|
}
|
|
717
694
|
|
|
718
|
-
.cirth :where(input, select, textarea, fieldset)[aria-invalid="false"] + small {
|
|
695
|
+
.cirth :where(input, select, textarea, fieldset):is([aria-invalid="false"], :user-valid:not([aria-invalid])) + small {
|
|
719
696
|
color: var(--cirth-ins-color);
|
|
720
697
|
}
|
|
721
698
|
|
|
722
|
-
.cirth :where(input, select, textarea, fieldset)[aria-invalid="true"] + small {
|
|
699
|
+
.cirth :where(input, select, textarea, fieldset):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) + small {
|
|
723
700
|
color: var(--cirth-del-color);
|
|
724
701
|
}
|
|
725
702
|
|
|
@@ -1187,7 +1164,7 @@
|
|
|
1187
1164
|
border-bottom-left-radius: var(--cirth-border-radius);
|
|
1188
1165
|
}
|
|
1189
1166
|
|
|
1190
|
-
.cirth [role="search"], .cirth [role="group"] {
|
|
1167
|
+
.cirth [role="search"], .cirth [role="group"]:not(fieldset) {
|
|
1191
1168
|
width: 100%;
|
|
1192
1169
|
margin-bottom: var(--cirth-spacing);
|
|
1193
1170
|
border-radius: var(--cirth-border-radius);
|
|
@@ -1199,61 +1176,86 @@
|
|
|
1199
1176
|
position: relative;
|
|
1200
1177
|
}
|
|
1201
1178
|
|
|
1202
|
-
.cirth [role="search"] > small, .cirth [role="group"] > small {
|
|
1179
|
+
.cirth [role="search"] > small, .cirth [role="group"]:not(fieldset) > small {
|
|
1203
1180
|
margin-top: calc(var(--cirth-spacing) * .25);
|
|
1204
1181
|
flex: 0 0 100%;
|
|
1205
1182
|
order: 1;
|
|
1206
1183
|
margin-bottom: 0;
|
|
1207
1184
|
}
|
|
1208
1185
|
|
|
1209
|
-
.cirth [role="search"] > *, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]), .cirth [role="search"] select, .cirth [role="group"] > *, .cirth [role="group"] input:not([type="checkbox"], [type="radio"]), .cirth [role="group"] select {
|
|
1186
|
+
.cirth [role="search"] > *, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]), .cirth [role="search"] select, .cirth [role="group"]:not(fieldset) > *, .cirth [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]), .cirth [role="group"]:not(fieldset) select {
|
|
1210
1187
|
flex: auto;
|
|
1211
1188
|
margin-bottom: 0;
|
|
1212
1189
|
position: relative;
|
|
1213
1190
|
}
|
|
1214
1191
|
|
|
1215
|
-
.cirth [role="search"] > :is(input, select, textarea), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="search"] select:is(input, select, textarea), .cirth [role="group"] > :is(input, select, textarea), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="group"] select:is(input, select, textarea) {
|
|
1192
|
+
.cirth [role="search"] > :is(input, select, textarea), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="search"] select:is(input, select, textarea), .cirth [role="group"]:not(fieldset) > :is(input, select, textarea), .cirth [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="group"]:not(fieldset) select:is(input, select, textarea) {
|
|
1216
1193
|
flex: 99;
|
|
1217
1194
|
}
|
|
1218
1195
|
|
|
1219
|
-
.cirth [role="search"] > :not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] > :not(:first-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"] select:not(:first-child) {
|
|
1196
|
+
.cirth [role="search"] > :not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"]:not(fieldset) > :not(:first-child), .cirth [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"]:not(fieldset) select:not(:first-child) {
|
|
1220
1197
|
border-start-start-radius: 0;
|
|
1221
1198
|
border-end-start-radius: 0;
|
|
1222
1199
|
margin-inline-start: 0;
|
|
1223
1200
|
}
|
|
1224
1201
|
|
|
1225
|
-
.cirth [role="search"] > :not(:last-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="search"] select:not(:last-child), .cirth [role="group"] > :not(:last-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="group"] select:not(:last-child) {
|
|
1202
|
+
.cirth [role="search"] > :not(:last-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="search"] select:not(:last-child), .cirth [role="group"]:not(fieldset) > :not(:last-child), .cirth [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="group"]:not(fieldset) select:not(:last-child) {
|
|
1226
1203
|
border-start-end-radius: 0;
|
|
1227
1204
|
border-end-end-radius: 0;
|
|
1228
1205
|
}
|
|
1229
1206
|
|
|
1230
|
-
.cirth [role="search"] > :focus, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="search"] select:focus, .cirth [role="group"] > :focus, .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="group"] select:focus {
|
|
1207
|
+
.cirth [role="search"] > :focus, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="search"] select:focus, .cirth [role="group"]:not(fieldset) > :focus, .cirth [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="group"]:not(fieldset) select:focus {
|
|
1231
1208
|
z-index: 2;
|
|
1232
1209
|
}
|
|
1233
1210
|
|
|
1234
|
-
|
|
1211
|
+
.cirth [role="search"] > :has( + small:last-child) {
|
|
1212
|
+
border-start-end-radius: var(--cirth-border-radius);
|
|
1213
|
+
border-end-end-radius: var(--cirth-border-radius);
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.cirth [role="group"]:not(fieldset) > :has( + small:last-child) {
|
|
1235
1217
|
border-start-end-radius: var(--cirth-border-radius);
|
|
1236
1218
|
border-end-end-radius: var(--cirth-border-radius);
|
|
1237
1219
|
}
|
|
1238
1220
|
|
|
1239
|
-
.cirth [role="search"] button:not(:first-child), .cirth [role="search"] [type="submit"]:not(:first-child), .cirth [role="search"] [type="reset"]:not(:first-child), .cirth [role="search"] [type="button"]:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] button:not(:first-child), .cirth [role="group"] [type="submit"]:not(:first-child), .cirth [role="group"] [type="reset"]:not(:first-child), .cirth [role="group"] [type="button"]:not(:first-child), .cirth [role="group"] [role="button"]:not(:first-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"] select:not(:first-child) {
|
|
1221
|
+
.cirth [role="search"] button:not(:first-child), .cirth [role="search"] [type="submit"]:not(:first-child), .cirth [role="search"] [type="reset"]:not(:first-child), .cirth [role="search"] [type="button"]:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"]:not(fieldset) button:not(:first-child), .cirth [role="group"]:not(fieldset) [type="submit"]:not(:first-child), .cirth [role="group"]:not(fieldset) [type="reset"]:not(:first-child), .cirth [role="group"]:not(fieldset) [type="button"]:not(:first-child), .cirth [role="group"]:not(fieldset) [role="button"]:not(:first-child), .cirth [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"]:not(fieldset) select:not(:first-child) {
|
|
1240
1222
|
margin-inline-start: calc(var(--cirth-border-width) * -1);
|
|
1241
1223
|
}
|
|
1242
1224
|
|
|
1243
|
-
.cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="reset"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [type="submit"], .cirth [role="group"] [type="reset"], .cirth [role="group"] [type="button"], .cirth [role="group"] [role="button"] {
|
|
1225
|
+
.cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="reset"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"]:not(fieldset) button, .cirth [role="group"]:not(fieldset) [type="submit"], .cirth [role="group"]:not(fieldset) [type="reset"], .cirth [role="group"]:not(fieldset) [type="button"], .cirth [role="group"]:not(fieldset) [role="button"] {
|
|
1244
1226
|
width: auto;
|
|
1245
1227
|
}
|
|
1246
1228
|
|
|
1247
1229
|
@supports selector(:has(*)) {
|
|
1248
|
-
|
|
1230
|
+
.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
|
|
1249
1231
|
--cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
|
|
1250
1232
|
}
|
|
1251
1233
|
|
|
1252
|
-
|
|
1234
|
+
.cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
|
|
1235
|
+
--cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]) {
|
|
1253
1239
|
border-color: #0000;
|
|
1254
1240
|
}
|
|
1255
1241
|
|
|
1256
|
-
|
|
1242
|
+
.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
|
|
1243
|
+
border-color: #0000;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
.cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]) {
|
|
1247
|
+
border-color: #0000;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
.cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
|
|
1251
|
+
border-color: #0000;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) {
|
|
1255
|
+
--cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
.cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) {
|
|
1257
1259
|
--cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
|
|
1258
1260
|
}
|
|
1259
1261
|
|
|
@@ -1285,35 +1287,35 @@
|
|
|
1285
1287
|
var(--cirth-primary-hover-border);
|
|
1286
1288
|
}
|
|
1287
1289
|
|
|
1288
|
-
.cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
|
|
1290
|
+
.cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
|
|
1289
1291
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1290
1292
|
var(--cirth-primary-border);
|
|
1291
1293
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1292
1294
|
var(--cirth-primary-hover-border);
|
|
1293
1295
|
}
|
|
1294
1296
|
|
|
1295
|
-
.cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
|
|
1297
|
+
.cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
|
|
1296
1298
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1297
1299
|
var(--cirth-primary-border);
|
|
1298
1300
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1299
1301
|
var(--cirth-primary-hover-border);
|
|
1300
1302
|
}
|
|
1301
1303
|
|
|
1302
|
-
.cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
|
|
1304
|
+
.cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
|
|
1303
1305
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1304
1306
|
var(--cirth-primary-border);
|
|
1305
1307
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1306
1308
|
var(--cirth-primary-hover-border);
|
|
1307
1309
|
}
|
|
1308
1310
|
|
|
1309
|
-
.cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
|
|
1311
|
+
.cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
|
|
1310
1312
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1311
1313
|
var(--cirth-primary-border);
|
|
1312
1314
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1313
1315
|
var(--cirth-primary-hover-border);
|
|
1314
1316
|
}
|
|
1315
1317
|
|
|
1316
|
-
.cirth [role="search"] button:focus, .cirth [role="search"] [type="submit"]:focus, .cirth [role="search"] [type="reset"]:focus, .cirth [role="search"] [type="button"]:focus, .cirth [role="search"] [role="button"]:focus, .cirth [role="group"] button:focus, .cirth [role="group"] [type="submit"]:focus, .cirth [role="group"] [type="reset"]:focus, .cirth [role="group"] [type="button"]:focus, .cirth [role="group"] [role="button"]:focus {
|
|
1318
|
+
.cirth [role="search"] button:focus, .cirth [role="search"] [type="submit"]:focus, .cirth [role="search"] [type="reset"]:focus, .cirth [role="search"] [type="button"]:focus, .cirth [role="search"] [role="button"]:focus, .cirth [role="group"]:not(fieldset) button:focus, .cirth [role="group"]:not(fieldset) [type="submit"]:focus, .cirth [role="group"]:not(fieldset) [type="reset"]:focus, .cirth [role="group"]:not(fieldset) [type="button"]:focus, .cirth [role="group"]:not(fieldset) [role="button"]:focus {
|
|
1317
1319
|
box-shadow: none;
|
|
1318
1320
|
}
|
|
1319
1321
|
}
|
|
@@ -1523,7 +1525,7 @@
|
|
|
1523
1525
|
text-decoration: none;
|
|
1524
1526
|
}
|
|
1525
1527
|
|
|
1526
|
-
.cirth nav li [role="group"], .cirth nav li [role="search"] {
|
|
1528
|
+
.cirth nav li [role="group"]:not(fieldset), .cirth nav li [role="search"] {
|
|
1527
1529
|
width: auto;
|
|
1528
1530
|
margin-bottom: 0;
|
|
1529
1531
|
}
|
|
@@ -1940,6 +1942,7 @@
|
|
|
1940
1942
|
--cirth-typography-spacing-vertical: var(--cirth-space-4);
|
|
1941
1943
|
--cirth-block-spacing-vertical: var(--cirth-spacing);
|
|
1942
1944
|
--cirth-block-spacing-horizontal: var(--cirth-spacing);
|
|
1945
|
+
--cirth-container-max-width: 60rem;
|
|
1943
1946
|
--cirth-form-element-spacing-vertical: var(--cirth-space-2);
|
|
1944
1947
|
--cirth-form-element-spacing-horizontal: var(--cirth-space-4);
|
|
1945
1948
|
--cirth-form-label-font-weight: var(--cirth-font-weight);
|
|
@@ -2078,7 +2081,7 @@
|
|
|
2078
2081
|
--cirth-border-radius: var(--cirth-radius-pill);
|
|
2079
2082
|
}
|
|
2080
2083
|
|
|
2081
|
-
.cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [type="submit"], .cirth [role="group"] [type="button"], .cirth [role="group"] [role="button"] {
|
|
2084
|
+
.cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"]:not(fieldset) button, .cirth [role="group"]:not(fieldset) [type="submit"], .cirth [role="group"]:not(fieldset) [type="button"], .cirth [role="group"]:not(fieldset) [role="button"] {
|
|
2082
2085
|
--cirth-form-element-spacing-horizontal: var(--cirth-space-8);
|
|
2083
2086
|
}
|
|
2084
2087
|
|
|
@@ -2163,7 +2166,7 @@
|
|
|
2163
2166
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2164
2167
|
--cirth-switch-background-color: oklch(61.3% .032 264);
|
|
2165
2168
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2166
|
-
--cirth-switch-color:
|
|
2169
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2167
2170
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2168
2171
|
--cirth-range-border-color: oklch(91.7% .006 264);
|
|
2169
2172
|
--cirth-range-active-border-color: oklch(83% .016 264);
|
|
@@ -2271,7 +2274,7 @@
|
|
|
2271
2274
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2272
2275
|
--cirth-switch-background-color: oklch(52.7% .032 264);
|
|
2273
2276
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2274
|
-
--cirth-switch-color:
|
|
2277
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2275
2278
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2276
2279
|
--cirth-range-border-color: oklch(26.7% .011 264);
|
|
2277
2280
|
--cirth-range-active-border-color: oklch(31% .016 264);
|
|
@@ -2379,7 +2382,7 @@
|
|
|
2379
2382
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2380
2383
|
--cirth-switch-background-color: oklch(52.7% .032 264);
|
|
2381
2384
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2382
|
-
--cirth-switch-color:
|
|
2385
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2383
2386
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2384
2387
|
--cirth-range-border-color: oklch(26.7% .011 264);
|
|
2385
2388
|
--cirth-range-active-border-color: oklch(31% .016 264);
|