1
0
mirror of synced 2024-11-23 05:26:10 +03:00
select2/docs/_sass/_hamburger.scss
2015-06-06 15:32:11 +02:00

45 lines
637 B
SCSS

// animated hamburger icon
// @see http://codepen.io/JulienMelissas/pen/LEBGLj
.navbar-toggle {
border: none;
background: transparent !important;
&:hover {
background: transparent !important;
}
.icon-bar {
width: 22px;
transition: all 0.2s;
}
.top-bar {
transform: rotate(45deg);
transform-origin: 10% 10%;
}
.middle-bar {
opacity: 0;
}
.bottom-bar {
transform: rotate(-45deg);
transform-origin: 10% 90%;
}
&.collapsed {
.top-bar {
transform: rotate(0);
}
.middle-bar {
opacity: 1;
}
.bottom-bar {
transform: rotate(0);
}
}
}