Fix navbar link color

This commit is contained in:
Jeremy Thomas
2017-10-26 17:54:26 +01:00
parent 7b6755ea72
commit befa6b68b0
5 changed files with 34 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ $navbar-height: 3.25rem !default
$navbar-fixed-z: 30 !default
$navbar-item-color: $grey-dark !default
$navbar-item-hover-color: $black !default
$navbar-item-hover-color: $link !default
$navbar-item-hover-background-color: $background !default
$navbar-item-active-color: $black !default
$navbar-item-active-background-color: transparent !default
@@ -144,7 +144,7 @@ html.has-navbar-fixed-bottom
position: relative
a.navbar-item,
.navbar-link
a.navbar-link
&:hover,
&.is-active
background-color: $navbar-item-hover-background-color
@@ -238,7 +238,7 @@ a.navbar-item,
min-height: $navbar-height
&.is-transparent
a.navbar-item,
.navbar-link
a.navbar-link
&:hover,
&.is-active
background-color: transparent !important
@@ -360,7 +360,7 @@ a.navbar-item,
padding-bottom: $navbar-height
// Hover/Active states
a.navbar-item,
.navbar-link
a.navbar-link
&.is-active
color: $navbar-item-active-color
&.is-active:not(:hover)