Bulma: Variable for hover+active background/color?

Created on 23 Jul 2017  路  5Comments  路  Source: jgthms/bulma

0.4.3

On my main navbar, is-active links have a background override. I don't want them to change on hover.

https://github.com/jgthms/bulma/blob/0.4.3/sass/components/navbar.sass#L49

I think it'd be nice to see a variable for:

// default to current behavior
$navbar-item-active-hover: $navbar-item-hover !default
$navbar-item-active-hover-background: $navbar-item-hover-background !default

a.navbar-item,
.navbar-link
  &.is-active:hover
    background-color: $navbar-item-active-hover-background
    color: $navbar-item-active-hover
customization

Most helpful comment

Was this feature actually implemented? I don't see it in the current version or in 0.5.0.

All 5 comments

Added!

Was this feature actually implemented? I don't see it in the current version or in 0.5.0.

@jgthms doesn't work :/

I'm having trouble setting this, too.

Stiil unable to change the behavior on hover (darken...) Any way to avoid this?

Was this page helpful?
0 / 5 - 0 ratings