1
0
mirror of synced 2024-11-26 14:56:07 +03:00
select2/docs/_sass/_s2-docs-hamburger.scss
2015-04-28 01:15:49 +02:00

34 lines
628 B
SCSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* 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);
}
&.collapsed .middle-bar {
opacity: 1;
}
&.collapsed .bottom-bar {
transform: rotate(0);
}
}