@stackoverflow/stacks 2.7.1 → 2.7.3
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 +40 -20
- package/dist/css/stacks.min.css +1 -1
- package/lib/components/anchor/anchor.less +85 -78
- package/lib/components/link/link.less +31 -18
- package/lib/components/notice/notice.less +195 -195
- package/package.json +1 -1
package/dist/css/stacks.css
CHANGED
|
@@ -484,6 +484,10 @@ body.theme-highcontrast .s-activity-indicator.s-activity-indicator__warning {
|
|
|
484
484
|
--_an-a-fc-hover: inherit;
|
|
485
485
|
--_an-a-fc-visited: inherit;
|
|
486
486
|
}
|
|
487
|
+
.s-anchors.s-anchors__inherit a:not(.s-link):not(.s-btn),
|
|
488
|
+
.s-anchors.s-anchors__inherit .s-btn.s-btn__link {
|
|
489
|
+
color: var(--_an-a-fc) !important;
|
|
490
|
+
}
|
|
487
491
|
.s-anchors.s-anchors__muted {
|
|
488
492
|
--_an-a-fc: var(--black-400);
|
|
489
493
|
--_an-a-fc-hover: var(--black-500);
|
|
@@ -1419,10 +1423,6 @@ fieldset[disabled] .s-btn.s-btn__link {
|
|
|
1419
1423
|
opacity: var(--_o-disabled-static);
|
|
1420
1424
|
pointer-events: none;
|
|
1421
1425
|
}
|
|
1422
|
-
.s-btn.s-btn__link:active,
|
|
1423
|
-
.s-btn.s-btn__link:hover {
|
|
1424
|
-
--_li-fc: var(--_li-fc-hover);
|
|
1425
|
-
}
|
|
1426
1426
|
button.s-btn.s-btn__link {
|
|
1427
1427
|
appearance: none;
|
|
1428
1428
|
background: transparent;
|
|
@@ -1438,6 +1438,16 @@ button.s-btn.s-btn__link:focus {
|
|
|
1438
1438
|
p .s-btn.s-btn__link {
|
|
1439
1439
|
text-decoration: underline;
|
|
1440
1440
|
}
|
|
1441
|
+
.s-btn.s-btn__link:active,
|
|
1442
|
+
.s-btn.s-btn__link:hover {
|
|
1443
|
+
--_li-fc: var(--_li-fc-hover);
|
|
1444
|
+
}
|
|
1445
|
+
.s-btn.s-btn__link:visited {
|
|
1446
|
+
color: var(--_li-fc-visited);
|
|
1447
|
+
}
|
|
1448
|
+
.s-btn.s-btn__link:hover:visited {
|
|
1449
|
+
color: var(--_li-fc-hover-visited);
|
|
1450
|
+
}
|
|
1441
1451
|
.s-btn.s-btn__unset {
|
|
1442
1452
|
outline: initial;
|
|
1443
1453
|
}
|
|
@@ -2617,17 +2627,23 @@ body.theme-highcontrast .s-label--status {
|
|
|
2617
2627
|
line-height: 0;
|
|
2618
2628
|
text-decoration: none !important;
|
|
2619
2629
|
}
|
|
2620
|
-
a:
|
|
2621
|
-
a
|
|
2622
|
-
a
|
|
2623
|
-
a:
|
|
2624
|
-
|
|
2630
|
+
a:not([class*="s-"]):not(.post-tag):not(.badge):not(.badge-tag):active,
|
|
2631
|
+
a.s-sidebarwidget--action:active,
|
|
2632
|
+
a.s-user-card--link:active,
|
|
2633
|
+
a:not([class*="s-"]):not(.post-tag):not(.badge):not(.badge-tag):hover,
|
|
2634
|
+
a.s-sidebarwidget--action:hover,
|
|
2635
|
+
a.s-user-card--link:hover {
|
|
2636
|
+
color: var(--_an-a-fc-hover, var(--_li-fc-hover));
|
|
2625
2637
|
}
|
|
2626
|
-
a:
|
|
2627
|
-
a
|
|
2628
|
-
a
|
|
2629
|
-
a
|
|
2630
|
-
|
|
2638
|
+
a:not([class*="s-"]):not(.post-tag):not(.badge):not(.badge-tag):visited,
|
|
2639
|
+
a.s-sidebarwidget--action:visited,
|
|
2640
|
+
a.s-user-card--link:visited {
|
|
2641
|
+
color: var(--_an-a-fc-visited, var(--_li-fc-visited));
|
|
2642
|
+
}
|
|
2643
|
+
a:not([class*="s-"]):not(.post-tag):not(.badge):not(.badge-tag):hover:visited,
|
|
2644
|
+
a.s-sidebarwidget--action:hover:visited,
|
|
2645
|
+
a.s-user-card--link:hover:visited {
|
|
2646
|
+
color: var(--_an-a-fc-hover-visited, var(--_li-fc-hover-visited));
|
|
2631
2647
|
}
|
|
2632
2648
|
a,
|
|
2633
2649
|
.s-link {
|
|
@@ -2714,12 +2730,6 @@ fieldset[disabled] .s-link {
|
|
|
2714
2730
|
opacity: var(--_o-disabled-static);
|
|
2715
2731
|
pointer-events: none;
|
|
2716
2732
|
}
|
|
2717
|
-
a:active,
|
|
2718
|
-
.s-link:active,
|
|
2719
|
-
a:hover,
|
|
2720
|
-
.s-link:hover {
|
|
2721
|
-
--_li-fc: var(--_li-fc-hover);
|
|
2722
|
-
}
|
|
2723
2733
|
button.s-link {
|
|
2724
2734
|
appearance: none;
|
|
2725
2735
|
background: transparent;
|
|
@@ -2735,6 +2745,16 @@ button.s-link:focus {
|
|
|
2735
2745
|
p .s-link {
|
|
2736
2746
|
text-decoration: underline;
|
|
2737
2747
|
}
|
|
2748
|
+
.s-link:active,
|
|
2749
|
+
.s-link:hover {
|
|
2750
|
+
--_li-fc: var(--_li-fc-hover);
|
|
2751
|
+
}
|
|
2752
|
+
.s-link:visited {
|
|
2753
|
+
color: var(--_li-fc-visited);
|
|
2754
|
+
}
|
|
2755
|
+
.s-link:hover:visited {
|
|
2756
|
+
color: var(--_li-fc-hover-visited);
|
|
2757
|
+
}
|
|
2738
2758
|
.s-link-preview {
|
|
2739
2759
|
--_lp-details-fc: var(--black-400);
|
|
2740
2760
|
--_lp-details-mt: var(--su2);
|