@cirthcss/cirth 0.6.0 → 0.8.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 +27 -121
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +27 -121
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +80 -125
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.scoped.css +80 -125
- package/dist/cirth.scoped.min.css +1 -1
- package/package.json +5 -6
|
@@ -33,40 +33,13 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.cirth > header, .cirth > main, .cirth > footer {
|
|
36
|
-
|
|
37
|
-
padding: var(--cirth-block-spacing-vertical)
|
|
38
|
-
|
|
36
|
+
grid-template-columns: minmax(var(--cirth-spacing), 1fr) minmax(0, var(--cirth-container-max-width)) minmax(var(--cirth-spacing), 1fr);
|
|
37
|
+
padding-block: var(--cirth-block-spacing-vertical);
|
|
38
|
+
display: grid;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
max-width: 510px;
|
|
44
|
-
padding-inline: 0;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media (min-width: 768px) {
|
|
49
|
-
.cirth > header, .cirth > main, .cirth > footer {
|
|
50
|
-
max-width: 700px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@media (min-width: 1024px) {
|
|
55
|
-
.cirth > header, .cirth > main, .cirth > footer {
|
|
56
|
-
max-width: 950px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@media (min-width: 1280px) {
|
|
61
|
-
.cirth > header, .cirth > main, .cirth > footer {
|
|
62
|
-
max-width: 1200px;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@media (min-width: 1536px) {
|
|
67
|
-
.cirth > header, .cirth > main, .cirth > footer {
|
|
68
|
-
max-width: 1450px;
|
|
69
|
-
}
|
|
41
|
+
.cirth > header > *, .cirth > main > *, .cirth > footer > * {
|
|
42
|
+
grid-column: 2;
|
|
70
43
|
}
|
|
71
44
|
|
|
72
45
|
.cirth section {
|
|
@@ -244,7 +217,6 @@
|
|
|
244
217
|
text-transform: none;
|
|
245
218
|
margin: 0;
|
|
246
219
|
font-family: inherit;
|
|
247
|
-
overflow: visible;
|
|
248
220
|
}
|
|
249
221
|
|
|
250
222
|
.cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
|
|
@@ -393,6 +365,7 @@
|
|
|
393
365
|
border-collapse: collapse;
|
|
394
366
|
border-spacing: 0;
|
|
395
367
|
text-indent: 0;
|
|
368
|
+
border-color: currentColor;
|
|
396
369
|
width: 100%;
|
|
397
370
|
}
|
|
398
371
|
|
|
@@ -414,21 +387,11 @@
|
|
|
414
387
|
vertical-align: middle;
|
|
415
388
|
}
|
|
416
389
|
|
|
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
390
|
.cirth :where(iframe) {
|
|
427
391
|
border-style: none;
|
|
428
392
|
}
|
|
429
393
|
|
|
430
394
|
.cirth img {
|
|
431
|
-
border-style: none;
|
|
432
395
|
max-width: 100%;
|
|
433
396
|
}
|
|
434
397
|
|
|
@@ -440,10 +403,6 @@
|
|
|
440
403
|
fill: currentColor;
|
|
441
404
|
}
|
|
442
405
|
|
|
443
|
-
.cirth svg:not(:root), .cirth svg:not(:host) {
|
|
444
|
-
overflow: hidden;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
406
|
.cirth pre, .cirth code, .cirth kbd, .cirth samp {
|
|
448
407
|
font-size: .875em;
|
|
449
408
|
font-family: var(--cirth-font-family);
|
|
@@ -455,7 +414,6 @@
|
|
|
455
414
|
}
|
|
456
415
|
|
|
457
416
|
.cirth pre {
|
|
458
|
-
-ms-overflow-style: scrollbar;
|
|
459
417
|
overflow: auto;
|
|
460
418
|
}
|
|
461
419
|
|
|
@@ -517,14 +475,10 @@
|
|
|
517
475
|
color: inherit;
|
|
518
476
|
}
|
|
519
477
|
|
|
520
|
-
.cirth [hidden]
|
|
478
|
+
.cirth [hidden]:where(:not([hidden="until-found"])) {
|
|
521
479
|
display: none;
|
|
522
480
|
}
|
|
523
481
|
|
|
524
|
-
.cirth canvas {
|
|
525
|
-
display: inline-block;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
482
|
.cirth input, .cirth optgroup, .cirth select, .cirth textarea {
|
|
529
483
|
font-size: var(--cirth-font-size-md);
|
|
530
484
|
line-height: var(--cirth-line-height);
|
|
@@ -533,26 +487,7 @@
|
|
|
533
487
|
font-family: inherit;
|
|
534
488
|
}
|
|
535
489
|
|
|
536
|
-
.cirth input {
|
|
537
|
-
overflow: visible;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.cirth select {
|
|
541
|
-
text-transform: none;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
490
|
.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
491
|
padding: 0;
|
|
557
492
|
}
|
|
558
493
|
|
|
@@ -573,28 +508,15 @@
|
|
|
573
508
|
-webkit-appearance: none;
|
|
574
509
|
}
|
|
575
510
|
|
|
576
|
-
.cirth
|
|
511
|
+
.cirth ::file-selector-button {
|
|
577
512
|
-webkit-appearance: button;
|
|
578
513
|
font: inherit;
|
|
579
514
|
}
|
|
580
515
|
|
|
581
|
-
.cirth ::-moz-focus-inner {
|
|
582
|
-
border-style: none;
|
|
583
|
-
padding: 0;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
.cirth :-moz-focusring {
|
|
587
|
-
outline: none;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
516
|
.cirth :-moz-ui-invalid {
|
|
591
517
|
box-shadow: none;
|
|
592
518
|
}
|
|
593
519
|
|
|
594
|
-
.cirth ::-ms-expand {
|
|
595
|
-
display: none;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
520
|
.cirth [type="file"], .cirth [type="range"] {
|
|
599
521
|
border-width: 0;
|
|
600
522
|
padding: 0;
|
|
@@ -671,11 +593,10 @@
|
|
|
671
593
|
}
|
|
672
594
|
|
|
673
595
|
.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] {
|
|
596
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
674
597
|
background-position: center right var(--cirth-space-3);
|
|
675
598
|
background-size: var(--cirth-size-4) auto;
|
|
676
599
|
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
600
|
}
|
|
680
601
|
|
|
681
602
|
.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 +646,16 @@
|
|
|
725
646
|
opacity: 1;
|
|
726
647
|
}
|
|
727
648
|
|
|
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
649
|
.cirth input:not([type="checkbox"], [type="radio"]), .cirth select, .cirth textarea {
|
|
739
650
|
margin-bottom: var(--cirth-spacing);
|
|
740
651
|
}
|
|
741
652
|
|
|
742
|
-
.cirth select::-ms-expand {
|
|
743
|
-
background-color: #0000;
|
|
744
|
-
border: 0;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
653
|
.cirth select:not([multiple], [size]) {
|
|
654
|
+
padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
|
|
748
655
|
background-image: var(--cirth-icon-chevron);
|
|
749
656
|
background-position: center right var(--cirth-space-3);
|
|
750
657
|
background-size: var(--cirth-size-4) auto;
|
|
751
658
|
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
659
|
}
|
|
755
660
|
|
|
756
661
|
.cirth select[multiple] option:checked {
|
|
@@ -950,39 +855,42 @@
|
|
|
950
855
|
background-image: var(--cirth-icon-time);
|
|
951
856
|
}
|
|
952
857
|
|
|
858
|
+
.cirth ::-webkit-date-and-time-value {
|
|
859
|
+
text-align: inherit;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.cirth ::-webkit-datetime-edit {
|
|
863
|
+
padding-block: 0;
|
|
864
|
+
}
|
|
865
|
+
|
|
953
866
|
.cirth [type="date"]::-webkit-calendar-picker-indicator {
|
|
954
867
|
width: var(--cirth-icon-width);
|
|
868
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
955
869
|
opacity: 0;
|
|
956
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
957
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
958
870
|
}
|
|
959
871
|
|
|
960
872
|
.cirth [type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
961
873
|
width: var(--cirth-icon-width);
|
|
874
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
962
875
|
opacity: 0;
|
|
963
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
964
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
965
876
|
}
|
|
966
877
|
|
|
967
878
|
.cirth [type="month"]::-webkit-calendar-picker-indicator {
|
|
968
879
|
width: var(--cirth-icon-width);
|
|
880
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
969
881
|
opacity: 0;
|
|
970
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
971
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
972
882
|
}
|
|
973
883
|
|
|
974
884
|
.cirth [type="time"]::-webkit-calendar-picker-indicator {
|
|
975
885
|
width: var(--cirth-icon-width);
|
|
886
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
976
887
|
opacity: 0;
|
|
977
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
978
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
979
888
|
}
|
|
980
889
|
|
|
981
890
|
.cirth [type="week"]::-webkit-calendar-picker-indicator {
|
|
982
891
|
width: var(--cirth-icon-width);
|
|
892
|
+
margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
|
|
983
893
|
opacity: 0;
|
|
984
|
-
margin-inline-start: var(--cirth-icon-position);
|
|
985
|
-
margin-inline-end: calc(var(--cirth-icon-width) * -1);
|
|
986
894
|
}
|
|
987
895
|
|
|
988
896
|
@-moz-document url-prefix() {
|
|
@@ -1854,7 +1762,7 @@
|
|
|
1854
1762
|
opacity: 0;
|
|
1855
1763
|
}
|
|
1856
1764
|
|
|
1857
|
-
|
|
1765
|
+
100% {
|
|
1858
1766
|
transform: var(--cirth-tooltip-caret-slide-to);
|
|
1859
1767
|
opacity: 1;
|
|
1860
1768
|
}
|
|
@@ -1873,14 +1781,10 @@
|
|
|
1873
1781
|
}
|
|
1874
1782
|
|
|
1875
1783
|
.cirth [aria-hidden="false"][hidden]:not(:focus) {
|
|
1876
|
-
clip:
|
|
1784
|
+
clip-path: inset(50%);
|
|
1877
1785
|
position: absolute;
|
|
1878
1786
|
}
|
|
1879
1787
|
|
|
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
1788
|
.cirth [dir="rtl"] {
|
|
1885
1789
|
direction: rtl;
|
|
1886
1790
|
}
|
|
@@ -2009,6 +1913,7 @@
|
|
|
2009
1913
|
--cirth-typography-spacing-vertical: var(--cirth-space-4);
|
|
2010
1914
|
--cirth-block-spacing-vertical: var(--cirth-spacing);
|
|
2011
1915
|
--cirth-block-spacing-horizontal: var(--cirth-spacing);
|
|
1916
|
+
--cirth-container-max-width: 60rem;
|
|
2012
1917
|
--cirth-form-element-spacing-vertical: var(--cirth-space-2);
|
|
2013
1918
|
--cirth-form-element-spacing-horizontal: var(--cirth-space-4);
|
|
2014
1919
|
--cirth-form-label-font-weight: var(--cirth-font-weight);
|
|
@@ -2039,6 +1944,7 @@
|
|
|
2039
1944
|
|
|
2040
1945
|
.cirth small {
|
|
2041
1946
|
--cirth-font-size: .875em;
|
|
1947
|
+
font-size: var(--cirth-font-size);
|
|
2042
1948
|
}
|
|
2043
1949
|
|
|
2044
1950
|
.cirth h1, .cirth h2, .cirth h3 {
|