Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/StackExchange/Stacks int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
dancormier committed Jan 30, 2023
2 parents 77dc871 + 862b5bb commit 29f18f2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 24 deletions.
10 changes: 0 additions & 10 deletions lib/css/components/badges.less
Original file line number Diff line number Diff line change
Expand Up @@ -230,16 +230,6 @@
text-decoration: none;
}

a& {
&,
&:active,
&:focus,
&:hover,
&:visited {
color: var(--_ba-fc);
}
}

align-self: var(--_ba-as);
background-color: var(--_ba-bg);
border: var(--su-static1) solid var(--_ba-bc);
Expand Down
24 changes: 16 additions & 8 deletions lib/css/components/link.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ a,

// STATES
&.s-link {
&__danger,
&__grayscale,
&__inherit,
&__muted,
&__visited {
&:visited {
&:active,
&:hover {
color: var(--_li-fc-hover);
}

color: var(--_li-fc-visited);
}
}

// MODIFIERS
&__dropdown {
&:after {
Expand Down Expand Up @@ -71,14 +86,7 @@ a,
// INTERACTION
&:active,
&:hover {
&,
&:visited {
color: var(--_li-fc-hover);
}
}

&:visited {
color: var(--_li-fc-visited);
color: var(--_li-fc-hover);
}

color: var(--_li-fc);
Expand Down
7 changes: 1 addition & 6 deletions lib/css/components/tags.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
a&,
a&:active,
a&:hover,
a&:focus,
a&:visited {
a&:focus {
.highcontrast-mode({
border-color: currentColor;
});
Expand Down Expand Up @@ -193,10 +192,6 @@
border-color: var(--_ta-bc-hover);
color: var(--_ta-fc-hover);
}

&:visited {
color: var(--_ta-fc);
}
}

background-color: var(--_ta-bg);
Expand Down

0 comments on commit 29f18f2

Please sign in to comment.