Skip to content

Commit

Permalink
corrección _base.scss hamburger-inner
Browse files Browse the repository at this point in the history
  • Loading branch information
BMartinezS committed Apr 28, 2024
1 parent a11530e commit 338f8d9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions _sass/libraries/hamburgers/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@
overflow: visible;

&:hover {
@if $hamburger-hover-use-filter == true {
@if $hamburger-hover-use-filter ==true {
filter: $hamburger-hover-filter;
}

@else {
opacity: $hamburger-hover-opacity;
}
}

&.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;
}
Expand All @@ -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,
Expand All @@ -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;
}
}

0 comments on commit 338f8d9

Please sign in to comment.