@cirthcss/cirth 0.10.0 → 0.11.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.
@@ -10,6 +10,7 @@
10
10
  }
11
11
 
12
12
  .cirth {
13
+ scrollbar-gutter: stable;
13
14
  -webkit-tap-highlight-color: transparent;
14
15
  -webkit-text-size-adjust: 100%;
15
16
  -moz-text-size-adjust: 100%;
@@ -726,14 +727,6 @@
726
727
  margin-inline-end: .5em;
727
728
  }
728
729
 
729
- .cirth [type="checkbox"]::-ms-check {
730
- display: none;
731
- }
732
-
733
- .cirth [type="radio"]::-ms-check {
734
- display: none;
735
- }
736
-
737
730
  .cirth [type="checkbox"]:checked, .cirth [type="checkbox"]:checked:active, .cirth [type="checkbox"]:checked:focus, .cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
738
731
  --cirth-background-color: var(--cirth-primary-background);
739
732
  --cirth-border-color: var(--cirth-primary-border);
@@ -964,14 +957,6 @@
964
957
  transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
965
958
  }
966
959
 
967
- .cirth [type="range"]::-ms-track {
968
- border-radius: var(--cirth-border-radius);
969
- background-color: var(--cirth-range-border-color);
970
- width: 100%;
971
- height: .375rem;
972
- transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
973
- }
974
-
975
960
  .cirth [type="range"]::-webkit-slider-thumb {
976
961
  -webkit-appearance: none;
977
962
  border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
@@ -985,19 +970,6 @@
985
970
  }
986
971
 
987
972
  .cirth [type="range"]::-moz-range-thumb {
988
- -webkit-appearance: none;
989
- border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
990
- background-color: var(--cirth-range-thumb-color);
991
- cursor: pointer;
992
- width: 1.25rem;
993
- height: 1.25rem;
994
- transition: background-color var(--cirth-transition), transform var(--cirth-transition);
995
- border-radius: 50%;
996
- margin-top: -.4375rem;
997
- }
998
-
999
- .cirth [type="range"]::-ms-thumb {
1000
- -webkit-appearance: none;
1001
973
  border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
1002
974
  background-color: var(--cirth-range-thumb-color);
1003
975
  cursor: pointer;
@@ -1021,10 +993,6 @@
1021
993
  transform: scale(1.25);
1022
994
  }
1023
995
 
1024
- .cirth [type="range"]:active::-ms-thumb {
1025
- transform: scale(1.25);
1026
- }
1027
-
1028
996
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1029
997
  background-image: var(--cirth-icon-search);
1030
998
  background-position: center left var(--cirth-form-element-spacing-horizontal);
@@ -1078,10 +1046,6 @@
1078
1046
  display: none;
1079
1047
  }
1080
1048
 
1081
- .cirth details summary::-moz-list-bullet {
1082
- list-style-type: none;
1083
- }
1084
-
1085
1049
  .cirth details summary:after {
1086
1050
  width: var(--cirth-size-4);
1087
1051
  height: var(--cirth-size-4);
@@ -1439,17 +1403,14 @@
1439
1403
  background: var(--cirth-meter-even-less-good-color);
1440
1404
  }
1441
1405
 
1442
- .cirth {
1443
- --cirth-scrollbar-width: 0px;
1444
- }
1445
-
1446
1406
  .cirth dialog {
1407
+ opacity: 0;
1408
+ transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
1447
1409
  z-index: var(--cirth-z-index-modal);
1448
1410
  width: inherit;
1449
1411
  min-width: 100%;
1450
1412
  height: inherit;
1451
1413
  min-height: 100%;
1452
- -webkit-backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
1453
1414
  backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
1454
1415
  background-color: var(--cirth-modal-overlay-background-color);
1455
1416
  color: var(--cirth-color);
@@ -1462,7 +1423,25 @@
1462
1423
  inset: 0;
1463
1424
  }
1464
1425
 
1426
+ .cirth dialog[open] {
1427
+ opacity: 1;
1428
+ }
1429
+
1430
+ @starting-style {
1431
+ .cirth dialog[open] {
1432
+ opacity: 0;
1433
+ }
1434
+ }
1435
+
1436
+ @starting-style {
1437
+ .cirth dialog[open] > article {
1438
+ opacity: 0;
1439
+ transform: translateY(-100%);
1440
+ }
1441
+ }
1442
+
1465
1443
  .cirth dialog > article {
1444
+ transition: opacity var(--cirth-transition), transform var(--cirth-transition);
1466
1445
  width: 100%;
1467
1446
  max-height: calc(100vh - var(--cirth-spacing) * 2);
1468
1447
  max-height: calc(100dvh - var(--cirth-spacing) * 2);
@@ -1470,13 +1449,13 @@
1470
1449
  overflow: auto;
1471
1450
  }
1472
1451
 
1473
- @media (min-width: 576px) {
1452
+ @media (width >= 576px) {
1474
1453
  .cirth dialog > article {
1475
1454
  max-width: 510px;
1476
1455
  }
1477
1456
  }
1478
1457
 
1479
- @media (min-width: 768px) {
1458
+ @media (width >= 768px) {
1480
1459
  .cirth dialog > article {
1481
1460
  max-width: 700px;
1482
1461
  }
@@ -1641,6 +1620,33 @@
1641
1620
  margin: inherit;
1642
1621
  }
1643
1622
 
1623
+ .cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog) {
1624
+ --cirth-popover-display: block;
1625
+ display: none;
1626
+ }
1627
+
1628
+ .cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
1629
+ display: var(--cirth-popover-display);
1630
+ max-width: var(--cirth-popover-max-width);
1631
+ padding: var(--cirth-space-2) var(--cirth-space-3);
1632
+ border: var(--cirth-border-width) solid var(--cirth-popover-border-color);
1633
+ border-radius: var(--cirth-border-radius);
1634
+ background-color: var(--cirth-popover-background-color);
1635
+ box-shadow: var(--cirth-popover-box-shadow);
1636
+ color: var(--cirth-popover-color);
1637
+ transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
1638
+ }
1639
+
1640
+ @starting-style {
1641
+ .cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
1642
+ opacity: 0;
1643
+ }
1644
+ }
1645
+
1646
+ .cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):not(:popover-open) {
1647
+ opacity: 0;
1648
+ }
1649
+
1644
1650
  .cirth progress {
1645
1651
  vertical-align: baseline;
1646
1652
  appearance: none;
@@ -1650,7 +1656,6 @@
1650
1656
  border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
1651
1657
  border-radius: var(--cirth-border-radius);
1652
1658
  background-color: var(--cirth-progress-background-color);
1653
- color: var(--cirth-progress-color);
1654
1659
  display: inline-block;
1655
1660
  overflow: hidden;
1656
1661
  }
@@ -1698,160 +1703,6 @@
1698
1703
  }
1699
1704
  }
1700
1705
 
1701
- .cirth [data-tooltip] {
1702
- position: relative;
1703
- }
1704
-
1705
- .cirth [data-tooltip]:not(a, button, input, [role="button"]) {
1706
- border-bottom: var(--cirth-border-width-1) dotted;
1707
- cursor: help;
1708
- text-decoration: none;
1709
- }
1710
-
1711
- .cirth [data-tooltip][data-placement="top"]:before, .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:before, .cirth [data-tooltip]:after {
1712
- z-index: var(--cirth-z-index-tooltip);
1713
- padding: var(--cirth-space-1) var(--cirth-space-2);
1714
- border-radius: var(--cirth-border-radius);
1715
- background: var(--cirth-tooltip-background-color);
1716
- content: attr(data-tooltip);
1717
- color: var(--cirth-tooltip-color);
1718
- font-style: normal;
1719
- font-weight: var(--cirth-font-weight);
1720
- font-size: var(--cirth-font-size-sm);
1721
- text-overflow: ellipsis;
1722
- white-space: nowrap;
1723
- opacity: 0;
1724
- pointer-events: none;
1725
- text-decoration: none;
1726
- display: block;
1727
- position: absolute;
1728
- bottom: 100%;
1729
- left: 50%;
1730
- overflow: hidden;
1731
- transform: translate(-50%, -.25rem);
1732
- }
1733
-
1734
- .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:after {
1735
- content: "";
1736
- color: var(--cirth-tooltip-background-color);
1737
- background-color: #0000;
1738
- border-top: .3rem solid;
1739
- border-left: .3rem solid #0000;
1740
- border-right: .3rem solid #0000;
1741
- border-radius: 0;
1742
- padding: 0;
1743
- transform: translate(-50%);
1744
- }
1745
-
1746
- .cirth [data-tooltip][data-placement="bottom"]:before, .cirth [data-tooltip][data-placement="bottom"]:after {
1747
- top: 100%;
1748
- bottom: auto;
1749
- transform: translate(-50%, .25rem);
1750
- }
1751
-
1752
- .cirth [data-tooltip][data-placement="bottom"]:after {
1753
- border: .3rem solid #0000;
1754
- border-bottom-color: currentColor;
1755
- transform: translate(-50%, -.3rem);
1756
- }
1757
-
1758
- .cirth [data-tooltip][data-placement="left"]:before, .cirth [data-tooltip][data-placement="left"]:after {
1759
- inset: 50% 100% auto auto;
1760
- transform: translate(-.25rem, -50%);
1761
- }
1762
-
1763
- .cirth [data-tooltip][data-placement="left"]:after {
1764
- border: .3rem solid #0000;
1765
- border-left-color: currentColor;
1766
- transform: translate(.3rem, -50%);
1767
- }
1768
-
1769
- .cirth [data-tooltip][data-placement="right"]:before, .cirth [data-tooltip][data-placement="right"]:after {
1770
- inset: 50% auto auto 100%;
1771
- transform: translate(.25rem, -50%);
1772
- }
1773
-
1774
- .cirth [data-tooltip][data-placement="right"]:after {
1775
- border: .3rem solid #0000;
1776
- border-right-color: currentColor;
1777
- transform: translate(-.3rem, -50%);
1778
- }
1779
-
1780
- .cirth [data-tooltip]:focus:before, .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:before, .cirth [data-tooltip]:hover:after {
1781
- opacity: 1;
1782
- }
1783
-
1784
- @media (hover: hover) and (pointer: fine) {
1785
- .cirth [data-tooltip]:focus:before, .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:before, .cirth [data-tooltip]:hover:after {
1786
- --cirth-tooltip-slide-to: translate(-50%, -.25rem);
1787
- animation-duration: var(--cirth-duration-normal);
1788
- opacity: 0;
1789
- animation-name: tooltip-slide;
1790
- animation-fill-mode: forwards;
1791
- transform: translate(-50%, .75rem);
1792
- }
1793
-
1794
- .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:after {
1795
- --cirth-tooltip-caret-slide-to: translate(-50%, 0rem);
1796
- animation-name: tooltip-caret-slide;
1797
- transform: translate(-50%, -.25rem);
1798
- }
1799
-
1800
- .cirth [data-tooltip][data-placement="bottom"]:focus:before, .cirth [data-tooltip][data-placement="bottom"]:focus:after, .cirth [data-tooltip][data-placement="bottom"]:hover:before, .cirth [data-tooltip][data-placement="bottom"]:hover:after {
1801
- --cirth-tooltip-slide-to: translate(-50%, .25rem);
1802
- animation-name: tooltip-slide;
1803
- transform: translate(-50%, -.75rem);
1804
- }
1805
-
1806
- .cirth [data-tooltip][data-placement="bottom"]:focus:after, .cirth [data-tooltip][data-placement="bottom"]:hover:after {
1807
- --cirth-tooltip-caret-slide-to: translate(-50%, -.3rem);
1808
- animation-name: tooltip-caret-slide;
1809
- transform: translate(-50%, -.5rem);
1810
- }
1811
-
1812
- .cirth [data-tooltip][data-placement="left"]:focus:before, .cirth [data-tooltip][data-placement="left"]:focus:after, .cirth [data-tooltip][data-placement="left"]:hover:before, .cirth [data-tooltip][data-placement="left"]:hover:after {
1813
- --cirth-tooltip-slide-to: translate(-.25rem, -50%);
1814
- animation-name: tooltip-slide;
1815
- transform: translate(.75rem, -50%);
1816
- }
1817
-
1818
- .cirth [data-tooltip][data-placement="left"]:focus:after, .cirth [data-tooltip][data-placement="left"]:hover:after {
1819
- --cirth-tooltip-caret-slide-to: translate(.3rem, -50%);
1820
- animation-name: tooltip-caret-slide;
1821
- transform: translate(.05rem, -50%);
1822
- }
1823
-
1824
- .cirth [data-tooltip][data-placement="right"]:focus:before, .cirth [data-tooltip][data-placement="right"]:focus:after, .cirth [data-tooltip][data-placement="right"]:hover:before, .cirth [data-tooltip][data-placement="right"]:hover:after {
1825
- --cirth-tooltip-slide-to: translate(.25rem, -50%);
1826
- animation-name: tooltip-slide;
1827
- transform: translate(-.75rem, -50%);
1828
- }
1829
-
1830
- .cirth [data-tooltip][data-placement="right"]:focus:after, .cirth [data-tooltip][data-placement="right"]:hover:after {
1831
- --cirth-tooltip-caret-slide-to: translate(-.3rem, -50%);
1832
- animation-name: tooltip-caret-slide;
1833
- transform: translate(-.05rem, -50%);
1834
- }
1835
- }
1836
-
1837
- @keyframes tooltip-slide {
1838
- to {
1839
- transform: var(--cirth-tooltip-slide-to);
1840
- opacity: 1;
1841
- }
1842
- }
1843
-
1844
- @keyframes tooltip-caret-slide {
1845
- 50% {
1846
- opacity: 0;
1847
- }
1848
-
1849
- 100% {
1850
- transform: var(--cirth-tooltip-caret-slide-to);
1851
- opacity: 1;
1852
- }
1853
- }
1854
-
1855
1706
  .cirth [aria-controls] {
1856
1707
  cursor: pointer;
1857
1708
  }
@@ -1978,7 +1829,6 @@
1978
1829
  --cirth-z-index-fixed: 1030;
1979
1830
  --cirth-z-index-modal-backdrop: 1040;
1980
1831
  --cirth-z-index-modal: 1050;
1981
- --cirth-z-index-tooltip: 1070;
1982
1832
  --cirth-font-family: var(--cirth-font-family-sans);
1983
1833
  --cirth-line-height: var(--cirth-line-height-normal);
1984
1834
  --cirth-font-weight: var(--cirth-font-weight-regular);
@@ -2008,20 +1858,25 @@
2008
1858
  var(--cirth-form-element-border-color);
2009
1859
  --cirth-meter-background-color: var(--cirth-progress-background-color);
2010
1860
  --cirth-meter-border-color: var(--cirth-progress-border-color);
1861
+ --cirth-popover-background-color: var(--cirth-card-background-color);
1862
+ --cirth-popover-border-color: var(--cirth-muted-border-color);
1863
+ --cirth-popover-color: var(--cirth-color);
1864
+ --cirth-popover-box-shadow: var(--cirth-box-shadow);
1865
+ --cirth-popover-max-width: min(30rem, 100% - var(--cirth-spacing) * 2);
2011
1866
  --cirth-modal-overlay-backdrop-filter: blur(.375rem);
2012
1867
  --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
2013
1868
  --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
2014
1869
  --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2015
1870
  --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2016
1871
  --cirth-nav-breadcrumb-divider: ">";
2017
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2018
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
2019
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2020
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2021
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2022
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2023
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
2024
- --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 146, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
1872
+ --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
1873
+ --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
1874
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
1875
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
1876
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
1877
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
1878
+ --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
1879
+ --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 146, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
2025
1880
  }
2026
1881
 
2027
1882
  .cirth a {
@@ -2251,10 +2106,8 @@
2251
2106
  --cirth-progress-background-color: oklch(91.7% .006 264);
2252
2107
  --cirth-progress-border-color: oklch(61.3% .032 264);
2253
2108
  --cirth-progress-color: var(--cirth-primary-background);
2254
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
2255
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
2256
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(40, 124, 87)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2257
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2109
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(40, 124, 87)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2110
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2258
2111
  }
2259
2112
 
2260
2113
  .cirth:where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth:where(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
@@ -2363,10 +2216,8 @@
2363
2216
  --cirth-progress-background-color: oklch(26.7% .011 264);
2364
2217
  --cirth-progress-border-color: oklch(52.7% .032 264);
2365
2218
  --cirth-progress-color: oklch(61.3% .113 69.35);
2366
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
2367
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
2368
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2369
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2219
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2220
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2370
2221
  }
2371
2222
 
2372
2223
  .cirth:where(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
@@ -2475,10 +2326,8 @@
2475
2326
  --cirth-progress-background-color: oklch(26.7% .011 264);
2476
2327
  --cirth-progress-border-color: oklch(52.7% .032 264);
2477
2328
  --cirth-progress-color: oklch(61.3% .113 69.35);
2478
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
2479
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
2480
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2481
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2329
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2330
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2482
2331
  }
2483
2332
 
2484
2333
  .cirth:where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
@@ -2689,7 +2538,6 @@
2689
2538
  }
2690
2539
 
2691
2540
  .cirth dialog {
2692
- -webkit-backdrop-filter: none;
2693
2541
  backdrop-filter: none;
2694
2542
  min-width: 0;
2695
2543
  min-height: 0;