@cirthcss/cirth 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cirth.classless.css +21 -89
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +21 -89
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +51 -92
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.scoped.css +51 -92
- package/dist/cirth.scoped.min.css +1 -1
- package/package.json +2 -3
package/dist/cirth.css
CHANGED
|
@@ -81,8 +81,7 @@ section {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.grid {
|
|
84
|
-
grid-
|
|
85
|
-
grid-row-gap: var(--cirth-grid-row-gap);
|
|
84
|
+
gap: var(--cirth-grid-row-gap) var(--cirth-grid-column-gap);
|
|
86
85
|
grid-template-columns: 1fr;
|
|
87
86
|
display: grid;
|
|
88
87
|
}
|
|
@@ -296,7 +295,6 @@ button {
|
|
|
296
295
|
text-transform: none;
|
|
297
296
|
margin: 0;
|
|
298
297
|
font-family: inherit;
|
|
299
|
-
overflow: visible;
|
|
300
298
|
}
|
|
301
299
|
|
|
302
300
|
button, [type="submit"], [type="reset"], [type="button"] {
|
|
@@ -499,6 +497,7 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
499
497
|
border-collapse: collapse;
|
|
500
498
|
border-spacing: 0;
|
|
501
499
|
text-indent: 0;
|
|
500
|
+
border-color: currentColor;
|
|
502
501
|
width: 100%;
|
|
503
502
|
}
|
|
504
503
|
|
|
@@ -524,21 +523,11 @@ table.striped tbody tr:nth-child(odd) th, table.striped tbody tr:nth-child(odd)
|
|
|
524
523
|
vertical-align: middle;
|
|
525
524
|
}
|
|
526
525
|
|
|
527
|
-
audio, video {
|
|
528
|
-
display: inline-block;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
audio:not([controls]) {
|
|
532
|
-
height: 0;
|
|
533
|
-
display: none;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
526
|
:where(iframe) {
|
|
537
527
|
border-style: none;
|
|
538
528
|
}
|
|
539
529
|
|
|
540
530
|
img {
|
|
541
|
-
border-style: none;
|
|
542
531
|
max-width: 100%;
|
|
543
532
|
}
|
|
544
533
|
|
|
@@ -550,10 +539,6 @@ img:where(:not([height]), [width][height]) {
|
|
|
550
539
|
fill: currentColor;
|
|
551
540
|
}
|
|
552
541
|
|
|
553
|
-
svg:not(:root), svg:not(:host) {
|
|
554
|
-
overflow: hidden;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
542
|
pre, code, kbd, samp {
|
|
558
543
|
font-size: .875em;
|
|
559
544
|
font-family: var(--cirth-font-family);
|
|
@@ -565,7 +550,6 @@ pre code, pre samp {
|
|
|
565
550
|
}
|
|
566
551
|
|
|
567
552
|
pre {
|
|
568
|
-
-ms-overflow-style: scrollbar;
|
|
569
553
|
overflow: auto;
|
|
570
554
|
}
|
|
571
555
|
|
|
@@ -627,14 +611,10 @@ hr {
|
|
|
627
611
|
color: inherit;
|
|
628
612
|
}
|
|
629
613
|
|
|
630
|
-
[hidden]
|
|
614
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
631
615
|
display: none;
|
|
632
616
|
}
|
|
633
617
|
|
|
634
|
-
canvas {
|
|
635
|
-
display: inline-block;
|
|
636
|
-
}
|
|
637
|
-
|
|
638
618
|
input, optgroup, select, textarea {
|
|
639
619
|
font-size: var(--cirth-font-size-md);
|
|
640
620
|
line-height: var(--cirth-line-height);
|
|
@@ -643,26 +623,7 @@ input, optgroup, select, textarea {
|
|
|
643
623
|
font-family: inherit;
|
|
644
624
|
}
|
|
645
625
|
|
|
646
|
-
input {
|
|
647
|
-
overflow: visible;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
select {
|
|
651
|
-
text-transform: none;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
626
|
legend {
|
|
655
|
-
max-width: 100%;
|
|
656
|
-
color: inherit;
|
|
657
|
-
white-space: normal;
|
|
658
|
-
padding: 0;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
textarea {
|
|
662
|
-
overflow: auto;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
[type="checkbox"], [type="radio"] {
|
|
666
627
|
padding: 0;
|
|
667
628
|
}
|
|
668
629
|
|
|
@@ -683,28 +644,15 @@ textarea {
|
|
|
683
644
|
-webkit-appearance: none;
|
|
684
645
|
}
|
|
685
646
|
|
|
686
|
-
|
|
647
|
+
::file-selector-button {
|
|
687
648
|
-webkit-appearance: button;
|
|
688
649
|
font: inherit;
|
|
689
650
|
}
|
|
690
651
|
|
|
691
|
-
::-moz-focus-inner {
|
|
692
|
-
border-style: none;
|
|
693
|
-
padding: 0;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
:-moz-focusring {
|
|
697
|
-
outline: none;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
652
|
:-moz-ui-invalid {
|
|
701
653
|
box-shadow: none;
|
|
702
654
|
}
|
|
703
655
|
|
|
704
|
-
::-ms-expand {
|
|
705
|
-
display: none;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
656
|
[type="file"], [type="range"] {
|
|
709
657
|
border-width: 0;
|
|
710
658
|
padding: 0;
|
|
@@ -781,11 +729,10 @@ label[aria-disabled="true"] input[disabled] {
|
|
|
781
729
|
}
|
|
782
730
|
|
|
783
731
|
:where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
|
|
732
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
784
733
|
background-position: center right var(--cirth-space-3);
|
|
785
734
|
background-size: var(--cirth-size-4) auto;
|
|
786
735
|
background-repeat: no-repeat;
|
|
787
|
-
padding-inline-start: var(--cirth-form-element-spacing-horizontal);
|
|
788
|
-
padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
789
736
|
}
|
|
790
737
|
|
|
791
738
|
: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) {
|
|
@@ -835,32 +782,16 @@ input::placeholder, textarea::placeholder, select:invalid {
|
|
|
835
782
|
opacity: 1;
|
|
836
783
|
}
|
|
837
784
|
|
|
838
|
-
input::-webkit-input-placeholder {
|
|
839
|
-
color: var(--cirth-form-element-placeholder-color);
|
|
840
|
-
opacity: 1;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
textarea::-webkit-input-placeholder {
|
|
844
|
-
color: var(--cirth-form-element-placeholder-color);
|
|
845
|
-
opacity: 1;
|
|
846
|
-
}
|
|
847
|
-
|
|
848
785
|
input:not([type="checkbox"], [type="radio"]), select, textarea {
|
|
849
786
|
margin-bottom: var(--cirth-spacing);
|
|
850
787
|
}
|
|
851
788
|
|
|
852
|
-
select::-ms-expand {
|
|
853
|
-
background-color: #0000;
|
|
854
|
-
border: 0;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
789
|
select:not([multiple], [size]) {
|
|
790
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
858
791
|
background-image: var(--cirth-icon-chevron);
|
|
859
792
|
background-position: center right var(--cirth-space-3);
|
|
860
793
|
background-size: var(--cirth-size-4) auto;
|
|
861
794
|
background-repeat: no-repeat;
|
|
862
|
-
padding-inline-start: var(--cirth-form-element-spacing-horizontal);
|
|
863
|
-
padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
864
795
|
}
|
|
865
796
|
|
|
866
797
|
select[multiple] option:checked {
|
|
@@ -1060,39 +991,42 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
|
|
|
1060
991
|
background-image: var(--cirth-icon-time);
|
|
1061
992
|
}
|
|
1062
993
|
|
|
994
|
+
::-webkit-date-and-time-value {
|
|
995
|
+
text-align: inherit;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
::-webkit-datetime-edit {
|
|
999
|
+
padding-block: 0;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1063
1002
|
[type="date"]::-webkit-calendar-picker-indicator {
|
|
1064
1003
|
width: var(--cirth-icon-width);
|
|
1004
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1065
1005
|
opacity: 0;
|
|
1066
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1067
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1068
1006
|
}
|
|
1069
1007
|
|
|
1070
1008
|
[type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
1071
1009
|
width: var(--cirth-icon-width);
|
|
1010
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1072
1011
|
opacity: 0;
|
|
1073
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1074
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1075
1012
|
}
|
|
1076
1013
|
|
|
1077
1014
|
[type="month"]::-webkit-calendar-picker-indicator {
|
|
1078
1015
|
width: var(--cirth-icon-width);
|
|
1016
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1079
1017
|
opacity: 0;
|
|
1080
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1081
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1082
1018
|
}
|
|
1083
1019
|
|
|
1084
1020
|
[type="time"]::-webkit-calendar-picker-indicator {
|
|
1085
1021
|
width: var(--cirth-icon-width);
|
|
1022
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1086
1023
|
opacity: 0;
|
|
1087
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1088
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1089
1024
|
}
|
|
1090
1025
|
|
|
1091
1026
|
[type="week"]::-webkit-calendar-picker-indicator {
|
|
1092
1027
|
width: var(--cirth-icon-width);
|
|
1028
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1093
1029
|
opacity: 0;
|
|
1094
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1095
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1096
1030
|
}
|
|
1097
1031
|
|
|
1098
1032
|
@-moz-document url-prefix() {
|
|
@@ -1832,7 +1766,7 @@ dialog:not([open]), dialog[open="false"] {
|
|
|
1832
1766
|
.modal-is-open {
|
|
1833
1767
|
pointer-events: none;
|
|
1834
1768
|
touch-action: none;
|
|
1835
|
-
padding-inline-end: var(--cirth-scrollbar-width,
|
|
1769
|
+
padding-inline-end: var(--cirth-scrollbar-width, 0);
|
|
1836
1770
|
overflow: hidden;
|
|
1837
1771
|
}
|
|
1838
1772
|
|
|
@@ -2189,7 +2123,7 @@ progress::-moz-progress-bar {
|
|
|
2189
2123
|
opacity: 0;
|
|
2190
2124
|
}
|
|
2191
2125
|
|
|
2192
|
-
|
|
2126
|
+
100% {
|
|
2193
2127
|
transform: var(--cirth-tooltip-caret-slide-to);
|
|
2194
2128
|
opacity: 1;
|
|
2195
2129
|
}
|
|
@@ -2208,14 +2142,10 @@ progress::-moz-progress-bar {
|
|
|
2208
2142
|
}
|
|
2209
2143
|
|
|
2210
2144
|
[aria-hidden="false"][hidden]:not(:focus) {
|
|
2211
|
-
clip:
|
|
2145
|
+
clip-path: inset(50%);
|
|
2212
2146
|
position: absolute;
|
|
2213
2147
|
}
|
|
2214
2148
|
|
|
2215
|
-
a, area, button, input, label, select, summary, textarea, [tabindex] {
|
|
2216
|
-
-ms-touch-action: manipulation;
|
|
2217
|
-
}
|
|
2218
|
-
|
|
2219
2149
|
[dir="rtl"] {
|
|
2220
2150
|
direction: rtl;
|
|
2221
2151
|
}
|
|
@@ -2232,6 +2162,34 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
|
|
|
2232
2162
|
}
|
|
2233
2163
|
}
|
|
2234
2164
|
|
|
2165
|
+
.sr-only {
|
|
2166
|
+
clip-path: inset(50%);
|
|
2167
|
+
white-space: nowrap;
|
|
2168
|
+
border: 0;
|
|
2169
|
+
width: 1px;
|
|
2170
|
+
height: 1px;
|
|
2171
|
+
margin: -1px;
|
|
2172
|
+
padding: 0;
|
|
2173
|
+
position: absolute;
|
|
2174
|
+
overflow: hidden;
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
.sr-only-focusable:focus, .sr-only-focusable:focus-within {
|
|
2178
|
+
clip-path: none;
|
|
2179
|
+
white-space: normal;
|
|
2180
|
+
width: auto;
|
|
2181
|
+
height: auto;
|
|
2182
|
+
margin: 0;
|
|
2183
|
+
position: static;
|
|
2184
|
+
overflow: visible;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
.truncate {
|
|
2188
|
+
white-space: nowrap;
|
|
2189
|
+
text-overflow: ellipsis;
|
|
2190
|
+
overflow: hidden;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2235
2193
|
:root, :host {
|
|
2236
2194
|
--cirth-color-black: #000;
|
|
2237
2195
|
--cirth-color-white: #fff;
|
|
@@ -2376,6 +2334,7 @@ a, a.secondary, a.contrast {
|
|
|
2376
2334
|
|
|
2377
2335
|
small {
|
|
2378
2336
|
--cirth-font-size: .875em;
|
|
2337
|
+
font-size: var(--cirth-font-size);
|
|
2379
2338
|
}
|
|
2380
2339
|
|
|
2381
2340
|
h1, h2, h3 {
|