Sha256: 6f5cb028d34cb2c97ea4b9054745b2a60a8cf75ba6f7edff80345f4615dc9e60

Contents?: true

Size: 914 Bytes

Versions: 2

Compression:

Stored size: 914 Bytes

Contents

@if index($hamburger-types, vortex) {
  /*
   * Vortex
   */
  .hamburger--vortex {
    .hamburger-inner {
      transition-duration: 0.3s;
      transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);

      &::before,
      &::after {
        transition-duration: 0s;
        transition-delay: 0.1s;
        transition-timing-function: linear;
      }

      &::before {
        transition-property: top, opacity;
      }

      &::after {
        transition-property: bottom, transform;
      }
    }

    &.is-active {
      .hamburger-inner {
        transform: rotate(765deg);
        transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);

        &::before,
        &::after {
          transition-delay: 0s;
        }

        &::before {
          top: 0;
          opacity: 0;
        }

        &::after {
          bottom: 0;
          transform: rotate(90deg);
        }
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hamburgers-0.7.0 _sass/hamburgers/types/_vortex.scss
hamburgers-0.6.0 _sass/hamburgers/types/_vortex.scss