Keep underline visible when dark navbar not followed by dark section

This commit is contained in:
benjamin melançon 2019-01-01 10:43:07 -05:00
parent 65872a3bf3
commit 4a82806e0c

View file

@ -227,6 +227,18 @@ a.navbar-link.is-active {
} }
} }
// Keep underline visible when dark navbar not followed by dark section.
.dark-header {
a.navbar-item.is-active,
a.navbar-link.is-active {
@include tablet {
&::before {
border-top-color: $dark;
}
}
}
}
.navbar-item.has-dropdown:hover .navbar-link, .navbar-item.has-dropdown:hover .navbar-link,
.navbar-item.has-dropdown:focus .navbar-link, .navbar-item.has-dropdown:focus .navbar-link,
.navbar-item.has-dropdown.is-active .navbar-link { .navbar-item.has-dropdown.is-active .navbar-link {