Sha256: 2236a011ad903a2c086eef675c5f67afea4d93efc1f9ce285aeb3dba8675f6cf

Contents?: true

Size: 1.03 KB

Versions: 27

Compression:

Stored size: 1.03 KB

Contents

@if index($hamburger-types, spin) {
  /*
   * Spin
   */
  .hamburger--spin {
    .hamburger-inner {
      transition-duration: 0.22s;
      transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);

      &::before {
        transition: top 0.1s 0.25s ease-in,
                    opacity 0.1s ease-in;
      }

      &::after {
        transition: bottom 0.1s 0.25s ease-in,
                    transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
      }
    }

    &.is-active {
      .hamburger-inner {
        transform: rotate(225deg);
        transition-delay: 0.12s;
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);

        &::before {
          top: 0;
          opacity: 0;
          transition: top 0.1s ease-out,
                      opacity 0.1s 0.12s ease-out;
        }

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

Version data entries

27 entries across 27 versions & 3 rubygems

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