@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.scoped.css
CHANGED
|
@@ -78,8 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.cirth .grid {
|
|
81
|
-
grid-
|
|
82
|
-
grid-row-gap: var(--cirth-grid-row-gap);
|
|
81
|
+
gap: var(--cirth-grid-row-gap) var(--cirth-grid-column-gap);
|
|
83
82
|
grid-template-columns: 1fr;
|
|
84
83
|
display: grid;
|
|
85
84
|
}
|
|
@@ -293,7 +292,6 @@
|
|
|
293
292
|
text-transform: none;
|
|
294
293
|
margin: 0;
|
|
295
294
|
font-family: inherit;
|
|
296
|
-
overflow: visible;
|
|
297
295
|
}
|
|
298
296
|
|
|
299
297
|
.cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
|
|
@@ -496,6 +494,7 @@
|
|
|
496
494
|
border-collapse: collapse;
|
|
497
495
|
border-spacing: 0;
|
|
498
496
|
text-indent: 0;
|
|
497
|
+
border-color: currentColor;
|
|
499
498
|
width: 100%;
|
|
500
499
|
}
|
|
501
500
|
|
|
@@ -521,21 +520,11 @@
|
|
|
521
520
|
vertical-align: middle;
|
|
522
521
|
}
|
|
523
522
|
|
|
524
|
-
.cirth audio, .cirth video {
|
|
525
|
-
display: inline-block;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
.cirth audio:not([controls]) {
|
|
529
|
-
height: 0;
|
|
530
|
-
display: none;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
523
|
.cirth :where(iframe) {
|
|
534
524
|
border-style: none;
|
|
535
525
|
}
|
|
536
526
|
|
|
537
527
|
.cirth img {
|
|
538
|
-
border-style: none;
|
|
539
528
|
max-width: 100%;
|
|
540
529
|
}
|
|
541
530
|
|
|
@@ -547,10 +536,6 @@
|
|
|
547
536
|
fill: currentColor;
|
|
548
537
|
}
|
|
549
538
|
|
|
550
|
-
.cirth svg:not(:root), .cirth svg:not(:host) {
|
|
551
|
-
overflow: hidden;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
539
|
.cirth pre, .cirth code, .cirth kbd, .cirth samp {
|
|
555
540
|
font-size: .875em;
|
|
556
541
|
font-family: var(--cirth-font-family);
|
|
@@ -562,7 +547,6 @@
|
|
|
562
547
|
}
|
|
563
548
|
|
|
564
549
|
.cirth pre {
|
|
565
|
-
-ms-overflow-style: scrollbar;
|
|
566
550
|
overflow: auto;
|
|
567
551
|
}
|
|
568
552
|
|
|
@@ -624,14 +608,10 @@
|
|
|
624
608
|
color: inherit;
|
|
625
609
|
}
|
|
626
610
|
|
|
627
|
-
.cirth [hidden]
|
|
611
|
+
.cirth [hidden]:where(:not([hidden="until-found"])) {
|
|
628
612
|
display: none;
|
|
629
613
|
}
|
|
630
614
|
|
|
631
|
-
.cirth canvas {
|
|
632
|
-
display: inline-block;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
615
|
.cirth input, .cirth optgroup, .cirth select, .cirth textarea {
|
|
636
616
|
font-size: var(--cirth-font-size-md);
|
|
637
617
|
line-height: var(--cirth-line-height);
|
|
@@ -640,26 +620,7 @@
|
|
|
640
620
|
font-family: inherit;
|
|
641
621
|
}
|
|
642
622
|
|
|
643
|
-
.cirth input {
|
|
644
|
-
overflow: visible;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
.cirth select {
|
|
648
|
-
text-transform: none;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
623
|
.cirth legend {
|
|
652
|
-
max-width: 100%;
|
|
653
|
-
color: inherit;
|
|
654
|
-
white-space: normal;
|
|
655
|
-
padding: 0;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
.cirth textarea {
|
|
659
|
-
overflow: auto;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
.cirth [type="checkbox"], .cirth [type="radio"] {
|
|
663
624
|
padding: 0;
|
|
664
625
|
}
|
|
665
626
|
|
|
@@ -680,28 +641,15 @@
|
|
|
680
641
|
-webkit-appearance: none;
|
|
681
642
|
}
|
|
682
643
|
|
|
683
|
-
.cirth
|
|
644
|
+
.cirth ::file-selector-button {
|
|
684
645
|
-webkit-appearance: button;
|
|
685
646
|
font: inherit;
|
|
686
647
|
}
|
|
687
648
|
|
|
688
|
-
.cirth ::-moz-focus-inner {
|
|
689
|
-
border-style: none;
|
|
690
|
-
padding: 0;
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
.cirth :-moz-focusring {
|
|
694
|
-
outline: none;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
649
|
.cirth :-moz-ui-invalid {
|
|
698
650
|
box-shadow: none;
|
|
699
651
|
}
|
|
700
652
|
|
|
701
|
-
.cirth ::-ms-expand {
|
|
702
|
-
display: none;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
653
|
.cirth [type="file"], .cirth [type="range"] {
|
|
706
654
|
border-width: 0;
|
|
707
655
|
padding: 0;
|
|
@@ -778,11 +726,10 @@
|
|
|
778
726
|
}
|
|
779
727
|
|
|
780
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] {
|
|
729
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
781
730
|
background-position: center right var(--cirth-space-3);
|
|
782
731
|
background-size: var(--cirth-size-4) auto;
|
|
783
732
|
background-repeat: no-repeat;
|
|
784
|
-
padding-inline-start: var(--cirth-form-element-spacing-horizontal);
|
|
785
|
-
padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
786
733
|
}
|
|
787
734
|
|
|
788
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) {
|
|
@@ -832,32 +779,16 @@
|
|
|
832
779
|
opacity: 1;
|
|
833
780
|
}
|
|
834
781
|
|
|
835
|
-
.cirth input::-webkit-input-placeholder {
|
|
836
|
-
color: var(--cirth-form-element-placeholder-color);
|
|
837
|
-
opacity: 1;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
.cirth textarea::-webkit-input-placeholder {
|
|
841
|
-
color: var(--cirth-form-element-placeholder-color);
|
|
842
|
-
opacity: 1;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
782
|
.cirth input:not([type="checkbox"], [type="radio"]), .cirth select, .cirth textarea {
|
|
846
783
|
margin-bottom: var(--cirth-spacing);
|
|
847
784
|
}
|
|
848
785
|
|
|
849
|
-
.cirth select::-ms-expand {
|
|
850
|
-
background-color: #0000;
|
|
851
|
-
border: 0;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
786
|
.cirth select:not([multiple], [size]) {
|
|
787
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
855
788
|
background-image: var(--cirth-icon-chevron);
|
|
856
789
|
background-position: center right var(--cirth-space-3);
|
|
857
790
|
background-size: var(--cirth-size-4) auto;
|
|
858
791
|
background-repeat: no-repeat;
|
|
859
|
-
padding-inline-start: var(--cirth-form-element-spacing-horizontal);
|
|
860
|
-
padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
861
792
|
}
|
|
862
793
|
|
|
863
794
|
.cirth select[multiple] option:checked {
|
|
@@ -1057,39 +988,42 @@
|
|
|
1057
988
|
background-image: var(--cirth-icon-time);
|
|
1058
989
|
}
|
|
1059
990
|
|
|
991
|
+
.cirth ::-webkit-date-and-time-value {
|
|
992
|
+
text-align: inherit;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.cirth ::-webkit-datetime-edit {
|
|
996
|
+
padding-block: 0;
|
|
997
|
+
}
|
|
998
|
+
|
|
1060
999
|
.cirth [type="date"]::-webkit-calendar-picker-indicator {
|
|
1061
1000
|
width: var(--cirth-icon-width);
|
|
1001
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1062
1002
|
opacity: 0;
|
|
1063
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1064
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1065
1003
|
}
|
|
1066
1004
|
|
|
1067
1005
|
.cirth [type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
1068
1006
|
width: var(--cirth-icon-width);
|
|
1007
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1069
1008
|
opacity: 0;
|
|
1070
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1071
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1072
1009
|
}
|
|
1073
1010
|
|
|
1074
1011
|
.cirth [type="month"]::-webkit-calendar-picker-indicator {
|
|
1075
1012
|
width: var(--cirth-icon-width);
|
|
1013
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1076
1014
|
opacity: 0;
|
|
1077
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1078
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1079
1015
|
}
|
|
1080
1016
|
|
|
1081
1017
|
.cirth [type="time"]::-webkit-calendar-picker-indicator {
|
|
1082
1018
|
width: var(--cirth-icon-width);
|
|
1019
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1083
1020
|
opacity: 0;
|
|
1084
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1085
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1086
1021
|
}
|
|
1087
1022
|
|
|
1088
1023
|
.cirth [type="week"]::-webkit-calendar-picker-indicator {
|
|
1089
1024
|
width: var(--cirth-icon-width);
|
|
1025
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
1090
1026
|
opacity: 0;
|
|
1091
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
1092
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
1093
1027
|
}
|
|
1094
1028
|
|
|
1095
1029
|
@-moz-document url-prefix() {
|
|
@@ -1829,7 +1763,7 @@
|
|
|
1829
1763
|
.cirth.modal-is-open, .cirth .modal-is-open {
|
|
1830
1764
|
pointer-events: none;
|
|
1831
1765
|
touch-action: none;
|
|
1832
|
-
padding-inline-end: var(--cirth-scrollbar-width,
|
|
1766
|
+
padding-inline-end: var(--cirth-scrollbar-width, 0);
|
|
1833
1767
|
overflow: hidden;
|
|
1834
1768
|
}
|
|
1835
1769
|
|
|
@@ -2186,7 +2120,7 @@
|
|
|
2186
2120
|
opacity: 0;
|
|
2187
2121
|
}
|
|
2188
2122
|
|
|
2189
|
-
|
|
2123
|
+
100% {
|
|
2190
2124
|
transform: var(--cirth-tooltip-caret-slide-to);
|
|
2191
2125
|
opacity: 1;
|
|
2192
2126
|
}
|
|
@@ -2205,14 +2139,10 @@
|
|
|
2205
2139
|
}
|
|
2206
2140
|
|
|
2207
2141
|
.cirth [aria-hidden="false"][hidden]:not(:focus) {
|
|
2208
|
-
clip:
|
|
2142
|
+
clip-path: inset(50%);
|
|
2209
2143
|
position: absolute;
|
|
2210
2144
|
}
|
|
2211
2145
|
|
|
2212
|
-
.cirth a, .cirth area, .cirth button, .cirth input, .cirth label, .cirth select, .cirth summary, .cirth textarea, .cirth [tabindex] {
|
|
2213
|
-
-ms-touch-action: manipulation;
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
2146
|
.cirth [dir="rtl"] {
|
|
2217
2147
|
direction: rtl;
|
|
2218
2148
|
}
|
|
@@ -2229,6 +2159,34 @@
|
|
|
2229
2159
|
}
|
|
2230
2160
|
}
|
|
2231
2161
|
|
|
2162
|
+
.cirth .sr-only {
|
|
2163
|
+
clip-path: inset(50%);
|
|
2164
|
+
white-space: nowrap;
|
|
2165
|
+
border: 0;
|
|
2166
|
+
width: 1px;
|
|
2167
|
+
height: 1px;
|
|
2168
|
+
margin: -1px;
|
|
2169
|
+
padding: 0;
|
|
2170
|
+
position: absolute;
|
|
2171
|
+
overflow: hidden;
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
.cirth .sr-only-focusable:focus, .cirth .sr-only-focusable:focus-within {
|
|
2175
|
+
clip-path: none;
|
|
2176
|
+
white-space: normal;
|
|
2177
|
+
width: auto;
|
|
2178
|
+
height: auto;
|
|
2179
|
+
margin: 0;
|
|
2180
|
+
position: static;
|
|
2181
|
+
overflow: visible;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
.cirth .truncate {
|
|
2185
|
+
white-space: nowrap;
|
|
2186
|
+
text-overflow: ellipsis;
|
|
2187
|
+
overflow: hidden;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2232
2190
|
.cirth {
|
|
2233
2191
|
--cirth-color-black: #000;
|
|
2234
2192
|
--cirth-color-white: #fff;
|
|
@@ -2373,6 +2331,7 @@
|
|
|
2373
2331
|
|
|
2374
2332
|
.cirth small {
|
|
2375
2333
|
--cirth-font-size: .875em;
|
|
2334
|
+
font-size: var(--cirth-font-size);
|
|
2376
2335
|
}
|
|
2377
2336
|
|
|
2378
2337
|
.cirth h1, .cirth h2, .cirth h3 {
|