color: $color-invert
& > a.navbar-item,
.navbar-link
+ &:focus,
&:hover,
&.is-active
background-color: darken($color, 5%)
color: $color-invert
& > a.navbar-item,
.navbar-link
+ &:focus,
&:hover,
&.is-active
background-color: darken($color, 5%)
.navbar-link
&::after
border-color: $color-invert
+ .navbar-item.has-dropdown:focus .navbar-link,
.navbar-item.has-dropdown:hover .navbar-link,
.navbar-item.has-dropdown.is-active .navbar-link
background-color: darken($color, 5%)
.navbar-brand
a.navbar-item
+ &:focus,
&:hover
background-color: transparent
a.navbar-item,
.navbar-link
cursor: pointer
+ &:focus,
+ &:focus-within,
&:hover,
&.is-active
background-color: $navbar-item-hover-background-color
border-bottom: 1px solid transparent
min-height: $navbar-height
padding-bottom: calc(0.5rem - 1px)
+ &:focus,
&:hover
background-color: $navbar-tab-hover-background-color
border-bottom-color: $navbar-tab-hover-border-bottom-color
&.is-transparent
a.navbar-item,
.navbar-link
+ &:focus,
&:hover,
&.is-active
background-color: transparent !important
.navbar-item.has-dropdown
&.is-active,
+ &.is-hoverable:focus,
+ &.is-hoverable:focus-within,
&.is-hoverable:hover
.navbar-link
background-color: transparent !important
.navbar-dropdown
a.navbar-item
+ &:focus,
&:hover
background-color: $navbar-dropdown-item-hover-background-color
color: $navbar-dropdown-item-hover-color
box-shadow: 0 -8px 8px rgba($black, 0.1)
top: auto
&.is-active,
+ &.is-hoverable:focus,
+ &.is-hoverable:focus-within,
&.is-hoverable:hover
.navbar-dropdown
display: block
white-space: nowrap
a.navbar-item
padding-right: 3rem
+ &:focus,
&:hover
background-color: $navbar-dropdown-item-hover-background-color
color: $navbar-dropdown-item-hover-color
.navbar-link
&.is-active
color: $navbar-item-active-color
- &.is-active:not(:hover)
+ &.is-active:not(:focus):not(:hover)
background-color: $navbar-item-active-background-color
.navbar-item.has-dropdown
+ &:focus,
&:hover,
&.is-active
.navbar-link