@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
|
@@ -244,7 +244,6 @@
|
|
|
244
244
|
text-transform: none;
|
|
245
245
|
margin: 0;
|
|
246
246
|
font-family: inherit;
|
|
247
|
-
overflow: visible;
|
|
248
247
|
}
|
|
249
248
|
|
|
250
249
|
.cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
|
|
@@ -393,6 +392,7 @@
|
|
|
393
392
|
border-collapse: collapse;
|
|
394
393
|
border-spacing: 0;
|
|
395
394
|
text-indent: 0;
|
|
395
|
+
border-color: currentColor;
|
|
396
396
|
width: 100%;
|
|
397
397
|
}
|
|
398
398
|
|
|
@@ -414,21 +414,11 @@
|
|
|
414
414
|
vertical-align: middle;
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
.cirth audio, .cirth video {
|
|
418
|
-
display: inline-block;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
.cirth audio:not([controls]) {
|
|
422
|
-
height: 0;
|
|
423
|
-
display: none;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
417
|
.cirth :where(iframe) {
|
|
427
418
|
border-style: none;
|
|
428
419
|
}
|
|
429
420
|
|
|
430
421
|
.cirth img {
|
|
431
|
-
border-style: none;
|
|
432
422
|
max-width: 100%;
|
|
433
423
|
}
|
|
434
424
|
|
|
@@ -440,10 +430,6 @@
|
|
|
440
430
|
fill: currentColor;
|
|
441
431
|
}
|
|
442
432
|
|
|
443
|
-
.cirth svg:not(:root), .cirth svg:not(:host) {
|
|
444
|
-
overflow: hidden;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
433
|
.cirth pre, .cirth code, .cirth kbd, .cirth samp {
|
|
448
434
|
font-size: .875em;
|
|
449
435
|
font-family: var(--cirth-font-family);
|
|
@@ -455,7 +441,6 @@
|
|
|
455
441
|
}
|
|
456
442
|
|
|
457
443
|
.cirth pre {
|
|
458
|
-
-ms-overflow-style: scrollbar;
|
|
459
444
|
overflow: auto;
|
|
460
445
|
}
|
|
461
446
|
|
|
@@ -517,14 +502,10 @@
|
|
|
517
502
|
color: inherit;
|
|
518
503
|
}
|
|
519
504
|
|
|
520
|
-
.cirth [hidden]
|
|
505
|
+
.cirth [hidden]:where(:not([hidden="until-found"])) {
|
|
521
506
|
display: none;
|
|
522
507
|
}
|
|
523
508
|
|
|
524
|
-
.cirth canvas {
|
|
525
|
-
display: inline-block;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
509
|
.cirth input, .cirth optgroup, .cirth select, .cirth textarea {
|
|
529
510
|
font-size: var(--cirth-font-size-md);
|
|
530
511
|
line-height: var(--cirth-line-height);
|
|
@@ -533,26 +514,7 @@
|
|
|
533
514
|
font-family: inherit;
|
|
534
515
|
}
|
|
535
516
|
|
|
536
|
-
.cirth input {
|
|
537
|
-
overflow: visible;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.cirth select {
|
|
541
|
-
text-transform: none;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
517
|
.cirth legend {
|
|
545
|
-
max-width: 100%;
|
|
546
|
-
color: inherit;
|
|
547
|
-
white-space: normal;
|
|
548
|
-
padding: 0;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
.cirth textarea {
|
|
552
|
-
overflow: auto;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
.cirth [type="checkbox"], .cirth [type="radio"] {
|
|
556
518
|
padding: 0;
|
|
557
519
|
}
|
|
558
520
|
|
|
@@ -573,28 +535,15 @@
|
|
|
573
535
|
-webkit-appearance: none;
|
|
574
536
|
}
|
|
575
537
|
|
|
576
|
-
.cirth
|
|
538
|
+
.cirth ::file-selector-button {
|
|
577
539
|
-webkit-appearance: button;
|
|
578
540
|
font: inherit;
|
|
579
541
|
}
|
|
580
542
|
|
|
581
|
-
.cirth ::-moz-focus-inner {
|
|
582
|
-
border-style: none;
|
|
583
|
-
padding: 0;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
.cirth :-moz-focusring {
|
|
587
|
-
outline: none;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
543
|
.cirth :-moz-ui-invalid {
|
|
591
544
|
box-shadow: none;
|
|
592
545
|
}
|
|
593
546
|
|
|
594
|
-
.cirth ::-ms-expand {
|
|
595
|
-
display: none;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
547
|
.cirth [type="file"], .cirth [type="range"] {
|
|
599
548
|
border-width: 0;
|
|
600
549
|
padding: 0;
|
|
@@ -671,11 +620,10 @@
|
|
|
671
620
|
}
|
|
672
621
|
|
|
673
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] {
|
|
623
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
674
624
|
background-position: center right var(--cirth-space-3);
|
|
675
625
|
background-size: var(--cirth-size-4) auto;
|
|
676
626
|
background-repeat: no-repeat;
|
|
677
|
-
padding-inline-start: var(--cirth-form-element-spacing-horizontal);
|
|
678
|
-
padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
679
627
|
}
|
|
680
628
|
|
|
681
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) {
|
|
@@ -725,32 +673,16 @@
|
|
|
725
673
|
opacity: 1;
|
|
726
674
|
}
|
|
727
675
|
|
|
728
|
-
.cirth input::-webkit-input-placeholder {
|
|
729
|
-
color: var(--cirth-form-element-placeholder-color);
|
|
730
|
-
opacity: 1;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
.cirth textarea::-webkit-input-placeholder {
|
|
734
|
-
color: var(--cirth-form-element-placeholder-color);
|
|
735
|
-
opacity: 1;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
676
|
.cirth input:not([type="checkbox"], [type="radio"]), .cirth select, .cirth textarea {
|
|
739
677
|
margin-bottom: var(--cirth-spacing);
|
|
740
678
|
}
|
|
741
679
|
|
|
742
|
-
.cirth select::-ms-expand {
|
|
743
|
-
background-color: #0000;
|
|
744
|
-
border: 0;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
680
|
.cirth select:not([multiple], [size]) {
|
|
681
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
748
682
|
background-image: var(--cirth-icon-chevron);
|
|
749
683
|
background-position: center right var(--cirth-space-3);
|
|
750
684
|
background-size: var(--cirth-size-4) auto;
|
|
751
685
|
background-repeat: no-repeat;
|
|
752
|
-
padding-inline-start: var(--cirth-form-element-spacing-horizontal);
|
|
753
|
-
padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
754
686
|
}
|
|
755
687
|
|
|
756
688
|
.cirth select[multiple] option:checked {
|
|
@@ -950,39 +882,42 @@
|
|
|
950
882
|
background-image: var(--cirth-icon-time);
|
|
951
883
|
}
|
|
952
884
|
|
|
885
|
+
.cirth ::-webkit-date-and-time-value {
|
|
886
|
+
text-align: inherit;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.cirth ::-webkit-datetime-edit {
|
|
890
|
+
padding-block: 0;
|
|
891
|
+
}
|
|
892
|
+
|
|
953
893
|
.cirth [type="date"]::-webkit-calendar-picker-indicator {
|
|
954
894
|
width: var(--cirth-icon-width);
|
|
895
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
955
896
|
opacity: 0;
|
|
956
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
957
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
958
897
|
}
|
|
959
898
|
|
|
960
899
|
.cirth [type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
961
900
|
width: var(--cirth-icon-width);
|
|
901
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
962
902
|
opacity: 0;
|
|
963
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
964
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
965
903
|
}
|
|
966
904
|
|
|
967
905
|
.cirth [type="month"]::-webkit-calendar-picker-indicator {
|
|
968
906
|
width: var(--cirth-icon-width);
|
|
907
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
969
908
|
opacity: 0;
|
|
970
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
971
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
972
909
|
}
|
|
973
910
|
|
|
974
911
|
.cirth [type="time"]::-webkit-calendar-picker-indicator {
|
|
975
912
|
width: var(--cirth-icon-width);
|
|
913
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
976
914
|
opacity: 0;
|
|
977
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
978
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
979
915
|
}
|
|
980
916
|
|
|
981
917
|
.cirth [type="week"]::-webkit-calendar-picker-indicator {
|
|
982
918
|
width: var(--cirth-icon-width);
|
|
919
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
983
920
|
opacity: 0;
|
|
984
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
985
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
986
921
|
}
|
|
987
922
|
|
|
988
923
|
@-moz-document url-prefix() {
|
|
@@ -1854,7 +1789,7 @@
|
|
|
1854
1789
|
opacity: 0;
|
|
1855
1790
|
}
|
|
1856
1791
|
|
|
1857
|
-
|
|
1792
|
+
100% {
|
|
1858
1793
|
transform: var(--cirth-tooltip-caret-slide-to);
|
|
1859
1794
|
opacity: 1;
|
|
1860
1795
|
}
|
|
@@ -1873,14 +1808,10 @@
|
|
|
1873
1808
|
}
|
|
1874
1809
|
|
|
1875
1810
|
.cirth [aria-hidden="false"][hidden]:not(:focus) {
|
|
1876
|
-
clip:
|
|
1811
|
+
clip-path: inset(50%);
|
|
1877
1812
|
position: absolute;
|
|
1878
1813
|
}
|
|
1879
1814
|
|
|
1880
|
-
.cirth a, .cirth area, .cirth button, .cirth input, .cirth label, .cirth select, .cirth summary, .cirth textarea, .cirth [tabindex] {
|
|
1881
|
-
-ms-touch-action: manipulation;
|
|
1882
|
-
}
|
|
1883
|
-
|
|
1884
1815
|
.cirth [dir="rtl"] {
|
|
1885
1816
|
direction: rtl;
|
|
1886
1817
|
}
|
|
@@ -2039,6 +1970,7 @@
|
|
|
2039
1970
|
|
|
2040
1971
|
.cirth small {
|
|
2041
1972
|
--cirth-font-size: .875em;
|
|
1973
|
+
font-size: var(--cirth-font-size);
|
|
2042
1974
|
}
|
|
2043
1975
|
|
|
2044
1976
|
.cirth h1, .cirth h2, .cirth h3 {
|