@stackoverflow/stacks 2.8.6 → 3.0.0-beta.1
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/README.md +6 -1
- package/dist/css/stacks.css +61 -237
- package/dist/css/stacks.min.css +1 -1
- package/dist/js/stacks.js +0 -14
- package/dist/js/stacks.min.js +1 -1
- package/lib/atomic/border.less +2 -20
- package/lib/components/activity-indicator/activity-indicator.less +16 -11
- package/lib/components/avatar/avatar.less +9 -11
- package/lib/components/badge/badge.less +1 -1
- package/lib/components/block-link/block-link.less +1 -1
- package/lib/components/button/button.less +1 -1
- package/lib/components/button-group/button-group.less +1 -1
- package/lib/components/card/card.less +1 -1
- package/lib/components/checkbox_radio/checkbox_radio.less +1 -1
- package/lib/components/link-preview/link-preview.less +5 -5
- package/lib/components/modal/modal.less +1 -1
- package/lib/components/notice/notice.less +1 -1
- package/lib/components/pagination/pagination.less +1 -1
- package/lib/components/popover/popover.less +0 -98
- package/lib/components/popover/popover.ts +0 -6
- package/lib/components/popover/tooltip.ts +0 -12
- package/lib/components/post-summary/post-summary.less +1 -1
- package/lib/components/progress-bar/progress-bar.less +2 -2
- package/lib/components/prose/prose.less +2 -2
- package/lib/components/skeleton/skeleton.less +1 -1
- package/lib/components/tag/tag.less +4 -4
- package/lib/components/topbar/topbar.less +3 -3
- package/lib/components/uploader/uploader.less +3 -3
- package/lib/exports/constants-helpers.less +2 -3
- package/lib/exports/mixins.less +2 -2
- package/package.json +1 -1
package/dist/css/stacks.css
CHANGED
|
@@ -411,20 +411,23 @@ fieldset {
|
|
|
411
411
|
position: relative;
|
|
412
412
|
}
|
|
413
413
|
.s-activity-indicator {
|
|
414
|
-
--_ai-translucent: var(--translucent-secondary);
|
|
415
414
|
--_ai-bg: var(--theme-secondary-400);
|
|
416
415
|
--_ai-fc: var(--white);
|
|
416
|
+
--_ai-min-size: var(--su-static16);
|
|
417
|
+
--_ai-p: 0 calc(var(--su-static4) - var(--su-static1));
|
|
417
418
|
background-color: var(--_ai-bg);
|
|
418
|
-
box-shadow: 0 0 0 var(--su-static4) var(--_ai-translucent);
|
|
419
419
|
color: var(--_ai-fc);
|
|
420
|
+
min-width: var(--_ai-min-size);
|
|
421
|
+
min-height: var(--_ai-min-size);
|
|
422
|
+
padding: var(--_ai-p);
|
|
420
423
|
border-radius: 1000px;
|
|
421
|
-
display: inline-
|
|
424
|
+
display: inline-flex;
|
|
422
425
|
font-size: var(--fs-fine);
|
|
423
|
-
font-weight:
|
|
426
|
+
font-weight: 600;
|
|
424
427
|
line-height: 1.1;
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
+
text-align: center;
|
|
429
|
+
align-items: center;
|
|
430
|
+
justify-content: center;
|
|
428
431
|
text-transform: uppercase;
|
|
429
432
|
}
|
|
430
433
|
body.theme-highcontrast .s-activity-indicator {
|
|
@@ -432,14 +435,12 @@ body.theme-highcontrast .s-activity-indicator {
|
|
|
432
435
|
}
|
|
433
436
|
.s-activity-indicator.s-activity-indicator__danger {
|
|
434
437
|
--_ai-bg: var(--red-400);
|
|
435
|
-
--_ai-translucent: var(--translucent-error);
|
|
436
438
|
}
|
|
437
439
|
body.theme-highcontrast .s-activity-indicator.s-activity-indicator__danger {
|
|
438
440
|
--_ai-bg: var(--red-500);
|
|
439
441
|
}
|
|
440
442
|
.s-activity-indicator.s-activity-indicator__success {
|
|
441
443
|
--_ai-bg: var(--green-400);
|
|
442
|
-
--_ai-translucent: var(--translucent-success);
|
|
443
444
|
}
|
|
444
445
|
body.theme-highcontrast .s-activity-indicator.s-activity-indicator__success {
|
|
445
446
|
--_ai-bg: var(--green-500);
|
|
@@ -447,12 +448,15 @@ body.theme-highcontrast .s-activity-indicator.s-activity-indicator__success {
|
|
|
447
448
|
.s-activity-indicator.s-activity-indicator__warning {
|
|
448
449
|
--_ai-bg: var(--yellow-400);
|
|
449
450
|
--_ai-fc: var(--_black-static);
|
|
450
|
-
--_ai-translucent: var(--translucent-warning);
|
|
451
451
|
}
|
|
452
452
|
body.theme-highcontrast .s-activity-indicator.s-activity-indicator__warning {
|
|
453
453
|
--_ai-bg: var(--yellow-500);
|
|
454
454
|
--_ai-fc: var(--white);
|
|
455
455
|
}
|
|
456
|
+
.s-activity-indicator.s-activity-indicator__sm {
|
|
457
|
+
--_ai-min-size: calc(var(--su-static8) + var(--su-static2));
|
|
458
|
+
--_ai-p: 0;
|
|
459
|
+
}
|
|
456
460
|
.s-anchors.s-anchors__underlined a:not(.s-link),
|
|
457
461
|
.s-anchors.s-anchors__underlined .s-btn.s-btn__link {
|
|
458
462
|
text-decoration: underline;
|
|
@@ -544,11 +548,9 @@ body.theme-highcontrast .s-activity-indicator.s-activity-indicator__warning {
|
|
|
544
548
|
.s-avatar {
|
|
545
549
|
--_av-size: var(--su-static16);
|
|
546
550
|
--_av-bg: var(--_white-static);
|
|
547
|
-
--_av-br: var(--br-sm);
|
|
548
551
|
--_av-fs-letter: calc(var(--su-static12) - var(--su-static1));
|
|
549
552
|
--_av-scale-badge: 1;
|
|
550
553
|
background-color: var(--_av-bg);
|
|
551
|
-
border-radius: var(--_av-br);
|
|
552
554
|
height: var(--_av-size);
|
|
553
555
|
width: var(--_av-size);
|
|
554
556
|
background-repeat: no-repeat;
|
|
@@ -565,13 +567,8 @@ body.theme-highcontrast .s-avatar {
|
|
|
565
567
|
body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
566
568
|
color: var(--white);
|
|
567
569
|
}
|
|
568
|
-
.s-avatar.s-avatar__32,
|
|
569
|
-
.s-avatar.s-avatar__48 {
|
|
570
|
-
--_av-br: var(--br-md);
|
|
571
|
-
}
|
|
572
570
|
.s-avatar.s-avatar__96,
|
|
573
571
|
.s-avatar.s-avatar__128 {
|
|
574
|
-
--_av-br: calc(var(--br-lg) + var(--br-sm));
|
|
575
572
|
--_av-scale-badge: 3;
|
|
576
573
|
}
|
|
577
574
|
.s-avatar.s-avatar__24 {
|
|
@@ -591,7 +588,6 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
591
588
|
}
|
|
592
589
|
.s-avatar.s-avatar__64 {
|
|
593
590
|
--_av-size: var(--su-static64);
|
|
594
|
-
--_av-br: var(--br-lg);
|
|
595
591
|
--_av-fs-letter: calc(var(--su-static48) - var(--su-static4));
|
|
596
592
|
--_av-scale-badge: 2.4;
|
|
597
593
|
}
|
|
@@ -611,7 +607,6 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
611
607
|
transform: scale(var(--_av-scale-badge));
|
|
612
608
|
}
|
|
613
609
|
.s-avatar .s-avatar--image {
|
|
614
|
-
border-radius: var(--_av-br);
|
|
615
610
|
display: block;
|
|
616
611
|
height: var(--_av-size);
|
|
617
612
|
width: var(--_av-size);
|
|
@@ -629,6 +624,13 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
629
624
|
-ms-user-select: none;
|
|
630
625
|
user-select: none;
|
|
631
626
|
}
|
|
627
|
+
.s-avatar .s-avatar--indicator {
|
|
628
|
+
box-shadow: 0 0 0 var(--su-static2) var(--white);
|
|
629
|
+
bottom: 100%;
|
|
630
|
+
left: 100%;
|
|
631
|
+
position: absolute;
|
|
632
|
+
transform: translate(-50%, 60%);
|
|
633
|
+
}
|
|
632
634
|
.s-award-bling {
|
|
633
635
|
--_ab-before-bg: unset;
|
|
634
636
|
align-items: center;
|
|
@@ -677,7 +679,7 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
|
|
|
677
679
|
padding: var(--_ba-py) var(--_ba-px);
|
|
678
680
|
text-transform: var(--_ba-tt);
|
|
679
681
|
align-items: center;
|
|
680
|
-
border-radius: var(--br-
|
|
682
|
+
border-radius: var(--br-md);
|
|
681
683
|
display: inline-flex;
|
|
682
684
|
justify-content: center;
|
|
683
685
|
text-decoration: none;
|
|
@@ -1043,7 +1045,7 @@ body.theme-highcontrast .s-banner__warning.s-banner__important {
|
|
|
1043
1045
|
background-color: var(--_no-code-bg);
|
|
1044
1046
|
color: var(--_no-code-fc);
|
|
1045
1047
|
outline: var(--su-static1) solid var(--_no-code-bc);
|
|
1046
|
-
border-radius: var(--br-
|
|
1048
|
+
border-radius: var(--br-md);
|
|
1047
1049
|
padding-left: var(--su2);
|
|
1048
1050
|
padding-right: var(--su2);
|
|
1049
1051
|
}
|
|
@@ -1168,7 +1170,7 @@ a.s-block-link:focus-visible,
|
|
|
1168
1170
|
.s-block-link:focus-visible,
|
|
1169
1171
|
a.s-block-link.focus-inset,
|
|
1170
1172
|
.s-block-link.focus-inset {
|
|
1171
|
-
border-radius: var(--br-
|
|
1173
|
+
border-radius: var(--br-md);
|
|
1172
1174
|
}
|
|
1173
1175
|
.s-breadcrumbs {
|
|
1174
1176
|
--_br-divider-px: var(--su4);
|
|
@@ -1497,7 +1499,7 @@ p .s-btn.s-btn__link {
|
|
|
1497
1499
|
}
|
|
1498
1500
|
.s-btn.s-btn__md {
|
|
1499
1501
|
--_bu-fs: var(--fs-body3);
|
|
1500
|
-
--_bu-br: calc(var(--br-
|
|
1502
|
+
--_bu-br: calc(var(--br-md) + var(--su-static1));
|
|
1501
1503
|
--_bu-p: 0.7em;
|
|
1502
1504
|
}
|
|
1503
1505
|
body.theme-highcontrast .s-btn.s-btn__danger,
|
|
@@ -1634,7 +1636,7 @@ body.theme-highcontrast .s-btn.s-btn__github {
|
|
|
1634
1636
|
.s-btn .s-btn--badge {
|
|
1635
1637
|
opacity: var(--_bu-badge-o);
|
|
1636
1638
|
display: inline-block;
|
|
1637
|
-
border-radius: var(--br-
|
|
1639
|
+
border-radius: var(--br-md);
|
|
1638
1640
|
padding: var(--su2) calc(var(--su4) - var(--su1));
|
|
1639
1641
|
font-size: var(--fs-caption);
|
|
1640
1642
|
line-height: var(--lh-xs);
|
|
@@ -1725,7 +1727,7 @@ body.theme-highcontrast .s-btn.s-btn__github {
|
|
|
1725
1727
|
margin-right: calc(var(--su-static1) * -1);
|
|
1726
1728
|
}
|
|
1727
1729
|
.s-btn-group .s-btn {
|
|
1728
|
-
--_bu-br: var(--br-
|
|
1730
|
+
--_bu-br: var(--br-md);
|
|
1729
1731
|
--_bu-bc-hover: transparent;
|
|
1730
1732
|
--_bu-px: calc(var(--su12) - var(--su1));
|
|
1731
1733
|
--_bu-py: calc(var(--su6) + 0.65px);
|
|
@@ -1768,7 +1770,7 @@ body.theme-highcontrast .s-btn.s-btn__github {
|
|
|
1768
1770
|
--_ca-bc: var(--bc-medium);
|
|
1769
1771
|
border: var(--su-static1) solid var(--_ca-bc);
|
|
1770
1772
|
background-color: var(--white);
|
|
1771
|
-
border-radius: var(--br-
|
|
1773
|
+
border-radius: var(--br-md);
|
|
1772
1774
|
padding: var(--su12);
|
|
1773
1775
|
}
|
|
1774
1776
|
a.s-card {
|
|
@@ -1862,7 +1864,7 @@ input.s-radio {
|
|
|
1862
1864
|
background-position: center center;
|
|
1863
1865
|
background-repeat: no-repeat;
|
|
1864
1866
|
background-size: contain;
|
|
1865
|
-
border-radius: var(--br-
|
|
1867
|
+
border-radius: var(--br-md);
|
|
1866
1868
|
}
|
|
1867
1869
|
@media (prefers-color-scheme: dark) {
|
|
1868
1870
|
body.theme-system .s-checkbox:checked {
|
|
@@ -2315,7 +2317,7 @@ body.theme-highcontrast .has-warning .s-textarea {
|
|
|
2315
2317
|
.s-textarea.s-input__md,
|
|
2316
2318
|
.s-textarea.s-textarea__md {
|
|
2317
2319
|
--_in-fs: var(--fs-body3);
|
|
2318
|
-
--_in-br: calc(var(--br-
|
|
2320
|
+
--_in-br: calc(var(--br-md) + var(--su-static1));
|
|
2319
2321
|
}
|
|
2320
2322
|
@supports (-webkit-overflow-scrolling: touch) {
|
|
2321
2323
|
.s-input.s-input__md,
|
|
@@ -2331,7 +2333,7 @@ body.theme-highcontrast .has-warning .s-textarea {
|
|
|
2331
2333
|
.s-textarea.s-input__lg,
|
|
2332
2334
|
.s-textarea.s-textarea__lg {
|
|
2333
2335
|
--_in-fs: var(--fs-title);
|
|
2334
|
-
--_in-br: calc(var(--br-
|
|
2336
|
+
--_in-br: calc(var(--br-md) + var(--su-static1));
|
|
2335
2337
|
--_in-px: 0.6em;
|
|
2336
2338
|
--_in-py: 0.45em;
|
|
2337
2339
|
}
|
|
@@ -2762,7 +2764,7 @@ p .s-link {
|
|
|
2762
2764
|
--_lp-misc-pl: var(--su4);
|
|
2763
2765
|
--_lp-misc-pt: unset;
|
|
2764
2766
|
border: var(--su-static1) solid var(--bc-medium);
|
|
2765
|
-
border-radius: var(--br-
|
|
2767
|
+
border-radius: var(--br-md);
|
|
2766
2768
|
box-shadow: var(--bs-sm);
|
|
2767
2769
|
text-align: left;
|
|
2768
2770
|
}
|
|
@@ -2815,8 +2817,8 @@ body.theme-highcontrast .s-link-preview {
|
|
|
2815
2817
|
.s-link-preview .s-link-preview--footer {
|
|
2816
2818
|
background: var(--_lp-footer-bg);
|
|
2817
2819
|
flex-direction: var(--_lp-footer-fd);
|
|
2818
|
-
border-bottom-left-radius: var(--br-
|
|
2819
|
-
border-bottom-right-radius: var(--br-
|
|
2820
|
+
border-bottom-left-radius: var(--br-md);
|
|
2821
|
+
border-bottom-right-radius: var(--br-md);
|
|
2820
2822
|
border-top: var(--su-static1) solid var(--bc-medium);
|
|
2821
2823
|
display: flex;
|
|
2822
2824
|
font-size: var(--fs-caption);
|
|
@@ -2826,8 +2828,8 @@ body.theme-highcontrast .s-link-preview {
|
|
|
2826
2828
|
.s-link-preview .s-link-preview--header {
|
|
2827
2829
|
background: var(--_lp-header-bg);
|
|
2828
2830
|
border-bottom: var(--su-static1) solid var(--bc-medium);
|
|
2829
|
-
border-top-left-radius: var(--br-
|
|
2830
|
-
border-top-right-radius: var(--br-
|
|
2831
|
+
border-top-left-radius: var(--br-md);
|
|
2832
|
+
border-top-right-radius: var(--br-md);
|
|
2831
2833
|
display: flex;
|
|
2832
2834
|
padding: var(--su12) var(--su8);
|
|
2833
2835
|
}
|
|
@@ -3012,7 +3014,7 @@ body.theme-highcontrast.theme-dark .s-modal {
|
|
|
3012
3014
|
scrollbar-color: var(--scrollbar) transparent;
|
|
3013
3015
|
backface-visibility: hidden;
|
|
3014
3016
|
background-color: var(--_mo-dialog-bg);
|
|
3015
|
-
border-radius: var(--br-
|
|
3017
|
+
border-radius: var(--br-md);
|
|
3016
3018
|
box-shadow: var(--bs-lg);
|
|
3017
3019
|
max-height: 100%;
|
|
3018
3020
|
max-width: 600px;
|
|
@@ -3385,7 +3387,7 @@ body.theme-highcontrast .s-notice__warning.s-notice__important {
|
|
|
3385
3387
|
background-color: var(--_no-code-bg);
|
|
3386
3388
|
color: var(--_no-code-fc);
|
|
3387
3389
|
outline: var(--su-static1) solid var(--_no-code-bc);
|
|
3388
|
-
border-radius: var(--br-
|
|
3390
|
+
border-radius: var(--br-md);
|
|
3389
3391
|
padding-left: var(--su2);
|
|
3390
3392
|
padding-right: var(--su2);
|
|
3391
3393
|
}
|
|
@@ -3468,7 +3470,7 @@ ul.s-pagination {
|
|
|
3468
3470
|
background-color: var(--_pa-item-bg);
|
|
3469
3471
|
border: 1px solid var(--_pa-item-bc);
|
|
3470
3472
|
color: var(--_pa-item-fc);
|
|
3471
|
-
border-radius: var(--br-
|
|
3473
|
+
border-radius: var(--br-md);
|
|
3472
3474
|
display: inline-block;
|
|
3473
3475
|
font-size: var(--fs-body1);
|
|
3474
3476
|
line-height: var(--lh-xl);
|
|
@@ -3522,17 +3524,6 @@ body.theme-highcontrast .s-pagination .s-pagination--item {
|
|
|
3522
3524
|
--_po-d: none;
|
|
3523
3525
|
--_po-wmn: 12rem;
|
|
3524
3526
|
--_po-w: 100%;
|
|
3525
|
-
--_po-arrow-fc: var(--white);
|
|
3526
|
-
--_po-arrow-b: unset;
|
|
3527
|
-
--_po-arrow-l: unset;
|
|
3528
|
-
--_po-arrow-r: unset;
|
|
3529
|
-
--_po-arrow-t: unset;
|
|
3530
|
-
--_po-arrow-ps: calc(var(--su6) * -1);
|
|
3531
|
-
--_po-arrow-after-b: unset;
|
|
3532
|
-
--_po-arrow-after-l: unset;
|
|
3533
|
-
--_po-arrow-after-r: unset;
|
|
3534
|
-
--_po-arrow-after-t: unset;
|
|
3535
|
-
--_po-arrow-after-bs: unset;
|
|
3536
3527
|
--_po-topbar-height: var(--theme-topbar-height, calc(var(--su-static48) + var(--su-static8)));
|
|
3537
3528
|
--_po-content-mxh: calc(100vh - var(--_po-topbar-height) - var(--su48));
|
|
3538
3529
|
background-color: var(--_po-bg);
|
|
@@ -3555,7 +3546,6 @@ body.theme-highcontrast .s-pagination .s-pagination--item {
|
|
|
3555
3546
|
--_po-bg: var(--black-200);
|
|
3556
3547
|
--_po-bc: var(--bc-light);
|
|
3557
3548
|
--_po-bs: var(--bs-lg);
|
|
3558
|
-
--_po-arrow-fc: var(--black-200);
|
|
3559
3549
|
}
|
|
3560
3550
|
}
|
|
3561
3551
|
body.theme-dark .s-popover,
|
|
@@ -3564,7 +3554,6 @@ body.theme-system .theme-dark__forced .s-popover {
|
|
|
3564
3554
|
--_po-bg: var(--black-200);
|
|
3565
3555
|
--_po-bc: var(--bc-light);
|
|
3566
3556
|
--_po-bs: var(--bs-lg);
|
|
3567
|
-
--_po-arrow-fc: var(--black-200);
|
|
3568
3557
|
}
|
|
3569
3558
|
.s-popover.is-visible {
|
|
3570
3559
|
--_po-d: block;
|
|
@@ -3573,108 +3562,6 @@ body.theme-system .theme-dark__forced .s-popover {
|
|
|
3573
3562
|
--_po-wmn: unset;
|
|
3574
3563
|
--_po-w: auto;
|
|
3575
3564
|
}
|
|
3576
|
-
.s-popover[data-popper-placement^="top"] > .s-popover--arrow,
|
|
3577
|
-
.s-popover .s-popover--arrow__bc,
|
|
3578
|
-
.s-popover .s-popover--arrow__bl,
|
|
3579
|
-
.s-popover .s-popover--arrow__br {
|
|
3580
|
-
--_po-arrow-b: var(--_po-arrow-ps);
|
|
3581
|
-
--_po-arrow-after-b: var(--su-static1);
|
|
3582
|
-
--_po-arrow-after-bs: 2px 2px 5px 0 hsla(0, 0%, 0%, 0.07), 2px 2px 2px -1px hsla(0, 0%, 0%, 0.1);
|
|
3583
|
-
}
|
|
3584
|
-
body.theme-highcontrast .s-popover[data-popper-placement^="top"] > .s-popover--arrow,
|
|
3585
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__bc,
|
|
3586
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__bl,
|
|
3587
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__br {
|
|
3588
|
-
--_po-arrow-after-bs: 1px 1px 0 0 var(--bc-medium);
|
|
3589
|
-
}
|
|
3590
|
-
.s-popover[data-popper-placement^="bottom"] > .s-popover--arrow,
|
|
3591
|
-
.s-popover .s-popover--arrow__tc,
|
|
3592
|
-
.s-popover .s-popover--arrow__tl,
|
|
3593
|
-
.s-popover .s-popover--arrow__tr {
|
|
3594
|
-
--_po-arrow-t: var(--_po-arrow-ps);
|
|
3595
|
-
--_po-arrow-after-t: var(--su-static1);
|
|
3596
|
-
--_po-arrow-after-bs: -1px -1px 1px 0 hsla(0, 0%, 0%, 0.12);
|
|
3597
|
-
}
|
|
3598
|
-
body.theme-highcontrast .s-popover[data-popper-placement^="bottom"] > .s-popover--arrow,
|
|
3599
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__tc,
|
|
3600
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__tl,
|
|
3601
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__tr {
|
|
3602
|
-
--_po-arrow-after-bs: -1px -1px 0 0 var(--bc-medium);
|
|
3603
|
-
}
|
|
3604
|
-
.s-popover[data-popper-placement^="left"] > .s-popover--arrow,
|
|
3605
|
-
.s-popover .s-popover--arrow__rc,
|
|
3606
|
-
.s-popover .s-popover--arrow__rt,
|
|
3607
|
-
.s-popover .s-popover--arrow__rb {
|
|
3608
|
-
--_po-arrow-r: var(--_po-arrow-ps);
|
|
3609
|
-
--_po-arrow-after-r: var(--su-static1);
|
|
3610
|
-
--_po-arrow-after-bs: 2px -2px 5px 0 hsla(0, 0%, 0%, 0.07), 2px -2px 2px -1px hsla(0, 0%, 0%, 0.1);
|
|
3611
|
-
}
|
|
3612
|
-
body.theme-highcontrast .s-popover[data-popper-placement^="left"] > .s-popover--arrow,
|
|
3613
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__rc,
|
|
3614
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__rt,
|
|
3615
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__rb {
|
|
3616
|
-
--_po-arrow-after-bs: 1px -1px 0 0 var(--bc-medium);
|
|
3617
|
-
}
|
|
3618
|
-
.s-popover[data-popper-placement^="right"] > .s-popover--arrow,
|
|
3619
|
-
.s-popover .s-popover--arrow__lc,
|
|
3620
|
-
.s-popover .s-popover--arrow__lt,
|
|
3621
|
-
.s-popover .s-popover--arrow__lb {
|
|
3622
|
-
--_po-arrow-l: var(--_po-arrow-ps);
|
|
3623
|
-
--_po-arrow-after-l: var(--su-static1);
|
|
3624
|
-
--_po-arrow-after-bs: -2px 2px 5px 0 hsla(0, 0%, 0%, 0.07), -2px 2px 2px -1px hsla(0, 0%, 0%, 0.1);
|
|
3625
|
-
}
|
|
3626
|
-
body.theme-highcontrast .s-popover[data-popper-placement^="right"] > .s-popover--arrow,
|
|
3627
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__lc,
|
|
3628
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__lt,
|
|
3629
|
-
body.theme-highcontrast .s-popover .s-popover--arrow__lb {
|
|
3630
|
-
--_po-arrow-after-bs: -1px 1px 0 0 var(--bc-medium);
|
|
3631
|
-
}
|
|
3632
|
-
.s-popover .s-popover--arrow__tc,
|
|
3633
|
-
.s-popover .s-popover--arrow__bc {
|
|
3634
|
-
--_po-arrow-l: calc(50% - var(--su6));
|
|
3635
|
-
}
|
|
3636
|
-
.s-popover .s-popover--arrow__lc,
|
|
3637
|
-
.s-popover .s-popover--arrow__rc {
|
|
3638
|
-
--_po-arrow-t: calc(50% - var(--su6));
|
|
3639
|
-
}
|
|
3640
|
-
.s-popover .s-popover--arrow__tr,
|
|
3641
|
-
.s-popover .s-popover--arrow__br {
|
|
3642
|
-
--_po-arrow-r: var(--su12);
|
|
3643
|
-
}
|
|
3644
|
-
.s-popover .s-popover--arrow__rb,
|
|
3645
|
-
.s-popover .s-popover--arrow__lb {
|
|
3646
|
-
--_po-arrow-b: var(--su12);
|
|
3647
|
-
}
|
|
3648
|
-
.s-popover .s-popover--arrow {
|
|
3649
|
-
bottom: var(--_po-arrow-b);
|
|
3650
|
-
color: var(--_po-arrow-fc);
|
|
3651
|
-
left: var(--_po-arrow-l);
|
|
3652
|
-
right: var(--_po-arrow-r);
|
|
3653
|
-
top: var(--_po-arrow-t);
|
|
3654
|
-
}
|
|
3655
|
-
.s-popover .s-popover--arrow,
|
|
3656
|
-
.s-popover .s-popover--arrow:before,
|
|
3657
|
-
.s-popover .s-popover--arrow:after {
|
|
3658
|
-
display: block;
|
|
3659
|
-
height: var(--su12);
|
|
3660
|
-
position: absolute;
|
|
3661
|
-
width: var(--su12);
|
|
3662
|
-
z-index: -1;
|
|
3663
|
-
}
|
|
3664
|
-
.s-popover .s-popover--arrow:before,
|
|
3665
|
-
.s-popover .s-popover--arrow:after {
|
|
3666
|
-
content: '';
|
|
3667
|
-
transform: rotate(45deg);
|
|
3668
|
-
}
|
|
3669
|
-
.s-popover .s-popover--arrow:after {
|
|
3670
|
-
bottom: var(--_po-arrow-after-b);
|
|
3671
|
-
box-shadow: var(--_po-arrow-after-bs);
|
|
3672
|
-
left: var(--_po-arrow-after-l);
|
|
3673
|
-
right: var(--_po-arrow-after-r);
|
|
3674
|
-
top: var(--_po-arrow-after-t);
|
|
3675
|
-
background: currentColor;
|
|
3676
|
-
border-radius: calc(var(--su-static1) * 1.5);
|
|
3677
|
-
}
|
|
3678
3565
|
.s-popover .s-popover--close {
|
|
3679
3566
|
float: right;
|
|
3680
3567
|
top: calc(var(--su8) * -1);
|
|
@@ -4091,7 +3978,7 @@ body.theme-highcontrast .s-post-summary .s-post-summary--answer:before {
|
|
|
4091
3978
|
.s-post-summary .s-post-summary--stats-item.is-pinned,
|
|
4092
3979
|
.s-post-summary .s-post-summary--stats-item.is-published,
|
|
4093
3980
|
.s-post-summary .s-post-summary--stats-item.is-review {
|
|
4094
|
-
border-radius: var(--br-
|
|
3981
|
+
border-radius: var(--br-md);
|
|
4095
3982
|
padding: var(--su2) var(--su4);
|
|
4096
3983
|
}
|
|
4097
3984
|
.s-post-summary .s-post-summary--stats-item.has-answers {
|
|
@@ -4152,13 +4039,13 @@ body.theme-highcontrast .s-post-summary .s-post-summary--answer:before {
|
|
|
4152
4039
|
font-weight: 500;
|
|
4153
4040
|
}
|
|
4154
4041
|
.s-progress {
|
|
4155
|
-
--_pr-bar: var(--br-
|
|
4042
|
+
--_pr-bar: var(--br-md);
|
|
4156
4043
|
--_pr-bg: var(--black-300);
|
|
4157
4044
|
--_pr-h: unset;
|
|
4158
4045
|
--_pr-size: unset;
|
|
4159
4046
|
--_pr-w: 100%;
|
|
4160
4047
|
--_pr-hmn: var(--su-static4);
|
|
4161
|
-
--_pr-bar-bar: var(--br-
|
|
4048
|
+
--_pr-bar-bar: var(--br-md);
|
|
4162
4049
|
--_pr-bar-bg: var(--green-400);
|
|
4163
4050
|
--_pr-bar-hmn: var(--su-static4);
|
|
4164
4051
|
--_pr-label-ai: unset;
|
|
@@ -4456,7 +4343,7 @@ body.theme-highcontrast .s-prose {
|
|
|
4456
4343
|
padding: var(--su2) var(--su4);
|
|
4457
4344
|
color: var(--black-600);
|
|
4458
4345
|
background-color: var(--black-200);
|
|
4459
|
-
border-radius: var(--br-
|
|
4346
|
+
border-radius: var(--br-md);
|
|
4460
4347
|
}
|
|
4461
4348
|
.s-prose blockquote:last-child,
|
|
4462
4349
|
.s-prose dl:last-child,
|
|
@@ -4741,7 +4628,7 @@ body.theme-highcontrast .s-prose {
|
|
|
4741
4628
|
border-top-color: var(--_pr-kbd-btc, var(--_pr-kbd-bc));
|
|
4742
4629
|
box-shadow: var(--_pr-kbd-bs);
|
|
4743
4630
|
background-color: var(--black-200);
|
|
4744
|
-
border-radius: var(--br-
|
|
4631
|
+
border-radius: var(--br-md);
|
|
4745
4632
|
color: var(--black-600);
|
|
4746
4633
|
display: inline-block;
|
|
4747
4634
|
font-family: var(--ff-sans);
|
|
@@ -4906,12 +4793,12 @@ body.theme-highcontrast .s-prose {
|
|
|
4906
4793
|
}
|
|
4907
4794
|
.s-select.s-select__md {
|
|
4908
4795
|
--_se-select-fs: var(--fs-body3);
|
|
4909
|
-
--_se-select-br: calc(var(--br-
|
|
4796
|
+
--_se-select-br: calc(var(--br-md) + var(--su-static1));
|
|
4910
4797
|
--_se-select-py: 0.5em;
|
|
4911
4798
|
}
|
|
4912
4799
|
.s-select.s-select__lg {
|
|
4913
4800
|
--_se-select-fs: var(--fs-title);
|
|
4914
|
-
--_se-select-br: calc(var(--br-
|
|
4801
|
+
--_se-select-br: calc(var(--br-md) + var(--su-static1));
|
|
4915
4802
|
--_se-select-px: 0.6em;
|
|
4916
4803
|
--_se-select-py: 0.45em;
|
|
4917
4804
|
}
|
|
@@ -5231,7 +5118,7 @@ body.theme-highcontrast .s-skeleton {
|
|
|
5231
5118
|
.s-skeleton:before {
|
|
5232
5119
|
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%);
|
|
5233
5120
|
background-size: 400% 100%;
|
|
5234
|
-
border-radius: var(--br-
|
|
5121
|
+
border-radius: var(--br-md);
|
|
5235
5122
|
display: block;
|
|
5236
5123
|
height: var(--su16);
|
|
5237
5124
|
position: relative;
|
|
@@ -5635,7 +5522,7 @@ body.theme-highcontrast .s-skeleton {
|
|
|
5635
5522
|
--_ta-bc-hover: var(--theme-tag-hover-border-color, var(--_ta-bg-hover));
|
|
5636
5523
|
--_ta-bg-hover: var(--theme-tag-hover-background-color, var(--black-200));
|
|
5637
5524
|
--_ta-fc-hover: var(--theme-tag-hover-color, var(--black-600));
|
|
5638
|
-
--_ta-br: var(--br-
|
|
5525
|
+
--_ta-br: var(--br-md);
|
|
5639
5526
|
--_ta-fs: var(--fs-caption);
|
|
5640
5527
|
--_ta-lh: 1.84615385;
|
|
5641
5528
|
--_ta-pl: var(--_ta-px);
|
|
@@ -5678,7 +5565,7 @@ body.theme-highcontrast .s-tag:not(body.theme-highcontrast .s-tag__moderator):no
|
|
|
5678
5565
|
--_ta-lh: 1.73333333;
|
|
5679
5566
|
}
|
|
5680
5567
|
.s-tag.s-tag__lg {
|
|
5681
|
-
--_ta-br: calc(var(--br-
|
|
5568
|
+
--_ta-br: calc(var(--br-md) + var(--su-static1));
|
|
5682
5569
|
--_ta-fs: var(--fs-subheading);
|
|
5683
5570
|
--_ta-lh: 1.68421053;
|
|
5684
5571
|
--_ta-px: var(--su6);
|
|
@@ -5741,7 +5628,7 @@ body.theme-highcontrast .s-tag:not(body.theme-highcontrast .s-tag__moderator):no
|
|
|
5741
5628
|
align-items: center;
|
|
5742
5629
|
align-self: stretch;
|
|
5743
5630
|
background-color: transparent;
|
|
5744
|
-
border-radius: var(--br-
|
|
5631
|
+
border-radius: var(--br-md);
|
|
5745
5632
|
color: inherit;
|
|
5746
5633
|
cursor: pointer;
|
|
5747
5634
|
display: flex;
|
|
@@ -5765,7 +5652,7 @@ body.theme-highcontrast .s-tag button.s-tag--dismiss:not(.s-btn):hover {
|
|
|
5765
5652
|
}
|
|
5766
5653
|
.s-tag .s-tag--sponsor {
|
|
5767
5654
|
align-self: center;
|
|
5768
|
-
border-radius: calc(var(--br-
|
|
5655
|
+
border-radius: calc(var(--br-md) - var(--su-static1));
|
|
5769
5656
|
display: inline-flex;
|
|
5770
5657
|
margin: calc(var(--su1) * -1) var(--su4) calc(var(--su2) * -1) calc(var(--su2) * -1);
|
|
5771
5658
|
max-width: calc(var(--su-static16) + var(--su-static2));
|
|
@@ -6081,7 +5968,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6081
5968
|
background-color: var(--_tb-item-bg);
|
|
6082
5969
|
color: var(--_tb-item-fc);
|
|
6083
5970
|
align-items: center;
|
|
6084
|
-
border-radius: var(--br-
|
|
5971
|
+
border-radius: var(--br-md);
|
|
6085
5972
|
display: inline-flex;
|
|
6086
5973
|
padding: 0 calc(var(--su12) - var(--su2));
|
|
6087
5974
|
position: relative;
|
|
@@ -6119,7 +6006,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6119
6006
|
.s-topbar .s-topbar--logo {
|
|
6120
6007
|
background-color: var(--_tb-logo-bg);
|
|
6121
6008
|
align-items: center;
|
|
6122
|
-
border-radius: var(--br-
|
|
6009
|
+
border-radius: var(--br-md);
|
|
6123
6010
|
display: flex;
|
|
6124
6011
|
height: 100%;
|
|
6125
6012
|
padding: 0 var(--su8);
|
|
@@ -6210,7 +6097,7 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
|
|
|
6210
6097
|
border: var(--su-static1) solid var(--_tb-notice-bg);
|
|
6211
6098
|
color: var(--_tb-notice-fc);
|
|
6212
6099
|
text-decoration: var(--_tb-notice-td);
|
|
6213
|
-
border-radius: var(--br-
|
|
6100
|
+
border-radius: var(--br-md);
|
|
6214
6101
|
display: inline-flex;
|
|
6215
6102
|
flex-shrink: 0;
|
|
6216
6103
|
font-size: var(--fs-fine);
|
|
@@ -6430,7 +6317,7 @@ body.theme-highcontrast .s-uploader.has-warning {
|
|
|
6430
6317
|
.s-uploader .s-uploader--container {
|
|
6431
6318
|
align-items: center;
|
|
6432
6319
|
background-color: var(--_up-bg);
|
|
6433
|
-
border-radius: var(--br-
|
|
6320
|
+
border-radius: var(--br-md);
|
|
6434
6321
|
display: flex;
|
|
6435
6322
|
flex-direction: column;
|
|
6436
6323
|
justify-content: center;
|
|
@@ -6443,7 +6330,7 @@ body.theme-highcontrast .s-uploader.has-warning {
|
|
|
6443
6330
|
-webkit-mask-image: var(--_up-bg-b-image);
|
|
6444
6331
|
mask-image: var(--_up-bg-b-image);
|
|
6445
6332
|
background-color: var(--_up-bg-bc-hc-state, var(--_up-bg-bc-hc, var(--_up-bg-bc)));
|
|
6446
|
-
border-radius: var(--br-
|
|
6333
|
+
border-radius: var(--br-md);
|
|
6447
6334
|
content: '';
|
|
6448
6335
|
display: block;
|
|
6449
6336
|
inset: 0;
|
|
@@ -6472,7 +6359,7 @@ body.theme-highcontrast .s-uploader.has-warning {
|
|
|
6472
6359
|
}
|
|
6473
6360
|
.s-uploader .s-uploader--preview-thumbnail {
|
|
6474
6361
|
background-color: var(--white);
|
|
6475
|
-
border-radius: var(--br-
|
|
6362
|
+
border-radius: var(--br-md);
|
|
6476
6363
|
box-shadow: var(--bs-md);
|
|
6477
6364
|
max-height: var(--su-static128);
|
|
6478
6365
|
max-width: 100%;
|
|
@@ -6753,10 +6640,9 @@ body {
|
|
|
6753
6640
|
--zi-navigation-fixed: 5050;
|
|
6754
6641
|
--zi-modals-background: 8050;
|
|
6755
6642
|
--zi-modals: 9000;
|
|
6756
|
-
--br-
|
|
6757
|
-
--br-md: calc(var(--su-static6));
|
|
6758
|
-
--br-lg: calc(var(--su-static8));
|
|
6643
|
+
--br-md: calc(var(--su-static4) + var(--su-static6));
|
|
6759
6644
|
--br-circle: 50%;
|
|
6645
|
+
--br-pill: 1000px;
|
|
6760
6646
|
--te-smooth-slow: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
6761
6647
|
--te-smooth: cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
6762
6648
|
--te-smooth-quick: cubic-bezier(0.19, 1, 0.22, 1);
|
|
@@ -7745,133 +7631,71 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
|
|
|
7745
7631
|
.bls-dashed {
|
|
7746
7632
|
border-left-style: dashed !important;
|
|
7747
7633
|
}
|
|
7748
|
-
.bar-sm {
|
|
7749
|
-
border-radius: var(--br-sm) !important;
|
|
7750
|
-
}
|
|
7751
7634
|
.bar-md {
|
|
7752
7635
|
border-radius: var(--br-md) !important;
|
|
7753
7636
|
}
|
|
7754
|
-
.bar-lg {
|
|
7755
|
-
border-radius: var(--br-lg) !important;
|
|
7756
|
-
}
|
|
7757
7637
|
.bar-circle {
|
|
7758
|
-
border-radius:
|
|
7638
|
+
border-radius: var(--br-circle) !important;
|
|
7759
7639
|
}
|
|
7760
7640
|
.bar-pill {
|
|
7761
|
-
border-radius:
|
|
7641
|
+
border-radius: var(--br-pill) !important;
|
|
7762
7642
|
}
|
|
7763
7643
|
.btlr0 {
|
|
7764
7644
|
border-top-left-radius: 0 !important;
|
|
7765
7645
|
}
|
|
7766
|
-
.btlr-sm {
|
|
7767
|
-
border-top-left-radius: var(--br-sm) !important;
|
|
7768
|
-
}
|
|
7769
7646
|
.btlr-md {
|
|
7770
7647
|
border-top-left-radius: var(--br-md) !important;
|
|
7771
7648
|
}
|
|
7772
|
-
.btlr-lg {
|
|
7773
|
-
border-top-left-radius: var(--br-lg) !important;
|
|
7774
|
-
}
|
|
7775
7649
|
.btrr0 {
|
|
7776
7650
|
border-top-right-radius: 0 !important;
|
|
7777
7651
|
}
|
|
7778
|
-
.btrr-sm {
|
|
7779
|
-
border-top-right-radius: var(--br-sm) !important;
|
|
7780
|
-
}
|
|
7781
7652
|
.btrr-md {
|
|
7782
7653
|
border-top-right-radius: var(--br-md) !important;
|
|
7783
7654
|
}
|
|
7784
|
-
.btrr-lg {
|
|
7785
|
-
border-top-right-radius: var(--br-lg) !important;
|
|
7786
|
-
}
|
|
7787
7655
|
.bblr0 {
|
|
7788
7656
|
border-bottom-left-radius: 0 !important;
|
|
7789
7657
|
}
|
|
7790
|
-
.bblr-sm {
|
|
7791
|
-
border-bottom-left-radius: var(--br-sm) !important;
|
|
7792
|
-
}
|
|
7793
7658
|
.bblr-md {
|
|
7794
7659
|
border-bottom-left-radius: var(--br-md) !important;
|
|
7795
7660
|
}
|
|
7796
|
-
.bblr-lg {
|
|
7797
|
-
border-bottom-left-radius: var(--br-lg) !important;
|
|
7798
|
-
}
|
|
7799
7661
|
.bbrr0 {
|
|
7800
7662
|
border-bottom-right-radius: 0 !important;
|
|
7801
7663
|
}
|
|
7802
|
-
.bbrr-sm {
|
|
7803
|
-
border-bottom-right-radius: var(--br-sm) !important;
|
|
7804
|
-
}
|
|
7805
7664
|
.bbrr-md {
|
|
7806
7665
|
border-bottom-right-radius: var(--br-md) !important;
|
|
7807
7666
|
}
|
|
7808
|
-
.bbrr-lg {
|
|
7809
|
-
border-bottom-right-radius: var(--br-lg) !important;
|
|
7810
|
-
}
|
|
7811
7667
|
.btr0 {
|
|
7812
7668
|
border-top-left-radius: 0 !important;
|
|
7813
7669
|
border-top-right-radius: 0 !important;
|
|
7814
7670
|
}
|
|
7815
|
-
.btr-sm {
|
|
7816
|
-
border-top-left-radius: var(--br-sm) !important;
|
|
7817
|
-
border-top-right-radius: var(--br-sm) !important;
|
|
7818
|
-
}
|
|
7819
7671
|
.btr-md {
|
|
7820
7672
|
border-top-left-radius: var(--br-md) !important;
|
|
7821
7673
|
border-top-right-radius: var(--br-md) !important;
|
|
7822
7674
|
}
|
|
7823
|
-
.btr-lg {
|
|
7824
|
-
border-top-left-radius: var(--br-lg) !important;
|
|
7825
|
-
border-top-right-radius: var(--br-lg) !important;
|
|
7826
|
-
}
|
|
7827
7675
|
.brr0 {
|
|
7828
7676
|
border-top-right-radius: 0 !important;
|
|
7829
7677
|
border-bottom-right-radius: 0 !important;
|
|
7830
7678
|
}
|
|
7831
|
-
.brr-sm {
|
|
7832
|
-
border-top-right-radius: var(--br-sm) !important;
|
|
7833
|
-
border-bottom-right-radius: var(--br-sm) !important;
|
|
7834
|
-
}
|
|
7835
7679
|
.brr-md {
|
|
7836
7680
|
border-top-right-radius: var(--br-md) !important;
|
|
7837
7681
|
border-bottom-right-radius: var(--br-md) !important;
|
|
7838
7682
|
}
|
|
7839
|
-
.brr-lg {
|
|
7840
|
-
border-top-right-radius: var(--br-lg) !important;
|
|
7841
|
-
border-bottom-right-radius: var(--br-lg) !important;
|
|
7842
|
-
}
|
|
7843
7683
|
.bbr0 {
|
|
7844
7684
|
border-bottom-left-radius: 0 !important;
|
|
7845
7685
|
border-bottom-right-radius: 0 !important;
|
|
7846
7686
|
}
|
|
7847
|
-
.bbr-sm {
|
|
7848
|
-
border-bottom-left-radius: var(--br-sm) !important;
|
|
7849
|
-
border-bottom-right-radius: var(--br-sm) !important;
|
|
7850
|
-
}
|
|
7851
7687
|
.bbr-md {
|
|
7852
7688
|
border-bottom-left-radius: var(--br-md) !important;
|
|
7853
7689
|
border-bottom-right-radius: var(--br-md) !important;
|
|
7854
7690
|
}
|
|
7855
|
-
.bbr-lg {
|
|
7856
|
-
border-bottom-left-radius: var(--br-lg) !important;
|
|
7857
|
-
border-bottom-right-radius: var(--br-lg) !important;
|
|
7858
|
-
}
|
|
7859
7691
|
.blr0 {
|
|
7860
7692
|
border-top-left-radius: 0 !important;
|
|
7861
7693
|
border-bottom-left-radius: 0 !important;
|
|
7862
7694
|
}
|
|
7863
|
-
.blr-sm {
|
|
7864
|
-
border-top-left-radius: var(--br-sm) !important;
|
|
7865
|
-
border-bottom-left-radius: var(--br-sm) !important;
|
|
7866
|
-
}
|
|
7867
7695
|
.blr-md {
|
|
7868
7696
|
border-top-left-radius: var(--br-md) !important;
|
|
7869
7697
|
border-bottom-left-radius: var(--br-md) !important;
|
|
7870
7698
|
}
|
|
7871
|
-
.blr-lg {
|
|
7872
|
-
border-top-left-radius: var(--br-lg) !important;
|
|
7873
|
-
border-bottom-left-radius: var(--br-lg) !important;
|
|
7874
|
-
}
|
|
7875
7699
|
.bar0 {
|
|
7876
7700
|
border-radius: 0 !important;
|
|
7877
7701
|
}
|