Sha256: aeae06711f16f8d9ee487b46923c2a93830a963ed29a495bbc4b7748ba330114

Contents?: true

Size: 1.4 KB

Versions: 27

Compression:

Stored size: 1.4 KB

Contents

@if index($hamburger-types, collapse-r) {
  /*
   * 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);

      &::after {
        top: ($hamburger-layer-spacing * 2 + $hamburger-layer-height * 2) * -1;
        transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
                    opacity 0.1s linear;
      }

      &::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);
      }
    }

    &.is-active {
      .hamburger-inner {
        transform: translate3d(0, ($hamburger-layer-spacing + $hamburger-layer-height) * -1, 0) rotate(45deg);
        transition-delay: 0.22s;
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);

        &::after {
          top: 0;
          opacity: 0;
          transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
                      opacity 0.1s 0.22s linear;
        }

        &::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);
        }
      }
    }
  }
}

Version data entries

27 entries across 27 versions & 3 rubygems

Version Path
timequake-2.1.0 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.11 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.10 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.9 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.8 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.7 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.6 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.5 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.4 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.3 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.2 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.1 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
timequake-2.0.0 app/assets/stylesheets/hamburgers/types/_collapse-r.scss
krad-3.7.5 _sass/hamburgers/types/_collapse-r.scss
krad-3.7.4 _sass/hamburgers/types/_collapse-r.scss
hamburgers-1.1.3 _sass/hamburgers/types/_collapse-r.scss
hamburgers-1.1.2 _sass/hamburgers/types/_collapse-r.scss
hamburgers-1.1.0 _sass/hamburgers/types/_collapse-r.scss
krad-3.7.3 _sass/hamburgers/types/_collapse-r.scss
krad-3.7.2 _sass/hamburgers/types/_collapse-r.scss