@cirthcss/cirth 0.8.0 → 0.8.2
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/LICENSE.md +203 -21
- package/README.md +47 -47
- package/dist/cirth.classless.css +67 -38
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +67 -38
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +44 -40
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.scoped.css +44 -40
- package/dist/cirth.scoped.min.css +1 -1
- package/package.json +13 -10
|
@@ -361,6 +361,10 @@
|
|
|
361
361
|
pointer-events: none;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
+
.cirth form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
|
|
365
|
+
filter: grayscale();
|
|
366
|
+
}
|
|
367
|
+
|
|
364
368
|
.cirth :where(table) {
|
|
365
369
|
border-collapse: collapse;
|
|
366
370
|
border-spacing: 0;
|
|
@@ -545,7 +549,7 @@
|
|
|
545
549
|
margin-bottom: calc(var(--cirth-spacing) * .5);
|
|
546
550
|
}
|
|
547
551
|
|
|
548
|
-
.cirth input:not([type="checkbox"], [type="radio"]), .cirth button[type="submit"], .cirth select, .cirth textarea {
|
|
552
|
+
.cirth input:not([type="checkbox"], [type="radio"], [size]), .cirth button[type="submit"], .cirth select, .cirth textarea {
|
|
549
553
|
width: 100%;
|
|
550
554
|
}
|
|
551
555
|
|
|
@@ -592,52 +596,52 @@
|
|
|
592
596
|
opacity: 1;
|
|
593
597
|
}
|
|
594
598
|
|
|
595
|
-
.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])) {
|
|
596
600
|
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
597
601
|
background-position: center right var(--cirth-space-3);
|
|
598
602
|
background-size: var(--cirth-size-4) auto;
|
|
599
603
|
background-repeat: no-repeat;
|
|
600
604
|
}
|
|
601
605
|
|
|
602
|
-
.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) {
|
|
603
607
|
background-image: var(--cirth-icon-valid);
|
|
604
608
|
}
|
|
605
609
|
|
|
606
|
-
.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) {
|
|
607
611
|
background-image: var(--cirth-icon-invalid);
|
|
608
612
|
}
|
|
609
613
|
|
|
610
|
-
.cirth :where(input, select, textarea)[aria-invalid="false"] {
|
|
614
|
+
.cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])) {
|
|
611
615
|
--cirth-border-color: var(--cirth-form-element-valid-border-color);
|
|
612
616
|
}
|
|
613
617
|
|
|
614
|
-
.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) {
|
|
615
619
|
--cirth-border-color: var(--cirth-form-element-valid-active-border-color);
|
|
616
620
|
}
|
|
617
621
|
|
|
618
|
-
.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"]) {
|
|
619
623
|
--cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
|
|
620
624
|
var(--cirth-form-element-valid-focus-color);
|
|
621
625
|
}
|
|
622
626
|
|
|
623
|
-
.cirth :where(input, select, textarea)[aria-invalid="true"] {
|
|
627
|
+
.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) {
|
|
624
628
|
--cirth-border-color: var(--cirth-form-element-invalid-border-color);
|
|
625
629
|
}
|
|
626
630
|
|
|
627
|
-
.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) {
|
|
628
632
|
--cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
|
|
629
633
|
}
|
|
630
634
|
|
|
631
|
-
.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"]) {
|
|
632
636
|
--cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
|
|
633
637
|
var(--cirth-form-element-invalid-focus-color);
|
|
634
638
|
}
|
|
635
639
|
|
|
636
|
-
[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])) {
|
|
637
641
|
background-position: center left var(--cirth-space-3);
|
|
638
642
|
}
|
|
639
643
|
|
|
640
|
-
[dir="rtl"] .cirth textarea[aria-invalid] {
|
|
644
|
+
[dir="rtl"] .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
|
|
641
645
|
background-position: top left var(--cirth-space-3);
|
|
642
646
|
}
|
|
643
647
|
|
|
@@ -672,7 +676,7 @@
|
|
|
672
676
|
display: block;
|
|
673
677
|
}
|
|
674
678
|
|
|
675
|
-
.cirth textarea[aria-invalid] {
|
|
679
|
+
.cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
|
|
676
680
|
--cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
|
|
677
681
|
var(--cirth-form-element-spacing-vertical) * 2 +
|
|
678
682
|
var(--cirth-border-width) * 2);
|
|
@@ -688,11 +692,11 @@
|
|
|
688
692
|
display: block;
|
|
689
693
|
}
|
|
690
694
|
|
|
691
|
-
.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 {
|
|
692
696
|
color: var(--cirth-ins-color);
|
|
693
697
|
}
|
|
694
698
|
|
|
695
|
-
.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 {
|
|
696
700
|
color: var(--cirth-del-color);
|
|
697
701
|
}
|
|
698
702
|
|
|
@@ -1160,7 +1164,7 @@
|
|
|
1160
1164
|
border-bottom-left-radius: var(--cirth-border-radius);
|
|
1161
1165
|
}
|
|
1162
1166
|
|
|
1163
|
-
.cirth [role="search"], .cirth [role="group"] {
|
|
1167
|
+
.cirth [role="search"], .cirth [role="group"]:not(fieldset) {
|
|
1164
1168
|
width: 100%;
|
|
1165
1169
|
margin-bottom: var(--cirth-spacing);
|
|
1166
1170
|
border-radius: var(--cirth-border-radius);
|
|
@@ -1172,61 +1176,86 @@
|
|
|
1172
1176
|
position: relative;
|
|
1173
1177
|
}
|
|
1174
1178
|
|
|
1175
|
-
.cirth [role="search"] > small, .cirth [role="group"] > small {
|
|
1179
|
+
.cirth [role="search"] > small, .cirth [role="group"]:not(fieldset) > small {
|
|
1176
1180
|
margin-top: calc(var(--cirth-spacing) * .25);
|
|
1177
1181
|
flex: 0 0 100%;
|
|
1178
1182
|
order: 1;
|
|
1179
1183
|
margin-bottom: 0;
|
|
1180
1184
|
}
|
|
1181
1185
|
|
|
1182
|
-
.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 {
|
|
1183
1187
|
flex: auto;
|
|
1184
1188
|
margin-bottom: 0;
|
|
1185
1189
|
position: relative;
|
|
1186
1190
|
}
|
|
1187
1191
|
|
|
1188
|
-
.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) {
|
|
1189
1193
|
flex: 99;
|
|
1190
1194
|
}
|
|
1191
1195
|
|
|
1192
|
-
.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) {
|
|
1193
1197
|
border-start-start-radius: 0;
|
|
1194
1198
|
border-end-start-radius: 0;
|
|
1195
1199
|
margin-inline-start: 0;
|
|
1196
1200
|
}
|
|
1197
1201
|
|
|
1198
|
-
.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) {
|
|
1199
1203
|
border-start-end-radius: 0;
|
|
1200
1204
|
border-end-end-radius: 0;
|
|
1201
1205
|
}
|
|
1202
1206
|
|
|
1203
|
-
.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 {
|
|
1204
1208
|
z-index: 2;
|
|
1205
1209
|
}
|
|
1206
1210
|
|
|
1207
|
-
|
|
1211
|
+
.cirth [role="search"] > :has( + small:last-child) {
|
|
1208
1212
|
border-start-end-radius: var(--cirth-border-radius);
|
|
1209
1213
|
border-end-end-radius: var(--cirth-border-radius);
|
|
1210
1214
|
}
|
|
1211
1215
|
|
|
1212
|
-
.cirth [role="
|
|
1216
|
+
.cirth [role="group"]:not(fieldset) > :has( + small:last-child) {
|
|
1217
|
+
border-start-end-radius: var(--cirth-border-radius);
|
|
1218
|
+
border-end-end-radius: var(--cirth-border-radius);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
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) {
|
|
1213
1222
|
margin-inline-start: calc(var(--cirth-border-width) * -1);
|
|
1214
1223
|
}
|
|
1215
1224
|
|
|
1216
|
-
.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"] {
|
|
1217
1226
|
width: auto;
|
|
1218
1227
|
}
|
|
1219
1228
|
|
|
1220
1229
|
@supports selector(:has(*)) {
|
|
1221
|
-
|
|
1230
|
+
.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
|
|
1222
1231
|
--cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
|
|
1223
1232
|
}
|
|
1224
1233
|
|
|
1225
|
-
|
|
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]) {
|
|
1239
|
+
border-color: #0000;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
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]) {
|
|
1226
1247
|
border-color: #0000;
|
|
1227
1248
|
}
|
|
1228
1249
|
|
|
1229
|
-
|
|
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) {
|
|
1230
1259
|
--cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
|
|
1231
1260
|
}
|
|
1232
1261
|
|
|
@@ -1258,35 +1287,35 @@
|
|
|
1258
1287
|
var(--cirth-primary-hover-border);
|
|
1259
1288
|
}
|
|
1260
1289
|
|
|
1261
|
-
.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 {
|
|
1262
1291
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1263
1292
|
var(--cirth-primary-border);
|
|
1264
1293
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1265
1294
|
var(--cirth-primary-hover-border);
|
|
1266
1295
|
}
|
|
1267
1296
|
|
|
1268
|
-
.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"] {
|
|
1269
1298
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1270
1299
|
var(--cirth-primary-border);
|
|
1271
1300
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1272
1301
|
var(--cirth-primary-hover-border);
|
|
1273
1302
|
}
|
|
1274
1303
|
|
|
1275
|
-
.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"] {
|
|
1276
1305
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1277
1306
|
var(--cirth-primary-border);
|
|
1278
1307
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1279
1308
|
var(--cirth-primary-hover-border);
|
|
1280
1309
|
}
|
|
1281
1310
|
|
|
1282
|
-
.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"] {
|
|
1283
1312
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1284
1313
|
var(--cirth-primary-border);
|
|
1285
1314
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1286
1315
|
var(--cirth-primary-hover-border);
|
|
1287
1316
|
}
|
|
1288
1317
|
|
|
1289
|
-
.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 {
|
|
1290
1319
|
box-shadow: none;
|
|
1291
1320
|
}
|
|
1292
1321
|
}
|
|
@@ -1496,7 +1525,7 @@
|
|
|
1496
1525
|
text-decoration: none;
|
|
1497
1526
|
}
|
|
1498
1527
|
|
|
1499
|
-
.cirth nav li [role="group"], .cirth nav li [role="search"] {
|
|
1528
|
+
.cirth nav li [role="group"]:not(fieldset), .cirth nav li [role="search"] {
|
|
1500
1529
|
width: auto;
|
|
1501
1530
|
margin-bottom: 0;
|
|
1502
1531
|
}
|
|
@@ -2052,7 +2081,7 @@
|
|
|
2052
2081
|
--cirth-border-radius: var(--cirth-radius-pill);
|
|
2053
2082
|
}
|
|
2054
2083
|
|
|
2055
|
-
.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"] {
|
|
2056
2085
|
--cirth-form-element-spacing-horizontal: var(--cirth-space-8);
|
|
2057
2086
|
}
|
|
2058
2087
|
|
|
@@ -2137,7 +2166,7 @@
|
|
|
2137
2166
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2138
2167
|
--cirth-switch-background-color: oklch(61.3% .032 264);
|
|
2139
2168
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2140
|
-
--cirth-switch-color:
|
|
2169
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2141
2170
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2142
2171
|
--cirth-range-border-color: oklch(91.7% .006 264);
|
|
2143
2172
|
--cirth-range-active-border-color: oklch(83% .016 264);
|
|
@@ -2245,7 +2274,7 @@
|
|
|
2245
2274
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2246
2275
|
--cirth-switch-background-color: oklch(52.7% .032 264);
|
|
2247
2276
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2248
|
-
--cirth-switch-color:
|
|
2277
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2249
2278
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2250
2279
|
--cirth-range-border-color: oklch(26.7% .011 264);
|
|
2251
2280
|
--cirth-range-active-border-color: oklch(31% .016 264);
|
|
@@ -2353,7 +2382,7 @@
|
|
|
2353
2382
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2354
2383
|
--cirth-switch-background-color: oklch(52.7% .032 264);
|
|
2355
2384
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2356
|
-
--cirth-switch-color:
|
|
2385
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2357
2386
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2358
2387
|
--cirth-range-border-color: oklch(26.7% .011 264);
|
|
2359
2388
|
--cirth-range-active-border-color: oklch(31% .016 264);
|