rfid/themes/hugo-whisper-theme/assets/scss/libraries/hamburgers/types/_minus.scss
2021-10-01 14:32:43 +02:00

34 lines
647 B
SCSS
Executable file

@if index($hamburger-types, minus) {
/*
* Minus
*/
.hamburger--minus {
.hamburger-inner {
&::before,
&::after {
transition: bottom 0.08s 0s ease-out,
top 0.08s 0s ease-out,
opacity 0s linear;
}
}
&.is-active {
.hamburger-inner {
&::before,
&::after {
opacity: 0;
transition: bottom 0.08s ease-out,
top 0.08s ease-out,
opacity 0s 0.08s linear;
}
&::before {
top: 0;
}
&::after {
bottom: 0;
}
}
}
}
}