30 lines
456 B
SCSS
Executable file
30 lines
456 B
SCSS
Executable file
@if index($hamburger-types, boring) {
|
|
/*
|
|
* Boring
|
|
*/
|
|
.hamburger--boring {
|
|
.hamburger-inner {
|
|
&,
|
|
&::before,
|
|
&::after {
|
|
transition-property: none;
|
|
}
|
|
}
|
|
|
|
&.is-active {
|
|
.hamburger-inner {
|
|
transform: rotate(45deg);
|
|
|
|
&::before {
|
|
top: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
&::after {
|
|
bottom: 0;
|
|
transform: rotate(-90deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|