@stackoverflow/stacks 3.0.0-beta.16 → 3.0.0-beta.18
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 +19 -17
- package/dist/css/stacks.min.css +1 -1
- package/lib/atomic/misc.less +1 -0
- package/lib/base/configuration-static.less +3 -3
- package/lib/components/button/button.less +1 -0
- package/lib/components/notice/notice.less +1 -1
- package/lib/exports/constants-helpers.less +3 -3
- package/package.json +1 -1
package/dist/css/stacks.css
CHANGED
|
@@ -990,7 +990,7 @@ button.s-banner--dismiss.focus-inset-bordered {
|
|
|
990
990
|
:has( > button.s-banner--dismiss) {
|
|
991
991
|
padding-left: var(--su24);
|
|
992
992
|
gap: calc(var(--su24) - var(--su2));
|
|
993
|
-
|
|
993
|
+
overflow-wrap: initial !important;
|
|
994
994
|
}
|
|
995
995
|
.s-banner[aria-hidden="true"] {
|
|
996
996
|
--_no-ty-offset: -1;
|
|
@@ -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
|
}
|
|
@@ -1599,6 +1599,7 @@ body.theme-system .theme-dark__forced .s-btn--radio:checked + .s-btn {
|
|
|
1599
1599
|
.s-btn--radio {
|
|
1600
1600
|
border: 0;
|
|
1601
1601
|
clip-path: inset(50%);
|
|
1602
|
+
/* stylelint-disable-next-line property-no-deprecated -- clip is kept for older browser compatibility alongside clip-path */
|
|
1602
1603
|
clip: rect(var(--su-static1), var(--su-static1), var(--su-static1), var(--su-static1));
|
|
1603
1604
|
height: var(--su-static1);
|
|
1604
1605
|
margin: var(--sun1);
|
|
@@ -1676,7 +1677,7 @@ fieldset[disabled] .s-btn:hover .s-btn--badge .s-btn--number,
|
|
|
1676
1677
|
flex-wrap: wrap;
|
|
1677
1678
|
padding: calc(var(--su-static4) - var(--su-static1));
|
|
1678
1679
|
}
|
|
1679
|
-
@media (max-width:
|
|
1680
|
+
@media (max-width: 48.75rem) {
|
|
1680
1681
|
html .s-btn-group .s-btn {
|
|
1681
1682
|
--_bu-px: 0.4em;
|
|
1682
1683
|
}
|
|
@@ -2823,7 +2824,7 @@ p .s-link {
|
|
|
2823
2824
|
box-shadow: var(--bs-sm);
|
|
2824
2825
|
text-align: left;
|
|
2825
2826
|
}
|
|
2826
|
-
@media (max-width:
|
|
2827
|
+
@media (max-width: 48.75rem) {
|
|
2827
2828
|
.s-link-preview {
|
|
2828
2829
|
--_lp-details-mt: var(--su4);
|
|
2829
2830
|
--_lp-footer-fd: column;
|
|
@@ -3481,7 +3482,7 @@ button.s-notice--dismiss.focus-inset-bordered {
|
|
|
3481
3482
|
:has( > button.s-notice--dismiss) {
|
|
3482
3483
|
padding-left: var(--su24);
|
|
3483
3484
|
gap: calc(var(--su24) - var(--su2));
|
|
3484
|
-
|
|
3485
|
+
overflow-wrap: initial !important;
|
|
3485
3486
|
}
|
|
3486
3487
|
.s-notice--icon {
|
|
3487
3488
|
background: var(--_no-icon-bg);
|
|
@@ -3508,12 +3509,12 @@ button.s-notice--dismiss.focus-inset-bordered {
|
|
|
3508
3509
|
padding-bottom: var(--su16);
|
|
3509
3510
|
width: 100%;
|
|
3510
3511
|
}
|
|
3511
|
-
@media (max-width:
|
|
3512
|
+
@media (max-width: 48.75rem) {
|
|
3512
3513
|
.s-page-title {
|
|
3513
3514
|
--_pt-breadcrums-mb: var(--su2);
|
|
3514
3515
|
}
|
|
3515
3516
|
}
|
|
3516
|
-
@media (max-width:
|
|
3517
|
+
@media (max-width: 71.875rem) {
|
|
3517
3518
|
.s-page-title {
|
|
3518
3519
|
--_pt-ai: flex-start;
|
|
3519
3520
|
--_pt-fd: column;
|
|
@@ -3688,7 +3689,7 @@ body.theme-system .theme-dark__forced .s-popover {
|
|
|
3688
3689
|
padding: var(--su16);
|
|
3689
3690
|
position: relative;
|
|
3690
3691
|
}
|
|
3691
|
-
@media (max-width:
|
|
3692
|
+
@media (max-width: 71.875rem) {
|
|
3692
3693
|
.s-post-summary {
|
|
3693
3694
|
--_ps-stats-ai: center;
|
|
3694
3695
|
--_ps-stats-fd: row;
|
|
@@ -4399,7 +4400,7 @@ body.theme-highcontrast .s-prose {
|
|
|
4399
4400
|
--_pr-blockquote-before-bg: var(--black-500);
|
|
4400
4401
|
--_pr-hr-bg: var(--black-400);
|
|
4401
4402
|
}
|
|
4402
|
-
@media (max-width:
|
|
4403
|
+
@media (max-width: 48.75rem) {
|
|
4403
4404
|
.s-prose {
|
|
4404
4405
|
--_pr-spoiler-after-t: calc(var(--su8) + var(--su1));
|
|
4405
4406
|
}
|
|
@@ -5941,7 +5942,7 @@ body.theme-highcontrast .s-topbar__light {
|
|
|
5941
5942
|
body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
5942
5943
|
--focus-theme: var(--black-200);
|
|
5943
5944
|
}
|
|
5944
|
-
@media (max-width:
|
|
5945
|
+
@media (max-width: 48.75rem) {
|
|
5945
5946
|
.s-topbar {
|
|
5946
5947
|
--_tb-searchbar-d: none;
|
|
5947
5948
|
--_tb-searchbar-p: var(--su8) var(--su12);
|
|
@@ -6183,7 +6184,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6183
6184
|
flex-shrink: 10000;
|
|
6184
6185
|
padding: var(--_tb-searchbar-p);
|
|
6185
6186
|
}
|
|
6186
|
-
@media (max-width:
|
|
6187
|
+
@media (max-width: 48.75rem) {
|
|
6187
6188
|
.s-topbar .s-topbar--searchbar {
|
|
6188
6189
|
background: var(--theme-topbar-item-background-hover, var(--black-200));
|
|
6189
6190
|
left: 0;
|
|
@@ -6228,7 +6229,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6228
6229
|
margin-right: var(--sun1);
|
|
6229
6230
|
max-width: var(--su256) !important;
|
|
6230
6231
|
}
|
|
6231
|
-
@media (max-width:
|
|
6232
|
+
@media (max-width: 48.75rem) {
|
|
6232
6233
|
.s-topbar .s-topbar--searchbar .s-select {
|
|
6233
6234
|
width: 25% !important;
|
|
6234
6235
|
}
|
|
@@ -6254,7 +6255,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6254
6255
|
.s-topbar .s-topbar--searchbar .s-select:after {
|
|
6255
6256
|
z-index: var(--zi-active);
|
|
6256
6257
|
}
|
|
6257
|
-
@media (max-width:
|
|
6258
|
+
@media (max-width: 48.75rem) {
|
|
6258
6259
|
.s-topbar .s-topbar--searchbar.s-topbar--searchbar__open {
|
|
6259
6260
|
display: var(--_tb-searchbar-open-d);
|
|
6260
6261
|
max-width: var(--_tb-searchbar-open-mxw);
|
|
@@ -15851,7 +15852,7 @@ p {
|
|
|
15851
15852
|
font-size: var(--fs-fine) !important;
|
|
15852
15853
|
line-height: 1.36;
|
|
15853
15854
|
}
|
|
15854
|
-
@media (max-width:
|
|
15855
|
+
@media (max-width: 48.75rem) {
|
|
15855
15856
|
html .fs-display4 {
|
|
15856
15857
|
font-size: calc(var(--fs-display4) * 0.43) !important;
|
|
15857
15858
|
}
|
|
@@ -16349,6 +16350,7 @@ ol {
|
|
|
16349
16350
|
.v-visible-sr,
|
|
16350
16351
|
.s-topbar .s-topbar--skip-link:not(:focus) {
|
|
16351
16352
|
border: 0;
|
|
16353
|
+
/* stylelint-disable-next-line property-no-deprecated -- clip is kept for older browser compatibility alongside clip-path */
|
|
16352
16354
|
clip: rect(var(--su-static1), var(--su-static1), var(--su-static1), var(--su-static1));
|
|
16353
16355
|
clip-path: inset(50%);
|
|
16354
16356
|
height: var(--su-static1);
|
|
@@ -17067,7 +17069,7 @@ ol {
|
|
|
17067
17069
|
max-width: 100vw !important;
|
|
17068
17070
|
}
|
|
17069
17071
|
/* stylelint-disable */
|
|
17070
|
-
@media (max-width:
|
|
17072
|
+
@media (max-width: 92.25rem) {
|
|
17071
17073
|
.lg\:ba {
|
|
17072
17074
|
border-style: solid !important;
|
|
17073
17075
|
border-width: var(--su-static1) !important;
|
|
@@ -19118,7 +19120,7 @@ ol {
|
|
|
19118
19120
|
max-width: 100vw !important;
|
|
19119
19121
|
}
|
|
19120
19122
|
}
|
|
19121
|
-
@media (max-width:
|
|
19123
|
+
@media (max-width: 71.875rem) {
|
|
19122
19124
|
.md\:ba {
|
|
19123
19125
|
border-style: solid !important;
|
|
19124
19126
|
border-width: var(--su-static1) !important;
|
|
@@ -21169,7 +21171,7 @@ ol {
|
|
|
21169
21171
|
max-width: 100vw !important;
|
|
21170
21172
|
}
|
|
21171
21173
|
}
|
|
21172
|
-
@media (max-width:
|
|
21174
|
+
@media (max-width: 48.75rem) {
|
|
21173
21175
|
.sm\:ba {
|
|
21174
21176
|
border-style: solid !important;
|
|
21175
21177
|
border-width: var(--su-static1) !important;
|