@stackoverflow/stacks 3.0.0-beta.13 → 3.0.0-beta.15

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.
@@ -837,20 +837,14 @@ a.s-badge:hover {
837
837
  .s-banner {
838
838
  --_no-ty-offset: 0;
839
839
  --_no-ty: var(--theme-topbar-height, calc(var(--su-static48) + var(--su-static8)));
840
- --_no-bc: var(--black-225);
841
- --_no-bg: var(--black-100);
842
- --_no-fc: var(--black-500);
843
- --_no-btn-bg-active: var(--black-250);
844
- --_no-btn-bg-focus: var(--black-225);
845
- --_no-btn-fc: var(--_no-fc);
840
+ --_no-bg: var(--black-150);
841
+ --_no-icon-bg: var(--black-200);
842
+ --_no-fc: var(--black-600);
846
843
  --_no-code-bc: var(--black-300);
847
844
  --_no-code-bg: var(--black-200);
848
845
  --_no-code-fc: var(--_no-fc);
849
846
  background: var(--_no-bg);
850
- border-color: var(--_no-bc);
851
847
  color: var(--_no-fc);
852
- border-style: solid;
853
- font-size: var(--fs-body1);
854
848
  border-width: 0 0 var(--su-static1);
855
849
  inset: 0 0 auto 0;
856
850
  padding: var(--su12);
@@ -859,140 +853,104 @@ a.s-badge:hover {
859
853
  width: 100%;
860
854
  z-index: calc(var(--zi-navigation-fixed) - 1);
861
855
  }
862
- body.theme-highcontrast .s-banner {
863
- --_no-bc: var(--black-400);
864
- }
865
- body.theme-highcontrast .s-banner,
866
- body.theme-highcontrast .s-banner.s-banner__danger,
867
- body.theme-highcontrast .s-banner.s-banner__info,
868
- body.theme-highcontrast .s-banner.s-banner__success,
869
- body.theme-highcontrast .s-banner.s-banner__warning {
870
- --_no-code-bc: var(--black-400);
871
- --_no-code-bg: var(--white);
872
- --_no-code-fc: var(--black);
873
- }
874
- body.theme-highcontrast .s-banner.s-banner__important,
875
- body.theme-highcontrast .s-banner.s-banner__danger.s-banner__important,
876
- body.theme-highcontrast .s-banner.s-banner__info.s-banner__important,
877
- body.theme-highcontrast .s-banner.s-banner__success.s-banner__important,
878
- body.theme-highcontrast .s-banner.s-banner__warning.s-banner__important {
879
- --_no-code-bc: var(--black-200);
880
- --_no-code-bg: var(--black);
881
- --_no-code-fc: var(--white);
882
- }
883
- .s-banner__important:not(.s-banner__danger):not(.s-banner__info):not(.s-banner__success):not(.s-banner__warning) {
884
- --_no-bc: var(--_no-bg);
885
- --_no-bg: var(--black-500);
856
+ body.theme-highcontrast .s-banner:not(body.theme-highcontrast .s-banner__important) {
857
+ --_no-icon-bc: var(--_no-code-bc);
858
+ }
859
+ .s-banner__important {
860
+ --_no-bg: var(--black-400);
861
+ --_no-icon-bg: var(--black-500);
886
862
  --_no-fc: var(--white);
887
- --_no-btn-bg-focus: var(--black-600);
888
- --_no-btn-bg-active: var(--black-600);
889
- --_no-btn-fc: var(--_no-fc);
890
863
  --_no-code-bc: var(--black-300);
891
- --_no-code-bg: var(--black-600);
864
+ --_no-code-bg: var(--black-500);
892
865
  }
893
866
  .s-banner__danger:not(.s-banner__important) {
894
- --_no-bc: var(--red-300);
895
867
  --_no-bg: var(--red-100);
896
- --_no-btn-bg-active: var(--red-200);
897
- --_no-btn-bg-focus: var(--red-200);
898
- --_no-btn-fc: var(--red-500);
868
+ --_no-icon-bg: var(--red-200);
899
869
  --_no-code-bc: var(--red-300);
900
870
  --_no-code-bg: var(--red-200);
901
871
  }
902
- body.theme-highcontrast .s-banner__danger:not(.s-banner__important) {
903
- --_no-bc: var(--red-400);
904
- }
905
872
  .s-banner__danger.s-banner__important {
906
- --_no-bc: var(--_no-bg);
907
873
  --_no-bg: var(--red-400);
874
+ --_no-icon-bg: var(--red-500);
908
875
  --_no-fc: var(--white);
909
- --_no-btn-bg-active: var(--red-500);
910
- --_no-btn-bg-focus: var(--red-500);
911
- --_no-btn-fc: var(--red-100);
912
876
  --_no-code-bc: var(--red-300);
913
877
  --_no-code-bg: var(--red-500);
914
878
  }
915
- body.theme-highcontrast .s-banner__danger.s-banner__important {
916
- --_no-bg: var(--red-500);
917
- }
918
879
  .s-banner__info:not(.s-banner__important) {
919
- --_no-bc: var(--theme-secondary-300);
920
- --_no-bg: var(--theme-secondary-100);
921
- --_no-btn-bg-active: var(--theme-secondary-200);
922
- --_no-btn-bg-focus: var(--theme-secondary-200);
923
- --_no-btn-fc: var(--theme-secondary-500);
924
- --_no-code-bc: var(--theme-secondary-300);
925
- --_no-code-bg: var(--theme-secondary-200);
926
- }
927
- body.theme-highcontrast .s-banner__info:not(.s-banner__important) {
928
- --_no-bc: var(--theme-secondary-400);
880
+ --_no-bg: var(--blue-100);
881
+ --_no-icon-bg: var(--blue-200);
882
+ --_no-code-bc: var(--blue-300);
883
+ --_no-code-bg: var(--blue-200);
929
884
  }
930
885
  .s-banner__info.s-banner__important {
931
- --_no-bc: var(--_no-bg);
932
- --_no-bg: var(--theme-secondary-400);
886
+ --_no-bg: var(--blue-400);
887
+ --_no-icon-bg: var(--blue-500);
933
888
  --_no-fc: var(--white);
934
- --_no-btn-bg-active: var(--theme-secondary-500);
935
- --_no-btn-bg-focus: var(--theme-secondary-500);
936
- --_no-btn-fc: var(--theme-secondary-100);
937
- --_no-code-bc: var(--theme-secondary-300);
938
- --_no-code-bg: var(--theme-secondary-500);
939
- }
940
- body.theme-highcontrast .s-banner__info.s-banner__important {
941
- --_no-bg: var(--theme-secondary-500);
889
+ --_no-code-bc: var(--blue-300);
890
+ --_no-code-bg: var(--blue-500);
942
891
  }
943
892
  .s-banner__success:not(.s-banner__important) {
944
- --_no-bc: var(--green-300);
945
893
  --_no-bg: var(--green-100);
946
- --_no-btn-bg-active: var(--green-200);
947
- --_no-btn-bg-focus: var(--green-200);
948
- --_no-btn-fc: var(--green-500);
894
+ --_no-icon-bg: var(--green-200);
949
895
  --_no-code-bc: var(--green-300);
950
896
  --_no-code-bg: var(--green-200);
951
897
  }
952
- body.theme-highcontrast .s-banner__success:not(.s-banner__important) {
953
- --_no-bc: var(--green-400);
954
- }
955
898
  .s-banner__success.s-banner__important {
956
- --_no-bc: var(--_no-bg);
957
899
  --_no-bg: var(--green-400);
900
+ --_no-icon-bg: var(--green-500);
958
901
  --_no-fc: var(--white);
959
- --_no-btn-bg-active: var(--green-500);
960
- --_no-btn-bg-focus: var(--green-500);
961
- --_no-btn-fc: var(--green-100);
962
902
  --_no-code-bc: var(--green-300);
963
903
  --_no-code-bg: var(--green-500);
964
904
  }
965
- body.theme-highcontrast .s-banner__success.s-banner__important {
966
- --_no-bg: var(--green-500);
905
+ .s-banner__featured:not(.s-banner__important) {
906
+ --_no-bg: var(--purple-100);
907
+ --_no-icon-bg: var(--purple-200);
908
+ --_no-code-bc: var(--purple-300);
909
+ --_no-code-bg: var(--purple-200);
910
+ }
911
+ .s-banner__featured.s-banner__important {
912
+ --_no-bg: var(--purple-400);
913
+ --_no-icon-bg: var(--purple-500);
914
+ --_no-fc: var(--white);
915
+ --_no-code-bc: var(--purple-300);
916
+ --_no-code-bg: var(--purple-500);
917
+ }
918
+ .s-banner__activity:not(.s-banner__important) {
919
+ --_no-bg: var(--pink-100);
920
+ --_no-icon-bg: var(--pink-200);
921
+ --_no-code-bc: var(--pink-300);
922
+ --_no-code-bg: var(--pink-200);
923
+ }
924
+ .s-banner__activity.s-banner__important {
925
+ --_no-bg: var(--pink-400);
926
+ --_no-icon-bg: var(--pink-500);
927
+ --_no-fc: var(--white);
928
+ --_no-code-bc: var(--pink-300);
929
+ --_no-code-bg: var(--pink-500);
967
930
  }
968
931
  .s-banner__warning:not(.s-banner__important) {
969
- --_no-bc: var(--yellow-300);
970
932
  --_no-bg: var(--yellow-100);
971
- --_no-btn-bg-active: var(--yellow-200);
972
- --_no-btn-bg-focus: var(--yellow-200);
973
- --_no-btn-fc: var(--yellow-500);
933
+ --_no-icon-bg: var(--yellow-200);
974
934
  --_no-code-bc: var(--yellow-300);
975
935
  --_no-code-bg: var(--yellow-200);
976
- --_no-btn-fc: var(--yellow-600);
977
- }
978
- body.theme-highcontrast .s-banner__warning:not(.s-banner__important) {
979
- --_no-bc: var(--yellow-400);
980
936
  }
981
937
  .s-banner__warning.s-banner__important {
982
- --_no-bc: var(--_no-bg);
983
- --_no-bg: var(--yellow-400);
938
+ --_no-bg: var(--yellow-300);
939
+ --_no-icon-bg: var(--yellow-400);
984
940
  --_no-fc: var(--black);
985
- --_no-btn-fc: var(--_no-fc);
986
- --_no-btn-bg-active: var(--yellow-300);
987
- --_no-btn-bg-focus: var(--yellow-300);
988
- --_no-code-bc: var(--yellow-500);
989
- --_no-code-bg: var(--yellow-300);
941
+ --_no-code-bc: var(--yellow-400);
942
+ --_no-code-bg: var(--yellow-200);
943
+ }
944
+ .s-banner__warning.s-banner__important .s-notice--icon {
945
+ color: var(--white);
990
946
  }
991
947
  @media (prefers-color-scheme: dark) {
992
948
  body.theme-system .s-banner__warning.s-banner__important {
993
949
  --_no-fc: var(--white);
994
950
  --_no-code-bc: var(--yellow-300);
995
951
  --_no-code-bg: var(--yellow-500);
952
+ --_no-bg: var(--yellow-400);
953
+ --_no-icon-bg: var(--yellow-500);
996
954
  }
997
955
  }
998
956
  body.theme-dark .s-banner__warning.s-banner__important,
@@ -1001,32 +959,38 @@ body.theme-system .theme-dark__forced .s-banner__warning.s-banner__important {
1001
959
  --_no-fc: var(--white);
1002
960
  --_no-code-bc: var(--yellow-300);
1003
961
  --_no-code-bg: var(--yellow-500);
962
+ --_no-bg: var(--yellow-400);
963
+ --_no-icon-bg: var(--yellow-500);
1004
964
  }
1005
965
  body.theme-highcontrast .s-banner__warning.s-banner__important {
1006
- --_no-bg: var(--yellow-500);
966
+ --_no-bg: var(--yellow-400);
967
+ --_no-icon-bg: var(--yellow-500);
968
+ --_no-code-bc: var(--yellow-300);
969
+ --_no-code-bg: var(--yellow-500);
1007
970
  --_no-fc: var(--white);
1008
- --_no-btn-bg-active: transparent;
1009
- --_no-btn-bg-focus: transparent;
1010
971
  }
1011
972
  .s-banner code {
1012
973
  background-color: var(--_no-code-bg);
1013
974
  color: var(--_no-code-fc);
1014
975
  outline: var(--su-static1) solid var(--_no-code-bc);
1015
- border-radius: var(--br-md);
1016
976
  padding-left: var(--su2);
1017
977
  padding-right: var(--su2);
978
+ white-space: nowrap;
1018
979
  }
1019
- .s-banner .s-banner--btn {
1020
- color: var(--_no-btn-fc, inherit) !important;
1021
- padding: var(--su8);
980
+ button.s-banner--dismiss:active {
981
+ background-color: var(--_no-fc);
982
+ color: var(--_no-bg);
1022
983
  }
1023
- .s-banner .s-banner--btn:active {
1024
- background-color: var(--_no-btn-bg-active, inherit) !important;
984
+ button.s-banner--dismiss:focus-visible,
985
+ button.s-banner--dismiss:hover,
986
+ button.s-banner--dismiss.focus-inset-bordered {
987
+ background-color: var(--_no-fc);
988
+ color: var(--_no-bg);
1025
989
  }
1026
- .s-banner .s-banner--btn:focus-visible,
1027
- .s-banner .s-banner--btn:hover,
1028
- .s-banner .s-banner--btn.focus-inset-bordered {
1029
- background-color: var(--_no-btn-bg-focus, inherit) !important;
990
+ :has( > button.s-banner--dismiss) {
991
+ padding-left: var(--su24);
992
+ gap: calc(var(--su24) - var(--su2));
993
+ word-wrap: initial !important;
1030
994
  }
1031
995
  .s-banner[aria-hidden="true"] {
1032
996
  --_no-ty-offset: -1;
@@ -1799,181 +1763,277 @@ body.theme-highcontrast .s-card.s-card__muted > * {
1799
1763
  .s-card > :last-child {
1800
1764
  margin-bottom: 0;
1801
1765
  }
1802
- .s-check-control {
1803
- --_cc-ai: center;
1804
- align-items: var(--_cc-ai);
1766
+ .s-checkbox,
1767
+ .s-radio {
1768
+ --_ch-ai: center;
1769
+ --_ch-fc: unset;
1770
+ --_ch-after-fc: unset;
1771
+ --_ch-cursor: pointer;
1772
+ --_ch-label-fc: var(--_ch-fc);
1773
+ --_ch-gap: var(--su8);
1774
+ --_ch-input-baw: var(--su-static1);
1775
+ --_ch-input-bc: var(--black-350);
1776
+ --_ch-input-bg: var(--white);
1777
+ --_ch-input-bg-image: unset;
1778
+ --_ch-input-br: var(--su-static1);
1779
+ --_ch-input-cursor: pointer;
1780
+ --_ch-input-h: calc(var(--su-static12) + var(--su-static2));
1781
+ align-items: var(--_ch-ai);
1805
1782
  display: flex;
1806
- gap: var(--su8);
1783
+ gap: var(--_ch-gap);
1807
1784
  }
1808
- .s-check-group .s-check-control {
1809
- --_cc-ai: flex-start;
1785
+ @media (forced-colors: active) {
1786
+ .s-checkbox:checked,
1787
+ .s-radio:checked,
1788
+ .s-checkbox:indeterminate,
1789
+ .s-radio:indeterminate {
1790
+ --_ch-input-bg: ButtonText !important;
1791
+ }
1810
1792
  }
1811
- .s-check-control .s-label {
1812
- font-weight: normal;
1793
+ fieldset[disabled] .s-checkbox,
1794
+ fieldset[disabled] .s-radio,
1795
+ .s-checkbox:has(> input[disabled]),
1796
+ .s-radio:has(> input[disabled]) {
1797
+ --_ch-fc: var(--black-300);
1798
+ --_ch-input-bc: var(--black-300);
1799
+ --_ch-input-cursor: not-allowed;
1800
+ }
1801
+ .s-checkbox:has(> input[disabled]:checked),
1802
+ .s-radio:has(> input[disabled]:checked) {
1803
+ --_ch-input-bc: var(--theme-secondary-300);
1804
+ }
1805
+ .s-checkbox.s-checkbox__checkmark,
1806
+ .s-checkbox.s-radio__checkmark,
1807
+ .s-radio.s-checkbox__checkmark,
1808
+ .s-radio.s-radio__checkmark {
1809
+ --_ch-fc: var(--theme-secondary);
1810
+ --_ch-gap: var(--su4);
1811
+ --_ch-after-fc: unset;
1812
+ border-radius: var(--br-md);
1813
+ color: var(--_ch-fc);
1814
+ cursor: var(--_ch-cursor);
1815
+ width: 100%;
1813
1816
  }
1814
- .s-check-group {
1815
- --_cg-fd: column;
1816
- flex-direction: var(--_cg-fd);
1817
- display: flex;
1818
- gap: var(--su8);
1817
+ .s-checkbox.s-checkbox__checkmark:has(> input:focus-visible),
1818
+ .s-checkbox.s-radio__checkmark:has(> input:focus-visible),
1819
+ .s-radio.s-checkbox__checkmark:has(> input:focus-visible),
1820
+ .s-radio.s-radio__checkmark:has(> input:focus-visible) {
1821
+ box-shadow: inset 0 0 0 var(--su-static2) var(--focus-theme), inset 0 0 0 var(--su-static4) var(--focus-neutral);
1822
+ outline: var(--su-static2) solid transparent !important;
1819
1823
  }
1820
- .s-check-group.s-check-group__horizontal {
1821
- --_cg-fd: row;
1824
+ .s-checkbox.s-checkbox__checkmark:has(> input:checked),
1825
+ .s-checkbox.s-radio__checkmark:has(> input:checked),
1826
+ .s-radio.s-checkbox__checkmark:has(> input:checked),
1827
+ .s-radio.s-radio__checkmark:has(> input:checked) {
1828
+ --_ch-after-fc: var(--_ch-fc);
1829
+ }
1830
+ .s-checkbox.s-checkbox__checkmark:has(> input[disabled]),
1831
+ .s-checkbox.s-radio__checkmark:has(> input[disabled]),
1832
+ .s-radio.s-checkbox__checkmark:has(> input[disabled]),
1833
+ .s-radio.s-radio__checkmark:has(> input[disabled]) {
1834
+ --_ch-cursor: not-allowed;
1835
+ }
1836
+ .s-checkbox.s-checkbox__checkmark:has(> input:checked[disabled]),
1837
+ .s-checkbox.s-radio__checkmark:has(> input:checked[disabled]),
1838
+ .s-radio.s-checkbox__checkmark:has(> input:checked[disabled]),
1839
+ .s-radio.s-radio__checkmark:has(> input:checked[disabled]) {
1840
+ --_ch-fc: var(--theme-secondary-300);
1841
+ }
1842
+ .s-checkbox.s-checkbox__checkmark input,
1843
+ .s-checkbox.s-radio__checkmark input,
1844
+ .s-radio.s-checkbox__checkmark input,
1845
+ .s-radio.s-radio__checkmark input,
1846
+ .s-checkbox.s-checkbox__checkmark:after,
1847
+ .s-checkbox.s-radio__checkmark:after,
1848
+ .s-radio.s-checkbox__checkmark:after,
1849
+ .s-radio.s-radio__checkmark:after {
1850
+ height: var(--su16);
1851
+ margin-left: 100%;
1852
+ width: var(--su16);
1822
1853
  }
1823
- .s-check-group legend.s-label {
1824
- margin-bottom: var(--su8);
1854
+ .s-checkbox.s-checkbox__checkmark:after,
1855
+ .s-checkbox.s-radio__checkmark:after,
1856
+ .s-radio.s-checkbox__checkmark:after,
1857
+ .s-radio.s-radio__checkmark:after {
1858
+ background-color: var(--_ch-after-fc);
1859
+ content: "";
1860
+ flex-shrink: 0;
1861
+ margin-left: auto;
1862
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m14 3.88-.44.44-7.34 7.35-.44.44-.44-.44-2.9-2.9L2 8.34l.89-.88.44.44 2.45 2.45 6.9-6.9.44-.44z'/%3E%3C/svg%3E");
1863
+ mask-size: contain;
1864
+ mask-repeat: no-repeat;
1825
1865
  }
1826
- .s-checkbox,
1827
- .s-radio {
1828
- --_ch-baw: var(--su-static1);
1829
- --_ch-bc: var(--bc-dark);
1830
- --_ch-bg: var(--white);
1831
- --_ch-bg-image: unset;
1832
- background-color: var(--_ch-bg);
1833
- border: var(--_ch-baw) solid var(--_ch-bc);
1866
+ .s-checkbox.s-checkbox__checkmark input,
1867
+ .s-checkbox.s-radio__checkmark input,
1868
+ .s-radio.s-checkbox__checkmark input,
1869
+ .s-radio.s-radio__checkmark input {
1834
1870
  appearance: none;
1835
- cursor: pointer;
1836
- font-size: inherit;
1837
- height: 1em;
1838
- margin: 0;
1839
- outline: 0;
1840
- vertical-align: middle;
1841
- width: 1em;
1871
+ opacity: 0;
1872
+ position: absolute;
1873
+ right: 0;
1874
+ z-index: -1;
1842
1875
  }
1843
- fieldset[disabled] .s-checkbox,
1844
- fieldset[disabled] .s-radio,
1845
- .s-checkbox[disabled],
1846
- .s-radio[disabled] {
1847
- cursor: not-allowed;
1848
- opacity: var(--_o-disabled-static);
1876
+ .s-checkbox.s-checkbox__checkmark .s-description,
1877
+ .s-checkbox.s-radio__checkmark .s-description,
1878
+ .s-radio.s-checkbox__checkmark .s-description,
1879
+ .s-radio.s-radio__checkmark .s-description {
1880
+ margin: var(--su2) 0 0;
1881
+ padding: 0;
1882
+ }
1883
+ .s-checkbox.s-checkbox__checkmark .s-label,
1884
+ .s-checkbox.s-radio__checkmark .s-label,
1885
+ .s-radio.s-checkbox__checkmark .s-label,
1886
+ .s-radio.s-radio__checkmark .s-label {
1887
+ flex-grow: 1;
1888
+ }
1889
+ .s-checkbox:has(> input[disabled]) .s-label,
1890
+ .s-radio:has(> input[disabled]) .s-label {
1891
+ --_ch-label-fc: var(--black-300);
1892
+ }
1893
+ .s-checkbox:not(> input[disabled]):has(input:checked) .s-label,
1894
+ .s-radio:not(> input[disabled]):has(input:checked) .s-label,
1895
+ .s-checkbox:not(> input[disabled]):has(input:indeterminate) .s-label,
1896
+ .s-radio:not(> input[disabled]):has(input:indeterminate) .s-label {
1897
+ --_ch-label-fc: var(--black-600);
1898
+ }
1899
+ .s-checkbox:has(> .s-label .s-description),
1900
+ .s-radio:has(> .s-label .s-description),
1901
+ .s-checkbox:has(> .s-label .s-input-message),
1902
+ .s-radio:has(> .s-label .s-input-message) {
1903
+ --_ch-ai: flex-start;
1904
+ }
1905
+ .s-checkbox:has(> .s-label .s-description) input,
1906
+ .s-radio:has(> .s-label .s-description) input,
1907
+ .s-checkbox:has(> .s-label .s-input-message) input,
1908
+ .s-radio:has(> .s-label .s-input-message) input {
1909
+ margin-top: var(--su2);
1910
+ }
1911
+ .s-checkbox:has( > input:not(:checked)).has-error,
1912
+ .s-radio:has( > input:not(:checked)).has-error {
1913
+ --_ch-input-bc: var(--red-400);
1849
1914
  }
1850
- .s-check-group .s-checkbox,
1851
- .s-check-group .s-radio {
1852
- margin-top: calc(var(--su2) + var(--su1));
1915
+ .s-checkbox:has( > input:not(:checked)).has-success,
1916
+ .s-radio:has( > input:not(:checked)).has-success {
1917
+ --_ch-input-bc: var(--green-400);
1853
1918
  }
1854
- input.s-checkbox,
1855
- input.s-radio {
1919
+ .s-checkbox:has( > input:not(:checked)).has-warning,
1920
+ .s-radio:has( > input:not(:checked)).has-warning {
1921
+ --_ch-input-bc: var(--yellow-400);
1922
+ }
1923
+ .s-checkbox input,
1924
+ .s-radio input {
1925
+ appearance: none;
1926
+ background-color: var(--_ch-input-bg);
1927
+ border: var(--_ch-input-baw) solid var(--_ch-input-bc);
1928
+ border-radius: var(--_ch-input-br);
1929
+ cursor: var(--_ch-input-cursor);
1930
+ height: var(--_ch-input-h);
1931
+ aspect-ratio: 1 / 1;
1856
1932
  flex-shrink: 0;
1933
+ font-size: inherit;
1934
+ margin: 0;
1935
+ outline: 0;
1936
+ vertical-align: middle;
1857
1937
  }
1858
- .s-checkbox:focus,
1859
- .s-radio:focus {
1938
+ .s-checkbox input:focus-visible,
1939
+ .s-radio input:focus-visible {
1860
1940
  box-shadow: 0 0 0 var(--su-static2) var(--focus-neutral), 0 0 0 var(--su-static4) var(--focus-theme);
1861
1941
  outline: var(--su-static2) solid transparent !important;
1862
1942
  }
1863
- .s-checkbox {
1864
- background-image: var(--_ch-bg-image);
1865
- background-position: center center;
1866
- background-repeat: no-repeat;
1867
- background-size: contain;
1868
- border-radius: var(--br-md);
1943
+ .has-error .s-checkbox input:not(:checked),
1944
+ .has-error .s-radio input:not(:checked),
1945
+ .has-success .s-checkbox input:not(:checked),
1946
+ .has-success .s-radio input:not(:checked),
1947
+ .has-warning .s-checkbox input:not(:checked),
1948
+ .has-warning .s-radio input:not(:checked) {
1949
+ --_ch-input-bc-focus: var(--_ch-input-bc);
1950
+ }
1951
+ .has-error .s-checkbox input:not(:checked),
1952
+ .has-error .s-radio input:not(:checked) {
1953
+ --_ch-input-bc: var(--red-400);
1954
+ }
1955
+ .has-success .s-checkbox input:not(:checked),
1956
+ .has-success .s-radio input:not(:checked) {
1957
+ --_ch-input-bc: var(--green-400);
1958
+ }
1959
+ .has-warning .s-checkbox input:not(:checked),
1960
+ .has-warning .s-radio input:not(:checked) {
1961
+ --_ch-input-bc: var(--yellow-500);
1962
+ }
1963
+ .s-checkbox .s-label,
1964
+ .s-radio .s-label {
1965
+ color: var(--_ch-label-fc);
1966
+ font-size: var(--fs-body1);
1967
+ font-weight: normal;
1869
1968
  }
1870
1969
  @media (prefers-color-scheme: dark) {
1871
- body.theme-system .s-checkbox:checked {
1872
- --_ch-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3.41L8.59 2 4 6.59 2.41 5 1 6.41l3 3z' fill='%23141414'/%3E%3C/svg%3E");
1970
+ body.theme-system .s-checkbox input:checked {
1971
+ --_ch-input-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3.41L8.59 2 4 6.59 2.41 5 1 6.41l3 3z' fill='%23141414'/%3E%3C/svg%3E");
1873
1972
  }
1874
- body.theme-system .s-checkbox:indeterminate {
1875
- --_ch-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4.5 h7 v2 h-7 z' fill='%23141414'/%3E%3C/svg%3E");
1973
+ body.theme-system .s-checkbox input:indeterminate {
1974
+ --_ch-input-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4.5 h7 v2 h-7 z' fill='%23141414'/%3E%3C/svg%3E");
1876
1975
  }
1877
1976
  }
1878
- body.theme-dark .s-checkbox:checked,
1879
- .theme-dark__forced .s-checkbox:checked,
1880
- body.theme-system .theme-dark__forced .s-checkbox:checked {
1881
- --_ch-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3.41L8.59 2 4 6.59 2.41 5 1 6.41l3 3z' fill='%23141414'/%3E%3C/svg%3E");
1882
- }
1883
- body.theme-dark .s-checkbox:indeterminate,
1884
- .theme-dark__forced .s-checkbox:indeterminate,
1885
- body.theme-system .theme-dark__forced .s-checkbox:indeterminate {
1886
- --_ch-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4.5 h7 v2 h-7 z' fill='%23141414'/%3E%3C/svg%3E");
1887
- }
1888
- @media (prefers-color-scheme: dark) {
1889
- body.theme-highcontrast.theme-system .s-checkbox:checked,
1890
- body.theme-highcontrast.theme-system .s-checkbox:indeterminate {
1891
- --_ch-bc: var(--black) !important;
1892
- --_ch-bg: var(--black);
1893
- }
1977
+ body.theme-dark .s-checkbox input:checked,
1978
+ .theme-dark__forced .s-checkbox input:checked,
1979
+ body.theme-system .theme-dark__forced .s-checkbox input:checked {
1980
+ --_ch-input-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3.41L8.59 2 4 6.59 2.41 5 1 6.41l3 3z' fill='%23141414'/%3E%3C/svg%3E");
1894
1981
  }
1895
- body.theme-highcontrast.theme-dark .s-checkbox:checked,
1896
- body.theme-highcontrast.theme-dark .s-checkbox:indeterminate {
1897
- --_ch-bc: var(--black) !important;
1898
- --_ch-bg: var(--black);
1982
+ body.theme-dark .s-checkbox input:indeterminate,
1983
+ .theme-dark__forced .s-checkbox input:indeterminate,
1984
+ body.theme-system .theme-dark__forced .s-checkbox input:indeterminate {
1985
+ --_ch-input-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4.5 h7 v2 h-7 z' fill='%23141414'/%3E%3C/svg%3E");
1899
1986
  }
1900
- @media (forced-colors: active) {
1901
- .s-checkbox:checked,
1902
- .s-checkbox:indeterminate {
1903
- --_ch-bg: ButtonText !important;
1904
- }
1987
+ .s-checkbox input {
1988
+ background-image: var(--_ch-input-bg-image);
1989
+ background-position: center center;
1990
+ background-repeat: no-repeat;
1991
+ background-size: contain;
1905
1992
  }
1906
- .s-checkbox:checked,
1907
- .s-checkbox:indeterminate {
1908
- --_ch-bc: var(--theme-secondary) !important;
1909
- --_ch-bg: var(--theme-secondary);
1993
+ fieldset[disabled] .s-checkbox input:checked,
1994
+ .s-checkbox input[disabled]:checked,
1995
+ fieldset[disabled] .s-checkbox input:indeterminate,
1996
+ .s-checkbox input[disabled]:indeterminate {
1997
+ --_ch-input-bc: var(--theme-secondary-300);
1998
+ --_ch-input-bg: var(--theme-secondary-300);
1910
1999
  }
1911
- .s-checkbox:checked {
1912
- --_ch-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3.41L8.59 2 4 6.59 2.41 5 1 6.41l3 3z' fill='%23ffffff'/%3E%3C/svg%3E");
2000
+ .s-checkbox input:checked,
2001
+ .s-checkbox input:indeterminate {
2002
+ --_ch-input-bc: var(--theme-secondary);
2003
+ --_ch-input-bg: var(--theme-secondary);
1913
2004
  }
1914
- .s-checkbox:indeterminate {
1915
- --_ch-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4.5 h7 v2 h-7 z' fill='%23ffffff'/%3E%3C/svg%3E");
2005
+ .s-checkbox input:checked {
2006
+ --_ch-input-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3.41L8.59 2 4 6.59 2.41 5 1 6.41l3 3z' fill='%23ffffff'/%3E%3C/svg%3E");
1916
2007
  }
1917
- .s-radio {
1918
- border-radius: var(--br-circle);
2008
+ .s-checkbox input:indeterminate {
2009
+ --_ch-input-bg-image: url("data:image/svg+xml;,%3Csvg width='11' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4.5 h7 v2 h-7 z' fill='%23ffffff'/%3E%3C/svg%3E");
1919
2010
  }
1920
- @media (prefers-color-scheme: dark) {
1921
- body.theme-highcontrast.theme-system .s-radio:checked {
1922
- --_ch-bc: var(--black);
1923
- outline: var(--su-static1) solid var(--black);
1924
- }
1925
- }
1926
- body.theme-highcontrast.theme-dark .s-radio:checked {
1927
- --_ch-bc: var(--black);
1928
- outline: var(--su-static1) solid var(--black);
1929
- }
1930
- .s-radio:checked {
1931
- --_ch-baw: 0.30769231em;
1932
- --_ch-bc: var(--theme-secondary);
1933
- --_ch-bg: var(--white);
1934
- }
1935
- .has-error .s-checkbox,
1936
- .has-error .s-radio:not(:checked),
1937
- .has-success .s-checkbox,
1938
- .has-success .s-radio:not(:checked),
1939
- .has-warning .s-checkbox,
1940
- .has-warning .s-radio:not(:checked) {
1941
- --_ch-bc-focus: var(--_ch-bc);
1942
- }
1943
- .has-error .s-checkbox,
1944
- .has-error .s-radio:not(:checked) {
1945
- --_ch-bc: var(--red-400);
1946
- }
1947
- .has-success .s-checkbox,
1948
- .has-success .s-radio:not(:checked) {
1949
- --_ch-bc: var(--green-400);
1950
- }
1951
- .has-warning .s-checkbox,
1952
- .has-warning .s-radio:not(:checked) {
1953
- --_ch-bc: var(--yellow-500);
1954
- }
1955
- .s-check-control {
1956
- --_cc-ai: center;
1957
- align-items: var(--_cc-ai);
1958
- display: flex;
1959
- gap: var(--su8);
2011
+ .s-radio input {
2012
+ --_ch-input-br: var(--br-circle);
1960
2013
  }
1961
- .s-check-group .s-check-control {
1962
- --_cc-ai: flex-start;
2014
+ fieldset[disabled] .s-radio input:checked,
2015
+ .s-radio input[disabled]:checked {
2016
+ --_ch-input-bc: var(--theme-secondary-300);
1963
2017
  }
1964
- .s-check-control .s-label {
1965
- font-weight: normal;
2018
+ .s-radio input:checked {
2019
+ --_ch-input-baw: calc(var(--_ch-input-h) / 3);
2020
+ --_ch-input-bc: var(--theme-secondary);
2021
+ --_ch-input-bg: var(--white);
1966
2022
  }
1967
- .s-check-group {
1968
- --_cg-fd: column;
1969
- flex-direction: var(--_cg-fd);
2023
+ .s-form-group {
2024
+ --_fg-fd: column;
2025
+ --_fg-gap: var(--su8);
2026
+ flex-direction: var(--_fg-fd);
1970
2027
  display: flex;
1971
- gap: var(--su8);
2028
+ gap: var(--_fg-gap);
2029
+ }
2030
+ .s-form-group.s-menu {
2031
+ --_fg-gap: 0;
1972
2032
  }
1973
- .s-check-group.s-check-group__horizontal {
1974
- --_cg-fd: row;
2033
+ .s-form-group.s-form-group__horizontal {
2034
+ --_fg-fd: row;
1975
2035
  }
1976
- .s-check-group legend.s-label {
2036
+ .s-form-group legend.s-label {
1977
2037
  margin-bottom: var(--su8);
1978
2038
  }
1979
2039
  .s-code-block {
@@ -2132,25 +2192,43 @@ pre.s-code-block::-webkit-scrollbar-corner {
2132
2192
  border-color: transparent;
2133
2193
  }
2134
2194
  .s-description {
2135
- color: var(--fc-light);
2195
+ --_de-fc: var(--black-400);
2196
+ color: var(--_de-fc);
2136
2197
  font-size: var(--fs-caption);
2137
2198
  padding: 0 var(--su2);
2138
2199
  }
2139
2200
  .is-disabled .s-description {
2140
2201
  opacity: var(--_o-disabled-static);
2141
2202
  }
2203
+ .has-error .s-description {
2204
+ --_de-fc: var(--red-400);
2205
+ }
2206
+ .has-success .s-description {
2207
+ --_de-fc: var(--green-400);
2208
+ }
2209
+ .has-warning .s-description {
2210
+ --_de-fc: var(--yellow-400);
2211
+ }
2142
2212
  .s-empty-state {
2143
- color: var(--fc-light);
2144
2213
  text-align: center;
2145
2214
  margin-left: auto;
2146
2215
  margin-right: auto;
2147
2216
  }
2148
2217
  .s-empty-state p {
2149
- font-size: var(--fs-body1);
2150
- margin-bottom: var(--su12);
2218
+ color: var(--black-400);
2219
+ margin-bottom: var(--su32);
2151
2220
  }
2152
- .s-empty-state p strong {
2153
- color: var(--fc-dark);
2221
+ .s-empty-state--title {
2222
+ font-weight: 600;
2223
+ font-size: var(--fs-body3);
2224
+ margin-bottom: var(--su8);
2225
+ color: var(--black-400);
2226
+ }
2227
+ .s-empty-state .svg-spot {
2228
+ margin-bottom: var(--su24);
2229
+ }
2230
+ .s-empty-state:last-child {
2231
+ margin-bottom: 0;
2154
2232
  }
2155
2233
  .s-expandable {
2156
2234
  --_ex-after-h: 10px;
@@ -2213,13 +2291,17 @@ pre.s-code-block::-webkit-scrollbar-corner {
2213
2291
  .s-input,
2214
2292
  .s-textarea,
2215
2293
  :has(> .s-textarea) {
2294
+ --_in-ai: unset;
2216
2295
  --_in-bc: var(--black-300);
2217
2296
  --_in-bg: var(--white);
2218
2297
  --_in-br: var(--br-md);
2219
2298
  --_in-bw: var(--su-static1);
2220
2299
  --_in-c: unset;
2300
+ --_in-d: unset;
2221
2301
  --_in-fc: var(--black-600);
2222
2302
  --_in-fs: var(--fs-body1);
2303
+ --_in-fw: unset;
2304
+ --_in-g: unset;
2223
2305
  --_in-lh: var(--lh-base);
2224
2306
  --_in-px: calc(var(--su12) - var(--su1));
2225
2307
  --_in-py: var(--su8);
@@ -2228,11 +2310,15 @@ pre.s-code-block::-webkit-scrollbar-corner {
2228
2310
  .s-input,
2229
2311
  .s-textarea {
2230
2312
  scrollbar-color: var(--scrollbar) transparent;
2313
+ align-items: var(--_in-ai);
2231
2314
  background-color: var(--_in-bg);
2232
2315
  border: var(--_in-bw) solid var(--_in-bc);
2233
2316
  color: var(--_in-fc);
2234
2317
  cursor: var(--_in-c);
2318
+ display: var(--_in-d);
2319
+ flex-wrap: var(--_in-fw);
2235
2320
  font-size: var(--_in-fs);
2321
+ gap: var(--_in-g);
2236
2322
  line-height: var(--_in-lh);
2237
2323
  padding: var(--_in-py) var(--_in-px) var(--_in-py) var(--_in-pl, var(--_in-px));
2238
2324
  border-radius: var(--br-md);
@@ -2358,13 +2444,6 @@ body.theme-highcontrast .has-warning .s-textarea {
2358
2444
  background-color: transparent;
2359
2445
  border-color: transparent;
2360
2446
  }
2361
- .s-input:has(> input.s-input) {
2362
- display: flex;
2363
- align-items: center;
2364
- }
2365
- .s-input:has(> input.s-input) input.s-input {
2366
- flex: 1 1 0;
2367
- }
2368
2447
  .is-disabled .s-input,
2369
2448
  .is-readonly .s-input,
2370
2449
  .has-success .s-input,
@@ -2377,12 +2456,15 @@ body.theme-highcontrast .has-warning .s-textarea {
2377
2456
  --_in-bw: 0;
2378
2457
  --_in-px: 0;
2379
2458
  box-shadow: none;
2459
+ flex: 1 1 0;
2380
2460
  margin: calc(var(--_in-py) * -1) 0;
2381
2461
  }
2382
2462
  .s-input:has(.s-input) {
2463
+ --_in-ai: center;
2464
+ --_in-d: flex;
2465
+ --_in-fw: nowrap;
2383
2466
  --_in-px: var(--_in-py);
2384
- flex-wrap: wrap;
2385
- gap: var(--su8);
2467
+ --_in-g: var(--su8);
2386
2468
  }
2387
2469
  .s-textarea {
2388
2470
  --_in-py: var(--su8);
@@ -2529,9 +2611,7 @@ fieldset[disabled] .s-input-message {
2529
2611
  --_la-c: pointer;
2530
2612
  }
2531
2613
  fieldset[disabled] .s-label,
2532
- .is-disabled .s-label,
2533
- .s-check-control .s-checkbox[disabled] + .s-label,
2534
- .s-check-control .s-radio[disabled] + .s-label {
2614
+ .is-disabled .s-label {
2535
2615
  opacity: var(--_o-disabled-static);
2536
2616
  }
2537
2617
  fieldset[disabled] .s-label .s-description,
@@ -2541,9 +2621,7 @@ fieldset[disabled] .s-label .s-description,
2541
2621
  fieldset[disabled] .s-label,
2542
2622
  .is-disabled .s-label,
2543
2623
  fieldset[disabled] .s-label[for],
2544
- .is-disabled .s-label[for],
2545
- .s-check-control .s-checkbox[disabled] + .s-label,
2546
- .s-check-control .s-radio[disabled] + .s-label {
2624
+ .is-disabled .s-label[for] {
2547
2625
  --_la-c: not-allowed;
2548
2626
  }
2549
2627
  .is-readonly .s-label {
@@ -2865,7 +2943,6 @@ body.theme-highcontrast .s-link-preview a.s-link-preview--title.s-link__visited:
2865
2943
  --_me-action-bg: unset;
2866
2944
  --_me-action-fc: var(--black-500);
2867
2945
  --_me-item-p: var(--su8);
2868
- --_me-after-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m14 3.88-.44.44-7.34 7.35-.44.44-.44-.44-2.9-2.9L2 8.34l.89-.88.44.44 2.45 2.45 6.9-6.9.44-.44z'/%3E%3C/svg%3E");
2869
2946
  list-style: none;
2870
2947
  margin: 0;
2871
2948
  padding: 0;
@@ -2889,16 +2966,16 @@ body.theme-highcontrast .s-link-preview a.s-link-preview--title.s-link__visited:
2889
2966
  .s-menu .s-menu--item:has(> .s-menu--action) {
2890
2967
  --_me-item-p: 0;
2891
2968
  }
2892
- .s-menu .s-menu--item.s-check-control {
2969
+ .s-menu .s-menu--item.s-checkbox,
2970
+ .s-menu .s-menu--item.s-radio {
2893
2971
  --_me-item-p: var(--su6) var(--su8);
2894
2972
  align-items: flex-start;
2895
2973
  }
2896
- .s-menu .s-menu--item.s-check-control .s-radio,
2897
- .s-menu .s-menu--item.s-check-control .s-checkbox {
2974
+ .s-menu .s-menu--item.s-checkbox input,
2975
+ .s-menu .s-menu--item.s-radio input {
2898
2976
  margin-top: var(--su4);
2899
2977
  }
2900
- .s-menu .s-menu--item:not(.s-check-control) .s-radio,
2901
- .s-menu .s-menu--item:not(.s-check-control) .s-checkbox {
2978
+ .s-menu .s-menu--item:not(.s-checkbox):not(.s-radio) input {
2902
2979
  height: 0;
2903
2980
  pointer-events: none;
2904
2981
  position: absolute;
@@ -2933,17 +3010,6 @@ body.theme-highcontrast .s-link-preview a.s-link-preview--title.s-link__visited:
2933
3010
  .s-menu .s-menu--action__danger:hover {
2934
3011
  --_me-action-fc: var(--red-500);
2935
3012
  }
2936
- .s-menu .s-menu--action.is-selected:after,
2937
- .s-menu .s-menu--action:has(input:checked):after {
2938
- background-color: var(--_me-action-fc);
2939
- content: "";
2940
- height: var(--su16);
2941
- margin-left: auto;
2942
- width: var(--su16);
2943
- mask-image: var(--_me-after-mask);
2944
- mask-size: contain;
2945
- mask-repeat: no-repeat;
2946
- }
2947
3013
  .s-menu button.s-menu--action {
2948
3014
  border: none;
2949
3015
  font-family: inherit;
@@ -3265,158 +3331,117 @@ body.theme-highcontrast .s-navigation .s-navigation--item:active {
3265
3331
  * @baseClass - The base class name for the notice component
3266
3332
  */
3267
3333
  .s-notice {
3268
- --_no-bc: var(--black-225);
3269
- --_no-bg: var(--black-100);
3270
- --_no-fc: var(--black-500);
3271
- --_no-btn-bg-active: var(--black-250);
3272
- --_no-btn-bg-focus: var(--black-225);
3273
- --_no-btn-fc: var(--_no-fc);
3334
+ --_no-bg: var(--black-150);
3335
+ --_no-icon-bg: var(--black-200);
3336
+ --_no-fc: var(--black-600);
3274
3337
  --_no-code-bc: var(--black-300);
3275
3338
  --_no-code-bg: var(--black-200);
3276
3339
  --_no-code-fc: var(--_no-fc);
3277
3340
  background: var(--_no-bg);
3278
- border-color: var(--_no-bc);
3279
3341
  color: var(--_no-fc);
3280
- border-style: solid;
3281
- font-size: var(--fs-body1);
3282
- border-radius: var(--br-md);
3283
- border-width: var(--su-static1);
3284
- padding: var(--su16);
3342
+ display: flex;
3343
+ align-items: center;
3344
+ --_no-pd: var(--su8);
3345
+ padding: var(--_no-pd) var(--su12) var(--_no-pd) 0;
3346
+ }
3347
+ body.theme-highcontrast .s-notice:not(body.theme-highcontrast .s-notice__important) {
3348
+ --_no-icon-bc: var(--_no-code-bc);
3285
3349
  }
3286
- body.theme-highcontrast .s-notice {
3287
- --_no-bc: var(--black-400);
3288
- }
3289
- body.theme-highcontrast .s-notice,
3290
- body.theme-highcontrast .s-notice.s-notice__danger,
3291
- body.theme-highcontrast .s-notice.s-notice__info,
3292
- body.theme-highcontrast .s-notice.s-notice__success,
3293
- body.theme-highcontrast .s-notice.s-notice__warning {
3294
- --_no-code-bc: var(--black-400);
3295
- --_no-code-bg: var(--white);
3296
- --_no-code-fc: var(--black);
3297
- }
3298
- body.theme-highcontrast .s-notice.s-notice__important,
3299
- body.theme-highcontrast .s-notice.s-notice__danger.s-notice__important,
3300
- body.theme-highcontrast .s-notice.s-notice__info.s-notice__important,
3301
- body.theme-highcontrast .s-notice.s-notice__success.s-notice__important,
3302
- body.theme-highcontrast .s-notice.s-notice__warning.s-notice__important {
3303
- --_no-code-bc: var(--black-200);
3304
- --_no-code-bg: var(--black);
3305
- --_no-code-fc: var(--white);
3306
- }
3307
- .s-notice__important:not(.s-notice__danger):not(.s-notice__info):not(.s-notice__success):not(.s-notice__warning) {
3308
- --_no-bc: var(--_no-bg);
3309
- --_no-bg: var(--black-500);
3350
+ .s-notice__important {
3351
+ --_no-bg: var(--black-400);
3352
+ --_no-icon-bg: var(--black-500);
3310
3353
  --_no-fc: var(--white);
3311
- --_no-btn-bg-focus: var(--black-600);
3312
- --_no-btn-bg-active: var(--black-600);
3313
- --_no-btn-fc: var(--_no-fc);
3314
3354
  --_no-code-bc: var(--black-300);
3315
- --_no-code-bg: var(--black-600);
3355
+ --_no-code-bg: var(--black-500);
3316
3356
  }
3317
3357
  .s-notice__danger:not(.s-notice__important) {
3318
- --_no-bc: var(--red-300);
3319
3358
  --_no-bg: var(--red-100);
3320
- --_no-btn-bg-active: var(--red-200);
3321
- --_no-btn-bg-focus: var(--red-200);
3322
- --_no-btn-fc: var(--red-500);
3359
+ --_no-icon-bg: var(--red-200);
3323
3360
  --_no-code-bc: var(--red-300);
3324
3361
  --_no-code-bg: var(--red-200);
3325
3362
  }
3326
- body.theme-highcontrast .s-notice__danger:not(.s-notice__important) {
3327
- --_no-bc: var(--red-400);
3328
- }
3329
3363
  .s-notice__danger.s-notice__important {
3330
- --_no-bc: var(--_no-bg);
3331
3364
  --_no-bg: var(--red-400);
3365
+ --_no-icon-bg: var(--red-500);
3332
3366
  --_no-fc: var(--white);
3333
- --_no-btn-bg-active: var(--red-500);
3334
- --_no-btn-bg-focus: var(--red-500);
3335
- --_no-btn-fc: var(--red-100);
3336
3367
  --_no-code-bc: var(--red-300);
3337
3368
  --_no-code-bg: var(--red-500);
3338
3369
  }
3339
- body.theme-highcontrast .s-notice__danger.s-notice__important {
3340
- --_no-bg: var(--red-500);
3341
- }
3342
3370
  .s-notice__info:not(.s-notice__important) {
3343
- --_no-bc: var(--theme-secondary-300);
3344
- --_no-bg: var(--theme-secondary-100);
3345
- --_no-btn-bg-active: var(--theme-secondary-200);
3346
- --_no-btn-bg-focus: var(--theme-secondary-200);
3347
- --_no-btn-fc: var(--theme-secondary-500);
3348
- --_no-code-bc: var(--theme-secondary-300);
3349
- --_no-code-bg: var(--theme-secondary-200);
3350
- }
3351
- body.theme-highcontrast .s-notice__info:not(.s-notice__important) {
3352
- --_no-bc: var(--theme-secondary-400);
3371
+ --_no-bg: var(--blue-100);
3372
+ --_no-icon-bg: var(--blue-200);
3373
+ --_no-code-bc: var(--blue-300);
3374
+ --_no-code-bg: var(--blue-200);
3353
3375
  }
3354
3376
  .s-notice__info.s-notice__important {
3355
- --_no-bc: var(--_no-bg);
3356
- --_no-bg: var(--theme-secondary-400);
3377
+ --_no-bg: var(--blue-400);
3378
+ --_no-icon-bg: var(--blue-500);
3357
3379
  --_no-fc: var(--white);
3358
- --_no-btn-bg-active: var(--theme-secondary-500);
3359
- --_no-btn-bg-focus: var(--theme-secondary-500);
3360
- --_no-btn-fc: var(--theme-secondary-100);
3361
- --_no-code-bc: var(--theme-secondary-300);
3362
- --_no-code-bg: var(--theme-secondary-500);
3363
- }
3364
- body.theme-highcontrast .s-notice__info.s-notice__important {
3365
- --_no-bg: var(--theme-secondary-500);
3380
+ --_no-code-bc: var(--blue-300);
3381
+ --_no-code-bg: var(--blue-500);
3366
3382
  }
3367
3383
  .s-notice__success:not(.s-notice__important) {
3368
- --_no-bc: var(--green-300);
3369
3384
  --_no-bg: var(--green-100);
3370
- --_no-btn-bg-active: var(--green-200);
3371
- --_no-btn-bg-focus: var(--green-200);
3372
- --_no-btn-fc: var(--green-500);
3385
+ --_no-icon-bg: var(--green-200);
3373
3386
  --_no-code-bc: var(--green-300);
3374
3387
  --_no-code-bg: var(--green-200);
3375
3388
  }
3376
- body.theme-highcontrast .s-notice__success:not(.s-notice__important) {
3377
- --_no-bc: var(--green-400);
3378
- }
3379
3389
  .s-notice__success.s-notice__important {
3380
- --_no-bc: var(--_no-bg);
3381
3390
  --_no-bg: var(--green-400);
3391
+ --_no-icon-bg: var(--green-500);
3382
3392
  --_no-fc: var(--white);
3383
- --_no-btn-bg-active: var(--green-500);
3384
- --_no-btn-bg-focus: var(--green-500);
3385
- --_no-btn-fc: var(--green-100);
3386
3393
  --_no-code-bc: var(--green-300);
3387
3394
  --_no-code-bg: var(--green-500);
3388
3395
  }
3389
- body.theme-highcontrast .s-notice__success.s-notice__important {
3390
- --_no-bg: var(--green-500);
3396
+ .s-notice__featured:not(.s-notice__important) {
3397
+ --_no-bg: var(--purple-100);
3398
+ --_no-icon-bg: var(--purple-200);
3399
+ --_no-code-bc: var(--purple-300);
3400
+ --_no-code-bg: var(--purple-200);
3401
+ }
3402
+ .s-notice__featured.s-notice__important {
3403
+ --_no-bg: var(--purple-400);
3404
+ --_no-icon-bg: var(--purple-500);
3405
+ --_no-fc: var(--white);
3406
+ --_no-code-bc: var(--purple-300);
3407
+ --_no-code-bg: var(--purple-500);
3408
+ }
3409
+ .s-notice__activity:not(.s-notice__important) {
3410
+ --_no-bg: var(--pink-100);
3411
+ --_no-icon-bg: var(--pink-200);
3412
+ --_no-code-bc: var(--pink-300);
3413
+ --_no-code-bg: var(--pink-200);
3414
+ }
3415
+ .s-notice__activity.s-notice__important {
3416
+ --_no-bg: var(--pink-400);
3417
+ --_no-icon-bg: var(--pink-500);
3418
+ --_no-fc: var(--white);
3419
+ --_no-code-bc: var(--pink-300);
3420
+ --_no-code-bg: var(--pink-500);
3391
3421
  }
3392
3422
  .s-notice__warning:not(.s-notice__important) {
3393
- --_no-bc: var(--yellow-300);
3394
3423
  --_no-bg: var(--yellow-100);
3395
- --_no-btn-bg-active: var(--yellow-200);
3396
- --_no-btn-bg-focus: var(--yellow-200);
3397
- --_no-btn-fc: var(--yellow-500);
3424
+ --_no-icon-bg: var(--yellow-200);
3398
3425
  --_no-code-bc: var(--yellow-300);
3399
3426
  --_no-code-bg: var(--yellow-200);
3400
- --_no-btn-fc: var(--yellow-600);
3401
- }
3402
- body.theme-highcontrast .s-notice__warning:not(.s-notice__important) {
3403
- --_no-bc: var(--yellow-400);
3404
3427
  }
3405
3428
  .s-notice__warning.s-notice__important {
3406
- --_no-bc: var(--_no-bg);
3407
- --_no-bg: var(--yellow-400);
3429
+ --_no-bg: var(--yellow-300);
3430
+ --_no-icon-bg: var(--yellow-400);
3408
3431
  --_no-fc: var(--black);
3409
- --_no-btn-fc: var(--_no-fc);
3410
- --_no-btn-bg-active: var(--yellow-300);
3411
- --_no-btn-bg-focus: var(--yellow-300);
3412
- --_no-code-bc: var(--yellow-500);
3413
- --_no-code-bg: var(--yellow-300);
3432
+ --_no-code-bc: var(--yellow-400);
3433
+ --_no-code-bg: var(--yellow-200);
3434
+ }
3435
+ .s-notice__warning.s-notice__important .s-notice--icon {
3436
+ color: var(--white);
3414
3437
  }
3415
3438
  @media (prefers-color-scheme: dark) {
3416
3439
  body.theme-system .s-notice__warning.s-notice__important {
3417
3440
  --_no-fc: var(--white);
3418
3441
  --_no-code-bc: var(--yellow-300);
3419
3442
  --_no-code-bg: var(--yellow-500);
3443
+ --_no-bg: var(--yellow-400);
3444
+ --_no-icon-bg: var(--yellow-500);
3420
3445
  }
3421
3446
  }
3422
3447
  body.theme-dark .s-notice__warning.s-notice__important,
@@ -3425,32 +3450,49 @@ body.theme-system .theme-dark__forced .s-notice__warning.s-notice__important {
3425
3450
  --_no-fc: var(--white);
3426
3451
  --_no-code-bc: var(--yellow-300);
3427
3452
  --_no-code-bg: var(--yellow-500);
3453
+ --_no-bg: var(--yellow-400);
3454
+ --_no-icon-bg: var(--yellow-500);
3428
3455
  }
3429
3456
  body.theme-highcontrast .s-notice__warning.s-notice__important {
3430
- --_no-bg: var(--yellow-500);
3457
+ --_no-bg: var(--yellow-400);
3458
+ --_no-icon-bg: var(--yellow-500);
3459
+ --_no-code-bc: var(--yellow-300);
3460
+ --_no-code-bg: var(--yellow-500);
3431
3461
  --_no-fc: var(--white);
3432
- --_no-btn-bg-active: transparent;
3433
- --_no-btn-bg-focus: transparent;
3434
3462
  }
3435
3463
  .s-notice code {
3436
3464
  background-color: var(--_no-code-bg);
3437
3465
  color: var(--_no-code-fc);
3438
3466
  outline: var(--su-static1) solid var(--_no-code-bc);
3439
- border-radius: var(--br-md);
3440
3467
  padding-left: var(--su2);
3441
3468
  padding-right: var(--su2);
3469
+ white-space: nowrap;
3442
3470
  }
3443
- .s-notice .s-notice--btn {
3444
- color: var(--_no-btn-fc, inherit) !important;
3445
- padding: var(--su8);
3446
- }
3447
- .s-notice .s-notice--btn:active {
3448
- background-color: var(--_no-btn-bg-active, inherit) !important;
3449
- }
3450
- .s-notice .s-notice--btn:focus-visible,
3451
- .s-notice .s-notice--btn:hover,
3452
- .s-notice .s-notice--btn.focus-inset-bordered {
3453
- background-color: var(--_no-btn-bg-focus, inherit) !important;
3471
+ button.s-notice--dismiss:active {
3472
+ background-color: var(--_no-fc);
3473
+ color: var(--_no-bg);
3474
+ }
3475
+ button.s-notice--dismiss:focus-visible,
3476
+ button.s-notice--dismiss:hover,
3477
+ button.s-notice--dismiss.focus-inset-bordered {
3478
+ background-color: var(--_no-fc);
3479
+ color: var(--_no-bg);
3480
+ }
3481
+ :has( > button.s-notice--dismiss) {
3482
+ padding-left: var(--su24);
3483
+ gap: calc(var(--su24) - var(--su2));
3484
+ word-wrap: initial !important;
3485
+ }
3486
+ .s-notice--icon {
3487
+ background: var(--_no-icon-bg);
3488
+ border: var(--su1) solid var(--_no-icon-bc, var(--_no-icon-bg));
3489
+ padding: var(--_no-pd);
3490
+ margin-right: var(--su12);
3491
+ align-self: stretch;
3492
+ display: flex;
3493
+ align-items: top;
3494
+ margin-top: calc(var(--_no-pd) * -1);
3495
+ margin-bottom: calc(var(--_no-pd) * -1);
3454
3496
  }
3455
3497
  .s-page-title {
3456
3498
  --_pt-ai: flex-end;
@@ -3572,7 +3614,7 @@ ul.s-pagination {
3572
3614
  --_po-bc: var(--bc-medium);
3573
3615
  --_po-bs: var(--bs-md);
3574
3616
  --_po-d: none;
3575
- --_po-wmn: 12rem;
3617
+ --_po-wmn: 10.5rem;
3576
3618
  --_po-w: 100%;
3577
3619
  --_po-topbar-height: var(--theme-topbar-height, calc(var(--su-static48) + var(--su-static8)));
3578
3620
  --_po-content-mxh: calc(100vh - var(--_po-topbar-height) - var(--su48));
@@ -3585,7 +3627,7 @@ ul.s-pagination {
3585
3627
  border-radius: var(--br-md);
3586
3628
  color: var(--fc-dark);
3587
3629
  font-size: var(--fs-body1);
3588
- max-width: 24rem;
3630
+ max-width: 21rem;
3589
3631
  padding: var(--su12);
3590
3632
  position: absolute;
3591
3633
  white-space: normal;
@@ -3913,8 +3955,8 @@ body.theme-highcontrast .s-post-summary .s-post-summary--answer:before {
3913
3955
  font-size: var(--fs-body3);
3914
3956
  font-weight: normal;
3915
3957
  line-height: var(--lh-md);
3916
- margin-bottom: 0.3846rem;
3917
- margin-top: -0.15rem;
3958
+ margin-bottom: 0.3365rem;
3959
+ margin-top: -0.125rem;
3918
3960
  padding-right: var(--su24);
3919
3961
  }
3920
3962
  .s-post-summary .s-post-summary--content-title a {
@@ -4365,11 +4407,11 @@ body.theme-highcontrast .s-prose {
4365
4407
  .s-prose.s-prose__xs,
4366
4408
  .s-prose.s-prose__sm,
4367
4409
  .s-prose.s-prose__md {
4368
- --_pr-h1-fs: var(--fs-headline1-relative);
4369
- --_pr-h2-fs: var(--fs-title-relative);
4370
- --_pr-h3-fs: var(--fs-subheading-relative);
4371
- --_pr-h4-fs: var(--fs-body3-relative);
4372
- --_pr-h5-fs: var(--fs-body2-relative);
4410
+ --_pr-h1-fs: 1.75em;
4411
+ --_pr-h2-fs: 1.375em;
4412
+ --_pr-h3-fs: 1.25em;
4413
+ --_pr-h4-fs: 1.125em;
4414
+ --_pr-h5-fs: 1em;
4373
4415
  }
4374
4416
  .s-prose.s-prose__xs {
4375
4417
  --_pr-fs: var(--fs-caption);
@@ -5474,9 +5516,6 @@ body.theme-highcontrast .s-skeleton {
5474
5516
  width: var(--_ta-td-w);
5475
5517
  color: var(--fc-medium);
5476
5518
  }
5477
- .s-table td .s-checkbox {
5478
- display: block;
5479
- }
5480
5519
  .s-table td.s-table--bulk {
5481
5520
  --_ta-td-w: calc(var(--su32) - var(--su2));
5482
5521
  }
@@ -5507,9 +5546,6 @@ body.theme-highcontrast .s-skeleton {
5507
5546
  color: var(--fc-dark);
5508
5547
  font-weight: bold;
5509
5548
  }
5510
- .s-table th .s-checkbox {
5511
- display: block;
5512
- }
5513
5549
  .s-table th.s-table--bulk {
5514
5550
  --_ta-th-w: calc(var(--su32) - var(--su2));
5515
5551
  }
@@ -5717,11 +5753,10 @@ a.s-tag:active {
5717
5753
  }
5718
5754
  .s-toast .s-notice {
5719
5755
  box-shadow: var(--bs-sm);
5720
- max-width: 44rem;
5756
+ max-width: 38.5rem;
5721
5757
  padding-bottom: var(--su8);
5722
5758
  padding-top: var(--su8);
5723
5759
  pointer-events: all;
5724
- width: 100%;
5725
5760
  }
5726
5761
  .s-toggle-switch {
5727
5762
  --_ts-bg: var(--black-350);
@@ -6450,109 +6485,207 @@ body.theme-highcontrast .s-uploader .s-uploader--preview-thumbnail {
6450
6485
  }
6451
6486
  .s-user-card {
6452
6487
  --_uc-ai: center;
6453
- --_uc-bg: unset;
6454
- --_uc-bar: unset;
6455
- --_uc-d: grid;
6456
- --_uc-fc: unset;
6457
- --_uc-g: var(--su4) var(--su8);
6458
- --_uc-p: var(--su8);
6459
- --_uc-info-ai: unset;
6460
- --_uc-info-fd: column;
6461
- --_uc-link-fs: var(--fs-caption);
6462
- --_uc-link-ws: unset;
6463
- --_uc-rep-fc: unset;
6464
- --_uc-time-fc: var(--black-400);
6465
- --_uc-time-ws: unset;
6466
- --_uc-type-fc: var(--theme-primary-400);
6488
+ --_uc-fd: unset;
6489
+ --_uc-column-gap: var(--su6);
6490
+ --_uc-group-gap: var(--su4);
6491
+ --_uc-row-gap: var(--su6);
6492
+ --_uc-username-fs: unset;
6467
6493
  align-items: var(--_uc-ai);
6468
- background-color: var(--_uc-bg);
6469
- border-radius: var(--_uc-bar);
6470
- color: var(--_uc-fc);
6471
- display: var(--_uc-d);
6472
- gap: var(--_uc-g);
6473
- grid-template-columns: auto 1fr;
6474
- line-height: 1;
6475
- padding: var(--_uc-p);
6476
- }
6477
- .s-user-card.s-user-card__deleted {
6478
- --_uc-fc: var(--black-400);
6479
- }
6480
- .s-user-card.s-user-card__highlighted {
6481
- --_uc-bg: var(--theme-secondary-100);
6482
- --_uc-bar: var(--br-md);
6483
- --_uc-time-fc: var(--black-500);
6484
- --_uc-type-fc: var(--black-500);
6485
- }
6486
- .s-user-card.s-user-card__minimal,
6487
- .s-user-card.s-user-card__small {
6488
- --_uc-d: flex;
6489
- --_uc-g: var(--su4);
6490
- --_uc-p: 0;
6491
- --_uc-info-ai: center;
6492
- --_uc-info-fd: row;
6493
- }
6494
- .s-user-card.s-user-card__full {
6494
+ color: var(--black-500);
6495
+ display: flex;
6496
+ flex-direction: var(--_uc-fd);
6497
+ flex-wrap: wrap;
6498
+ font-size: var(--fs-caption);
6499
+ gap: var(--su6);
6500
+ }
6501
+ .s-user-card.s-user-card__lg {
6495
6502
  --_uc-ai: flex-start;
6496
- --_uc-link-fs: var(--fs-body2);
6503
+ --_uc-fd: column;
6504
+ --_uc-username-fs: var(--fs-body3);
6497
6505
  }
6498
- .s-user-card.s-user-card__minimal {
6499
- --_uc-link-ws: nowrap;
6500
- --_uc-rep-fc: var(--black-500);
6501
- --_uc-time-ws: nowrap;
6506
+ .s-user-card.s-user-card__lg .s-avatar {
6507
+ margin-right: var(--su6);
6502
6508
  }
6503
- .s-user-card .s-user-card--location,
6504
- .s-user-card .s-user-card--role {
6505
- font-size: var(--fs-caption);
6509
+ .s-user-card.s-user-card__lg .s-user-card--username {
6510
+ margin-right: var(--su2);
6511
+ }
6512
+ .s-user-card.s-user-card__lg .s-user-card--group:has(> .s-user-card--rep) {
6513
+ margin-top: calc(var(--su2) * -1);
6514
+ }
6515
+ .s-user-card .s-user-card--bio {
6516
+ display: -webkit-box;
6517
+ -webkit-line-clamp: 3;
6518
+ -webkit-box-orient: vertical;
6519
+ overflow: hidden;
6520
+ color: var(--black-400);
6521
+ }
6522
+ .s-user-card .s-user-card--recognition {
6523
+ --_uc-row-gap: var(--su4);
6524
+ }
6525
+ .s-user-card .s-user-card--recognition,
6526
+ .s-user-card .s-user-card--recognition a {
6527
+ color: var(--theme-primary);
6528
+ }
6529
+ .s-user-card .s-user-card--rep {
6530
+ color: var(--black-600);
6531
+ font-weight: 600;
6532
+ }
6533
+ .s-user-card .s-user-card--time {
6506
6534
  color: var(--black-400);
6507
6535
  }
6508
- .s-user-card .s-user-card--awards {
6536
+ .s-user-card .s-user-card--username {
6537
+ font-size: var(--_uc-username-fs);
6538
+ font-weight: 500;
6539
+ min-width: 0;
6540
+ overflow-wrap: break-word;
6541
+ word-break: break-all;
6542
+ }
6543
+ .s-user-card .s-user-card--column {
6544
+ align-items: flex-start;
6545
+ display: flex;
6546
+ flex-direction: column;
6547
+ gap: var(--_uc-column-gap);
6548
+ }
6549
+ .s-user-card .s-user-card--group {
6550
+ align-items: center;
6551
+ display: flex;
6552
+ gap: var(--_uc-group-gap);
6553
+ }
6554
+ .s-user-card .s-user-card--group:has(> .s-avatar) {
6555
+ --_uc-group-gap: var(--su6);
6556
+ }
6557
+ .s-user-card .s-user-card--group:has(+ .s-user-card--time) {
6558
+ margin-right: var(--su2);
6559
+ }
6560
+ .s-user-card ul.s-user-card--group {
6509
6561
  list-style: none;
6510
6562
  margin: 0;
6511
6563
  padding: 0;
6512
- align-items: center;
6513
- display: flex;
6514
- gap: var(--su6);
6515
6564
  }
6516
- .s-user-card .s-user-card--awards li {
6517
- font-size: var(--fs-caption);
6565
+ .s-user-card ul.s-user-card--group.s-user-card--group__split li:not(:last-child):after {
6566
+ background-color: var(--black-350);
6567
+ content: "";
6568
+ display: block;
6569
+ margin-left: var(--su4);
6570
+ width: var(--su4);
6571
+ height: var(--su4);
6518
6572
  }
6519
- .s-user-card .s-user-card--info {
6520
- align-items: var(--_uc-info-ai);
6521
- flex-direction: var(--_uc-info-fd);
6522
- display: flex;
6523
- gap: var(--su4);
6573
+ .s-user-card ul.s-user-card--group li {
6574
+ align-items: center;
6575
+ display: inline-flex;
6576
+ gap: var(--su2);
6524
6577
  }
6525
- .s-user-card .s-user-card--link {
6526
- font-size: var(--_uc-link-fs);
6527
- white-space: var(--_uc-link-ws);
6578
+ .s-user-card .s-user-card--row {
6528
6579
  align-items: center;
6580
+ display: flex;
6581
+ flex-direction: row;
6529
6582
  flex-wrap: wrap;
6530
- min-width: 0;
6531
- overflow-wrap: break-word;
6583
+ gap: var(--_uc-row-gap);
6584
+ }
6585
+ .s-vote {
6586
+ --_vo-fd: column;
6587
+ --_vo-child-bg: var(--black-150);
6588
+ --_vo-child-br: unset;
6589
+ --_vo-child-fd: var(--_vo-fd);
6590
+ --_vo-child-g: calc(var(--su8) + var(--su2));
6591
+ --_vo-child-h: unset;
6592
+ --_vo-child-w: calc(var(--su48) + var(--su2));
6593
+ --_vo-child-p: unset;
6594
+ flex-direction: var(--_vo-fd);
6595
+ display: flex;
6532
6596
  }
6533
- .s-user-card .s-user-card--rep {
6534
- color: var(--_uc-rep-fc);
6535
- font-weight: 700;
6597
+ .s-vote:not(.s-vote__horizontal) :first-child {
6598
+ --_vo-child-p: calc(var(--su12) + var(--su2)) 0 calc(var(--su12) - var(--su2));
6599
+ --_vo-child-br: var(--br-pill) var(--br-pill) 0 0;
6600
+ }
6601
+ .s-vote:not(.s-vote__horizontal) :last-child {
6602
+ --_vo-child-p: calc(var(--su12) - var(--su2)) 0 calc(var(--su12) + var(--su2));
6603
+ --_vo-child-br: 0 0 var(--br-pill) var(--br-pill);
6604
+ }
6605
+ .s-vote:not(.s-vote__horizontal) :only-child {
6606
+ --_vo-child-br: var(--br-pill);
6607
+ --_vo-child-g: calc(var(--su16) + var(--su4));
6608
+ --_vo-child-p: calc(var(--su12) + var(--su2)) 0;
6609
+ }
6610
+ .s-vote.s-vote__expanded {
6611
+ --_vo-child-g: var(--su2);
6612
+ --_vo-child-p: 0;
6613
+ }
6614
+ .s-vote.s-vote__expanded .s-vote--total {
6615
+ display: none;
6616
+ }
6617
+ .s-vote.s-vote__expanded .s-vote--upvotes,
6618
+ .s-vote.s-vote__expanded .s-vote--downvotes {
6619
+ display: block;
6620
+ }
6621
+ .s-vote.s-vote__horizontal {
6622
+ --_vo-fd: row;
6623
+ --_vo-child-h: var(--su32);
6624
+ --_vo-child-p: 0 var(--su4);
6625
+ --_vo-child-w: unset;
6626
+ }
6627
+ .s-vote.s-vote__horizontal :first-child {
6628
+ --_vo-child-p: 0 var(--su6) 0 calc(var(--su8) + var(--su2));
6629
+ --_vo-child-br: var(--br-pill) 0 0 var(--br-pill);
6630
+ }
6631
+ .s-vote.s-vote__horizontal :last-child {
6632
+ --_vo-child-p: 0 calc(var(--su8) + var(--su2)) 0 var(--su6);
6633
+ --_vo-child-br: 0 var(--br-pill) var(--br-pill) 0;
6634
+ }
6635
+ .s-vote.s-vote__horizontal .s-vote--votes:last-child:not(:only-child) {
6636
+ --_vo-child-p: 0 calc(var(--su12) + var(--su2)) 0 var(--su4);
6536
6637
  }
6537
- .s-user-card .s-user-card--tags {
6638
+ .s-vote.s-vote__horizontal :only-child {
6639
+ --_vo-child-br: var(--br-pill);
6640
+ --_vo-child-g: calc(var(--su8) + var(--su2));
6641
+ --_vo-child-p: 0 calc(var(--su12) + var(--su2)) 0 calc(var(--su8) + var(--su2));
6642
+ }
6643
+ .s-vote > button {
6644
+ appearance: none;
6645
+ -webkit-appearance: none;
6646
+ background: none;
6647
+ border: 0;
6648
+ color: inherit;
6649
+ cursor: pointer;
6650
+ font: inherit;
6651
+ margin: 0;
6652
+ padding: 0;
6653
+ }
6654
+ .s-vote .s-vote--btn,
6655
+ .s-vote > .s-vote--votes {
6656
+ background-color: var(--_vo-child-bg);
6657
+ border-radius: var(--_vo-child-br);
6658
+ flex-direction: var(--_vo-child-fd);
6659
+ gap: var(--_vo-child-g);
6660
+ height: var(--_vo-child-h);
6661
+ padding: var(--_vo-child-p);
6662
+ width: var(--_vo-child-w);
6538
6663
  align-items: center;
6539
- min-width: 0;
6540
- flex-wrap: wrap;
6664
+ display: inline-flex;
6665
+ justify-content: center;
6666
+ overflow: hidden;
6667
+ font-weight: 600;
6668
+ text-align: center;
6669
+ white-space: nowrap;
6541
6670
  }
6542
- .s-user-card .s-user-card--time {
6543
- color: var(--_uc-time-fc);
6544
- white-space: var(--_uc-time-ws);
6545
- font-size: var(--fs-caption);
6546
- grid-column: 1 / 3;
6547
- grid-row: 1 / 2;
6671
+ .s-vote .s-vote--upvotes,
6672
+ .s-vote .s-vote--downvotes {
6673
+ display: none;
6548
6674
  }
6549
- .s-user-card .s-user-card--type {
6550
- color: var(--_uc-type-fc);
6551
- font-size: var(--fs-caption);
6552
- grid-column: 1 / 3;
6675
+ .s-vote .s-vote--upvotes {
6676
+ color: var(--green-500);
6553
6677
  }
6554
- .s-user-card .s-user-card--type a:not(.s-link) {
6555
- color: inherit !important;
6678
+ .s-vote .s-vote--downvotes {
6679
+ color: var(--red-500);
6680
+ }
6681
+ .s-vote > button:focus-visible,
6682
+ .s-vote .s-vote--btn:focus-visible {
6683
+ box-shadow: inset 0 0 0 var(--su-static2) var(--focus-theme), inset 0 0 0 var(--su-static4) var(--focus-neutral);
6684
+ outline: var(--su-static2) solid transparent !important;
6685
+ }
6686
+ .s-vote > button:hover,
6687
+ .s-vote .s-vote--btn:hover {
6688
+ --_vo-child-bg: var(--black-200);
6556
6689
  }
6557
6690
  @font-face {
6558
6691
  font-family: "Segoe UI Adjusted";
@@ -6604,36 +6737,27 @@ body.theme-highcontrast .s-uploader .s-uploader--preview-thumbnail {
6604
6737
  font-style: italic;
6605
6738
  font-weight: 800;
6606
6739
  }
6607
- html,
6740
+ html {
6741
+ font-size: 100%;
6742
+ }
6608
6743
  body {
6609
6744
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif;
6610
6745
  --ff-serif: Georgia, Cambria, "Times New Roman", Times, serif;
6611
6746
  --ff-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
6612
6747
  --theme-body-font-family: var(--ff-sans);
6613
- --fs-fine: 12px;
6614
- --fs-caption: 13px;
6615
- --fs-body1: 14px;
6616
- --fs-body2: 1.143rem;
6617
- --fs-body3: 1.286rem;
6618
- --fs-subheading: 1.429rem;
6619
- --fs-title: 1.571rem;
6620
- --fs-headline1: 2rem;
6621
- --fs-headline2: 2.571rem;
6622
- --fs-display1: 3.286rem;
6623
- --fs-display2: 4.143rem;
6624
- --fs-display3: 5.143rem;
6625
- --fs-display4: 7.143rem;
6626
- --fs-body2-relative: 1.143rem;
6627
- --fs-body3-relative: 1.286rem;
6628
- --fs-subheading-relative: 1.429rem;
6629
- --fs-title-relative: 1.571rem;
6630
- --fs-headline1-relative: 2rem;
6631
- --fs-headline2-relative: 2.571rem;
6632
- --fs-display1-relative: 3.286rem;
6633
- --fs-display2-relative: 4.143rem;
6634
- --fs-display3-relative: 5.143rem;
6635
- --fs-display4-relative: 7.143rem;
6636
- --fs-base: 14px;
6748
+ --fs-fine: 0.75rem;
6749
+ --fs-caption: 0.8125rem;
6750
+ --fs-body1: 0.875rem;
6751
+ --fs-body2: 1rem;
6752
+ --fs-body3: 1.125rem;
6753
+ --fs-subheading: 1.25rem;
6754
+ --fs-title: 1.375rem;
6755
+ --fs-headline1: 1.75rem;
6756
+ --fs-headline2: 2.25rem;
6757
+ --fs-display1: 2.875rem;
6758
+ --fs-display2: 3.625rem;
6759
+ --fs-display3: 4.5rem;
6760
+ --fs-display4: 6.25rem;
6637
6761
  --stacks-internals-lh-unit: 14;
6638
6762
  --lh-xs: 1;
6639
6763
  --lh-sm: calc((var(--stacks-internals-lh-unit) + 2) / var(--stacks-internals-lh-unit));
@@ -6672,7 +6796,7 @@ body {
6672
6796
  --te-ease-out: cubic-bezier(0.39, 0.575, 0.565, 1);
6673
6797
  --default-transition-duration: 0.1s;
6674
6798
  --transition-time: var(--default-transition-duration);
6675
- --s-full: 97.2307692rem;
6799
+ --s-full: 79rem;
6676
6800
  --s-step: calc(var(--s-full) / 12);
6677
6801
  }
6678
6802
  body {
@@ -23218,7 +23342,7 @@ html,
23218
23342
  body {
23219
23343
  color: var(--theme-body-font-color, var(--black-600));
23220
23344
  font-family: var(--theme-body-font-family);
23221
- font-size: var(--fs-base);
23345
+ font-size: var(--fs-body1);
23222
23346
  line-height: var(--lh-base);
23223
23347
  }
23224
23348
  body {