@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
package/dist/cirth.scoped.css
CHANGED
|
@@ -41,54 +41,48 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.cirth .container, .cirth .container-fluid {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
margin-inline: auto;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@media (min-width: 576px) {
|
|
50
|
-
.cirth .container {
|
|
51
|
-
max-width: 510px;
|
|
52
|
-
padding-inline: 0;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@media (min-width: 768px) {
|
|
57
|
-
.cirth .container {
|
|
58
|
-
max-width: 700px;
|
|
59
|
-
}
|
|
44
|
+
grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, 1fr) minmax(var(--cirth-spacing), 1fr);
|
|
45
|
+
display: grid;
|
|
60
46
|
}
|
|
61
47
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
max-width: 950px;
|
|
65
|
-
}
|
|
48
|
+
.cirth .container > *, .cirth .container-fluid > * {
|
|
49
|
+
grid-column: 2;
|
|
66
50
|
}
|
|
67
51
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
max-width: 1200px;
|
|
71
|
-
}
|
|
52
|
+
.cirth .container {
|
|
53
|
+
grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, var(--cirth-container-max-width)) minmax(var(--cirth-spacing), 1fr);
|
|
72
54
|
}
|
|
73
55
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
max-width: 1450px;
|
|
77
|
-
}
|
|
56
|
+
.cirth .breakout {
|
|
57
|
+
grid-column: 1 / -1;
|
|
78
58
|
}
|
|
79
59
|
|
|
80
|
-
.cirth .
|
|
60
|
+
.cirth .row {
|
|
81
61
|
gap: var(--cirth-grid-row-gap) var(--cirth-grid-column-gap);
|
|
82
62
|
grid-template-columns: 1fr;
|
|
83
63
|
display: grid;
|
|
84
64
|
}
|
|
85
65
|
|
|
86
66
|
@media (min-width: 768px) {
|
|
87
|
-
.cirth .
|
|
67
|
+
.cirth .row {
|
|
88
68
|
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
|
|
89
69
|
}
|
|
90
70
|
}
|
|
91
71
|
|
|
72
|
+
.cirth .row > * {
|
|
73
|
+
min-width: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.cirth .row > :where(button, [type="submit"], [type="reset"], [role="button"], input:not([type="checkbox"], [type="radio"]), select, textarea) {
|
|
77
|
+
margin-bottom: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.cirth .grid {
|
|
81
|
+
gap: var(--cirth-grid-row-gap) var(--cirth-grid-column-gap);
|
|
82
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--cirth-grid-min-column)), 1fr));
|
|
83
|
+
display: grid;
|
|
84
|
+
}
|
|
85
|
+
|
|
92
86
|
.cirth .grid > * {
|
|
93
87
|
min-width: 0;
|
|
94
88
|
}
|
|
@@ -490,6 +484,10 @@
|
|
|
490
484
|
pointer-events: none;
|
|
491
485
|
}
|
|
492
486
|
|
|
487
|
+
.cirth form:invalid :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
|
|
488
|
+
opacity: var(--cirth-opacity-disabled);
|
|
489
|
+
}
|
|
490
|
+
|
|
493
491
|
.cirth :where(table) {
|
|
494
492
|
border-collapse: collapse;
|
|
495
493
|
border-spacing: 0;
|
|
@@ -725,52 +723,52 @@
|
|
|
725
723
|
opacity: 1;
|
|
726
724
|
}
|
|
727
725
|
|
|
728
|
-
.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] {
|
|
726
|
+
.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])) {
|
|
729
727
|
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
730
728
|
background-position: center right var(--cirth-space-3);
|
|
731
729
|
background-size: var(--cirth-size-4) auto;
|
|
732
730
|
background-repeat: no-repeat;
|
|
733
731
|
}
|
|
734
732
|
|
|
735
|
-
.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) {
|
|
733
|
+
.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) {
|
|
736
734
|
background-image: var(--cirth-icon-valid);
|
|
737
735
|
}
|
|
738
736
|
|
|
739
|
-
.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) {
|
|
737
|
+
.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) {
|
|
740
738
|
background-image: var(--cirth-icon-invalid);
|
|
741
739
|
}
|
|
742
740
|
|
|
743
|
-
.cirth :where(input, select, textarea)[aria-invalid="false"] {
|
|
741
|
+
.cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])) {
|
|
744
742
|
--cirth-border-color: var(--cirth-form-element-valid-border-color);
|
|
745
743
|
}
|
|
746
744
|
|
|
747
|
-
.cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
|
|
745
|
+
.cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus) {
|
|
748
746
|
--cirth-border-color: var(--cirth-form-element-valid-active-border-color);
|
|
749
747
|
}
|
|
750
748
|
|
|
751
|
-
.cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
|
|
749
|
+
.cirth :where(input, select, textarea):is([aria-invalid="false"], :user-valid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
|
|
752
750
|
--cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
|
|
753
751
|
var(--cirth-form-element-valid-focus-color);
|
|
754
752
|
}
|
|
755
753
|
|
|
756
|
-
.cirth :where(input, select, textarea)[aria-invalid="true"] {
|
|
754
|
+
.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) {
|
|
757
755
|
--cirth-border-color: var(--cirth-form-element-invalid-border-color);
|
|
758
756
|
}
|
|
759
757
|
|
|
760
|
-
.cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
|
|
758
|
+
.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus) {
|
|
761
759
|
--cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
|
|
762
760
|
}
|
|
763
761
|
|
|
764
|
-
.cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
|
|
762
|
+
.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid])):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
|
|
765
763
|
--cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
|
|
766
764
|
var(--cirth-form-element-invalid-focus-color);
|
|
767
765
|
}
|
|
768
766
|
|
|
769
|
-
[dir="rtl"] .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid
|
|
767
|
+
[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])) {
|
|
770
768
|
background-position: center left var(--cirth-space-3);
|
|
771
769
|
}
|
|
772
770
|
|
|
773
|
-
[dir="rtl"] .cirth textarea[aria-invalid] {
|
|
771
|
+
[dir="rtl"] .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
|
|
774
772
|
background-position: top left var(--cirth-space-3);
|
|
775
773
|
}
|
|
776
774
|
|
|
@@ -805,7 +803,7 @@
|
|
|
805
803
|
display: block;
|
|
806
804
|
}
|
|
807
805
|
|
|
808
|
-
.cirth textarea[aria-invalid] {
|
|
806
|
+
.cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid]), :user-valid:not([aria-invalid])) {
|
|
809
807
|
--cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
|
|
810
808
|
var(--cirth-form-element-spacing-vertical) * 2 +
|
|
811
809
|
var(--cirth-border-width) * 2);
|
|
@@ -813,7 +811,7 @@
|
|
|
813
811
|
background-size: var(--cirth-size-4) var(--cirth-icon-height);
|
|
814
812
|
}
|
|
815
813
|
|
|
816
|
-
.cirth :where(input, select, textarea, fieldset, .
|
|
814
|
+
.cirth :where(input, select, textarea, fieldset, .row) + small {
|
|
817
815
|
width: 100%;
|
|
818
816
|
margin-top: calc(var(--cirth-spacing) * -.75);
|
|
819
817
|
margin-bottom: var(--cirth-spacing);
|
|
@@ -821,11 +819,11 @@
|
|
|
821
819
|
display: block;
|
|
822
820
|
}
|
|
823
821
|
|
|
824
|
-
.cirth :where(input, select, textarea, fieldset, .
|
|
822
|
+
.cirth :where(input, select, textarea, fieldset, .row):is([aria-invalid="false"], :user-valid:not([aria-invalid])) + small {
|
|
825
823
|
color: var(--cirth-ins-color);
|
|
826
824
|
}
|
|
827
825
|
|
|
828
|
-
.cirth :where(input, select, textarea, fieldset, .
|
|
826
|
+
.cirth :where(input, select, textarea, fieldset, .row):is([aria-invalid="true"], :user-invalid:not([aria-invalid])) + small {
|
|
829
827
|
color: var(--cirth-del-color);
|
|
830
828
|
}
|
|
831
829
|
|
|
@@ -1470,7 +1468,7 @@
|
|
|
1470
1468
|
transform: rotate(0) translateX(0);
|
|
1471
1469
|
}
|
|
1472
1470
|
|
|
1473
|
-
.cirth [role="search"], .cirth
|
|
1471
|
+
.cirth [role="search"], .cirth .group {
|
|
1474
1472
|
width: 100%;
|
|
1475
1473
|
margin-bottom: var(--cirth-spacing);
|
|
1476
1474
|
border-radius: var(--cirth-border-radius);
|
|
@@ -1482,61 +1480,61 @@
|
|
|
1482
1480
|
position: relative;
|
|
1483
1481
|
}
|
|
1484
1482
|
|
|
1485
|
-
.cirth [role="search"] > small, .cirth
|
|
1483
|
+
.cirth [role="search"] > small, .cirth .group > small {
|
|
1486
1484
|
margin-top: calc(var(--cirth-spacing) * .25);
|
|
1487
1485
|
flex: 0 0 100%;
|
|
1488
1486
|
order: 1;
|
|
1489
1487
|
margin-bottom: 0;
|
|
1490
1488
|
}
|
|
1491
1489
|
|
|
1492
|
-
.cirth [role="search"] > *, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]), .cirth [role="search"] select, .cirth
|
|
1490
|
+
.cirth [role="search"] > *, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]), .cirth [role="search"] select, .cirth .group > *, .cirth .group input:not([type="checkbox"], [type="radio"]), .cirth .group select {
|
|
1493
1491
|
flex: auto;
|
|
1494
1492
|
margin-bottom: 0;
|
|
1495
1493
|
position: relative;
|
|
1496
1494
|
}
|
|
1497
1495
|
|
|
1498
|
-
.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
|
|
1496
|
+
.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 .group > :is(input, select, textarea), .cirth .group input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth .group select:is(input, select, textarea) {
|
|
1499
1497
|
flex: 99;
|
|
1500
1498
|
}
|
|
1501
1499
|
|
|
1502
|
-
.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
|
|
1500
|
+
.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 .group > :not(:first-child), .cirth .group input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth .group select:not(:first-child) {
|
|
1503
1501
|
border-start-start-radius: 0;
|
|
1504
1502
|
border-end-start-radius: 0;
|
|
1505
1503
|
margin-inline-start: 0;
|
|
1506
1504
|
}
|
|
1507
1505
|
|
|
1508
|
-
.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
|
|
1506
|
+
.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 .group > :not(:last-child), .cirth .group input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth .group select:not(:last-child) {
|
|
1509
1507
|
border-start-end-radius: 0;
|
|
1510
1508
|
border-end-end-radius: 0;
|
|
1511
1509
|
}
|
|
1512
1510
|
|
|
1513
|
-
.cirth [role="search"] > :focus, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="search"] select:focus, .cirth
|
|
1511
|
+
.cirth [role="search"] > :focus, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="search"] select:focus, .cirth .group > :focus, .cirth .group input:not([type="checkbox"], [type="radio"]):focus, .cirth .group select:focus {
|
|
1514
1512
|
z-index: 2;
|
|
1515
1513
|
}
|
|
1516
1514
|
|
|
1517
|
-
:is(.cirth [role="search"] > :has( + small:last-child), .cirth
|
|
1515
|
+
:is(.cirth [role="search"] > :has( + small:last-child), .cirth .group > :has( + small:last-child)) {
|
|
1518
1516
|
border-start-end-radius: var(--cirth-border-radius);
|
|
1519
1517
|
border-end-end-radius: var(--cirth-border-radius);
|
|
1520
1518
|
}
|
|
1521
1519
|
|
|
1522
|
-
.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
|
|
1520
|
+
.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 .group button:not(:first-child), .cirth .group [type="submit"]:not(:first-child), .cirth .group [type="reset"]:not(:first-child), .cirth .group [type="button"]:not(:first-child), .cirth .group [role="button"]:not(:first-child), .cirth .group input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth .group select:not(:first-child) {
|
|
1523
1521
|
margin-inline-start: calc(var(--cirth-border-width) * -1);
|
|
1524
1522
|
}
|
|
1525
1523
|
|
|
1526
|
-
.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
|
|
1524
|
+
.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 .group button, .cirth .group [type="submit"], .cirth .group [type="reset"], .cirth .group [type="button"], .cirth .group [role="button"] {
|
|
1527
1525
|
width: auto;
|
|
1528
1526
|
}
|
|
1529
1527
|
|
|
1530
1528
|
@supports selector(:has(*)) {
|
|
1531
|
-
:is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth
|
|
1529
|
+
:is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
|
|
1532
1530
|
--cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
|
|
1533
1531
|
}
|
|
1534
1532
|
|
|
1535
|
-
:is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .cirth
|
|
1533
|
+
:is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
|
|
1536
1534
|
border-color: #0000;
|
|
1537
1535
|
}
|
|
1538
1536
|
|
|
1539
|
-
:is(.cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth
|
|
1537
|
+
:is(.cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
|
|
1540
1538
|
--cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
|
|
1541
1539
|
}
|
|
1542
1540
|
|
|
@@ -1568,35 +1566,35 @@
|
|
|
1568
1566
|
var(--cirth-primary-hover-border);
|
|
1569
1567
|
}
|
|
1570
1568
|
|
|
1571
|
-
.cirth
|
|
1569
|
+
.cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
|
|
1572
1570
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1573
1571
|
var(--cirth-primary-border);
|
|
1574
1572
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1575
1573
|
var(--cirth-primary-hover-border);
|
|
1576
1574
|
}
|
|
1577
1575
|
|
|
1578
|
-
.cirth
|
|
1576
|
+
.cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
|
|
1579
1577
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1580
1578
|
var(--cirth-primary-border);
|
|
1581
1579
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1582
1580
|
var(--cirth-primary-hover-border);
|
|
1583
1581
|
}
|
|
1584
1582
|
|
|
1585
|
-
.cirth
|
|
1583
|
+
.cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
|
|
1586
1584
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1587
1585
|
var(--cirth-primary-border);
|
|
1588
1586
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1589
1587
|
var(--cirth-primary-hover-border);
|
|
1590
1588
|
}
|
|
1591
1589
|
|
|
1592
|
-
.cirth
|
|
1590
|
+
.cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
|
|
1593
1591
|
--cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1594
1592
|
var(--cirth-primary-border);
|
|
1595
1593
|
--cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
|
|
1596
1594
|
var(--cirth-primary-hover-border);
|
|
1597
1595
|
}
|
|
1598
1596
|
|
|
1599
|
-
.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
|
|
1597
|
+
.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 .group button:focus, .cirth .group [type="submit"]:focus, .cirth .group [type="reset"]:focus, .cirth .group [type="button"]:focus, .cirth .group [role="button"]:focus {
|
|
1600
1598
|
box-shadow: none;
|
|
1601
1599
|
}
|
|
1602
1600
|
}
|
|
@@ -1854,7 +1852,7 @@
|
|
|
1854
1852
|
text-decoration: none;
|
|
1855
1853
|
}
|
|
1856
1854
|
|
|
1857
|
-
.cirth nav li
|
|
1855
|
+
.cirth nav li .group, .cirth nav li [role="search"] {
|
|
1858
1856
|
width: auto;
|
|
1859
1857
|
margin-bottom: 0;
|
|
1860
1858
|
}
|
|
@@ -2299,8 +2297,10 @@
|
|
|
2299
2297
|
--cirth-typography-spacing-vertical: var(--cirth-space-4);
|
|
2300
2298
|
--cirth-block-spacing-vertical: var(--cirth-spacing);
|
|
2301
2299
|
--cirth-block-spacing-horizontal: var(--cirth-spacing);
|
|
2300
|
+
--cirth-container-max-width: 60rem;
|
|
2302
2301
|
--cirth-grid-column-gap: var(--cirth-spacing);
|
|
2303
2302
|
--cirth-grid-row-gap: var(--cirth-spacing);
|
|
2303
|
+
--cirth-grid-min-column: 12rem;
|
|
2304
2304
|
--cirth-form-element-spacing-vertical: var(--cirth-space-2);
|
|
2305
2305
|
--cirth-form-element-spacing-horizontal: var(--cirth-space-4);
|
|
2306
2306
|
--cirth-form-label-font-weight: var(--cirth-font-weight);
|
|
@@ -2447,7 +2447,7 @@
|
|
|
2447
2447
|
--cirth-border-radius: var(--cirth-radius-pill);
|
|
2448
2448
|
}
|
|
2449
2449
|
|
|
2450
|
-
:is(.cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .cirth
|
|
2450
|
+
:is(.cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .cirth .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
|
|
2451
2451
|
--cirth-group-box-shadow-focus-with-button: 0
|
|
2452
2452
|
0
|
|
2453
2453
|
0
|
|
@@ -2455,7 +2455,7 @@
|
|
|
2455
2455
|
var(--cirth-secondary-focus);
|
|
2456
2456
|
}
|
|
2457
2457
|
|
|
2458
|
-
:is(.cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .cirth
|
|
2458
|
+
:is(.cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .cirth .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
|
|
2459
2459
|
--cirth-group-box-shadow-focus-with-button: 0
|
|
2460
2460
|
0
|
|
2461
2461
|
0
|
|
@@ -2463,7 +2463,7 @@
|
|
|
2463
2463
|
var(--cirth-contrast-focus);
|
|
2464
2464
|
}
|
|
2465
2465
|
|
|
2466
|
-
.cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth
|
|
2466
|
+
.cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth .group button, .cirth .group [type="submit"], .cirth .group [type="button"], .cirth .group [role="button"] {
|
|
2467
2467
|
--cirth-form-element-spacing-horizontal: var(--cirth-space-8);
|
|
2468
2468
|
}
|
|
2469
2469
|
|
|
@@ -2548,7 +2548,7 @@
|
|
|
2548
2548
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2549
2549
|
--cirth-switch-background-color: oklch(61.3% .032 264);
|
|
2550
2550
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2551
|
-
--cirth-switch-color:
|
|
2551
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2552
2552
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2553
2553
|
--cirth-range-border-color: oklch(91.7% .006 264);
|
|
2554
2554
|
--cirth-range-active-border-color: oklch(83% .016 264);
|
|
@@ -2661,7 +2661,7 @@
|
|
|
2661
2661
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2662
2662
|
--cirth-switch-background-color: oklch(52.7% .032 264);
|
|
2663
2663
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2664
|
-
--cirth-switch-color:
|
|
2664
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2665
2665
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2666
2666
|
--cirth-range-border-color: oklch(26.7% .011 264);
|
|
2667
2667
|
--cirth-range-active-border-color: oklch(31% .016 264);
|
|
@@ -2778,7 +2778,7 @@
|
|
|
2778
2778
|
--cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
|
|
2779
2779
|
--cirth-switch-background-color: oklch(52.7% .032 264);
|
|
2780
2780
|
--cirth-switch-checked-background-color: var(--cirth-primary-background);
|
|
2781
|
-
--cirth-switch-color:
|
|
2781
|
+
--cirth-switch-color: var(--cirth-primary-inverse);
|
|
2782
2782
|
--cirth-switch-thumb-box-shadow: 0 0 0 #0000;
|
|
2783
2783
|
--cirth-range-border-color: oklch(26.7% .011 264);
|
|
2784
2784
|
--cirth-range-active-border-color: oklch(31% .016 264);
|