That wouldn't work *with* dark section; just move active bar closer
Effectively reverts 4a82806
This commit is contained in:
parent
4a82806e0c
commit
0e9641c14a
1 changed files with 1 additions and 13 deletions
|
@ -213,7 +213,7 @@ a.navbar-link.is-active {
|
|||
position: absolute;
|
||||
left: 1em;
|
||||
right: 1em;
|
||||
bottom: -3px;
|
||||
bottom: 6px;
|
||||
border-top: 3px solid currentColor;
|
||||
}
|
||||
&:hover,
|
||||
|
@ -227,18 +227,6 @@ 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:focus .navbar-link,
|
||||
.navbar-item.has-dropdown.is-active .navbar-link {
|
||||
|
|
Loading…
Reference in a new issue