@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/README.md
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
Include one stylesheet and write ordinary semantic HTML.
|
|
53
53
|
|
|
54
54
|
```html
|
|
55
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@cirthcss/cirth@0.
|
|
55
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@cirthcss/cirth@0.7.0/dist/cirth.min.css">
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
```html
|
package/dist/cirth.classless.css
CHANGED
|
@@ -247,7 +247,6 @@ button {
|
|
|
247
247
|
text-transform: none;
|
|
248
248
|
margin: 0;
|
|
249
249
|
font-family: inherit;
|
|
250
|
-
overflow: visible;
|
|
251
250
|
}
|
|
252
251
|
|
|
253
252
|
button, [type="submit"], [type="reset"], [type="button"] {
|
|
@@ -396,6 +395,7 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
|
|
|
396
395
|
border-collapse: collapse;
|
|
397
396
|
border-spacing: 0;
|
|
398
397
|
text-indent: 0;
|
|
398
|
+
border-color: currentColor;
|
|
399
399
|
width: 100%;
|
|
400
400
|
}
|
|
401
401
|
|
|
@@ -417,21 +417,11 @@ tfoot th, tfoot td {
|
|
|
417
417
|
vertical-align: middle;
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
audio, video {
|
|
421
|
-
display: inline-block;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
audio:not([controls]) {
|
|
425
|
-
height: 0;
|
|
426
|
-
display: none;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
420
|
:where(iframe) {
|
|
430
421
|
border-style: none;
|
|
431
422
|
}
|
|
432
423
|
|
|
433
424
|
img {
|
|
434
|
-
border-style: none;
|
|
435
425
|
max-width: 100%;
|
|
436
426
|
}
|
|
437
427
|
|
|
@@ -443,10 +433,6 @@ img:where(:not([height]), [width][height]) {
|
|
|
443
433
|
fill: currentColor;
|
|
444
434
|
}
|
|
445
435
|
|
|
446
|
-
svg:not(:root), svg:not(:host) {
|
|
447
|
-
overflow: hidden;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
436
|
pre, code, kbd, samp {
|
|
451
437
|
font-size: .875em;
|
|
452
438
|
font-family: var(--cirth-font-family);
|
|
@@ -458,7 +444,6 @@ pre code, pre samp {
|
|
|
458
444
|
}
|
|
459
445
|
|
|
460
446
|
pre {
|
|
461
|
-
-ms-overflow-style: scrollbar;
|
|
462
447
|
overflow: auto;
|
|
463
448
|
}
|
|
464
449
|
|
|
@@ -520,14 +505,10 @@ hr {
|
|
|
520
505
|
color: inherit;
|
|
521
506
|
}
|
|
522
507
|
|
|
523
|
-
[hidden]
|
|
508
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
524
509
|
display: none;
|
|
525
510
|
}
|
|
526
511
|
|
|
527
|
-
canvas {
|
|
528
|
-
display: inline-block;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
512
|
input, optgroup, select, textarea {
|
|
532
513
|
font-size: var(--cirth-font-size-md);
|
|
533
514
|
line-height: var(--cirth-line-height);
|
|
@@ -536,26 +517,7 @@ input, optgroup, select, textarea {
|
|
|
536
517
|
font-family: inherit;
|
|
537
518
|
}
|
|
538
519
|
|
|
539
|
-
input {
|
|
540
|
-
overflow: visible;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
select {
|
|
544
|
-
text-transform: none;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
520
|
legend {
|
|
548
|
-
max-width: 100%;
|
|
549
|
-
color: inherit;
|
|
550
|
-
white-space: normal;
|
|
551
|
-
padding: 0;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
textarea {
|
|
555
|
-
overflow: auto;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
[type="checkbox"], [type="radio"] {
|
|
559
521
|
padding: 0;
|
|
560
522
|
}
|
|
561
523
|
|
|
@@ -576,28 +538,15 @@ textarea {
|
|
|
576
538
|
-webkit-appearance: none;
|
|
577
539
|
}
|
|
578
540
|
|
|
579
|
-
|
|
541
|
+
::file-selector-button {
|
|
580
542
|
-webkit-appearance: button;
|
|
581
543
|
font: inherit;
|
|
582
544
|
}
|
|
583
545
|
|
|
584
|
-
::-moz-focus-inner {
|
|
585
|
-
border-style: none;
|
|
586
|
-
padding: 0;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
:-moz-focusring {
|
|
590
|
-
outline: none;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
546
|
:-moz-ui-invalid {
|
|
594
547
|
box-shadow: none;
|
|
595
548
|
}
|
|
596
549
|
|
|
597
|
-
::-ms-expand {
|
|
598
|
-
display: none;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
550
|
[type="file"], [type="range"] {
|
|
602
551
|
border-width: 0;
|
|
603
552
|
padding: 0;
|
|
@@ -674,11 +623,10 @@ label[aria-disabled="true"] input[disabled] {
|
|
|
674
623
|
}
|
|
675
624
|
|
|
676
625
|
:where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
|
|
626
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
677
627
|
background-position: center right var(--cirth-space-3);
|
|
678
628
|
background-size: var(--cirth-size-4) auto;
|
|
679
629
|
background-repeat: no-repeat;
|
|
680
|
-
padding-inline-start: var(--cirth-form-element-spacing-horizontal);
|
|
681
|
-
padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
682
630
|
}
|
|
683
631
|
|
|
684
632
|
: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) {
|
|
@@ -728,32 +676,16 @@ input::placeholder, textarea::placeholder, select:invalid {
|
|
|
728
676
|
opacity: 1;
|
|
729
677
|
}
|
|
730
678
|
|
|
731
|
-
input::-webkit-input-placeholder {
|
|
732
|
-
color: var(--cirth-form-element-placeholder-color);
|
|
733
|
-
opacity: 1;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
textarea::-webkit-input-placeholder {
|
|
737
|
-
color: var(--cirth-form-element-placeholder-color);
|
|
738
|
-
opacity: 1;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
679
|
input:not([type="checkbox"], [type="radio"]), select, textarea {
|
|
742
680
|
margin-bottom: var(--cirth-spacing);
|
|
743
681
|
}
|
|
744
682
|
|
|
745
|
-
select::-ms-expand {
|
|
746
|
-
background-color: #0000;
|
|
747
|
-
border: 0;
|
|
748
|
-
}
|
|
749
|
-
|
|
750
683
|
select:not([multiple], [size]) {
|
|
684
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
751
685
|
background-image: var(--cirth-icon-chevron);
|
|
752
686
|
background-position: center right var(--cirth-space-3);
|
|
753
687
|
background-size: var(--cirth-size-4) auto;
|
|
754
688
|
background-repeat: no-repeat;
|
|
755
|
-
padding-inline-start: var(--cirth-form-element-spacing-horizontal);
|
|
756
|
-
padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
757
689
|
}
|
|
758
690
|
|
|
759
691
|
select[multiple] option:checked {
|
|
@@ -953,39 +885,42 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
|
|
|
953
885
|
background-image: var(--cirth-icon-time);
|
|
954
886
|
}
|
|
955
887
|
|
|
888
|
+
::-webkit-date-and-time-value {
|
|
889
|
+
text-align: inherit;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
::-webkit-datetime-edit {
|
|
893
|
+
padding-block: 0;
|
|
894
|
+
}
|
|
895
|
+
|
|
956
896
|
[type="date"]::-webkit-calendar-picker-indicator {
|
|
957
897
|
width: var(--cirth-icon-width);
|
|
898
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
958
899
|
opacity: 0;
|
|
959
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
960
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
961
900
|
}
|
|
962
901
|
|
|
963
902
|
[type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
964
903
|
width: var(--cirth-icon-width);
|
|
904
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
965
905
|
opacity: 0;
|
|
966
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
967
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
968
906
|
}
|
|
969
907
|
|
|
970
908
|
[type="month"]::-webkit-calendar-picker-indicator {
|
|
971
909
|
width: var(--cirth-icon-width);
|
|
910
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
972
911
|
opacity: 0;
|
|
973
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
974
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
975
912
|
}
|
|
976
913
|
|
|
977
914
|
[type="time"]::-webkit-calendar-picker-indicator {
|
|
978
915
|
width: var(--cirth-icon-width);
|
|
916
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
979
917
|
opacity: 0;
|
|
980
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
981
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
982
918
|
}
|
|
983
919
|
|
|
984
920
|
[type="week"]::-webkit-calendar-picker-indicator {
|
|
985
921
|
width: var(--cirth-icon-width);
|
|
922
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
986
923
|
opacity: 0;
|
|
987
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
988
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
989
924
|
}
|
|
990
925
|
|
|
991
926
|
@-moz-document url-prefix() {
|
|
@@ -1857,7 +1792,7 @@ progress::-moz-progress-bar {
|
|
|
1857
1792
|
opacity: 0;
|
|
1858
1793
|
}
|
|
1859
1794
|
|
|
1860
|
-
|
|
1795
|
+
100% {
|
|
1861
1796
|
transform: var(--cirth-tooltip-caret-slide-to);
|
|
1862
1797
|
opacity: 1;
|
|
1863
1798
|
}
|
|
@@ -1876,14 +1811,10 @@ progress::-moz-progress-bar {
|
|
|
1876
1811
|
}
|
|
1877
1812
|
|
|
1878
1813
|
[aria-hidden="false"][hidden]:not(:focus) {
|
|
1879
|
-
clip:
|
|
1814
|
+
clip-path: inset(50%);
|
|
1880
1815
|
position: absolute;
|
|
1881
1816
|
}
|
|
1882
1817
|
|
|
1883
|
-
a, area, button, input, label, select, summary, textarea, [tabindex] {
|
|
1884
|
-
-ms-touch-action: manipulation;
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
1818
|
[dir="rtl"] {
|
|
1888
1819
|
direction: rtl;
|
|
1889
1820
|
}
|
|
@@ -2042,6 +1973,7 @@ a {
|
|
|
2042
1973
|
|
|
2043
1974
|
small {
|
|
2044
1975
|
--cirth-font-size: .875em;
|
|
1976
|
+
font-size: var(--cirth-font-size);
|
|
2045
1977
|
}
|
|
2046
1978
|
|
|
2047
1979
|
h1, h2, h3 {
|