@stackoverflow/stacks 2.8.3 → 2.8.5

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.
@@ -890,15 +890,8 @@ a.s-badge:hover {
890
890
  width: 100%;
891
891
  z-index: calc(var(--zi-navigation-fixed) - 1);
892
892
  }
893
- @media (prefers-color-scheme: dark) {
894
- body.theme-system .s-banner {
895
- --_no-bc: var(--_no-bg);
896
- }
897
- }
898
- body.theme-dark .s-banner,
899
- .theme-dark__forced .s-banner,
900
- body.theme-system .theme-dark__forced .s-banner {
901
- --_no-bc: var(--_no-bg);
893
+ body.theme-highcontrast .s-banner {
894
+ --_no-bc: var(--black-400);
902
895
  }
903
896
  body.theme-highcontrast .s-banner,
904
897
  body.theme-highcontrast .s-banner.s-banner__danger,
@@ -937,6 +930,9 @@ body.theme-highcontrast .s-banner.s-banner__warning.s-banner__important {
937
930
  --_no-code-bc: var(--red-300);
938
931
  --_no-code-bg: var(--red-200);
939
932
  }
933
+ body.theme-highcontrast .s-banner__danger:not(.s-banner__important) {
934
+ --_no-bc: var(--red-400);
935
+ }
940
936
  .s-banner__danger.s-banner__important {
941
937
  --_no-bc: var(--_no-bg);
942
938
  --_no-bg: var(--red-400);
@@ -959,6 +955,9 @@ body.theme-highcontrast .s-banner__danger.s-banner__important {
959
955
  --_no-code-bc: var(--theme-secondary-300);
960
956
  --_no-code-bg: var(--theme-secondary-200);
961
957
  }
958
+ body.theme-highcontrast .s-banner__info:not(.s-banner__important) {
959
+ --_no-bc: var(--theme-secondary-400);
960
+ }
962
961
  .s-banner__info.s-banner__important {
963
962
  --_no-bc: var(--_no-bg);
964
963
  --_no-bg: var(--theme-secondary-400);
@@ -981,6 +980,9 @@ body.theme-highcontrast .s-banner__info.s-banner__important {
981
980
  --_no-code-bc: var(--green-300);
982
981
  --_no-code-bg: var(--green-200);
983
982
  }
983
+ body.theme-highcontrast .s-banner__success:not(.s-banner__important) {
984
+ --_no-bc: var(--green-400);
985
+ }
984
986
  .s-banner__success.s-banner__important {
985
987
  --_no-bc: var(--_no-bg);
986
988
  --_no-bg: var(--green-400);
@@ -1004,6 +1006,9 @@ body.theme-highcontrast .s-banner__success.s-banner__important {
1004
1006
  --_no-code-bg: var(--yellow-200);
1005
1007
  --_no-btn-fc: var(--yellow-600);
1006
1008
  }
1009
+ body.theme-highcontrast .s-banner__warning:not(.s-banner__important) {
1010
+ --_no-bc: var(--yellow-400);
1011
+ }
1007
1012
  .s-banner__warning.s-banner__important {
1008
1013
  --_no-bc: var(--_no-bg);
1009
1014
  --_no-bg: var(--yellow-400);
@@ -2147,15 +2152,12 @@ pre.s-code-block::-webkit-scrollbar-corner {
2147
2152
  .s-expandable {
2148
2153
  --_ex-after-h: 10px;
2149
2154
  --_ex-after-hmx: 0;
2150
- --_ex-after-transition: height 100ms linear,
2151
- max-height 0s 100ms linear;
2155
+ --_ex-after-transition: height 100ms linear, max-height 0s 100ms linear;
2152
2156
  --_ex-content-hmx: 1000000px;
2153
2157
  --_ex-content-mb: 0;
2154
2158
  --_ex-content-o: unset;
2155
2159
  --_ex-content-transform: unset;
2156
- --_ex-content-transition: margin-bottom 100ms cubic-bezier(0, 0, 0, 1),
2157
- transform 100ms cubic-bezier(1, 0, 1, 1),
2158
- opacity 100ms cubic-bezier(1, 0, 1, 1);
2160
+ --_ex-content-transition: margin-bottom 100ms cubic-bezier(0, 0, 0, 1), transform 100ms cubic-bezier(1, 0, 1, 1), opacity 100ms cubic-bezier(1, 0, 1, 1);
2159
2161
  --_ex-content-v: unset;
2160
2162
  align-items: flex-start;
2161
2163
  display: flex;
@@ -2171,11 +2173,7 @@ pre.s-code-block::-webkit-scrollbar-corner {
2171
2173
  --_ex-content-mb: -1500px;
2172
2174
  --_ex-content-o: 0;
2173
2175
  --_ex-content-transform: scaleY(0);
2174
- --_ex-content-transition: margin-bottom 100ms cubic-bezier(1, 0, 1, 1),
2175
- visibility 0s 100ms,
2176
- max-height 0s 100ms,
2177
- transform 100ms cubic-bezier(0, 1, 1, 1),
2178
- opacity 100ms cubic-bezier(0, 1, 1, 1);
2176
+ --_ex-content-transition: margin-bottom 100ms cubic-bezier(1, 0, 1, 1), visibility 0s 100ms, max-height 0s 100ms, transform 100ms cubic-bezier(0, 1, 1, 1), opacity 100ms cubic-bezier(0, 1, 1, 1);
2179
2177
  --_ex-content-v: hidden;
2180
2178
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
2181
2179
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
@@ -3234,15 +3232,8 @@ body.theme-highcontrast .s-navigation .s-navigation--item.is-selected {
3234
3232
  border-width: var(--su-static1);
3235
3233
  padding: var(--su16);
3236
3234
  }
3237
- @media (prefers-color-scheme: dark) {
3238
- body.theme-system .s-notice {
3239
- --_no-bc: var(--_no-bg);
3240
- }
3241
- }
3242
- body.theme-dark .s-notice,
3243
- .theme-dark__forced .s-notice,
3244
- body.theme-system .theme-dark__forced .s-notice {
3245
- --_no-bc: var(--_no-bg);
3235
+ body.theme-highcontrast .s-notice {
3236
+ --_no-bc: var(--black-400);
3246
3237
  }
3247
3238
  body.theme-highcontrast .s-notice,
3248
3239
  body.theme-highcontrast .s-notice.s-notice__danger,
@@ -3281,6 +3272,9 @@ body.theme-highcontrast .s-notice.s-notice__warning.s-notice__important {
3281
3272
  --_no-code-bc: var(--red-300);
3282
3273
  --_no-code-bg: var(--red-200);
3283
3274
  }
3275
+ body.theme-highcontrast .s-notice__danger:not(.s-notice__important) {
3276
+ --_no-bc: var(--red-400);
3277
+ }
3284
3278
  .s-notice__danger.s-notice__important {
3285
3279
  --_no-bc: var(--_no-bg);
3286
3280
  --_no-bg: var(--red-400);
@@ -3303,6 +3297,9 @@ body.theme-highcontrast .s-notice__danger.s-notice__important {
3303
3297
  --_no-code-bc: var(--theme-secondary-300);
3304
3298
  --_no-code-bg: var(--theme-secondary-200);
3305
3299
  }
3300
+ body.theme-highcontrast .s-notice__info:not(.s-notice__important) {
3301
+ --_no-bc: var(--theme-secondary-400);
3302
+ }
3306
3303
  .s-notice__info.s-notice__important {
3307
3304
  --_no-bc: var(--_no-bg);
3308
3305
  --_no-bg: var(--theme-secondary-400);
@@ -3325,6 +3322,9 @@ body.theme-highcontrast .s-notice__info.s-notice__important {
3325
3322
  --_no-code-bc: var(--green-300);
3326
3323
  --_no-code-bg: var(--green-200);
3327
3324
  }
3325
+ body.theme-highcontrast .s-notice__success:not(.s-notice__important) {
3326
+ --_no-bc: var(--green-400);
3327
+ }
3328
3328
  .s-notice__success.s-notice__important {
3329
3329
  --_no-bc: var(--_no-bg);
3330
3330
  --_no-bg: var(--green-400);
@@ -3348,6 +3348,9 @@ body.theme-highcontrast .s-notice__success.s-notice__important {
3348
3348
  --_no-code-bg: var(--yellow-200);
3349
3349
  --_no-btn-fc: var(--yellow-600);
3350
3350
  }
3351
+ body.theme-highcontrast .s-notice__warning:not(.s-notice__important) {
3352
+ --_no-bc: var(--yellow-400);
3353
+ }
3351
3354
  .s-notice__warning.s-notice__important {
3352
3355
  --_no-bc: var(--_no-bg);
3353
3356
  --_no-bg: var(--yellow-400);