@stackoverflow/stacks 2.0.0-rc.10 → 2.0.0-rc.11
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 +33 -22
- package/dist/css/stacks.min.css +1 -1
- package/lib/components/badge/badge.less +10 -10
- package/lib/components/code-block/code-block.a11y.test.ts +1 -1
- package/lib/components/input_textarea/input_textarea.a11y.test.ts +112 -0
- package/lib/components/input_textarea/input_textarea.visual.test.ts +98 -0
- package/lib/components/modal/modal.less +1 -0
- package/lib/components/navigation/navigation.a11y.test.ts +0 -2
- package/lib/components/post-summary/post-summary.less +1 -1
- package/lib/components/tag/tag.a11y.test.ts +7 -1
- package/lib/components/topbar/topbar.less +25 -9
- package/lib/components/user-card/user-card.less +2 -2
- package/lib/test/test-utils.ts +1 -3
- package/package.json +1 -1
package/dist/css/stacks.css
CHANGED
|
@@ -692,15 +692,15 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
692
692
|
vertical-align: middle;
|
|
693
693
|
white-space: nowrap;
|
|
694
694
|
}
|
|
695
|
-
body.theme-highcontrast .s-
|
|
696
|
-
body.theme-highcontrast .s-
|
|
697
|
-
body.theme-highcontrast .s-
|
|
698
|
-
body.theme-highcontrast .s-
|
|
699
|
-
body.theme-highcontrast .s-
|
|
700
|
-
body.theme-highcontrast .s-
|
|
701
|
-
body.theme-highcontrast .s-
|
|
702
|
-
body.theme-highcontrast .s-
|
|
703
|
-
body.theme-highcontrast .s-
|
|
695
|
+
body.theme-highcontrast .s-badge__gold,
|
|
696
|
+
body.theme-highcontrast .s-badge__silver,
|
|
697
|
+
body.theme-highcontrast .s-badge__bronze,
|
|
698
|
+
body.theme-highcontrast .s-badge__rep,
|
|
699
|
+
body.theme-highcontrast .s-badge__rep-down,
|
|
700
|
+
body.theme-highcontrast .s-badge__votes:not(.s-badge__answered),
|
|
701
|
+
body.theme-highcontrast .s-badge__admin,
|
|
702
|
+
body.theme-highcontrast .s-badge__moderator,
|
|
703
|
+
body.theme-highcontrast .s-badge__staff {
|
|
704
704
|
--_ba-bc: currentColor;
|
|
705
705
|
}
|
|
706
706
|
.s-badge.s-badge__xs,
|
|
@@ -768,7 +768,7 @@ body.theme-highcontrast .s-badgebody.theme-highcontrast .s-badge__staff {
|
|
|
768
768
|
--_ba-fc: var(--black-500);
|
|
769
769
|
}
|
|
770
770
|
.s-badge.s-badge__admin {
|
|
771
|
-
--_ba-bc: var(--theme-primary-
|
|
771
|
+
--_ba-bc: var(--theme-primary-200);
|
|
772
772
|
--_ba-bg: var(--theme-primary-100);
|
|
773
773
|
--_ba-fc: var(--theme-primary-500);
|
|
774
774
|
}
|
|
@@ -3001,6 +3001,7 @@ body.theme-system .theme-dark__forced .s-modal .s-modal--dialog {
|
|
|
3001
3001
|
font-weight: normal;
|
|
3002
3002
|
line-height: var(--lh-sm);
|
|
3003
3003
|
margin-bottom: var(--su16);
|
|
3004
|
+
margin-right: var(--su24);
|
|
3004
3005
|
}
|
|
3005
3006
|
.s-navigation {
|
|
3006
3007
|
--_na-fd: row;
|
|
@@ -3697,7 +3698,7 @@ body.theme-system .theme-dark__forced .s-post-summary.s-post-summary__deleted .s
|
|
|
3697
3698
|
color: var(--white);
|
|
3698
3699
|
}
|
|
3699
3700
|
.s-post-summary.s-post-summary__watched:not(.s-post-summary__deleted):not(.s-post-summary__ignored) {
|
|
3700
|
-
--_ps-bg: var(--yellow-
|
|
3701
|
+
--_ps-bg: var(--yellow-100);
|
|
3701
3702
|
--_ps-stats-fc: var(--black-400);
|
|
3702
3703
|
--_ps-content-title-a-fc: var(--theme-post-title-color, var(--theme-link-color, var(--theme-secondary-400)));
|
|
3703
3704
|
--_ps-content-title-a-fc-hover: var(--theme-post-title-color-hover, var(--theme-link-color-hover, var(--theme-secondary-500)));
|
|
@@ -5756,12 +5757,12 @@ input[type="checkbox"].s-toggle-switch[disabled] {
|
|
|
5756
5757
|
align-items: center;
|
|
5757
5758
|
}
|
|
5758
5759
|
body.theme-highcontrast .s-topbar {
|
|
5759
|
-
--theme-topbar-search-color: var(--theme-topbar-item-color, var(--black-
|
|
5760
|
+
--theme-topbar-search-color: var(--theme-topbar-item-color, var(--black-400));
|
|
5760
5761
|
--theme-topbar-search-background: var(--theme-topbar-background-color, var(--white));
|
|
5761
|
-
--theme-topbar-search-placeholder: var(--theme-topbar-item-color, var(--black-
|
|
5762
|
-
--theme-topbar-search-border: var(--theme-topbar-item-color, var(--black-
|
|
5763
|
-
--theme-topbar-search-border-focus: var(--theme-topbar-item-color, var(--black-
|
|
5764
|
-
--theme-topbar-select-color: var(--theme-topbar-item-color, var(--black-
|
|
5762
|
+
--theme-topbar-search-placeholder: var(--theme-topbar-item-color, var(--black-400));
|
|
5763
|
+
--theme-topbar-search-border: var(--theme-topbar-item-color, var(--black-400));
|
|
5764
|
+
--theme-topbar-search-border-focus: var(--theme-topbar-item-color, var(--black-400));
|
|
5765
|
+
--theme-topbar-select-color: var(--theme-topbar-item-color, var(--black-400));
|
|
5765
5766
|
--theme-topbar-select-background: var(--theme-topbar-background-color, var(--white));
|
|
5766
5767
|
--theme-topbar-item-color: var(--black-600);
|
|
5767
5768
|
--theme-topbar-item-color-hover: var(--black-600);
|
|
@@ -5805,7 +5806,7 @@ body.theme-highcontrast .s-topbar {
|
|
|
5805
5806
|
.s-topbar .s-topbar--menu-btn span:after {
|
|
5806
5807
|
width: var(--su-static16);
|
|
5807
5808
|
height: var(--su-static2);
|
|
5808
|
-
background-color: var(--theme-topbar-item-color, var(--black-
|
|
5809
|
+
background-color: var(--theme-topbar-item-color, var(--black-400));
|
|
5809
5810
|
position: relative;
|
|
5810
5811
|
}
|
|
5811
5812
|
.s-topbar .s-topbar--menu-btn span:before,
|
|
@@ -5844,12 +5845,22 @@ body.theme-highcontrast .s-topbar {
|
|
|
5844
5845
|
box-shadow: var(--theme-topbar-search-shadow-focus, 0 0 0 var(--su-static4) var(--focus-ring));
|
|
5845
5846
|
}
|
|
5846
5847
|
.s-topbar .s-navigation .s-navigation--item:not(.is-selected) {
|
|
5847
|
-
color: var(--theme-topbar-item-color, var(--black-
|
|
5848
|
+
color: var(--theme-topbar-item-color, var(--black-400));
|
|
5848
5849
|
}
|
|
5849
5850
|
.s-topbar .s-navigation .s-navigation--item:not(.is-selected):hover {
|
|
5850
5851
|
color: var(--theme-topbar-item-color-hover, var(--black-600));
|
|
5851
5852
|
background-color: var(--theme-topbar-item-background-hover, var(--black-200));
|
|
5852
5853
|
}
|
|
5854
|
+
.s-topbar .s-popover .s-navigation .s-navigation--item:focus-visible {
|
|
5855
|
+
box-shadow: var(0 0 0 var(--su-static4) var(--focus-ring));
|
|
5856
|
+
}
|
|
5857
|
+
.s-topbar .s-popover .s-navigation .s-navigation--item:not(.is-selected) {
|
|
5858
|
+
color: var(--black-500);
|
|
5859
|
+
}
|
|
5860
|
+
.s-topbar .s-popover .s-navigation .s-navigation--item:not(.is-selected):hover {
|
|
5861
|
+
color: var(--black-600);
|
|
5862
|
+
background-color: var(--black-200);
|
|
5863
|
+
}
|
|
5853
5864
|
.s-topbar__light {
|
|
5854
5865
|
--theme-topbar-background-color: var(--_white-static);
|
|
5855
5866
|
--theme-topbar-bottom-border: 1px solid hsl(210, 8%, 85%);
|
|
@@ -5955,7 +5966,7 @@ body.theme-highcontrast .s-topbar__dark .s-badge {
|
|
|
5955
5966
|
border-color: transparent;
|
|
5956
5967
|
}
|
|
5957
5968
|
.s-topbar .s-topbar--content .s-topbar--item:not(.s-topbar--item__unset) {
|
|
5958
|
-
color: var(--theme-topbar-item-color, var(--black-
|
|
5969
|
+
color: var(--theme-topbar-item-color, var(--black-400));
|
|
5959
5970
|
display: inline-flex;
|
|
5960
5971
|
align-items: center;
|
|
5961
5972
|
padding: 0 calc(var(--su12) - var(--su2));
|
|
@@ -6005,7 +6016,7 @@ body.theme-highcontrast .s-topbar__dark .s-badge {
|
|
|
6005
6016
|
flex-shrink: 0;
|
|
6006
6017
|
border-color: transparent;
|
|
6007
6018
|
background-color: transparent;
|
|
6008
|
-
color: var(--theme-topbar-item-color, var(--black-
|
|
6019
|
+
color: var(--theme-topbar-item-color, var(--black-400));
|
|
6009
6020
|
}
|
|
6010
6021
|
.s-topbar--notice:hover,
|
|
6011
6022
|
.s-topbar--notice:focus {
|
|
@@ -6370,8 +6381,8 @@ body.theme-highcontrast .s-uploader .s-uploader--preview-thumbnail {
|
|
|
6370
6381
|
font-size: var(--fs-caption);
|
|
6371
6382
|
grid-column: 1 / 3;
|
|
6372
6383
|
}
|
|
6373
|
-
.s-user-card .s-user-card--type a {
|
|
6374
|
-
color: inherit;
|
|
6384
|
+
.s-user-card .s-user-card--type a:not(.s-link) {
|
|
6385
|
+
color: inherit !important;
|
|
6375
6386
|
}
|
|
6376
6387
|
@font-face {
|
|
6377
6388
|
font-family: "Segoe UI Adjusted";
|