Skip to content

Commit

Permalink
fix: refine breadcrumb link hover/focus styling
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueSlug committed May 20, 2022
1 parent ea72336 commit 4583d72
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/assets/styles/components/_breadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,24 @@

&:focus,
&:hover {
background: unset;
margin: unset;
outline: 0.125rem solid var(--fl-linkColor, $mainColour);
outline: none;
padding: unset;
position: relative;
z-index: 0;

&::after {
background: $linkBackgroundHoverColour;
border-radius: 0.3125rem;
bottom: -0.3rem;
content: "";
left: -0.3rem;
outline: 0.125rem solid var(--fl-linkColor, $mainColour);
position: absolute;
right: -0.3rem;
top: -0.3rem;
z-index: -1;
}
}
}

0 comments on commit 4583d72

Please sign in to comment.