@cirthcss/cirth 0.9.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.
- package/README.md +34 -13
- package/dist/cirth.classless.css +365 -224
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +353 -224
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +374 -272
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.scoped.css +365 -275
- package/dist/cirth.scoped.min.css +1 -1
- package/dist/presets/cobalt.css +39 -3
- package/dist/presets/cobalt.min.css +1 -1
- package/dist/presets/coral.css +41 -3
- package/dist/presets/coral.min.css +1 -1
- package/package.json +15 -8
package/dist/cirth.classless.css
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
:where(:root), :where(:host) {
|
|
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%;
|
|
@@ -729,14 +730,6 @@ label:has([type="checkbox"], [type="radio"]) {
|
|
|
729
730
|
margin-inline-end: .5em;
|
|
730
731
|
}
|
|
731
732
|
|
|
732
|
-
[type="checkbox"]::-ms-check {
|
|
733
|
-
display: none;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
[type="radio"]::-ms-check {
|
|
737
|
-
display: none;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
733
|
[type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
|
|
741
734
|
--cirth-background-color: var(--cirth-primary-background);
|
|
742
735
|
--cirth-border-color: var(--cirth-primary-border);
|
|
@@ -967,14 +960,6 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
|
|
|
967
960
|
transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
|
|
968
961
|
}
|
|
969
962
|
|
|
970
|
-
[type="range"]::-ms-track {
|
|
971
|
-
border-radius: var(--cirth-border-radius);
|
|
972
|
-
background-color: var(--cirth-range-border-color);
|
|
973
|
-
width: 100%;
|
|
974
|
-
height: .375rem;
|
|
975
|
-
transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
|
|
976
|
-
}
|
|
977
|
-
|
|
978
963
|
[type="range"]::-webkit-slider-thumb {
|
|
979
964
|
-webkit-appearance: none;
|
|
980
965
|
border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
|
|
@@ -988,19 +973,6 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
|
|
|
988
973
|
}
|
|
989
974
|
|
|
990
975
|
[type="range"]::-moz-range-thumb {
|
|
991
|
-
-webkit-appearance: none;
|
|
992
|
-
border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
|
|
993
|
-
background-color: var(--cirth-range-thumb-color);
|
|
994
|
-
cursor: pointer;
|
|
995
|
-
width: 1.25rem;
|
|
996
|
-
height: 1.25rem;
|
|
997
|
-
transition: background-color var(--cirth-transition), transform var(--cirth-transition);
|
|
998
|
-
border-radius: 50%;
|
|
999
|
-
margin-top: -.4375rem;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
[type="range"]::-ms-thumb {
|
|
1003
|
-
-webkit-appearance: none;
|
|
1004
976
|
border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
|
|
1005
977
|
background-color: var(--cirth-range-thumb-color);
|
|
1006
978
|
cursor: pointer;
|
|
@@ -1024,10 +996,6 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
|
|
|
1024
996
|
transform: scale(1.25);
|
|
1025
997
|
}
|
|
1026
998
|
|
|
1027
|
-
[type="range"]:active::-ms-thumb {
|
|
1028
|
-
transform: scale(1.25);
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
999
|
input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
|
|
1032
1000
|
background-image: var(--cirth-icon-search);
|
|
1033
1001
|
background-position: center left var(--cirth-form-element-spacing-horizontal);
|
|
@@ -1081,10 +1049,6 @@ details summary::marker {
|
|
|
1081
1049
|
display: none;
|
|
1082
1050
|
}
|
|
1083
1051
|
|
|
1084
|
-
details summary::-moz-list-bullet {
|
|
1085
|
-
list-style-type: none;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
1052
|
details summary:after {
|
|
1089
1053
|
width: var(--cirth-size-4);
|
|
1090
1054
|
height: var(--cirth-size-4);
|
|
@@ -1398,17 +1362,58 @@ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][ari
|
|
|
1398
1362
|
pointer-events: none;
|
|
1399
1363
|
}
|
|
1400
1364
|
|
|
1401
|
-
|
|
1402
|
-
|
|
1365
|
+
meter {
|
|
1366
|
+
appearance: none;
|
|
1367
|
+
width: 100%;
|
|
1368
|
+
height: var(--cirth-size-2);
|
|
1369
|
+
margin-bottom: calc(var(--cirth-spacing) * .5);
|
|
1370
|
+
border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
|
|
1371
|
+
border-radius: var(--cirth-border-radius);
|
|
1372
|
+
background: var(--cirth-meter-background-color);
|
|
1373
|
+
display: inline-block;
|
|
1374
|
+
overflow: hidden;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
meter::-webkit-meter-bar {
|
|
1378
|
+
background: none;
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
meter::-webkit-meter-inner-element {
|
|
1382
|
+
display: flex;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
meter::-webkit-meter-optimum-value {
|
|
1386
|
+
background: var(--cirth-meter-optimum-color);
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
meter::-webkit-meter-suboptimum-value {
|
|
1390
|
+
background: var(--cirth-meter-suboptimum-color);
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
meter::-webkit-meter-even-less-good-value {
|
|
1394
|
+
background: var(--cirth-meter-even-less-good-color);
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
meter::-moz-meter-bar {
|
|
1398
|
+
background: var(--cirth-meter-optimum-color);
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
meter:-moz-meter-sub-optimum::-moz-meter-bar {
|
|
1402
|
+
background: var(--cirth-meter-suboptimum-color);
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
1406
|
+
background: var(--cirth-meter-even-less-good-color);
|
|
1403
1407
|
}
|
|
1404
1408
|
|
|
1405
1409
|
dialog {
|
|
1410
|
+
opacity: 0;
|
|
1411
|
+
transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
|
|
1406
1412
|
z-index: var(--cirth-z-index-modal);
|
|
1407
1413
|
width: inherit;
|
|
1408
1414
|
min-width: 100%;
|
|
1409
1415
|
height: inherit;
|
|
1410
1416
|
min-height: 100%;
|
|
1411
|
-
-webkit-backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
|
|
1412
1417
|
backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
|
|
1413
1418
|
background-color: var(--cirth-modal-overlay-background-color);
|
|
1414
1419
|
color: var(--cirth-color);
|
|
@@ -1421,7 +1426,25 @@ dialog {
|
|
|
1421
1426
|
inset: 0;
|
|
1422
1427
|
}
|
|
1423
1428
|
|
|
1429
|
+
dialog[open] {
|
|
1430
|
+
opacity: 1;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
@starting-style {
|
|
1434
|
+
dialog[open] {
|
|
1435
|
+
opacity: 0;
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
@starting-style {
|
|
1440
|
+
dialog[open] > article {
|
|
1441
|
+
opacity: 0;
|
|
1442
|
+
transform: translateY(-100%);
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1424
1446
|
dialog > article {
|
|
1447
|
+
transition: opacity var(--cirth-transition), transform var(--cirth-transition);
|
|
1425
1448
|
width: 100%;
|
|
1426
1449
|
max-height: calc(100vh - var(--cirth-spacing) * 2);
|
|
1427
1450
|
max-height: calc(100dvh - var(--cirth-spacing) * 2);
|
|
@@ -1429,13 +1452,13 @@ dialog > article {
|
|
|
1429
1452
|
overflow: auto;
|
|
1430
1453
|
}
|
|
1431
1454
|
|
|
1432
|
-
@media (
|
|
1455
|
+
@media (width >= 576px) {
|
|
1433
1456
|
dialog > article {
|
|
1434
1457
|
max-width: 510px;
|
|
1435
1458
|
}
|
|
1436
1459
|
}
|
|
1437
1460
|
|
|
1438
|
-
@media (
|
|
1461
|
+
@media (width >= 768px) {
|
|
1439
1462
|
dialog > article {
|
|
1440
1463
|
max-width: 700px;
|
|
1441
1464
|
}
|
|
@@ -1493,6 +1516,10 @@ dialog:not([open]), dialog[open="false"] {
|
|
|
1493
1516
|
float: left;
|
|
1494
1517
|
}
|
|
1495
1518
|
|
|
1519
|
+
html:has(dialog[open]) {
|
|
1520
|
+
overflow: hidden;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1496
1523
|
:where(nav li):before {
|
|
1497
1524
|
float: left;
|
|
1498
1525
|
content: "";
|
|
@@ -1600,6 +1627,33 @@ aside li [role="button"] {
|
|
|
1600
1627
|
margin: inherit;
|
|
1601
1628
|
}
|
|
1602
1629
|
|
|
1630
|
+
:is([popover=""], [popover="auto"], [popover="hint"]):not(dialog) {
|
|
1631
|
+
--cirth-popover-display: block;
|
|
1632
|
+
display: none;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
:is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
|
|
1636
|
+
display: var(--cirth-popover-display);
|
|
1637
|
+
max-width: var(--cirth-popover-max-width);
|
|
1638
|
+
padding: var(--cirth-space-2) var(--cirth-space-3);
|
|
1639
|
+
border: var(--cirth-border-width) solid var(--cirth-popover-border-color);
|
|
1640
|
+
border-radius: var(--cirth-border-radius);
|
|
1641
|
+
background-color: var(--cirth-popover-background-color);
|
|
1642
|
+
box-shadow: var(--cirth-popover-box-shadow);
|
|
1643
|
+
color: var(--cirth-popover-color);
|
|
1644
|
+
transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
@starting-style {
|
|
1648
|
+
:is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
|
|
1649
|
+
opacity: 0;
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
:is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):not(:popover-open) {
|
|
1654
|
+
opacity: 0;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1603
1657
|
progress {
|
|
1604
1658
|
vertical-align: baseline;
|
|
1605
1659
|
appearance: none;
|
|
@@ -1609,7 +1663,6 @@ progress {
|
|
|
1609
1663
|
border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
|
|
1610
1664
|
border-radius: var(--cirth-border-radius);
|
|
1611
1665
|
background-color: var(--cirth-progress-background-color);
|
|
1612
|
-
color: var(--cirth-progress-color);
|
|
1613
1666
|
display: inline-block;
|
|
1614
1667
|
overflow: hidden;
|
|
1615
1668
|
}
|
|
@@ -1657,160 +1710,6 @@ progress::-moz-progress-bar {
|
|
|
1657
1710
|
}
|
|
1658
1711
|
}
|
|
1659
1712
|
|
|
1660
|
-
[data-tooltip] {
|
|
1661
|
-
position: relative;
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
[data-tooltip]:not(a, button, input, [role="button"]) {
|
|
1665
|
-
border-bottom: var(--cirth-border-width-1) dotted;
|
|
1666
|
-
cursor: help;
|
|
1667
|
-
text-decoration: none;
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
[data-tooltip][data-placement="top"]:before, [data-tooltip][data-placement="top"]:after, [data-tooltip]:before, [data-tooltip]:after {
|
|
1671
|
-
z-index: var(--cirth-z-index-tooltip);
|
|
1672
|
-
padding: var(--cirth-space-1) var(--cirth-space-2);
|
|
1673
|
-
border-radius: var(--cirth-border-radius);
|
|
1674
|
-
background: var(--cirth-tooltip-background-color);
|
|
1675
|
-
content: attr(data-tooltip);
|
|
1676
|
-
color: var(--cirth-tooltip-color);
|
|
1677
|
-
font-style: normal;
|
|
1678
|
-
font-weight: var(--cirth-font-weight);
|
|
1679
|
-
font-size: var(--cirth-font-size-sm);
|
|
1680
|
-
text-overflow: ellipsis;
|
|
1681
|
-
white-space: nowrap;
|
|
1682
|
-
opacity: 0;
|
|
1683
|
-
pointer-events: none;
|
|
1684
|
-
text-decoration: none;
|
|
1685
|
-
display: block;
|
|
1686
|
-
position: absolute;
|
|
1687
|
-
bottom: 100%;
|
|
1688
|
-
left: 50%;
|
|
1689
|
-
overflow: hidden;
|
|
1690
|
-
transform: translate(-50%, -.25rem);
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
[data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
|
|
1694
|
-
content: "";
|
|
1695
|
-
color: var(--cirth-tooltip-background-color);
|
|
1696
|
-
background-color: #0000;
|
|
1697
|
-
border-top: .3rem solid;
|
|
1698
|
-
border-left: .3rem solid #0000;
|
|
1699
|
-
border-right: .3rem solid #0000;
|
|
1700
|
-
border-radius: 0;
|
|
1701
|
-
padding: 0;
|
|
1702
|
-
transform: translate(-50%);
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
[data-tooltip][data-placement="bottom"]:before, [data-tooltip][data-placement="bottom"]:after {
|
|
1706
|
-
top: 100%;
|
|
1707
|
-
bottom: auto;
|
|
1708
|
-
transform: translate(-50%, .25rem);
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
[data-tooltip][data-placement="bottom"]:after {
|
|
1712
|
-
border: .3rem solid #0000;
|
|
1713
|
-
border-bottom-color: currentColor;
|
|
1714
|
-
transform: translate(-50%, -.3rem);
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
[data-tooltip][data-placement="left"]:before, [data-tooltip][data-placement="left"]:after {
|
|
1718
|
-
inset: 50% 100% auto auto;
|
|
1719
|
-
transform: translate(-.25rem, -50%);
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
[data-tooltip][data-placement="left"]:after {
|
|
1723
|
-
border: .3rem solid #0000;
|
|
1724
|
-
border-left-color: currentColor;
|
|
1725
|
-
transform: translate(.3rem, -50%);
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
[data-tooltip][data-placement="right"]:before, [data-tooltip][data-placement="right"]:after {
|
|
1729
|
-
inset: 50% auto auto 100%;
|
|
1730
|
-
transform: translate(.25rem, -50%);
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
[data-tooltip][data-placement="right"]:after {
|
|
1734
|
-
border: .3rem solid #0000;
|
|
1735
|
-
border-right-color: currentColor;
|
|
1736
|
-
transform: translate(-.3rem, -50%);
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
|
-
[data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
|
|
1740
|
-
opacity: 1;
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
@media (hover: hover) and (pointer: fine) {
|
|
1744
|
-
[data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
|
|
1745
|
-
--cirth-tooltip-slide-to: translate(-50%, -.25rem);
|
|
1746
|
-
animation-duration: var(--cirth-duration-normal);
|
|
1747
|
-
opacity: 0;
|
|
1748
|
-
animation-name: tooltip-slide;
|
|
1749
|
-
animation-fill-mode: forwards;
|
|
1750
|
-
transform: translate(-50%, .75rem);
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
[data-tooltip]:focus:after, [data-tooltip]:hover:after {
|
|
1754
|
-
--cirth-tooltip-caret-slide-to: translate(-50%, 0rem);
|
|
1755
|
-
animation-name: tooltip-caret-slide;
|
|
1756
|
-
transform: translate(-50%, -.25rem);
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
[data-tooltip][data-placement="bottom"]:focus:before, [data-tooltip][data-placement="bottom"]:focus:after, [data-tooltip][data-placement="bottom"]:hover:before, [data-tooltip][data-placement="bottom"]:hover:after {
|
|
1760
|
-
--cirth-tooltip-slide-to: translate(-50%, .25rem);
|
|
1761
|
-
animation-name: tooltip-slide;
|
|
1762
|
-
transform: translate(-50%, -.75rem);
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
[data-tooltip][data-placement="bottom"]:focus:after, [data-tooltip][data-placement="bottom"]:hover:after {
|
|
1766
|
-
--cirth-tooltip-caret-slide-to: translate(-50%, -.3rem);
|
|
1767
|
-
animation-name: tooltip-caret-slide;
|
|
1768
|
-
transform: translate(-50%, -.5rem);
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
[data-tooltip][data-placement="left"]:focus:before, [data-tooltip][data-placement="left"]:focus:after, [data-tooltip][data-placement="left"]:hover:before, [data-tooltip][data-placement="left"]:hover:after {
|
|
1772
|
-
--cirth-tooltip-slide-to: translate(-.25rem, -50%);
|
|
1773
|
-
animation-name: tooltip-slide;
|
|
1774
|
-
transform: translate(.75rem, -50%);
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
[data-tooltip][data-placement="left"]:focus:after, [data-tooltip][data-placement="left"]:hover:after {
|
|
1778
|
-
--cirth-tooltip-caret-slide-to: translate(.3rem, -50%);
|
|
1779
|
-
animation-name: tooltip-caret-slide;
|
|
1780
|
-
transform: translate(.05rem, -50%);
|
|
1781
|
-
}
|
|
1782
|
-
|
|
1783
|
-
[data-tooltip][data-placement="right"]:focus:before, [data-tooltip][data-placement="right"]:focus:after, [data-tooltip][data-placement="right"]:hover:before, [data-tooltip][data-placement="right"]:hover:after {
|
|
1784
|
-
--cirth-tooltip-slide-to: translate(.25rem, -50%);
|
|
1785
|
-
animation-name: tooltip-slide;
|
|
1786
|
-
transform: translate(-.75rem, -50%);
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
[data-tooltip][data-placement="right"]:focus:after, [data-tooltip][data-placement="right"]:hover:after {
|
|
1790
|
-
--cirth-tooltip-caret-slide-to: translate(-.3rem, -50%);
|
|
1791
|
-
animation-name: tooltip-caret-slide;
|
|
1792
|
-
transform: translate(-.05rem, -50%);
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
@keyframes tooltip-slide {
|
|
1797
|
-
to {
|
|
1798
|
-
transform: var(--cirth-tooltip-slide-to);
|
|
1799
|
-
opacity: 1;
|
|
1800
|
-
}
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
@keyframes tooltip-caret-slide {
|
|
1804
|
-
50% {
|
|
1805
|
-
opacity: 0;
|
|
1806
|
-
}
|
|
1807
|
-
|
|
1808
|
-
100% {
|
|
1809
|
-
transform: var(--cirth-tooltip-caret-slide-to);
|
|
1810
|
-
opacity: 1;
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
1713
|
[aria-controls] {
|
|
1815
1714
|
cursor: pointer;
|
|
1816
1715
|
}
|
|
@@ -1937,7 +1836,6 @@ progress::-moz-progress-bar {
|
|
|
1937
1836
|
--cirth-z-index-fixed: 1030;
|
|
1938
1837
|
--cirth-z-index-modal-backdrop: 1040;
|
|
1939
1838
|
--cirth-z-index-modal: 1050;
|
|
1940
|
-
--cirth-z-index-tooltip: 1070;
|
|
1941
1839
|
--cirth-font-family: var(--cirth-font-family-sans);
|
|
1942
1840
|
--cirth-line-height: var(--cirth-line-height-normal);
|
|
1943
1841
|
--cirth-font-weight: var(--cirth-font-weight-regular);
|
|
@@ -1965,20 +1863,27 @@ progress::-moz-progress-bar {
|
|
|
1965
1863
|
var(--cirth-primary-focus);
|
|
1966
1864
|
--cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
|
|
1967
1865
|
var(--cirth-form-element-border-color);
|
|
1866
|
+
--cirth-meter-background-color: var(--cirth-progress-background-color);
|
|
1867
|
+
--cirth-meter-border-color: var(--cirth-progress-border-color);
|
|
1868
|
+
--cirth-popover-background-color: var(--cirth-card-background-color);
|
|
1869
|
+
--cirth-popover-border-color: var(--cirth-muted-border-color);
|
|
1870
|
+
--cirth-popover-color: var(--cirth-color);
|
|
1871
|
+
--cirth-popover-box-shadow: var(--cirth-box-shadow);
|
|
1872
|
+
--cirth-popover-max-width: min(30rem, 100% - var(--cirth-spacing) * 2);
|
|
1968
1873
|
--cirth-modal-overlay-backdrop-filter: blur(.375rem);
|
|
1969
1874
|
--cirth-nav-element-spacing-vertical: var(--cirth-space-4);
|
|
1970
1875
|
--cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
|
|
1971
1876
|
--cirth-nav-link-spacing-vertical: var(--cirth-space-2);
|
|
1972
1877
|
--cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
|
|
1973
1878
|
--cirth-nav-breadcrumb-divider: ">";
|
|
1974
|
-
--cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
1975
|
-
--cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
1976
|
-
--cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
1977
|
-
--cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
1978
|
-
--cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
1979
|
-
--cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
1980
|
-
--cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
1981
|
-
--cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none'
|
|
1879
|
+
--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");
|
|
1880
|
+
--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");
|
|
1881
|
+
--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");
|
|
1882
|
+
--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");
|
|
1883
|
+
--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");
|
|
1884
|
+
--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");
|
|
1885
|
+
--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");
|
|
1886
|
+
--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");
|
|
1982
1887
|
}
|
|
1983
1888
|
|
|
1984
1889
|
a {
|
|
@@ -2107,7 +2012,7 @@ details summary[role="button"]:after {
|
|
|
2107
2012
|
filter: brightness(0) invert();
|
|
2108
2013
|
}
|
|
2109
2014
|
|
|
2110
|
-
[data-theme="light"], :root:not([data-theme="dark"]), :host(:not([data-theme="dark"])) {
|
|
2015
|
+
:where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
|
|
2111
2016
|
--lightningcss-light: initial;
|
|
2112
2017
|
--lightningcss-dark: ;
|
|
2113
2018
|
color-scheme: light;
|
|
@@ -2202,21 +2107,22 @@ details summary[role="button"]:after {
|
|
|
2202
2107
|
--cirth-card-sectioning-background-color: oklch(99% 0 336);
|
|
2203
2108
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2204
2109
|
--cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
|
|
2110
|
+
--cirth-meter-optimum-color: oklch(52.7% .1 160.59);
|
|
2111
|
+
--cirth-meter-suboptimum-color: oklch(48.3% .086 78);
|
|
2112
|
+
--cirth-meter-even-less-good-color: oklch(44% .151 29.73);
|
|
2205
2113
|
--cirth-progress-background-color: oklch(91.7% .006 264);
|
|
2206
2114
|
--cirth-progress-border-color: oklch(61.3% .032 264);
|
|
2207
2115
|
--cirth-progress-color: var(--cirth-primary-background);
|
|
2208
|
-
--cirth-
|
|
2209
|
-
--cirth-
|
|
2210
|
-
--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");
|
|
2211
|
-
--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");
|
|
2116
|
+
--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");
|
|
2117
|
+
--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");
|
|
2212
2118
|
}
|
|
2213
2119
|
|
|
2214
|
-
[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2120
|
+
:where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:where(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:where(:not([data-theme="dark"]))) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2215
2121
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2216
2122
|
}
|
|
2217
2123
|
|
|
2218
2124
|
@media only screen and (prefers-color-scheme: dark) {
|
|
2219
|
-
:root:not([data-theme]), :host(:not([data-theme])) {
|
|
2125
|
+
:root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
|
|
2220
2126
|
--lightningcss-light: ;
|
|
2221
2127
|
--lightningcss-dark: initial;
|
|
2222
2128
|
color-scheme: dark;
|
|
@@ -2311,21 +2217,22 @@ details summary[role="button"]:after {
|
|
|
2311
2217
|
--cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
|
|
2312
2218
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2313
2219
|
--cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
|
|
2220
|
+
--cirth-meter-optimum-color: oklch(65.7% .125 160.59);
|
|
2221
|
+
--cirth-meter-suboptimum-color: oklch(70% .124 78);
|
|
2222
|
+
--cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
|
|
2314
2223
|
--cirth-progress-background-color: oklch(26.7% .011 264);
|
|
2315
2224
|
--cirth-progress-border-color: oklch(52.7% .032 264);
|
|
2316
2225
|
--cirth-progress-color: oklch(61.3% .113 69.35);
|
|
2317
|
-
--cirth-
|
|
2318
|
-
--cirth-
|
|
2319
|
-
--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");
|
|
2320
|
-
--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");
|
|
2226
|
+
--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");
|
|
2227
|
+
--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");
|
|
2321
2228
|
}
|
|
2322
2229
|
|
|
2323
|
-
:root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2230
|
+
:root:where(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:where(:not([data-theme]))) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2324
2231
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2325
2232
|
}
|
|
2326
2233
|
}
|
|
2327
2234
|
|
|
2328
|
-
[data-theme="dark"] {
|
|
2235
|
+
:where([data-theme="dark"]) {
|
|
2329
2236
|
--lightningcss-light: ;
|
|
2330
2237
|
--lightningcss-dark: initial;
|
|
2331
2238
|
color-scheme: dark;
|
|
@@ -2420,19 +2327,253 @@ details summary[role="button"]:after {
|
|
|
2420
2327
|
--cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
|
|
2421
2328
|
--cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
|
|
2422
2329
|
--cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
|
|
2330
|
+
--cirth-meter-optimum-color: oklch(65.7% .125 160.59);
|
|
2331
|
+
--cirth-meter-suboptimum-color: oklch(70% .124 78);
|
|
2332
|
+
--cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
|
|
2423
2333
|
--cirth-progress-background-color: oklch(26.7% .011 264);
|
|
2424
2334
|
--cirth-progress-border-color: oklch(52.7% .032 264);
|
|
2425
2335
|
--cirth-progress-color: oklch(61.3% .113 69.35);
|
|
2426
|
-
--cirth-
|
|
2427
|
-
--cirth-
|
|
2428
|
-
--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");
|
|
2429
|
-
--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");
|
|
2336
|
+
--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");
|
|
2337
|
+
--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");
|
|
2430
2338
|
}
|
|
2431
2339
|
|
|
2432
|
-
[data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2340
|
+
:where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
|
|
2433
2341
|
--cirth-form-element-focus-color: var(--cirth-primary-focus);
|
|
2434
2342
|
}
|
|
2435
2343
|
|
|
2436
2344
|
progress, [type="checkbox"], [type="radio"], [type="range"] {
|
|
2437
2345
|
accent-color: var(--cirth-primary);
|
|
2438
2346
|
}
|
|
2347
|
+
|
|
2348
|
+
@media (prefers-contrast: more) {
|
|
2349
|
+
:where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
|
|
2350
|
+
--cirth-color: oklch(22.3% .006 264);
|
|
2351
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2352
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2353
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2354
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2355
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2356
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2357
|
+
--cirth-muted-color: oklch(39.7% .025 264);
|
|
2358
|
+
--cirth-secondary: oklch(39.7% .025 264);
|
|
2359
|
+
--cirth-code-color: oklch(35.3% .021 264);
|
|
2360
|
+
--cirth-link-visited-color: oklch(35.3% .021 264);
|
|
2361
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2362
|
+
--cirth-form-element-border-color: oklch(39.7% .025 264);
|
|
2363
|
+
--cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
|
|
2364
|
+
--cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
|
|
2365
|
+
--cirth-primary: oklch(39.7% .073 69.35);
|
|
2366
|
+
--cirth-primary-hover: oklch(31% .057 69.35);
|
|
2367
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2368
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2369
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2370
|
+
--cirth-primary-focus: oklch(48.3% .089 69.35);
|
|
2371
|
+
--cirth-secondary-focus: oklch(48.3% .03 264);
|
|
2372
|
+
--cirth-contrast-focus: oklch(48.3% .03 264);
|
|
2373
|
+
--cirth-switch-background-color: oklch(48.3% .03 264);
|
|
2374
|
+
--cirth-progress-border-color: oklch(48.3% .03 264);
|
|
2375
|
+
--cirth-meter-optimum-color: oklch(44% .084 160.59);
|
|
2376
|
+
--cirth-meter-suboptimum-color: oklch(39.7% .07 78);
|
|
2377
|
+
--cirth-meter-even-less-good-color: oklch(35.3% .122 29.73);
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
@media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
|
|
2382
|
+
:root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
|
|
2383
|
+
--cirth-color: oklch(96% 0 264);
|
|
2384
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2385
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2386
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2387
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2388
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2389
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2390
|
+
--cirth-muted-color: oklch(78.7% .021 264);
|
|
2391
|
+
--cirth-secondary: oklch(78.7% .021 264);
|
|
2392
|
+
--cirth-code-color: oklch(83% .016 264);
|
|
2393
|
+
--cirth-link-visited-color: oklch(78.7% .021 264);
|
|
2394
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2395
|
+
--cirth-card-border-color: var(--cirth-muted-border-color);
|
|
2396
|
+
--cirth-form-element-border-color: oklch(70% .028 264);
|
|
2397
|
+
--cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
|
|
2398
|
+
--cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
|
|
2399
|
+
--cirth-primary: oklch(78.7% .146 69.35);
|
|
2400
|
+
--cirth-primary-hover: oklch(87.3% .082 69.35);
|
|
2401
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2402
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2403
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2404
|
+
--cirth-primary-focus: oklch(70% .129 69.35);
|
|
2405
|
+
--cirth-secondary-focus: oklch(70% .028 264);
|
|
2406
|
+
--cirth-contrast-focus: oklch(87.3% .011 264);
|
|
2407
|
+
--cirth-switch-background-color: oklch(65.7% .03 264);
|
|
2408
|
+
--cirth-progress-border-color: oklch(70% .028 264);
|
|
2409
|
+
--cirth-meter-optimum-color: oklch(74.3% .142 160.59);
|
|
2410
|
+
--cirth-meter-suboptimum-color: oklch(78.7% .139 78);
|
|
2411
|
+
--cirth-meter-even-less-good-color: oklch(83% .081 29.73);
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
@media (prefers-contrast: more) {
|
|
2416
|
+
:where([data-theme="dark"]) {
|
|
2417
|
+
--cirth-color: oklch(96% 0 264);
|
|
2418
|
+
--cirth-h1-color: var(--cirth-color);
|
|
2419
|
+
--cirth-h2-color: var(--cirth-color);
|
|
2420
|
+
--cirth-h3-color: var(--cirth-color);
|
|
2421
|
+
--cirth-h4-color: var(--cirth-color);
|
|
2422
|
+
--cirth-h5-color: var(--cirth-color);
|
|
2423
|
+
--cirth-h6-color: var(--cirth-color);
|
|
2424
|
+
--cirth-muted-color: oklch(78.7% .021 264);
|
|
2425
|
+
--cirth-secondary: oklch(78.7% .021 264);
|
|
2426
|
+
--cirth-code-color: oklch(83% .016 264);
|
|
2427
|
+
--cirth-link-visited-color: oklch(78.7% .021 264);
|
|
2428
|
+
--cirth-muted-border-color: oklch(57% .032 264);
|
|
2429
|
+
--cirth-card-border-color: var(--cirth-muted-border-color);
|
|
2430
|
+
--cirth-form-element-border-color: oklch(70% .028 264);
|
|
2431
|
+
--cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
|
|
2432
|
+
--cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
|
|
2433
|
+
--cirth-primary: oklch(78.7% .146 69.35);
|
|
2434
|
+
--cirth-primary-hover: oklch(87.3% .082 69.35);
|
|
2435
|
+
--cirth-primary-underline: var(--cirth-primary);
|
|
2436
|
+
--cirth-secondary-underline: var(--cirth-secondary);
|
|
2437
|
+
--cirth-contrast-underline: var(--cirth-contrast);
|
|
2438
|
+
--cirth-primary-focus: oklch(70% .129 69.35);
|
|
2439
|
+
--cirth-secondary-focus: oklch(70% .028 264);
|
|
2440
|
+
--cirth-contrast-focus: oklch(87.3% .011 264);
|
|
2441
|
+
--cirth-switch-background-color: oklch(65.7% .03 264);
|
|
2442
|
+
--cirth-progress-border-color: oklch(70% .028 264);
|
|
2443
|
+
--cirth-meter-optimum-color: oklch(74.3% .142 160.59);
|
|
2444
|
+
--cirth-meter-suboptimum-color: oklch(78.7% .139 78);
|
|
2445
|
+
--cirth-meter-even-less-good-color: oklch(83% .081 29.73);
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
@media print {
|
|
2450
|
+
:root, :host {
|
|
2451
|
+
--cirth-print-color: oklch(0% 0 0);
|
|
2452
|
+
--cirth-print-muted-color: oklch(48.3% .03 264);
|
|
2453
|
+
--cirth-print-border-color: oklch(61.3% .032 264);
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
html {
|
|
2457
|
+
--lightningcss-light: initial;
|
|
2458
|
+
--lightningcss-dark: ;
|
|
2459
|
+
color-scheme: light;
|
|
2460
|
+
background: none;
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
body {
|
|
2464
|
+
color: var(--cirth-print-color);
|
|
2465
|
+
--lightningcss-light: initial;
|
|
2466
|
+
--lightningcss-dark: ;
|
|
2467
|
+
color-scheme: light;
|
|
2468
|
+
--cirth-color: var(--cirth-print-color);
|
|
2469
|
+
--cirth-h1-color: var(--cirth-print-color);
|
|
2470
|
+
--cirth-h2-color: var(--cirth-print-color);
|
|
2471
|
+
--cirth-h3-color: var(--cirth-print-color);
|
|
2472
|
+
--cirth-h4-color: var(--cirth-print-color);
|
|
2473
|
+
--cirth-h5-color: var(--cirth-print-color);
|
|
2474
|
+
--cirth-h6-color: var(--cirth-print-color);
|
|
2475
|
+
--cirth-code-color: var(--cirth-print-color);
|
|
2476
|
+
--cirth-code-kbd-color: var(--cirth-print-color);
|
|
2477
|
+
--cirth-form-element-color: var(--cirth-print-color);
|
|
2478
|
+
--cirth-muted-color: var(--cirth-print-muted-color);
|
|
2479
|
+
--cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
|
|
2480
|
+
--cirth-primary: var(--cirth-print-color);
|
|
2481
|
+
--cirth-primary-hover: var(--cirth-print-color);
|
|
2482
|
+
--cirth-primary-underline: var(--cirth-print-color);
|
|
2483
|
+
--cirth-secondary: var(--cirth-print-color);
|
|
2484
|
+
--cirth-secondary-underline: var(--cirth-print-color);
|
|
2485
|
+
--cirth-contrast: var(--cirth-print-color);
|
|
2486
|
+
--cirth-contrast-underline: var(--cirth-print-color);
|
|
2487
|
+
--cirth-link-visited-color: var(--cirth-print-color);
|
|
2488
|
+
--cirth-muted-border-color: var(--cirth-print-border-color);
|
|
2489
|
+
--cirth-form-element-border-color: var(--cirth-print-border-color);
|
|
2490
|
+
--cirth-box-shadow: none;
|
|
2491
|
+
--cirth-card-box-shadow: none;
|
|
2492
|
+
--cirth-card-background-color: transparent;
|
|
2493
|
+
--cirth-card-sectioning-background-color: transparent;
|
|
2494
|
+
--cirth-code-background-color: transparent;
|
|
2495
|
+
--cirth-code-kbd-background-color: transparent;
|
|
2496
|
+
--cirth-form-element-background-color: transparent;
|
|
2497
|
+
--cirth-form-element-active-background-color: transparent;
|
|
2498
|
+
--cirth-table-row-stripped-background-color: transparent;
|
|
2499
|
+
--cirth-modal-overlay-background-color: transparent;
|
|
2500
|
+
--cirth-ins-color: oklch(35.3% .067 160.59);
|
|
2501
|
+
--cirth-del-color: oklch(35.3% .122 29.73);
|
|
2502
|
+
--cirth-meter-optimum-color: oklch(52.7% .1 160.59);
|
|
2503
|
+
--cirth-meter-suboptimum-color: oklch(48.3% .086 78);
|
|
2504
|
+
--cirth-meter-even-less-good-color: oklch(44% .151 29.73);
|
|
2505
|
+
background: none;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
kbd {
|
|
2509
|
+
border: var(--cirth-border-width) solid var(--cirth-print-border-color);
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
:is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
|
|
2513
|
+
border-color: var(--cirth-print-border-color);
|
|
2514
|
+
box-shadow: none;
|
|
2515
|
+
color: var(--cirth-print-color);
|
|
2516
|
+
background: none;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
[type="file"]::file-selector-button {
|
|
2520
|
+
border-color: var(--cirth-print-border-color);
|
|
2521
|
+
box-shadow: none;
|
|
2522
|
+
color: var(--cirth-print-color);
|
|
2523
|
+
background: none;
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
:is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
|
|
2527
|
+
-webkit-print-color-adjust: exact;
|
|
2528
|
+
print-color-adjust: exact;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
a[href^="http"]:not([role="button"], nav a):after {
|
|
2532
|
+
content: " (" attr(href) ")";
|
|
2533
|
+
color: var(--cirth-print-muted-color);
|
|
2534
|
+
font-size: var(--cirth-font-size-sm);
|
|
2535
|
+
word-break: break-all;
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
thead {
|
|
2539
|
+
display: table-header-group;
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
tfoot {
|
|
2543
|
+
display: table-footer-group;
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
tr {
|
|
2547
|
+
break-inside: avoid;
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
pre {
|
|
2551
|
+
white-space: pre-wrap;
|
|
2552
|
+
overflow: visible;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
dialog {
|
|
2556
|
+
backdrop-filter: none;
|
|
2557
|
+
min-width: 0;
|
|
2558
|
+
min-height: 0;
|
|
2559
|
+
position: static;
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
dialog > article {
|
|
2563
|
+
max-height: none;
|
|
2564
|
+
overflow: visible;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
:is(h1, h2, h3, h4, h5, h6) {
|
|
2568
|
+
break-after: avoid;
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
:is(figure, img) {
|
|
2572
|
+
break-inside: avoid;
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
:is(blockquote, li, p) {
|
|
2576
|
+
orphans: 3;
|
|
2577
|
+
widows: 3;
|
|
2578
|
+
}
|
|
2579
|
+
}
|