@stackoverflow/stacks 3.0.0-beta.24 → 3.0.0-beta.26
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/dist/css/stacks.css +119 -103
- package/dist/css/stacks.min.css +1 -1
- package/lib/components/avatar/avatar.less +1 -1
- package/lib/components/badge/badge.less +134 -90
- package/lib/components/prose/prose.less +10 -22
- package/lib/components/toggle-switch/toggle-switch.less +13 -17
- package/lib/exports/color-sets.less +4 -4
- package/package.json +1 -1
package/dist/css/stacks.css
CHANGED
|
@@ -680,7 +680,7 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
|
|
|
680
680
|
--highlight-attribute: hsl(206, 98.5%, 29%);
|
|
681
681
|
--highlight-bg: hsl(0, 0%, 96.5%);
|
|
682
682
|
--highlight-color: var(--black-600);
|
|
683
|
-
--highlight-comment:
|
|
683
|
+
--highlight-comment: var(--black-400);
|
|
684
684
|
--highlight-deletion: var(--red-500);
|
|
685
685
|
--highlight-keyword: hsl(206, 98.5%, 29%);
|
|
686
686
|
--highlight-literal: hsl(27, 99%, 36%);
|
|
@@ -820,7 +820,7 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
820
820
|
--highlight-attribute: var(--blue-400);
|
|
821
821
|
--highlight-bg: hsl(0, 2%, 11%);
|
|
822
822
|
--highlight-color: var(--black);
|
|
823
|
-
--highlight-comment:
|
|
823
|
+
--highlight-comment: var(--black-400);
|
|
824
824
|
--highlight-deletion: var(--red-500);
|
|
825
825
|
--highlight-keyword: var(--blue-400);
|
|
826
826
|
--highlight-literal: hsl(27, 95%, 65%);
|
|
@@ -958,7 +958,7 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
958
958
|
--highlight-attribute: var(--blue-400);
|
|
959
959
|
--highlight-bg: hsl(0, 2%, 11%);
|
|
960
960
|
--highlight-color: var(--black);
|
|
961
|
-
--highlight-comment:
|
|
961
|
+
--highlight-comment: var(--black-400);
|
|
962
962
|
--highlight-deletion: var(--red-500);
|
|
963
963
|
--highlight-keyword: var(--blue-400);
|
|
964
964
|
--highlight-literal: hsl(27, 95%, 65%);
|
|
@@ -1096,7 +1096,7 @@ body.theme-highcontrast.theme-system .theme-light__forced {
|
|
|
1096
1096
|
--highlight-attribute: hsl(215, 100%, 35%);
|
|
1097
1097
|
--highlight-bg: hsl(0, 0%, 96.5%);
|
|
1098
1098
|
--highlight-color: var(--black-600);
|
|
1099
|
-
--highlight-comment:
|
|
1099
|
+
--highlight-comment: var(--black-400);
|
|
1100
1100
|
--highlight-deletion: var(--red-400);
|
|
1101
1101
|
--highlight-keyword: hsl(215, 100%, 35%);
|
|
1102
1102
|
--highlight-literal: hsl(16, 94%, 31%);
|
|
@@ -1216,7 +1216,7 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
|
|
|
1216
1216
|
--highlight-attribute: hsl(200, 57%, 85%);
|
|
1217
1217
|
--highlight-bg: hsl(0, 0%, 10%);
|
|
1218
1218
|
--highlight-color: hsl(0, 0%, 100%);
|
|
1219
|
-
--highlight-comment:
|
|
1219
|
+
--highlight-comment: var(--black-400);
|
|
1220
1220
|
--highlight-deletion: var(--red-500);
|
|
1221
1221
|
--highlight-keyword: hsl(200, 57%, 85%);
|
|
1222
1222
|
--highlight-literal: hsl(36, 96%, 71%);
|
|
@@ -1336,7 +1336,7 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
|
|
|
1336
1336
|
--highlight-attribute: hsl(200, 57%, 85%);
|
|
1337
1337
|
--highlight-bg: hsl(0, 0%, 10%);
|
|
1338
1338
|
--highlight-color: hsl(0, 0%, 100%);
|
|
1339
|
-
--highlight-comment:
|
|
1339
|
+
--highlight-comment: var(--black-400);
|
|
1340
1340
|
--highlight-deletion: var(--red-500);
|
|
1341
1341
|
--highlight-keyword: hsl(200, 57%, 85%);
|
|
1342
1342
|
--highlight-literal: hsl(36, 96%, 71%);
|
|
@@ -10809,7 +10809,7 @@ p.s-anchors > a[href],
|
|
|
10809
10809
|
}
|
|
10810
10810
|
.s-avatar {
|
|
10811
10811
|
--_av-size: var(--su16);
|
|
10812
|
-
--_av-bg: var(--
|
|
10812
|
+
--_av-bg: var(--white);
|
|
10813
10813
|
--_av-fs-letter: calc(var(--su12) - var(--su1));
|
|
10814
10814
|
--_av-scale-badge: 1;
|
|
10815
10815
|
background-color: var(--_av-bg);
|
|
@@ -10895,7 +10895,6 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
10895
10895
|
transform: translate(-50%, 60%);
|
|
10896
10896
|
}
|
|
10897
10897
|
.s-badge {
|
|
10898
|
-
--_ba-as: unset;
|
|
10899
10898
|
--_ba-bc: transparent;
|
|
10900
10899
|
--_ba-bg: var(--black-100);
|
|
10901
10900
|
--_ba-fc: var(--black-500);
|
|
@@ -10906,48 +10905,83 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
10906
10905
|
--_ba-wmn: 0;
|
|
10907
10906
|
--_ba-bl: 0;
|
|
10908
10907
|
--_ba-fw: unset;
|
|
10908
|
+
--_ba-g: unset;
|
|
10909
|
+
--_ba-svg-p: var(--su2);
|
|
10909
10910
|
--_ba-sq-bg: var(--black-200);
|
|
10910
|
-
--_ba-bx-sh-w: var(--su2);
|
|
10911
|
-
--_ba-gap: unset;
|
|
10912
|
-
--_ba-bx-sh-inset: ;
|
|
10913
|
-
align-self: var(--_ba-as);
|
|
10914
10911
|
background-color: var(--_ba-bg);
|
|
10915
10912
|
border-left: var(--_ba-bl) solid var(--_ba-bc);
|
|
10916
10913
|
color: var(--_ba-fc);
|
|
10917
10914
|
font-size: var(--_ba-fs);
|
|
10918
10915
|
font-weight: var(--_ba-fw);
|
|
10919
|
-
gap: var(--_ba-
|
|
10920
|
-
padding: var(--_ba-py) var(--_ba-px);
|
|
10921
|
-
line-height: var(--lh-md);
|
|
10916
|
+
gap: var(--_ba-g, var(--_ba-px));
|
|
10917
|
+
padding: var(--_ba-py) var(--_ba-pr, var(--_ba-px)) var(--_ba-py) var(--_ba-px);
|
|
10922
10918
|
min-width: var(--_ba-wmn);
|
|
10923
10919
|
text-transform: var(--_ba-tt);
|
|
10924
10920
|
align-items: center;
|
|
10925
10921
|
display: inline-flex;
|
|
10926
10922
|
justify-content: center;
|
|
10923
|
+
line-height: var(--lh-md);
|
|
10927
10924
|
text-decoration: none;
|
|
10928
10925
|
vertical-align: middle;
|
|
10929
10926
|
white-space: nowrap;
|
|
10930
10927
|
}
|
|
10931
|
-
.
|
|
10932
|
-
--_ba-
|
|
10933
|
-
--_ba-as: flex-start;
|
|
10934
|
-
--_ba-fs: var(--fs-fine);
|
|
10935
|
-
--_ba-px: var(--su4);
|
|
10936
|
-
--_ba-py: var(--su1);
|
|
10937
|
-
--_ba-bx-sh-w: 0px;
|
|
10938
|
-
--_ba-bx-sh-inset: inset;
|
|
10928
|
+
body.theme-highcontrast .s-badge {
|
|
10929
|
+
--_ba-bx-sh-w: var(--su1);
|
|
10939
10930
|
}
|
|
10940
|
-
.s-badge.s-
|
|
10941
|
-
--_ba-
|
|
10942
|
-
|
|
10943
|
-
|
|
10931
|
+
body.theme-highcontrast .s-badge.s-badge__sm {
|
|
10932
|
+
--_ba-bx-sh-w: 0;
|
|
10933
|
+
}
|
|
10934
|
+
body.theme-highcontrast .s-badge.s-badge__lg {
|
|
10944
10935
|
--_ba-bx-sh-w: var(--su4);
|
|
10945
10936
|
}
|
|
10946
|
-
.s-badge
|
|
10947
|
-
|
|
10937
|
+
body.theme-highcontrast .s-badge:not(.s-badge__important) > svg {
|
|
10938
|
+
box-shadow: 0 0 0 calc(var(--_ba-bx-sh-w) - var(--su1)) var(--_ba-sq-bg), 0 0 0 max(var(--su1), var(--_ba-bx-sh-w)) currentcolor inset;
|
|
10948
10939
|
}
|
|
10949
|
-
.s-badge
|
|
10950
|
-
|
|
10940
|
+
body.theme-highcontrast .s-badge a[href],
|
|
10941
|
+
body.theme-highcontrast .s-badge a[href]:hover {
|
|
10942
|
+
text-decoration: underline !important;
|
|
10943
|
+
}
|
|
10944
|
+
.s-badge:has(> .s-bling__filled),
|
|
10945
|
+
.s-badge.s-badge__squared,
|
|
10946
|
+
.s-badge:has(> svg) {
|
|
10947
|
+
--_ba-pr: var(--su6);
|
|
10948
|
+
}
|
|
10949
|
+
.s-badge:has(> .s-bling__filled),
|
|
10950
|
+
.s-badge.s-badge__squared,
|
|
10951
|
+
.s-badge:has(> svg),
|
|
10952
|
+
.s-badge:has(> .s-bling__filled).s-badge__lg,
|
|
10953
|
+
.s-badge.s-badge__squared.s-badge__lg,
|
|
10954
|
+
.s-badge:has(> svg).s-badge__lg,
|
|
10955
|
+
.s-badge:has(> .s-bling__filled).s-badge__sm,
|
|
10956
|
+
.s-badge.s-badge__squared.s-badge__sm,
|
|
10957
|
+
.s-badge:has(> svg).s-badge__sm {
|
|
10958
|
+
--_ba-px: 0;
|
|
10959
|
+
--_ba-py: 0;
|
|
10960
|
+
}
|
|
10961
|
+
.s-badge:has(> .s-bling__filled).s-badge__lg,
|
|
10962
|
+
.s-badge.s-badge__squared.s-badge__lg,
|
|
10963
|
+
.s-badge:has(> svg).s-badge__lg {
|
|
10964
|
+
--_ba-pr: var(--su8);
|
|
10965
|
+
}
|
|
10966
|
+
.s-badge:has(> .s-bling__filled).s-badge__sm,
|
|
10967
|
+
.s-badge.s-badge__squared.s-badge__sm,
|
|
10968
|
+
.s-badge:has(> svg).s-badge__sm {
|
|
10969
|
+
--_ba-pr: var(--su4);
|
|
10970
|
+
}
|
|
10971
|
+
.s-badge:has(> .s-bling__filled),
|
|
10972
|
+
.s-badge.s-badge__squared {
|
|
10973
|
+
--_ba-g: var(--su6);
|
|
10974
|
+
}
|
|
10975
|
+
.s-badge:has(> .s-bling__filled).s-badge__lg,
|
|
10976
|
+
.s-badge.s-badge__squared.s-badge__lg {
|
|
10977
|
+
--_ba-g: var(--su8);
|
|
10978
|
+
}
|
|
10979
|
+
.s-badge:has(> .s-bling__filled).s-badge__sm,
|
|
10980
|
+
.s-badge.s-badge__squared.s-badge__sm {
|
|
10981
|
+
--_ba-g: var(--su4);
|
|
10982
|
+
}
|
|
10983
|
+
.s-badge:not(.s-badge__squared):has(> svg) {
|
|
10984
|
+
--_ba-g: var(--su2);
|
|
10951
10985
|
}
|
|
10952
10986
|
.s-badge:has(.s-bling__rep) {
|
|
10953
10987
|
--_ba-fw: 600;
|
|
@@ -10956,6 +10990,19 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
10956
10990
|
.s-badge:has(.s-bling) {
|
|
10957
10991
|
--_ba-bg: var(--black-150);
|
|
10958
10992
|
}
|
|
10993
|
+
.s-badge.s-badge__sm {
|
|
10994
|
+
--_ba-fs: var(--fs-fine);
|
|
10995
|
+
--_ba-px: var(--su4);
|
|
10996
|
+
--_ba-py: var(--su1);
|
|
10997
|
+
--_ba-wmn: calc(var(--su16) + var(--su2));
|
|
10998
|
+
--_ba-svg-p: var(--_ba-py);
|
|
10999
|
+
}
|
|
11000
|
+
.s-badge.s-badge__lg {
|
|
11001
|
+
--_ba-fs: var(--fs-body1);
|
|
11002
|
+
--_ba-px: var(--su8);
|
|
11003
|
+
--_ba-py: calc(var(--su4) + var(--su1));
|
|
11004
|
+
--_ba-svg-p: var(--_ba-py);
|
|
11005
|
+
}
|
|
10959
11006
|
.s-badge.s-badge__gold,
|
|
10960
11007
|
.s-badge.s-badge__silver,
|
|
10961
11008
|
.s-badge.s-badge__bronze {
|
|
@@ -10991,6 +11038,18 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
10991
11038
|
--_ba-bg: var(--black-150);
|
|
10992
11039
|
--_ba-fc: var(--black-600);
|
|
10993
11040
|
}
|
|
11041
|
+
.s-badge.s-badge__moderator:before,
|
|
11042
|
+
.s-badge.s-badge__new:before {
|
|
11043
|
+
background-color: var(--_ba-bc);
|
|
11044
|
+
height: var(--_ba-before-h);
|
|
11045
|
+
width: var(--_ba-before-w);
|
|
11046
|
+
-webkit-mask: var(--_ba-before-icon) no-repeat center;
|
|
11047
|
+
mask: var(--_ba-before-icon) no-repeat center;
|
|
11048
|
+
content: "";
|
|
11049
|
+
display: inline-block;
|
|
11050
|
+
-webkit-mask-size: contain;
|
|
11051
|
+
mask-size: contain;
|
|
11052
|
+
}
|
|
10994
11053
|
.s-badge.s-badge__moderator {
|
|
10995
11054
|
--_ba-bc: var(--blue-500);
|
|
10996
11055
|
--_ba-before-h: calc(var(--su12) + var(--su1));
|
|
@@ -11003,16 +11062,7 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
11003
11062
|
--_ba-before-icon: url("data:image/svg+xml;,%3Csvg width='9' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.55.246c.257-.329.647-.327.903 0l3.36 4.66c.256.329.256.864 0 1.192L4.45 10.75c-.257.329-.644.327-.9 0L.192 6.098c-.256-.329-.256-.865 0-1.192L3.55.246z' fill='%23fff'/%3E%3C/svg%3E");
|
|
11004
11063
|
}
|
|
11005
11064
|
.s-badge.s-badge__moderator:before {
|
|
11006
|
-
height: var(--_ba-before-h);
|
|
11007
11065
|
margin-top: var(--sun1);
|
|
11008
|
-
width: var(--_ba-before-w);
|
|
11009
|
-
content: "";
|
|
11010
|
-
display: inline-block;
|
|
11011
|
-
background-color: var(--_ba-bc);
|
|
11012
|
-
-webkit-mask: var(--_ba-before-icon) no-repeat center;
|
|
11013
|
-
mask: var(--_ba-before-icon) no-repeat center;
|
|
11014
|
-
-webkit-mask-size: contain;
|
|
11015
|
-
mask-size: contain;
|
|
11016
11066
|
}
|
|
11017
11067
|
.s-badge.s-badge__staff {
|
|
11018
11068
|
--_ba-bc: var(--orange-400);
|
|
@@ -11032,30 +11082,13 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
11032
11082
|
--_ba-sq-bg: var(--purple-200);
|
|
11033
11083
|
--_ba-bc: var(--purple-400);
|
|
11034
11084
|
--_ba-gap: var(--su2);
|
|
11035
|
-
--_ba-before-h: calc(var(--su12) + var(--su4));
|
|
11036
|
-
--_ba-before-w: calc(var(--su12) + var(--su4));
|
|
11037
|
-
--_ba-before-icon: url("data:image/svg+xml;,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.25 7h7.28l-5.89 4.29.68 2.08-2.07-1.5-.04-.12-.33-1.04.88-.64 2.16-1.56h-3.76l-.34-1.04L10 4.94l-.82 2.53-.34 1.04H5.08l2.16 1.56.88.64-.33 1.04-.83 2.54 2.16-1.57.87-.64 5.12 3.72.78 2.41L10 13.93l-5.9 4.28 2.26-6.92L.46 7h7.29L10 .08z' /%3E%3C/svg%3E");
|
|
11038
|
-
}
|
|
11039
|
-
.s-badge.s-badge__new.s-badge__sm {
|
|
11040
11085
|
--_ba-before-h: calc(var(--su12) + var(--su2));
|
|
11041
11086
|
--_ba-before-w: calc(var(--su12) + var(--su2));
|
|
11042
|
-
|
|
11043
|
-
.s-badge.s-badge__new.s-badge__lg {
|
|
11044
|
-
--_ba-before-h: calc(var(--su12) + var(--su6));
|
|
11045
|
-
--_ba-before-w: calc(var(--su12) + var(--su6));
|
|
11087
|
+
--_ba-before-icon: url("data:image/svg+xml;,%3Csvg width='14' height='14' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1m0 1.25a5.75 5.75 0 1 0 0 11.5 5.75 5.75 0 0 0 0-11.5m1 10.06H7V10.6h2zM8.14 4c1.78 0 2.77.96 2.77 2.5 0 1.79-2.1 2.2-2.1 3.25h-1.6c0-2 2-2.08 2-3.26 0-.54-.27-.96-1.02-.96-.7 0-1.03.46-1.1 1.23H5.4A2.75 2.75 0 0 1 8.13 4' fill='%23fff'/%3E%3C/svg%3E");
|
|
11046
11088
|
}
|
|
11047
11089
|
.s-badge.s-badge__new:before {
|
|
11048
|
-
height: var(--_ba-before-h);
|
|
11049
|
-
margin-top: 0;
|
|
11050
11090
|
margin-left: var(--sun2);
|
|
11051
|
-
|
|
11052
|
-
content: "";
|
|
11053
|
-
display: inline-block;
|
|
11054
|
-
background-color: var(--_ba-bc);
|
|
11055
|
-
-webkit-mask: var(--_ba-before-icon) no-repeat center;
|
|
11056
|
-
mask: var(--_ba-before-icon) no-repeat center;
|
|
11057
|
-
-webkit-mask-size: contain;
|
|
11058
|
-
mask-size: contain;
|
|
11091
|
+
margin-top: 0;
|
|
11059
11092
|
}
|
|
11060
11093
|
.s-badge.s-badge__info {
|
|
11061
11094
|
--_ba-bg: var(--blue-100);
|
|
@@ -11120,25 +11153,21 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
11120
11153
|
--_ba-bg: var(--purple-400);
|
|
11121
11154
|
--_ba-sq-bg: var(--purple-500);
|
|
11122
11155
|
}
|
|
11123
|
-
.s-badge.s-badge__squared {
|
|
11124
|
-
--_ba_box-shadow: 0 0 0 var(--_ba-bx-sh-w) var(--_ba-sq-bg);
|
|
11125
|
-
}
|
|
11126
11156
|
.s-badge.s-badge__squared svg {
|
|
11127
11157
|
background-color: var(--_ba-sq-bg);
|
|
11128
|
-
box-shadow: var(--_ba_box-shadow);
|
|
11129
|
-
margin-right: var(--_ba-bx-sh-w);
|
|
11130
|
-
}
|
|
11131
|
-
body.theme-highcontrast .s-badge.s-badge__squared:not(.s-badge__important) {
|
|
11132
|
-
--_ba_box-shadow: 0 0 0 calc(var(--_ba-bx-sh-w) - var(--su1)) var(--_ba-sq-bg), 0 0 0 max(var(--su1), var(--_ba-bx-sh-w)) currentcolor var(--_ba-bx-sh-inset);
|
|
11133
|
-
}
|
|
11134
|
-
.s-badge:not(.s-badge__squared):has(> svg) {
|
|
11135
|
-
--_ba-gap: calc(var(--_ba-px) - var(--su2));
|
|
11136
11158
|
}
|
|
11137
11159
|
.s-badge.s-badge__important {
|
|
11138
11160
|
--_ba-bg: var(--black-400);
|
|
11139
|
-
--_ba-sq-bg: var(--black-500);
|
|
11140
|
-
--_ba-fw: 600;
|
|
11141
11161
|
--_ba-fc: var(--black-050);
|
|
11162
|
+
--_ba-fw: 600;
|
|
11163
|
+
--_ba-sq-bg: var(--black-500);
|
|
11164
|
+
}
|
|
11165
|
+
.s-badge svg {
|
|
11166
|
+
aspect-ratio: 1 / 1;
|
|
11167
|
+
box-sizing: content-box;
|
|
11168
|
+
display: block;
|
|
11169
|
+
height: calc(var(--su16) + var(--su4));
|
|
11170
|
+
padding: var(--_ba-svg-p);
|
|
11142
11171
|
}
|
|
11143
11172
|
a.s-badge:hover {
|
|
11144
11173
|
text-decoration: none;
|
|
@@ -14454,35 +14483,24 @@ body.theme-highcontrast .s-prose {
|
|
|
14454
14483
|
--_pr-spoiler-after-t: calc(var(--su8) + var(--su1));
|
|
14455
14484
|
}
|
|
14456
14485
|
}
|
|
14457
|
-
.s-prose.s-
|
|
14458
|
-
.s-prose.s-prose__sm,
|
|
14459
|
-
.s-prose.s-prose__md {
|
|
14486
|
+
.s-prose.s-prose__sm {
|
|
14460
14487
|
--_pr-h1-fs: 1.75em;
|
|
14461
14488
|
--_pr-h2-fs: 1.375em;
|
|
14462
14489
|
--_pr-h3-fs: 1.25em;
|
|
14463
14490
|
--_pr-h4-fs: 1.125em;
|
|
14464
14491
|
--_pr-h5-fs: 1em;
|
|
14465
|
-
}
|
|
14466
|
-
.s-prose.s-prose__xs {
|
|
14467
14492
|
--_pr-fs: var(--fs-caption);
|
|
14468
|
-
--_pr-lh: var(--lh-sm);
|
|
14469
|
-
}
|
|
14470
|
-
.s-prose.s-prose__sm {
|
|
14471
|
-
--_pr-fs: var(--fs-body1);
|
|
14472
14493
|
--_pr-lh: var(--lh-md);
|
|
14473
|
-
|
|
14474
|
-
.s-prose.s-prose__md {
|
|
14475
|
-
--_pr-fs: var(--fs-body3);
|
|
14476
|
-
--_pr-lh: var(--lh-xl);
|
|
14494
|
+
--_pr-code-fs: var(--fs-caption);
|
|
14477
14495
|
}
|
|
14478
14496
|
.s-prose *:not(.s-code-block) > a code {
|
|
14479
14497
|
color: var(--theme-link-color, var(--theme-secondary-400));
|
|
14480
14498
|
}
|
|
14481
14499
|
.s-prose *:not(.s-code-block) > code {
|
|
14482
|
-
padding: var(--su2) var(--su4);
|
|
14483
|
-
color: var(--black-600);
|
|
14484
14500
|
background-color: var(--black-200);
|
|
14485
|
-
|
|
14501
|
+
color: var(--black-600);
|
|
14502
|
+
font-size: 0.875em;
|
|
14503
|
+
padding: 0.1875em 0.375em;
|
|
14486
14504
|
}
|
|
14487
14505
|
.s-prose blockquote:last-child,
|
|
14488
14506
|
.s-prose dl:last-child,
|
|
@@ -14807,7 +14825,7 @@ body.theme-highcontrast .s-prose {
|
|
|
14807
14825
|
--_pr-img-mb: 0;
|
|
14808
14826
|
margin-bottom: 1.1em;
|
|
14809
14827
|
}
|
|
14810
|
-
.s-prose p a {
|
|
14828
|
+
.s-prose p a:not([class]) {
|
|
14811
14829
|
text-decoration: underline;
|
|
14812
14830
|
}
|
|
14813
14831
|
.s-prose pre {
|
|
@@ -14884,7 +14902,7 @@ body.theme-highcontrast .s-prose {
|
|
|
14884
14902
|
}
|
|
14885
14903
|
.s-prose .spoiler > * {
|
|
14886
14904
|
opacity: var(--_pr-soiler-child-o);
|
|
14887
|
-
transition:
|
|
14905
|
+
transition: var(--_pr-spoiler-transition);
|
|
14888
14906
|
visibility: var(--_pr-soiler-child-visibility);
|
|
14889
14907
|
}
|
|
14890
14908
|
.s-prose .youtube-embed {
|
|
@@ -15661,7 +15679,7 @@ body.theme-highcontrast .s-tag:not(body.theme-highcontrast .s-tag__moderator):no
|
|
|
15661
15679
|
min-width: var(--su448);
|
|
15662
15680
|
}
|
|
15663
15681
|
.s-toggle-switch {
|
|
15664
|
-
--_ts-bg: var(--black-
|
|
15682
|
+
--_ts-bg: var(--black-300);
|
|
15665
15683
|
--_ts-bg-image: url("data:image/svg+xml;,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
|
|
15666
15684
|
--_ts-bg-ps: left center;
|
|
15667
15685
|
--_ts-multiple-bg: unset;
|
|
@@ -15687,6 +15705,9 @@ fieldset[disabled] .s-toggle-switch label,
|
|
|
15687
15705
|
.s-toggle-switch.s-toggle-switch__multiple {
|
|
15688
15706
|
align-items: stretch;
|
|
15689
15707
|
display: flex;
|
|
15708
|
+
border: var(--su2) solid var(--black-150);
|
|
15709
|
+
border-radius: var(--br-pill);
|
|
15710
|
+
background-color: var(--black-150);
|
|
15690
15711
|
}
|
|
15691
15712
|
.s-toggle-switch.s-toggle-switch__multiple input[type="radio"] {
|
|
15692
15713
|
left: -999em;
|
|
@@ -15694,13 +15715,12 @@ fieldset[disabled] .s-toggle-switch label,
|
|
|
15694
15715
|
opacity: 0;
|
|
15695
15716
|
position: absolute;
|
|
15696
15717
|
}
|
|
15697
|
-
.s-toggle-switch.s-toggle-switch__multiple input[type="radio"]:checked + label
|
|
15698
|
-
--_ts-multiple-bg: var(--black-
|
|
15699
|
-
--_ts-multiple-fc: var(--
|
|
15718
|
+
.s-toggle-switch.s-toggle-switch__multiple input[type="radio"]:checked + label {
|
|
15719
|
+
--_ts-multiple-bg: var(--black-050);
|
|
15720
|
+
--_ts-multiple-fc: var(--black);
|
|
15700
15721
|
}
|
|
15701
|
-
.s-toggle-switch.s-toggle-switch__multiple input[type="radio"]:checked + label
|
|
15702
|
-
--_ts-multiple-
|
|
15703
|
-
--_ts-multiple-fc: var(--white);
|
|
15722
|
+
.s-toggle-switch.s-toggle-switch__multiple input[type="radio"]:not(:checked) + label {
|
|
15723
|
+
--_ts-multiple-fc: var(--black-400);
|
|
15704
15724
|
}
|
|
15705
15725
|
.s-toggle-switch.s-toggle-switch__multiple input[type="radio"]:focus-visible + label {
|
|
15706
15726
|
box-shadow: inset 0 0 0 var(--su2) var(--focus-theme), inset 0 0 0 var(--su4) var(--focus-neutral);
|
|
@@ -15709,13 +15729,13 @@ fieldset[disabled] .s-toggle-switch label,
|
|
|
15709
15729
|
.s-toggle-switch.s-toggle-switch__multiple label {
|
|
15710
15730
|
background-color: var(--_ts-multiple-bg);
|
|
15711
15731
|
color: var(--_ts-multiple-fc);
|
|
15712
|
-
border-radius:
|
|
15732
|
+
border-radius: var(--br-pill);
|
|
15713
15733
|
cursor: pointer;
|
|
15714
15734
|
font-size: var(--fs-body1);
|
|
15715
15735
|
font-weight: 400;
|
|
15716
15736
|
line-height: 1;
|
|
15717
15737
|
margin: 0;
|
|
15718
|
-
padding:
|
|
15738
|
+
padding: calc(var(--su4) + var(--su1)) calc(var(--su8) + var(--su2));
|
|
15719
15739
|
text-align: center;
|
|
15720
15740
|
white-space: nowrap;
|
|
15721
15741
|
width: 100%;
|
|
@@ -15723,7 +15743,6 @@ fieldset[disabled] .s-toggle-switch label,
|
|
|
15723
15743
|
-webkit-user-select: none;
|
|
15724
15744
|
user-select: none;
|
|
15725
15745
|
}
|
|
15726
|
-
.s-toggle-switch input[type="checkbox"],
|
|
15727
15746
|
input[type="checkbox"].s-toggle-switch {
|
|
15728
15747
|
background-color: var(--_ts-bg);
|
|
15729
15748
|
background-position: var(--_ts-bg-ps);
|
|
@@ -15740,17 +15759,14 @@ input[type="checkbox"].s-toggle-switch {
|
|
|
15740
15759
|
vertical-align: top;
|
|
15741
15760
|
width: calc(var(--su48) - var(--su4));
|
|
15742
15761
|
}
|
|
15743
|
-
.s-toggle-switch input[type="checkbox"]:checked,
|
|
15744
15762
|
input[type="checkbox"].s-toggle-switch:checked {
|
|
15745
15763
|
--_ts-bg: var(--green-400);
|
|
15746
15764
|
--_ts-bg-ps: right center;
|
|
15747
15765
|
}
|
|
15748
|
-
.s-toggle-switch input[type="checkbox"]:focus-visible,
|
|
15749
15766
|
input[type="checkbox"].s-toggle-switch:focus-visible {
|
|
15750
15767
|
box-shadow: 0 0 0 var(--su2) var(--focus-neutral), 0 0 0 var(--su4) var(--focus-theme);
|
|
15751
15768
|
outline: var(--su2) solid transparent !important;
|
|
15752
15769
|
}
|
|
15753
|
-
.s-toggle-switch input[type="checkbox"][disabled],
|
|
15754
15770
|
input[type="checkbox"].s-toggle-switch[disabled] {
|
|
15755
15771
|
cursor: default;
|
|
15756
15772
|
}
|