@stackoverflow/stacks 3.0.0-beta.17 → 3.0.0-beta.19
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 +36 -82
- package/dist/css/stacks.min.css +1 -1
- package/lib/atomic/misc.less +20 -15
- package/lib/base/configuration-static.less +3 -3
- package/lib/components/button-group/button-group.less +1 -0
- package/lib/components/code-block/code-block.fixtures.ts +2 -2
- package/lib/exports/color-sets.less +2 -2
- package/lib/exports/constants-helpers.less +3 -3
- package/lib/stacks-static.less +0 -1
- package/package.json +1 -1
- package/lib/components/skeleton/skeleton.less +0 -73
package/dist/css/stacks.css
CHANGED
|
@@ -1245,7 +1245,7 @@ a.s-block-link.focus-inset,
|
|
|
1245
1245
|
flex-wrap: wrap;
|
|
1246
1246
|
font-size: var(--fs-caption);
|
|
1247
1247
|
}
|
|
1248
|
-
@media (max-width:
|
|
1248
|
+
@media (max-width: 48.75rem) {
|
|
1249
1249
|
.s-breadcrumbs {
|
|
1250
1250
|
--_br-divider-px: var(--su2);
|
|
1251
1251
|
}
|
|
@@ -1677,7 +1677,7 @@ fieldset[disabled] .s-btn:hover .s-btn--badge .s-btn--number,
|
|
|
1677
1677
|
flex-wrap: wrap;
|
|
1678
1678
|
padding: calc(var(--su-static4) - var(--su-static1));
|
|
1679
1679
|
}
|
|
1680
|
-
@media (max-width:
|
|
1680
|
+
@media (max-width: 48.75rem) {
|
|
1681
1681
|
html .s-btn-group .s-btn {
|
|
1682
1682
|
--_bu-px: 0.4em;
|
|
1683
1683
|
}
|
|
@@ -1697,6 +1697,7 @@ fieldset[disabled] .s-btn:hover .s-btn--badge .s-btn--number,
|
|
|
1697
1697
|
--_bu-bc-hover: transparent;
|
|
1698
1698
|
--_bu-px: calc(var(--su12) - var(--su1));
|
|
1699
1699
|
--_bu-py: calc(var(--su6) + 0.65px);
|
|
1700
|
+
font-weight: 400;
|
|
1700
1701
|
white-space: nowrap;
|
|
1701
1702
|
}
|
|
1702
1703
|
.s-btn-group .s-btn.s-btn__xs {
|
|
@@ -2824,7 +2825,7 @@ p .s-link {
|
|
|
2824
2825
|
box-shadow: var(--bs-sm);
|
|
2825
2826
|
text-align: left;
|
|
2826
2827
|
}
|
|
2827
|
-
@media (max-width:
|
|
2828
|
+
@media (max-width: 48.75rem) {
|
|
2828
2829
|
.s-link-preview {
|
|
2829
2830
|
--_lp-details-mt: var(--su4);
|
|
2830
2831
|
--_lp-footer-fd: column;
|
|
@@ -3509,12 +3510,12 @@ button.s-notice--dismiss.focus-inset-bordered {
|
|
|
3509
3510
|
padding-bottom: var(--su16);
|
|
3510
3511
|
width: 100%;
|
|
3511
3512
|
}
|
|
3512
|
-
@media (max-width:
|
|
3513
|
+
@media (max-width: 48.75rem) {
|
|
3513
3514
|
.s-page-title {
|
|
3514
3515
|
--_pt-breadcrums-mb: var(--su2);
|
|
3515
3516
|
}
|
|
3516
3517
|
}
|
|
3517
|
-
@media (max-width:
|
|
3518
|
+
@media (max-width: 71.875rem) {
|
|
3518
3519
|
.s-page-title {
|
|
3519
3520
|
--_pt-ai: flex-start;
|
|
3520
3521
|
--_pt-fd: column;
|
|
@@ -3689,7 +3690,7 @@ body.theme-system .theme-dark__forced .s-popover {
|
|
|
3689
3690
|
padding: var(--su16);
|
|
3690
3691
|
position: relative;
|
|
3691
3692
|
}
|
|
3692
|
-
@media (max-width:
|
|
3693
|
+
@media (max-width: 71.875rem) {
|
|
3693
3694
|
.s-post-summary {
|
|
3694
3695
|
--_ps-stats-ai: center;
|
|
3695
3696
|
--_ps-stats-fd: row;
|
|
@@ -4400,7 +4401,7 @@ body.theme-highcontrast .s-prose {
|
|
|
4400
4401
|
--_pr-blockquote-before-bg: var(--black-500);
|
|
4401
4402
|
--_pr-hr-bg: var(--black-400);
|
|
4402
4403
|
}
|
|
4403
|
-
@media (max-width:
|
|
4404
|
+
@media (max-width: 48.75rem) {
|
|
4404
4405
|
.s-prose {
|
|
4405
4406
|
--_pr-spoiler-after-t: calc(var(--su8) + var(--su1));
|
|
4406
4407
|
}
|
|
@@ -5168,61 +5169,6 @@ body.theme-highcontrast .s-sidebarwidget.s-sidebarwidget__green {
|
|
|
5168
5169
|
.s-sidebarwidget table.s-sidebarwidget--content.s-sidebarwidget__items tr.s-sidebarwidget--item td {
|
|
5169
5170
|
padding: 0;
|
|
5170
5171
|
}
|
|
5171
|
-
.s-skeleton {
|
|
5172
|
-
--_sk-bg-1: var(--black-400);
|
|
5173
|
-
--_sk-bg-2: var(--black-350);
|
|
5174
|
-
--_sk-bg-3: var(--black-300);
|
|
5175
|
-
--_sk-o: 0.25;
|
|
5176
|
-
margin-bottom: var(--su48);
|
|
5177
|
-
opacity: var(--_sk-o);
|
|
5178
|
-
width: 100%;
|
|
5179
|
-
}
|
|
5180
|
-
body.theme-highcontrast .s-skeleton {
|
|
5181
|
-
--_sk-o: 0.4;
|
|
5182
|
-
}
|
|
5183
|
-
@keyframes flow {
|
|
5184
|
-
0% {
|
|
5185
|
-
background-position: 400% 50%;
|
|
5186
|
-
}
|
|
5187
|
-
100% {
|
|
5188
|
-
background-position: 0% 50%;
|
|
5189
|
-
}
|
|
5190
|
-
}
|
|
5191
|
-
.s-skeleton.s-skeleton__ai {
|
|
5192
|
-
--_sk-bg-1: #ac76f0;
|
|
5193
|
-
--_sk-bg-2: #297fff;
|
|
5194
|
-
--_sk-bg-3: #6abcf8;
|
|
5195
|
-
}
|
|
5196
|
-
.s-skeleton,
|
|
5197
|
-
.s-skeleton:after,
|
|
5198
|
-
.s-skeleton:before {
|
|
5199
|
-
background-image: linear-gradient(to right, var(--_sk-bg-1) 8%, var(--_sk-bg-2) 16%, var(--_sk-bg-3) 25%, var(--_sk-bg-1) 42%, var(--_sk-bg-2) 58%, var(--_sk-bg-3) 75%, var(--_sk-bg-1) 83%);
|
|
5200
|
-
background-size: 400% 100%;
|
|
5201
|
-
border-radius: var(--br-md);
|
|
5202
|
-
display: block;
|
|
5203
|
-
height: var(--su16);
|
|
5204
|
-
position: relative;
|
|
5205
|
-
}
|
|
5206
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
5207
|
-
.s-skeleton,
|
|
5208
|
-
.s-skeleton:after,
|
|
5209
|
-
.s-skeleton:before {
|
|
5210
|
-
animation: flow 8s linear infinite;
|
|
5211
|
-
}
|
|
5212
|
-
}
|
|
5213
|
-
.s-skeleton:after,
|
|
5214
|
-
.s-skeleton:before {
|
|
5215
|
-
content: '';
|
|
5216
|
-
position: relative;
|
|
5217
|
-
}
|
|
5218
|
-
.s-skeleton:after {
|
|
5219
|
-
top: calc(var(--su4));
|
|
5220
|
-
width: calc(2/3 * 100%);
|
|
5221
|
-
}
|
|
5222
|
-
.s-skeleton:before {
|
|
5223
|
-
top: calc(var(--su32) + var(--su8));
|
|
5224
|
-
width: calc(1/3 * 100%);
|
|
5225
|
-
}
|
|
5226
5172
|
.s-spinner {
|
|
5227
5173
|
--_sp-baw: calc(var(--su-static1) * 3);
|
|
5228
5174
|
--_sp-size: var(--su-static24);
|
|
@@ -5942,7 +5888,7 @@ body.theme-highcontrast .s-topbar__light {
|
|
|
5942
5888
|
body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
5943
5889
|
--focus-theme: var(--black-200);
|
|
5944
5890
|
}
|
|
5945
|
-
@media (max-width:
|
|
5891
|
+
@media (max-width: 48.75rem) {
|
|
5946
5892
|
.s-topbar {
|
|
5947
5893
|
--_tb-searchbar-d: none;
|
|
5948
5894
|
--_tb-searchbar-p: var(--su8) var(--su12);
|
|
@@ -6184,7 +6130,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6184
6130
|
flex-shrink: 10000;
|
|
6185
6131
|
padding: var(--_tb-searchbar-p);
|
|
6186
6132
|
}
|
|
6187
|
-
@media (max-width:
|
|
6133
|
+
@media (max-width: 48.75rem) {
|
|
6188
6134
|
.s-topbar .s-topbar--searchbar {
|
|
6189
6135
|
background: var(--theme-topbar-item-background-hover, var(--black-200));
|
|
6190
6136
|
left: 0;
|
|
@@ -6229,7 +6175,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6229
6175
|
margin-right: var(--sun1);
|
|
6230
6176
|
max-width: var(--su256) !important;
|
|
6231
6177
|
}
|
|
6232
|
-
@media (max-width:
|
|
6178
|
+
@media (max-width: 48.75rem) {
|
|
6233
6179
|
.s-topbar .s-topbar--searchbar .s-select {
|
|
6234
6180
|
width: 25% !important;
|
|
6235
6181
|
}
|
|
@@ -6255,7 +6201,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6255
6201
|
.s-topbar .s-topbar--searchbar .s-select:after {
|
|
6256
6202
|
z-index: var(--zi-active);
|
|
6257
6203
|
}
|
|
6258
|
-
@media (max-width:
|
|
6204
|
+
@media (max-width: 48.75rem) {
|
|
6259
6205
|
.s-topbar .s-topbar--searchbar.s-topbar--searchbar__open {
|
|
6260
6206
|
display: var(--_tb-searchbar-open-d);
|
|
6261
6207
|
max-width: var(--_tb-searchbar-open-mxw);
|
|
@@ -7290,8 +7236,8 @@ body.theme-highcontrast.theme-system .theme-light__forced {
|
|
|
7290
7236
|
--black-250: #c9ccd1;
|
|
7291
7237
|
--black-300: #91939c;
|
|
7292
7238
|
--black-350: #54585c;
|
|
7293
|
-
--black-400: #
|
|
7294
|
-
--black-500: #
|
|
7239
|
+
--black-400: #505355;
|
|
7240
|
+
--black-500: #44464b;
|
|
7295
7241
|
--black-600: #211d1e;
|
|
7296
7242
|
--black: #000000;
|
|
7297
7243
|
--orange-100: #fff7f2;
|
|
@@ -15852,7 +15798,7 @@ p {
|
|
|
15852
15798
|
font-size: var(--fs-fine) !important;
|
|
15853
15799
|
line-height: 1.36;
|
|
15854
15800
|
}
|
|
15855
|
-
@media (max-width:
|
|
15801
|
+
@media (max-width: 48.75rem) {
|
|
15856
15802
|
html .fs-display4 {
|
|
15857
15803
|
font-size: calc(var(--fs-display4) * 0.43) !important;
|
|
15858
15804
|
}
|
|
@@ -16230,6 +16176,24 @@ ol {
|
|
|
16230
16176
|
.bg-image-none {
|
|
16231
16177
|
background-image: none !important;
|
|
16232
16178
|
}
|
|
16179
|
+
.bg-loading {
|
|
16180
|
+
animation: loadingBgAnimation 1.5s ease-out infinite;
|
|
16181
|
+
animation-delay: 1ms;
|
|
16182
|
+
}
|
|
16183
|
+
@keyframes loadingBgAnimation {
|
|
16184
|
+
0% {
|
|
16185
|
+
background-color: var(--black-150);
|
|
16186
|
+
opacity: 1;
|
|
16187
|
+
}
|
|
16188
|
+
50% {
|
|
16189
|
+
background-color: var(--black-100);
|
|
16190
|
+
opacity: 0.7;
|
|
16191
|
+
}
|
|
16192
|
+
100% {
|
|
16193
|
+
background-color: var(--black-150);
|
|
16194
|
+
opacity: 1;
|
|
16195
|
+
}
|
|
16196
|
+
}
|
|
16233
16197
|
.bg-confetti-animated {
|
|
16234
16198
|
background-repeat: repeat-x;
|
|
16235
16199
|
background-position: top -10px center;
|
|
@@ -16331,16 +16295,6 @@ ol {
|
|
|
16331
16295
|
-ms-user-select: none !important;
|
|
16332
16296
|
user-select: none !important;
|
|
16333
16297
|
}
|
|
16334
|
-
.ud-auto {
|
|
16335
|
-
-webkit-user-drag: auto !important;
|
|
16336
|
-
-moz-user-drag: auto !important;
|
|
16337
|
-
-ms-user-drag: auto !important;
|
|
16338
|
-
}
|
|
16339
|
-
.ud-none {
|
|
16340
|
-
-webkit-user-drag: none !important;
|
|
16341
|
-
-moz-user-drag: none !important;
|
|
16342
|
-
-ms-user-drag: none !important;
|
|
16343
|
-
}
|
|
16344
16298
|
.v-visible {
|
|
16345
16299
|
visibility: visible !important;
|
|
16346
16300
|
}
|
|
@@ -17069,7 +17023,7 @@ ol {
|
|
|
17069
17023
|
max-width: 100vw !important;
|
|
17070
17024
|
}
|
|
17071
17025
|
/* stylelint-disable */
|
|
17072
|
-
@media (max-width:
|
|
17026
|
+
@media (max-width: 92.25rem) {
|
|
17073
17027
|
.lg\:ba {
|
|
17074
17028
|
border-style: solid !important;
|
|
17075
17029
|
border-width: var(--su-static1) !important;
|
|
@@ -19120,7 +19074,7 @@ ol {
|
|
|
19120
19074
|
max-width: 100vw !important;
|
|
19121
19075
|
}
|
|
19122
19076
|
}
|
|
19123
|
-
@media (max-width:
|
|
19077
|
+
@media (max-width: 71.875rem) {
|
|
19124
19078
|
.md\:ba {
|
|
19125
19079
|
border-style: solid !important;
|
|
19126
19080
|
border-width: var(--su-static1) !important;
|
|
@@ -21171,7 +21125,7 @@ ol {
|
|
|
21171
21125
|
max-width: 100vw !important;
|
|
21172
21126
|
}
|
|
21173
21127
|
}
|
|
21174
|
-
@media (max-width:
|
|
21128
|
+
@media (max-width: 48.75rem) {
|
|
21175
21129
|
.sm\:ba {
|
|
21176
21130
|
border-style: solid !important;
|
|
21177
21131
|
border-width: var(--su-static1) !important;
|