Sha256: 994ea2e8c7677b99bd1a2baa47602469168655a648c9476fbe7beadb5add85e9

Contents?: true

Size: 883 Bytes

Versions: 14

Compression:

Stored size: 883 Bytes

Contents

@if index($hamburger-types, 3dy) {
  /*
   * 3DY
   */
  .hamburger--3dy {
    .hamburger-box {
      perspective: $hamburger-layer-width * 2;
    }

    .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);

      &::before,
      &::after {
        transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
      }
    }

    &.is-active {
      .hamburger-inner {
        background-color: transparent !important;
        transform: rotateX(-180deg);

        &::before {
          transform: translate3d(0, $hamburger-layer-height + $hamburger-layer-spacing, 0) rotate(45deg);
        }

        &::after {
          transform: translate3d(0, ($hamburger-layer-height + $hamburger-layer-spacing) * -1, 0) rotate(-45deg);
        }
      }
    }
  }
}

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
timequake-2.1.0 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.11 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.10 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.9 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.8 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.7 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.6 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.5 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.4 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.3 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.2 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.1 app/assets/stylesheets/hamburgers/types/_3dy.scss
timequake-2.0.0 app/assets/stylesheets/hamburgers/types/_3dy.scss
hamburgers-1.1.3 _sass/hamburgers/types/_3dy.scss