diff --git a/_sass/libraries/hamburgers/_base.scss b/_sass/libraries/hamburgers/_base.scss index 30ef6ba..c634994 100755 --- a/_sass/libraries/hamburgers/_base.scss +++ b/_sass/libraries/hamburgers/_base.scss @@ -21,9 +21,10 @@ overflow: visible; &:hover { - @if $hamburger-hover-use-filter == true { + @if $hamburger-hover-use-filter ==true { filter: $hamburger-hover-filter; } + @else { opacity: $hamburger-hover-opacity; } @@ -31,9 +32,10 @@ &.is-active { &:hover { - @if $hamburger-hover-use-filter == true { + @if $hamburger-hover-use-filter ==true { filter: $hamburger-active-hover-filter; } + @else { opacity: $hamburger-active-hover-opacity; } @@ -57,7 +59,7 @@ .hamburger-inner { display: block; top: 50%; - margin-top: math.div($hamburger-layer-height, -2); + margin-top: $hamburger-layer-height / -2; &, &::before, @@ -79,10 +81,10 @@ } &::before { - top: ($hamburger-layer-spacing + $hamburger-layer-height) * -1; + top: -($hamburger-layer-spacing + $hamburger-layer-height); } &::after { - bottom: ($hamburger-layer-spacing + $hamburger-layer-height) * -1; + top: $hamburger-layer-spacing + $hamburger-layer-height; } }