Fix .contrast link inside nav

This commit is contained in:
Lucas 2020-08-08 12:44:46 +07:00
parent 3671719498
commit d0730c8b6e
3 changed files with 7 additions and 3 deletions

View file

@ -49,8 +49,12 @@ nav {
text-decoration: none;
}
// Disable underline for a.contrast in nav
@if $enable-classes {
&.contrast:not([role="button"]) {
&.contrast:not([role="button"]),
&.contrast:not([role="button"]):hover,
&.contrast:not([role="button"]):active,
&.contrast:not([role="button"]):focus {
box-shadow: none;
}
}