Keep underline visible when dark navbar not followed by dark section
This commit is contained in:
parent
65872a3bf3
commit
4a82806e0c
1 changed files with 12 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue