@stackoverflow/stacks 0.71.0 → 0.72.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.
@@ -401,11 +401,33 @@ template {
401
401
  }
402
402
  .s-activity-indicator {
403
403
  display: inline-block;
404
- width: 12px;
404
+ min-width: 12px;
405
405
  height: 12px;
406
+ padding-left: 4px;
407
+ padding-right: 4px;
408
+ line-height: 1.1;
406
409
  background-color: var(--theme-secondary-400);
407
410
  box-shadow: 0 0 0 4px var(--focus-ring);
408
- border-radius: 100%;
411
+ border-radius: 1000px;
412
+ font-size: 11px;
413
+ font-weight: 600;
414
+ color: hsl(0, 0%, 100%);
415
+ text-transform: uppercase;
416
+ }
417
+ body.theme-highcontrast .s-activity-indicator {
418
+ color: var(--white);
419
+ }
420
+ .s-activity-indicator__success {
421
+ background-color: var(--green-500);
422
+ box-shadow: 0 0 0 4px var(--focus-ring-success);
423
+ }
424
+ .s-activity-indicator__warning {
425
+ background-color: var(--yellow-600);
426
+ box-shadow: 0 0 0 4px var(--focus-ring-warning);
427
+ }
428
+ .s-activity-indicator__danger {
429
+ background-color: var(--red-500);
430
+ box-shadow: 0 0 0 4px var(--focus-ring-error);
409
431
  }
410
432
  .s-avatar {
411
433
  display: inline-block;
@@ -886,17 +908,15 @@ body.theme-highcontrast .s-btn-group .s-btn.is-selected .s-btn--number {
886
908
  .s-card p:last-of-type {
887
909
  margin-bottom: 0;
888
910
  }
889
- a.s-card:not(.s-card__muted):hover,
890
- a.s-card:not(.s-card__muted):focus,
891
- a.s-card:not(.s-card__muted):active {
892
- border-color: var(--bc-darker);
893
- }
894
911
  .s-card__muted {
895
912
  border-color: var(--bc-light);
896
913
  }
897
914
  .s-card__muted > * {
898
915
  opacity: 0.65;
899
916
  }
917
+ a.s-card {
918
+ text-decoration: none !important;
919
+ }
900
920
  pre.s-code-block {
901
921
  font-size: 13px;
902
922
  font-family: var(--ff-mono);
@@ -1398,6 +1418,16 @@ body.theme-highcontrast .s-label--status {
1398
1418
  background-color: var(--theme-secondary-400);
1399
1419
  background-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='%23fff'/%3E%3C/svg%3E");
1400
1420
  }
1421
+ @media (prefers-color-scheme: dark) {
1422
+ body.theme-highcontrast.theme-system .s-checkbox:checked {
1423
+ border-color: var(--blue-700) !important;
1424
+ background-color: var(--blue-300);
1425
+ }
1426
+ }
1427
+ body.theme-highcontrast.theme-dark .s-checkbox:checked {
1428
+ border-color: var(--blue-700) !important;
1429
+ background-color: var(--blue-300);
1430
+ }
1401
1431
  .s-checkbox:checked:focus {
1402
1432
  border-color: var(--theme-secondary-400);
1403
1433
  }
@@ -1415,6 +1445,16 @@ body.theme-highcontrast .s-label--status {
1415
1445
  border-width: 0.30769231em;
1416
1446
  background-color: hsl(0, 0%, 100%);
1417
1447
  }
1448
+ @media (prefers-color-scheme: dark) {
1449
+ body.theme-highcontrast.theme-system .s-radio:checked {
1450
+ border-color: var(--blue-300);
1451
+ outline: 1px solid var(--black);
1452
+ }
1453
+ }
1454
+ body.theme-highcontrast.theme-dark .s-radio:checked {
1455
+ border-color: var(--blue-300);
1456
+ outline: 1px solid var(--black);
1457
+ }
1418
1458
  .s-radio:focus {
1419
1459
  box-shadow: 0 0 0 4px var(--focus-ring);
1420
1460
  }
@@ -2826,6 +2866,9 @@ body.theme-dark .s-prose kbd,
2826
2866
  background-color: var(--black-075);
2827
2867
  border-radius: 3px;
2828
2868
  }
2869
+ .s-prose *:not(.s-code-block) > a code {
2870
+ color: var(--theme-link-color);
2871
+ }
2829
2872
  .s-prose pre {
2830
2873
  margin-top: 0;
2831
2874
  margin-bottom: calc(var(--s-prose-spacing) + 0.4em);
@@ -3405,6 +3448,9 @@ body.theme-highcontrast .s-uploader.is-active:before {
3405
3448
  text-overflow: ellipsis;
3406
3449
  white-space: nowrap;
3407
3450
  }
3451
+ body.theme-highcontrast .s-uploader .s-uploader--preview-thumbnail {
3452
+ border: 1px solid var(--black);
3453
+ }
3408
3454
  .s-uploader .s-uploader--preview-thumbnail:is(img) {
3409
3455
  object-fit: scale-down;
3410
3456
  object-position: center;
@@ -4544,11 +4590,11 @@ body.theme-system.theme-highcontrast .theme-light__forced {
4544
4590
  --fc-dark: var(--black-900);
4545
4591
  --fc-medium: var(--black-700);
4546
4592
  --fc-light: var(--black-500);
4547
- --focus-ring: hsla(206, 100%, 40%, 0.5);
4548
- --focus-ring-success: hsla(140, 40%, 40%, 0.5);
4549
- --focus-ring-warning: hsla(47, 76%, 46%, 0.5);
4550
- --focus-ring-error: hsla(358, 62%, 47%, 0.5);
4551
- --focus-ring-muted: hsla(210, 8%, 15%, 0.5);
4593
+ --focus-ring: hsla(206, 100%, 40%, 0.9);
4594
+ --focus-ring-success: hsla(140, 40%, 40%, 0.9);
4595
+ --focus-ring-warning: hsla(47, 76%, 46%, 0.9);
4596
+ --focus-ring-error: hsla(358, 62%, 47%, 0.9);
4597
+ --focus-ring-muted: hsla(210, 8%, 55%, 0.95);
4552
4598
  --bs-sm: none;
4553
4599
  --bs-md: none;
4554
4600
  --bs-lg: none;
@@ -4595,10 +4641,10 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
4595
4641
  --orange-700: hsl(27, 100%, 82%);
4596
4642
  --orange-800: hsl(27, 100%, 87%);
4597
4643
  --orange-900: hsl(27, 100%, 91%);
4598
- --blue-050: hsl(206, 100%, 3%);
4599
- --blue-100: hsl(206, 100%, 6%);
4600
- --blue-200: hsl(206, 100%, 12%);
4601
- --blue-300: hsl(206, 100%, 18%);
4644
+ --blue-050: hsl(206, 100%, 4%);
4645
+ --blue-100: hsl(206, 100%, 11%);
4646
+ --blue-200: hsl(206, 100%, 18%);
4647
+ --blue-300: hsl(206, 100%, 25%);
4602
4648
  --blue-400: hsl(206, 100%, 75%);
4603
4649
  --blue-500: hsl(206, 100%, 80%);
4604
4650
  --blue-600: hsl(206, 100%, 85%);
@@ -4661,11 +4707,11 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
4661
4707
  --bc-medium: var(--black-400);
4662
4708
  --bc-dark: var(--black-700);
4663
4709
  --bc-darker: var(--black-900);
4664
- --focus-ring: hsla(206, 100%, 40%, 0.5);
4665
- --focus-ring-success: hsla(140, 40%, 40%, 0.5);
4666
- --focus-ring-warning: hsla(47, 76%, 46%, 0.5);
4667
- --focus-ring-error: hsla(358, 62%, 47%, 0.5);
4668
- --focus-ring-muted: hsla(210, 8%, 15%, 0.5);
4710
+ --focus-ring: hsla(206, 100%, 40%, 0.9);
4711
+ --focus-ring-success: hsla(140, 40%, 40%, 0.9);
4712
+ --focus-ring-warning: hsla(47, 76%, 46%, 0.9);
4713
+ --focus-ring-error: hsla(358, 62%, 47%, 0.9);
4714
+ --focus-ring-muted: hsla(210, 8%, 55%, 0.95);
4669
4715
  --fc-dark: var(--black-900);
4670
4716
  --fc-medium: var(--black-700);
4671
4717
  --fc-light: var(--black-500);
@@ -4715,10 +4761,10 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
4715
4761
  --orange-700: hsl(27, 100%, 82%);
4716
4762
  --orange-800: hsl(27, 100%, 87%);
4717
4763
  --orange-900: hsl(27, 100%, 91%);
4718
- --blue-050: hsl(206, 100%, 3%);
4719
- --blue-100: hsl(206, 100%, 6%);
4720
- --blue-200: hsl(206, 100%, 12%);
4721
- --blue-300: hsl(206, 100%, 18%);
4764
+ --blue-050: hsl(206, 100%, 4%);
4765
+ --blue-100: hsl(206, 100%, 11%);
4766
+ --blue-200: hsl(206, 100%, 18%);
4767
+ --blue-300: hsl(206, 100%, 25%);
4722
4768
  --blue-400: hsl(206, 100%, 75%);
4723
4769
  --blue-500: hsl(206, 100%, 80%);
4724
4770
  --blue-600: hsl(206, 100%, 85%);
@@ -4781,11 +4827,11 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
4781
4827
  --bc-medium: var(--black-400);
4782
4828
  --bc-dark: var(--black-700);
4783
4829
  --bc-darker: var(--black-900);
4784
- --focus-ring: hsla(206, 100%, 40%, 0.5);
4785
- --focus-ring-success: hsla(140, 40%, 40%, 0.5);
4786
- --focus-ring-warning: hsla(47, 76%, 46%, 0.5);
4787
- --focus-ring-error: hsla(358, 62%, 47%, 0.5);
4788
- --focus-ring-muted: hsla(210, 8%, 15%, 0.5);
4830
+ --focus-ring: hsla(206, 100%, 40%, 0.9);
4831
+ --focus-ring-success: hsla(140, 40%, 40%, 0.9);
4832
+ --focus-ring-warning: hsla(47, 76%, 46%, 0.9);
4833
+ --focus-ring-error: hsla(358, 62%, 47%, 0.9);
4834
+ --focus-ring-muted: hsla(210, 8%, 55%, 0.95);
4789
4835
  --fc-dark: var(--black-900);
4790
4836
  --fc-medium: var(--black-700);
4791
4837
  --fc-light: var(--black-500);
@@ -13007,6 +13053,12 @@ p {
13007
13053
  .t-delay-unset {
13008
13054
  transition-delay: 0s !important;
13009
13055
  }
13056
+ .tl-fixed {
13057
+ table-layout: fixed !important;
13058
+ }
13059
+ .tl-auto {
13060
+ table-layout: auto !important;
13061
+ }
13010
13062
  .w0 {
13011
13063
  width: 0 !important;
13012
13064
  }
@@ -16651,6 +16703,9 @@ body *:after {
16651
16703
  body.theme-highcontrast .s-btn {
16652
16704
  border-color: currentColor;
16653
16705
  }
16706
+ body.theme-highcontrast .s-btn:not(.s-btn__link):not(.s-btn__unset) {
16707
+ text-decoration: none;
16708
+ }
16654
16709
  button .s-btn,
16655
16710
  button[type="submit"] .s-btn,
16656
16711
  button[type="reset"] .s-btn {
@@ -16800,6 +16855,9 @@ body.theme-dark .s-btn__filled,
16800
16855
  border-color: var(--theme-button-filled-active-border-color);
16801
16856
  box-shadow: none;
16802
16857
  }
16858
+ body.theme-highcontrast .s-btn__filled:focus {
16859
+ box-shadow: 0 0 0 4px var(--focus-ring);
16860
+ }
16803
16861
  .s-btn__filled.is-selected {
16804
16862
  color: var(--theme-button-filled-selected-color);
16805
16863
  background-color: var(--theme-button-filled-selected-background-color);
@@ -16873,6 +16931,9 @@ body.theme-highcontrast .s-btn__muted.s-btn__filled .s-btn--number {
16873
16931
  .s-btn__muted.s-btn__filled:focus {
16874
16932
  box-shadow: 0 0 0 4px var(--focus-ring-muted);
16875
16933
  }
16934
+ body.theme-highcontrast .s-btn__muted.s-btn__filled:focus {
16935
+ box-shadow: 0 0 0 4px var(--focus-ring-muted);
16936
+ }
16876
16937
  .s-btn__muted.s-btn__filled.is-selected {
16877
16938
  color: var(--black-800);
16878
16939
  background-color: var(--black-350);
@@ -16905,6 +16966,9 @@ body.theme-highcontrast .s-btn__danger.s-btn__filled {
16905
16966
  .s-btn__danger:focus {
16906
16967
  box-shadow: 0 0 0 4px var(--focus-ring-error);
16907
16968
  }
16969
+ body.theme-highcontrast .s-btn__danger:focus {
16970
+ box-shadow: 0 0 0 4px var(--focus-ring-error);
16971
+ }
16908
16972
  .s-btn__danger.is-selected {
16909
16973
  color: var(--red-900);
16910
16974
  background-color: var(--red-200);
@@ -16936,6 +17000,9 @@ body.theme-dark .s-btn__danger.s-btn__filled,
16936
17000
  body.theme-highcontrast .s-btn__danger.s-btn__filled {
16937
17001
  color: var(--white);
16938
17002
  }
17003
+ body.theme-highcontrast .s-btn__danger.s-btn__filled:focus {
17004
+ box-shadow: 0 0 0 4px var(--focus-ring-error);
17005
+ }
16939
17006
  body.theme-highcontrast .s-btn__danger.s-btn__filled .s-btn--number {
16940
17007
  color: var(--black);
16941
17008
  }
@@ -17001,6 +17068,9 @@ body.theme-highcontrast .s-btn__primary:not(.is-selected) {
17001
17068
  background-color: var(--theme-button-primary-active-background-color);
17002
17069
  box-shadow: none;
17003
17070
  }
17071
+ body.theme-highcontrast .s-btn__primary:focus {
17072
+ box-shadow: 0 0 0 4px var(--focus-ring);
17073
+ }
17004
17074
  .s-btn__primary.is-selected {
17005
17075
  color: var(--theme-button-primary-selected-color);
17006
17076
  background-color: var(--theme-button-primary-selected-background-color);
@@ -17020,10 +17090,12 @@ body.theme-highcontrast .s-btn__primary:not(.is-selected) {
17020
17090
  color: var(--black-800);
17021
17091
  }
17022
17092
  .s-btn__google:active {
17023
- border-color: var(--bc-darkest);
17024
17093
  background-color: var(--black-050);
17025
17094
  color: var(--black-900);
17026
17095
  }
17096
+ .s-btn__google:focus {
17097
+ box-shadow: 0 0 0 4px var(--focus-ring-muted);
17098
+ }
17027
17099
  .s-btn__facebook {
17028
17100
  border-color: transparent;
17029
17101
  background-color: #385499;
@@ -17057,9 +17129,13 @@ body.theme-highcontrast .s-btn__github {
17057
17129
  background-color: var(--black-900);
17058
17130
  color: var(--white);
17059
17131
  }
17132
+ .s-btn__github:focus {
17133
+ box-shadow: 0 0 0 4px var(--focus-ring-muted);
17134
+ }
17060
17135
  .s-btn__unset,
17061
17136
  .s-btn__unset:hover,
17062
- .s-btn__unset:active {
17137
+ .s-btn__unset:active,
17138
+ .s-btn__unset:focus {
17063
17139
  padding: 0;
17064
17140
  border: none;
17065
17141
  outline: none;
@@ -17071,9 +17147,6 @@ body.theme-highcontrast .s-btn__github {
17071
17147
  cursor: default;
17072
17148
  user-select: auto;
17073
17149
  }
17074
- .s-btn__unset:focus {
17075
- color: unset;
17076
- }
17077
17150
  .s-btn__link {
17078
17151
  display: inline;
17079
17152
  padding: 0;
@@ -17089,16 +17162,17 @@ body.theme-highcontrast .s-btn__github {
17089
17162
  cursor: pointer;
17090
17163
  user-select: auto;
17091
17164
  }
17165
+ body.theme-highcontrast .s-btn__link {
17166
+ text-decoration: underline;
17167
+ }
17092
17168
  .s-btn__link.s-link__visited:visited {
17093
17169
  color: var(--theme-link-color-visited);
17094
- text-decoration: none;
17095
17170
  }
17096
17171
  .s-btn__link:hover,
17097
17172
  .s-btn__link.s-link__visited:hover,
17098
17173
  .s-btn__link:active,
17099
17174
  .s-btn__link.s-link__visited:active {
17100
17175
  color: var(--theme-link-color-hover);
17101
- text-decoration: none;
17102
17176
  }
17103
17177
  .s-btn__link.s-link__grayscale {
17104
17178
  color: var(--black-800);
@@ -17147,11 +17221,35 @@ body.theme-highcontrast .s-btn__github {
17147
17221
  .s-btn__link.s-link__underlined {
17148
17222
  text-decoration: underline !important;
17149
17223
  }
17224
+ .s-btn__link.s-link__dropdown {
17225
+ position: relative;
17226
+ padding-right: 0.9em;
17227
+ }
17228
+ .s-btn__link.s-link__dropdown:after {
17229
+ content: "";
17230
+ position: absolute;
17231
+ z-index: 30;
17232
+ top: calc(50% - 2px);
17233
+ right: 0;
17234
+ border-style: solid;
17235
+ border-width: 4px;
17236
+ border-top-width: 4px;
17237
+ border-bottom-width: 0;
17238
+ border-color: currentColor transparent;
17239
+ pointer-events: none;
17240
+ }
17150
17241
  .s-btn__link:hover,
17151
17242
  .s-btn__link:active,
17152
17243
  .s-btn__link:focus,
17153
17244
  .s-btn__link[disabled] {
17154
17245
  background: none;
17246
+ box-shadow: none;
17247
+ }
17248
+ .s-btn__link.s-btn__dropdown {
17249
+ padding-right: 0.9em;
17250
+ }
17251
+ .s-btn__link.s-btn__dropdown:after {
17252
+ right: 0;
17155
17253
  }
17156
17254
  .s-btn__icon .svg-icon {
17157
17255
  vertical-align: baseline;
@@ -17202,10 +17300,13 @@ a,
17202
17300
  cursor: pointer;
17203
17301
  user-select: auto;
17204
17302
  }
17303
+ body.theme-highcontrast a,
17304
+ body.theme-highcontrast .s-link {
17305
+ text-decoration: underline;
17306
+ }
17205
17307
  a.s-link__visited:visited,
17206
17308
  .s-link.s-link__visited:visited {
17207
17309
  color: var(--theme-link-color-visited);
17208
- text-decoration: none;
17209
17310
  }
17210
17311
  a:hover,
17211
17312
  .s-link:hover,
@@ -17216,7 +17317,6 @@ a:active,
17216
17317
  a.s-link__visited:active,
17217
17318
  .s-link.s-link__visited:active {
17218
17319
  color: var(--theme-link-color-hover);
17219
- text-decoration: none;
17220
17320
  }
17221
17321
  a.s-link__grayscale,
17222
17322
  .s-link.s-link__grayscale {
@@ -17288,6 +17388,25 @@ a.s-link__underlined,
17288
17388
  .s-link.s-link__underlined {
17289
17389
  text-decoration: underline !important;
17290
17390
  }
17391
+ a.s-link__dropdown,
17392
+ .s-link.s-link__dropdown {
17393
+ position: relative;
17394
+ padding-right: 0.9em;
17395
+ }
17396
+ a.s-link__dropdown:after,
17397
+ .s-link.s-link__dropdown:after {
17398
+ content: "";
17399
+ position: absolute;
17400
+ z-index: 30;
17401
+ top: calc(50% - 2px);
17402
+ right: 0;
17403
+ border-style: solid;
17404
+ border-width: 4px;
17405
+ border-top-width: 4px;
17406
+ border-bottom-width: 0;
17407
+ border-color: currentColor transparent;
17408
+ pointer-events: none;
17409
+ }
17291
17410
  button.s-link {
17292
17411
  -webkit-appearance: none;
17293
17412
  -moz-appearance: none;
@@ -17296,6 +17415,7 @@ button.s-link {
17296
17415
  padding: 0;
17297
17416
  line-height: inherit;
17298
17417
  user-select: auto;
17418
+ font-family: inherit;
17299
17419
  }
17300
17420
  button.s-link:focus {
17301
17421
  outline: none;
@@ -17475,6 +17595,7 @@ button.s-link:focus {
17475
17595
  border-radius: 0;
17476
17596
  text-align: left;
17477
17597
  line-height: inherit;
17598
+ font-family: inherit;
17478
17599
  }
17479
17600
  .s-block-link:hover,
17480
17601
  .s-block-link:active {
@@ -17549,6 +17670,9 @@ a.s-link-preview--title.s-link__visited:visited {
17549
17670
  color: var(--theme-link-color);
17550
17671
  text-decoration: none;
17551
17672
  }
17673
+ body.theme-highcontrast a.s-link-preview--title.s-link__visited:visited {
17674
+ text-decoration: underline;
17675
+ }
17552
17676
  a.s-link-preview--title:hover,
17553
17677
  a.s-link-preview--title.s-link__visited:hover,
17554
17678
  a.s-link-preview--title:active,
@@ -17556,6 +17680,12 @@ a.s-link-preview--title.s-link__visited:active {
17556
17680
  color: var(--theme-link-color-hover);
17557
17681
  text-decoration: none;
17558
17682
  }
17683
+ body.theme-highcontrast a.s-link-preview--title:hover,
17684
+ body.theme-highcontrast a.s-link-preview--title.s-link__visited:hover,
17685
+ body.theme-highcontrast a.s-link-preview--title:active,
17686
+ body.theme-highcontrast a.s-link-preview--title.s-link__visited:active {
17687
+ text-decoration: underline;
17688
+ }
17559
17689
  .s-link-preview--details {
17560
17690
  font-size: 12px;
17561
17691
  color: var(--black-500);
@@ -17674,6 +17804,14 @@ body.theme-highcontrast .s-navigation .s-navigation--item:active {
17674
17804
  background: var(--theme-primary-color);
17675
17805
  color: var(--white);
17676
17806
  }
17807
+ body.theme-highcontrast .s-navigation .s-navigation--item.is-selected {
17808
+ text-decoration: none;
17809
+ }
17810
+ .s-navigation .s-navigation--item.is-selected:hover,
17811
+ .s-navigation .s-navigation--item.is-selected:active {
17812
+ background: var(--theme-primary-600);
17813
+ color: var(--white);
17814
+ }
17677
17815
  .s-navigation .s-navigation--item.s-navigation--item__dropdown {
17678
17816
  padding-right: 2em;
17679
17817
  }
@@ -17983,6 +18121,9 @@ body.theme-highcontrast .s-tag {
17983
18121
  body.theme-highcontrast .s-tag .s-tag--dismiss:hover {
17984
18122
  color: var(--white);
17985
18123
  }
18124
+ body.theme-highcontrast .s-tag {
18125
+ text-decoration: none;
18126
+ }
17986
18127
  .s-tag.is-selected {
17987
18128
  border-color: transparent;
17988
18129
  background-color: var(--powder-300);
@@ -18226,6 +18367,9 @@ body.theme-highcontrast a.s-tag__themed:not(.is-selected):active {
18226
18367
  line-height: 1.92307692;
18227
18368
  color: var(--fc-medium);
18228
18369
  }
18370
+ body.theme-highcontrast .s-pagination--item {
18371
+ text-decoration: none;
18372
+ }
18229
18373
  .s-pagination--item:hover {
18230
18374
  border-color: var(--bc-darker);
18231
18375
  background-color: var(--black-100);