123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706 |
- /*!
- * Hamburgers
- * @description Tasty CSS-animated hamburgers
- * @author Jonathan Suh @jonsuh
- * @site https://jonsuh.com/hamburgers
- * @link https://github.com/jonsuh/hamburgers
- */
- .hamburger {
- /* padding: 15px 15px; */
- display: inline-block;
- cursor: pointer;
- transition-property: opacity, filter;
- transition-duration: 0.15s;
- transition-timing-function: linear;
- font: inherit;
- color: inherit;
- text-transform: none;
- background-color: transparent;
- border: 0;
- margin: 0;
- overflow: visible; }
- .hamburger:hover {
- opacity: 0.7; }
- .hamburger.is-active:hover {
- opacity: 0.7; }
- .hamburger.is-active .hamburger-inner,
- .hamburger.is-active .hamburger-inner::before,
- .hamburger.is-active .hamburger-inner::after {
- background-color: #000; }
- .hamburger-box {
- width: 40px;
- height: 24px;
- display: inline-block;
- position: relative; }
- .hamburger-inner {
- display: block;
- top: 50%;
- margin-top: -2px; }
- .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
- width: 40px;
- height: 4px;
- background-color: #000;
- border-radius: 4px;
- position: absolute;
- transition-property: transform;
- transition-duration: 0.15s;
- transition-timing-function: ease; }
- .hamburger-inner::before, .hamburger-inner::after {
- content: "";
- display: block; }
- .hamburger-inner::before {
- top: -10px; }
- .hamburger-inner::after {
- bottom: -10px; }
- /*
- * 3DX
- */
- .hamburger--3dx .hamburger-box {
- perspective: 80px; }
- .hamburger--3dx .hamburger-inner {
- transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dx .hamburger-inner::before, .hamburger--3dx .hamburger-inner::after {
- transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dx.is-active .hamburger-inner {
- background-color: transparent !important;
- transform: rotateY(180deg); }
- .hamburger--3dx.is-active .hamburger-inner::before {
- transform: translate3d(0, 10px, 0) rotate(45deg); }
- .hamburger--3dx.is-active .hamburger-inner::after {
- transform: translate3d(0, -10px, 0) rotate(-45deg); }
- /*
- * 3DX Reverse
- */
- .hamburger--3dx-r .hamburger-box {
- perspective: 80px; }
- .hamburger--3dx-r .hamburger-inner {
- transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dx-r .hamburger-inner::before, .hamburger--3dx-r .hamburger-inner::after {
- transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dx-r.is-active .hamburger-inner {
- background-color: transparent !important;
- transform: rotateY(-180deg); }
- .hamburger--3dx-r.is-active .hamburger-inner::before {
- transform: translate3d(0, 10px, 0) rotate(45deg); }
- .hamburger--3dx-r.is-active .hamburger-inner::after {
- transform: translate3d(0, -10px, 0) rotate(-45deg); }
- /*
- * 3DY
- */
- .hamburger--3dy .hamburger-box {
- perspective: 80px; }
- .hamburger--3dy .hamburger-inner {
- transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dy .hamburger-inner::before, .hamburger--3dy .hamburger-inner::after {
- transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dy.is-active .hamburger-inner {
- background-color: transparent !important;
- transform: rotateX(-180deg); }
- .hamburger--3dy.is-active .hamburger-inner::before {
- transform: translate3d(0, 10px, 0) rotate(45deg); }
- .hamburger--3dy.is-active .hamburger-inner::after {
- transform: translate3d(0, -10px, 0) rotate(-45deg); }
- /*
- * 3DY Reverse
- */
- .hamburger--3dy-r .hamburger-box {
- perspective: 80px; }
- .hamburger--3dy-r .hamburger-inner {
- transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dy-r .hamburger-inner::before, .hamburger--3dy-r .hamburger-inner::after {
- transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dy-r.is-active .hamburger-inner {
- background-color: transparent !important;
- transform: rotateX(180deg); }
- .hamburger--3dy-r.is-active .hamburger-inner::before {
- transform: translate3d(0, 10px, 0) rotate(45deg); }
- .hamburger--3dy-r.is-active .hamburger-inner::after {
- transform: translate3d(0, -10px, 0) rotate(-45deg); }
- /*
- * 3DXY
- */
- .hamburger--3dxy .hamburger-box {
- perspective: 80px; }
- .hamburger--3dxy .hamburger-inner {
- transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dxy .hamburger-inner::before, .hamburger--3dxy .hamburger-inner::after {
- transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dxy.is-active .hamburger-inner {
- background-color: transparent !important;
- transform: rotateX(180deg) rotateY(180deg); }
- .hamburger--3dxy.is-active .hamburger-inner::before {
- transform: translate3d(0, 10px, 0) rotate(45deg); }
- .hamburger--3dxy.is-active .hamburger-inner::after {
- transform: translate3d(0, -10px, 0) rotate(-45deg); }
- /*
- * 3DXY Reverse
- */
- .hamburger--3dxy-r .hamburger-box {
- perspective: 80px; }
- .hamburger--3dxy-r .hamburger-inner {
- transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dxy-r .hamburger-inner::before, .hamburger--3dxy-r .hamburger-inner::after {
- transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); }
- .hamburger--3dxy-r.is-active .hamburger-inner {
- background-color: transparent !important;
- transform: rotateX(180deg) rotateY(180deg) rotateZ(-180deg); }
- .hamburger--3dxy-r.is-active .hamburger-inner::before {
- transform: translate3d(0, 10px, 0) rotate(45deg); }
- .hamburger--3dxy-r.is-active .hamburger-inner::after {
- transform: translate3d(0, -10px, 0) rotate(-45deg); }
- /*
- * Arrow
- */
- .hamburger--arrow.is-active .hamburger-inner::before {
- transform: translate3d(-8px, 0, 0) rotate(-45deg) scale(0.7, 1); }
- .hamburger--arrow.is-active .hamburger-inner::after {
- transform: translate3d(-8px, 0, 0) rotate(45deg) scale(0.7, 1); }
- /*
- * Arrow Right
- */
- .hamburger--arrow-r.is-active .hamburger-inner::before {
- transform: translate3d(8px, 0, 0) rotate(45deg) scale(0.7, 1); }
- .hamburger--arrow-r.is-active .hamburger-inner::after {
- transform: translate3d(8px, 0, 0) rotate(-45deg) scale(0.7, 1); }
- /*
- * Arrow Alt
- */
- .hamburger--arrowalt .hamburger-inner::before {
- transition: top 0.1s 0.1s ease, transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); }
- .hamburger--arrowalt .hamburger-inner::after {
- transition: bottom 0.1s 0.1s ease, transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); }
- .hamburger--arrowalt.is-active .hamburger-inner::before {
- top: 0;
- transform: translate3d(-8px, -10px, 0) rotate(-45deg) scale(0.7, 1);
- transition: top 0.1s ease, transform 0.1s 0.1s cubic-bezier(0.895, 0.03, 0.685, 0.22); }
- .hamburger--arrowalt.is-active .hamburger-inner::after {
- bottom: 0;
- transform: translate3d(-8px, 10px, 0) rotate(45deg) scale(0.7, 1);
- transition: bottom 0.1s ease, transform 0.1s 0.1s cubic-bezier(0.895, 0.03, 0.685, 0.22); }
- /*
- * Arrow Alt Right
- */
- .hamburger--arrowalt-r .hamburger-inner::before {
- transition: top 0.1s 0.1s ease, transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); }
- .hamburger--arrowalt-r .hamburger-inner::after {
- transition: bottom 0.1s 0.1s ease, transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); }
- .hamburger--arrowalt-r.is-active .hamburger-inner::before {
- top: 0;
- transform: translate3d(8px, -10px, 0) rotate(45deg) scale(0.7, 1);
- transition: top 0.1s ease, transform 0.1s 0.1s cubic-bezier(0.895, 0.03, 0.685, 0.22); }
- .hamburger--arrowalt-r.is-active .hamburger-inner::after {
- bottom: 0;
- transform: translate3d(8px, 10px, 0) rotate(-45deg) scale(0.7, 1);
- transition: bottom 0.1s ease, transform 0.1s 0.1s cubic-bezier(0.895, 0.03, 0.685, 0.22); }
- /*
- * Arrow Turn
- */
- .hamburger--arrowturn.is-active .hamburger-inner {
- transform: rotate(-180deg); }
- .hamburger--arrowturn.is-active .hamburger-inner::before {
- transform: translate3d(8px, 0, 0) rotate(45deg) scale(0.7, 1); }
- .hamburger--arrowturn.is-active .hamburger-inner::after {
- transform: translate3d(8px, 0, 0) rotate(-45deg) scale(0.7, 1); }
- /*
- * Arrow Turn Right
- */
- .hamburger--arrowturn-r.is-active .hamburger-inner {
- transform: rotate(-180deg); }
- .hamburger--arrowturn-r.is-active .hamburger-inner::before {
- transform: translate3d(-8px, 0, 0) rotate(-45deg) scale(0.7, 1); }
- .hamburger--arrowturn-r.is-active .hamburger-inner::after {
- transform: translate3d(-8px, 0, 0) rotate(45deg) scale(0.7, 1); }
- /*
- * Boring
- */
- .hamburger--boring .hamburger-inner, .hamburger--boring .hamburger-inner::before, .hamburger--boring .hamburger-inner::after {
- transition-property: none; }
- .hamburger--boring.is-active .hamburger-inner {
- transform: rotate(45deg); }
- .hamburger--boring.is-active .hamburger-inner::before {
- top: 0;
- opacity: 0; }
- .hamburger--boring.is-active .hamburger-inner::after {
- bottom: 0;
- transform: rotate(-90deg); }
- /*
- * Collapse
- */
- .hamburger--collapse .hamburger-inner {
- top: auto;
- bottom: 0;
- transition-duration: 0.13s;
- transition-delay: 0.13s;
- transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--collapse .hamburger-inner::after {
- top: -20px;
- transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear; }
- .hamburger--collapse .hamburger-inner::before {
- transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--collapse.is-active .hamburger-inner {
- transform: translate3d(0, -10px, 0) rotate(-45deg);
- transition-delay: 0.22s;
- transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
- .hamburger--collapse.is-active .hamburger-inner::after {
- top: 0;
- opacity: 0;
- transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear; }
- .hamburger--collapse.is-active .hamburger-inner::before {
- top: 0;
- transform: rotate(-90deg);
- transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1); }
- /*
- * Collapse Reverse
- */
- .hamburger--collapse-r .hamburger-inner {
- top: auto;
- bottom: 0;
- transition-duration: 0.13s;
- transition-delay: 0.13s;
- transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--collapse-r .hamburger-inner::after {
- top: -20px;
- transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear; }
- .hamburger--collapse-r .hamburger-inner::before {
- transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--collapse-r.is-active .hamburger-inner {
- transform: translate3d(0, -10px, 0) rotate(45deg);
- transition-delay: 0.22s;
- transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
- .hamburger--collapse-r.is-active .hamburger-inner::after {
- top: 0;
- opacity: 0;
- transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear; }
- .hamburger--collapse-r.is-active .hamburger-inner::before {
- top: 0;
- transform: rotate(90deg);
- transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1); }
- /*
- * Elastic
- */
- .hamburger--elastic .hamburger-inner {
- top: 2px;
- transition-duration: 0.275s;
- transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }
- .hamburger--elastic .hamburger-inner::before {
- top: 10px;
- transition: opacity 0.125s 0.275s ease; }
- .hamburger--elastic .hamburger-inner::after {
- top: 20px;
- transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
- .hamburger--elastic.is-active .hamburger-inner {
- transform: translate3d(0, 10px, 0) rotate(135deg);
- transition-delay: 0.075s; }
- .hamburger--elastic.is-active .hamburger-inner::before {
- transition-delay: 0s;
- opacity: 0; }
- .hamburger--elastic.is-active .hamburger-inner::after {
- transform: translate3d(0, -20px, 0) rotate(-270deg);
- transition-delay: 0.075s; }
- /*
- * Elastic Reverse
- */
- .hamburger--elastic-r .hamburger-inner {
- top: 2px;
- transition-duration: 0.275s;
- transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }
- .hamburger--elastic-r .hamburger-inner::before {
- top: 10px;
- transition: opacity 0.125s 0.275s ease; }
- .hamburger--elastic-r .hamburger-inner::after {
- top: 20px;
- transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
- .hamburger--elastic-r.is-active .hamburger-inner {
- transform: translate3d(0, 10px, 0) rotate(-135deg);
- transition-delay: 0.075s; }
- .hamburger--elastic-r.is-active .hamburger-inner::before {
- transition-delay: 0s;
- opacity: 0; }
- .hamburger--elastic-r.is-active .hamburger-inner::after {
- transform: translate3d(0, -20px, 0) rotate(270deg);
- transition-delay: 0.075s; }
- /*
- * Emphatic
- */
- .hamburger--emphatic {
- overflow: hidden; }
- .hamburger--emphatic .hamburger-inner {
- transition: background-color 0.125s 0.175s ease-in; }
- .hamburger--emphatic .hamburger-inner::before {
- left: 0;
- transition: transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335), top 0.05s 0.125s linear, left 0.125s 0.175s ease-in; }
- .hamburger--emphatic .hamburger-inner::after {
- top: 10px;
- right: 0;
- transition: transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335), top 0.05s 0.125s linear, right 0.125s 0.175s ease-in; }
- .hamburger--emphatic.is-active .hamburger-inner {
- transition-delay: 0s;
- transition-timing-function: ease-out;
- background-color: transparent !important; }
- .hamburger--emphatic.is-active .hamburger-inner::before {
- left: -80px;
- top: -80px;
- transform: translate3d(80px, 80px, 0) rotate(45deg);
- transition: left 0.125s ease-out, top 0.05s 0.125s linear, transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1); }
- .hamburger--emphatic.is-active .hamburger-inner::after {
- right: -80px;
- top: -80px;
- transform: translate3d(-80px, 80px, 0) rotate(-45deg);
- transition: right 0.125s ease-out, top 0.05s 0.125s linear, transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1); }
- /*
- * Emphatic Reverse
- */
- .hamburger--emphatic-r {
- overflow: hidden; }
- .hamburger--emphatic-r .hamburger-inner {
- transition: background-color 0.125s 0.175s ease-in; }
- .hamburger--emphatic-r .hamburger-inner::before {
- left: 0;
- transition: transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335), top 0.05s 0.125s linear, left 0.125s 0.175s ease-in; }
- .hamburger--emphatic-r .hamburger-inner::after {
- top: 10px;
- right: 0;
- transition: transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335), top 0.05s 0.125s linear, right 0.125s 0.175s ease-in; }
- .hamburger--emphatic-r.is-active .hamburger-inner {
- transition-delay: 0s;
- transition-timing-function: ease-out;
- background-color: transparent !important; }
- .hamburger--emphatic-r.is-active .hamburger-inner::before {
- left: -80px;
- top: 80px;
- transform: translate3d(80px, -80px, 0) rotate(-45deg);
- transition: left 0.125s ease-out, top 0.05s 0.125s linear, transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1); }
- .hamburger--emphatic-r.is-active .hamburger-inner::after {
- right: -80px;
- top: 80px;
- transform: translate3d(-80px, -80px, 0) rotate(45deg);
- transition: right 0.125s ease-out, top 0.05s 0.125s linear, transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1); }
- /*
- * Minus
- */
- .hamburger--minus .hamburger-inner::before, .hamburger--minus .hamburger-inner::after {
- transition: bottom 0.08s 0s ease-out, top 0.08s 0s ease-out, opacity 0s linear; }
- .hamburger--minus.is-active .hamburger-inner::before, .hamburger--minus.is-active .hamburger-inner::after {
- opacity: 0;
- transition: bottom 0.08s ease-out, top 0.08s ease-out, opacity 0s 0.08s linear; }
- .hamburger--minus.is-active .hamburger-inner::before {
- top: 0; }
- .hamburger--minus.is-active .hamburger-inner::after {
- bottom: 0; }
- /*
- * Slider
- */
- .hamburger--slider .hamburger-inner {
- top: 2px; }
- .hamburger--slider .hamburger-inner::before {
- top: 10px;
- transition-property: transform, opacity;
- transition-timing-function: ease;
- transition-duration: 0.15s; }
- .hamburger--slider .hamburger-inner::after {
- top: 20px; }
- .hamburger--slider.is-active .hamburger-inner {
- transform: translate3d(0, 10px, 0) rotate(45deg); }
- .hamburger--slider.is-active .hamburger-inner::before {
- transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
- opacity: 0; }
- .hamburger--slider.is-active .hamburger-inner::after {
- transform: translate3d(0, -20px, 0) rotate(-90deg); }
- /*
- * Slider Reverse
- */
- .hamburger--slider-r .hamburger-inner {
- top: 2px; }
- .hamburger--slider-r .hamburger-inner::before {
- top: 10px;
- transition-property: transform, opacity;
- transition-timing-function: ease;
- transition-duration: 0.15s; }
- .hamburger--slider-r .hamburger-inner::after {
- top: 20px; }
- .hamburger--slider-r.is-active .hamburger-inner {
- transform: translate3d(0, 10px, 0) rotate(-45deg); }
- .hamburger--slider-r.is-active .hamburger-inner::before {
- transform: rotate(45deg) translate3d(5.71429px, -6px, 0);
- opacity: 0; }
- .hamburger--slider-r.is-active .hamburger-inner::after {
- transform: translate3d(0, -20px, 0) rotate(90deg); }
- /*
- * Spin
- */
- .hamburger--spin .hamburger-inner {
- transition-duration: 0.22s;
- transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--spin .hamburger-inner::before {
- transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }
- .hamburger--spin .hamburger-inner::after {
- transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--spin.is-active .hamburger-inner {
- transform: rotate(225deg);
- transition-delay: 0.12s;
- transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
- .hamburger--spin.is-active .hamburger-inner::before {
- top: 0;
- opacity: 0;
- transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
- .hamburger--spin.is-active .hamburger-inner::after {
- bottom: 0;
- transform: rotate(-90deg);
- transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }
- /*
- * Spin Reverse
- */
- .hamburger--spin-r .hamburger-inner {
- transition-duration: 0.22s;
- transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--spin-r .hamburger-inner::before {
- transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }
- .hamburger--spin-r .hamburger-inner::after {
- transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--spin-r.is-active .hamburger-inner {
- transform: rotate(-225deg);
- transition-delay: 0.12s;
- transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
- .hamburger--spin-r.is-active .hamburger-inner::before {
- top: 0;
- opacity: 0;
- transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
- .hamburger--spin-r.is-active .hamburger-inner::after {
- bottom: 0;
- transform: rotate(90deg);
- transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }
- /*
- * Spring
- */
- .hamburger--spring .hamburger-inner {
- top: 2px;
- transition: background-color 0s 0.13s linear; }
- .hamburger--spring .hamburger-inner::before {
- top: 10px;
- transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--spring .hamburger-inner::after {
- top: 20px;
- transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--spring.is-active .hamburger-inner {
- transition-delay: 0.22s;
- background-color: transparent !important; }
- .hamburger--spring.is-active .hamburger-inner::before {
- top: 0;
- transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
- transform: translate3d(0, 10px, 0) rotate(45deg); }
- .hamburger--spring.is-active .hamburger-inner::after {
- top: 0;
- transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
- transform: translate3d(0, 10px, 0) rotate(-45deg); }
- /*
- * Spring Reverse
- */
- .hamburger--spring-r .hamburger-inner {
- top: auto;
- bottom: 0;
- transition-duration: 0.13s;
- transition-delay: 0s;
- transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--spring-r .hamburger-inner::after {
- top: -20px;
- transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0s linear; }
- .hamburger--spring-r .hamburger-inner::before {
- transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--spring-r.is-active .hamburger-inner {
- transform: translate3d(0, -10px, 0) rotate(-45deg);
- transition-delay: 0.22s;
- transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
- .hamburger--spring-r.is-active .hamburger-inner::after {
- top: 0;
- opacity: 0;
- transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0s 0.22s linear; }
- .hamburger--spring-r.is-active .hamburger-inner::before {
- top: 0;
- transform: rotate(90deg);
- transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1); }
- /*
- * Stand
- */
- .hamburger--stand .hamburger-inner {
- transition: transform 0.075s 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19), background-color 0s 0.075s linear; }
- .hamburger--stand .hamburger-inner::before {
- transition: top 0.075s 0.075s ease-in, transform 0.075s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--stand .hamburger-inner::after {
- transition: bottom 0.075s 0.075s ease-in, transform 0.075s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--stand.is-active .hamburger-inner {
- transform: rotate(90deg);
- background-color: transparent !important;
- transition: transform 0.075s 0s cubic-bezier(0.215, 0.61, 0.355, 1), background-color 0s 0.15s linear; }
- .hamburger--stand.is-active .hamburger-inner::before {
- top: 0;
- transform: rotate(-45deg);
- transition: top 0.075s 0.1s ease-out, transform 0.075s 0.15s cubic-bezier(0.215, 0.61, 0.355, 1); }
- .hamburger--stand.is-active .hamburger-inner::after {
- bottom: 0;
- transform: rotate(45deg);
- transition: bottom 0.075s 0.1s ease-out, transform 0.075s 0.15s cubic-bezier(0.215, 0.61, 0.355, 1); }
- /*
- * Stand Reverse
- */
- .hamburger--stand-r .hamburger-inner {
- transition: transform 0.075s 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19), background-color 0s 0.075s linear; }
- .hamburger--stand-r .hamburger-inner::before {
- transition: top 0.075s 0.075s ease-in, transform 0.075s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--stand-r .hamburger-inner::after {
- transition: bottom 0.075s 0.075s ease-in, transform 0.075s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--stand-r.is-active .hamburger-inner {
- transform: rotate(-90deg);
- background-color: transparent !important;
- transition: transform 0.075s 0s cubic-bezier(0.215, 0.61, 0.355, 1), background-color 0s 0.15s linear; }
- .hamburger--stand-r.is-active .hamburger-inner::before {
- top: 0;
- transform: rotate(-45deg);
- transition: top 0.075s 0.1s ease-out, transform 0.075s 0.15s cubic-bezier(0.215, 0.61, 0.355, 1); }
- .hamburger--stand-r.is-active .hamburger-inner::after {
- bottom: 0;
- transform: rotate(45deg);
- transition: bottom 0.075s 0.1s ease-out, transform 0.075s 0.15s cubic-bezier(0.215, 0.61, 0.355, 1); }
- /*
- * Squeeze
- */
- .hamburger--squeeze .hamburger-inner {
- transition-duration: 0.075s;
- transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--squeeze .hamburger-inner::before {
- transition: top 0.075s 0.12s ease, opacity 0.075s ease; }
- .hamburger--squeeze .hamburger-inner::after {
- transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
- .hamburger--squeeze.is-active .hamburger-inner {
- transform: rotate(45deg);
- transition-delay: 0.12s;
- transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
- .hamburger--squeeze.is-active .hamburger-inner::before {
- top: 0;
- opacity: 0;
- transition: top 0.075s ease, opacity 0.075s 0.12s ease; }
- .hamburger--squeeze.is-active .hamburger-inner::after {
- bottom: 0;
- transform: rotate(-90deg);
- transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }
- /*
- * Vortex
- */
- .hamburger--vortex .hamburger-inner {
- transition-duration: 0.2s;
- transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1); }
- .hamburger--vortex .hamburger-inner::before, .hamburger--vortex .hamburger-inner::after {
- transition-duration: 0s;
- transition-delay: 0.1s;
- transition-timing-function: linear; }
- .hamburger--vortex .hamburger-inner::before {
- transition-property: top, opacity; }
- .hamburger--vortex .hamburger-inner::after {
- transition-property: bottom, transform; }
- .hamburger--vortex.is-active .hamburger-inner {
- transform: rotate(765deg);
- transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1); }
- .hamburger--vortex.is-active .hamburger-inner::before, .hamburger--vortex.is-active .hamburger-inner::after {
- transition-delay: 0s; }
- .hamburger--vortex.is-active .hamburger-inner::before {
- top: 0;
- opacity: 0; }
- .hamburger--vortex.is-active .hamburger-inner::after {
- bottom: 0;
- transform: rotate(90deg); }
- /*
- * Vortex Reverse
- */
- .hamburger--vortex-r .hamburger-inner {
- transition-duration: 0.2s;
- transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1); }
- .hamburger--vortex-r .hamburger-inner::before, .hamburger--vortex-r .hamburger-inner::after {
- transition-duration: 0s;
- transition-delay: 0.1s;
- transition-timing-function: linear; }
- .hamburger--vortex-r .hamburger-inner::before {
- transition-property: top, opacity; }
- .hamburger--vortex-r .hamburger-inner::after {
- transition-property: bottom, transform; }
- .hamburger--vortex-r.is-active .hamburger-inner {
- transform: rotate(-765deg);
- transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1); }
- .hamburger--vortex-r.is-active .hamburger-inner::before, .hamburger--vortex-r.is-active .hamburger-inner::after {
- transition-delay: 0s; }
- .hamburger--vortex-r.is-active .hamburger-inner::before {
- top: 0;
- opacity: 0; }
- .hamburger--vortex-r.is-active .hamburger-inner::after {
- bottom: 0;
- transform: rotate(-90deg); }
|