Sha256: f0fc3d02c6829ddfea34bde432fae2453c9878a086c3543d89cc1d467b342f5c
Contents?: true
Size: 949 Bytes
Versions: 2
Compression:
Stored size: 949 Bytes
Contents
@if index($hamburger-types, slider-r) { /* * Slider Reverse */ .hamburger--slider-r { .hamburger-inner { top: $hamburger-layer-height / 2; &::before { top: $hamburger-layer-height + $hamburger-layer-spacing; transition-property: transform, opacity; transition-timing-function: ease; transition-duration: 0.2s; } &::after { top: ($hamburger-layer-height * 2) + ($hamburger-layer-spacing * 2); } } &.is-active { .hamburger-inner { $y-offset: $hamburger-layer-spacing + $hamburger-layer-height; transform: translate3d(0, $y-offset, 0) rotate(-45deg); &::before { transform: rotate(45deg) translate3d($hamburger-layer-width / 7, $hamburger-layer-spacing * -1, 0); opacity: 0; } &::after { transform: translate3d(0, $y-offset * -2, 0) rotate(90deg); } } } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hamburgers-0.7.0 | _sass/hamburgers/types/_slider-r.scss |
hamburgers-0.6.0 | _sass/hamburgers/types/_slider-r.scss |