Sha256: 28bf2d6a29677c2c796a5b0c1c37309a916377c6e82cfaf65f71076ed3f9c2c0

Contents?: true

Size: 919 Bytes

Versions: 12

Compression:

Stored size: 919 Bytes

Contents

@if index($hamburger-types, 3dxy-r) {
  /*
   * 3DXY Reverse
   */
  .hamburger--3dxy-r {
    .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;
        transform: rotateX(180deg) rotateY(180deg) rotateZ(-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

12 entries across 12 versions & 2 rubygems

Version Path
krad-3.7.5 _sass/hamburgers/types/_3dxy-r.scss
krad-3.7.4 _sass/hamburgers/types/_3dxy-r.scss
hamburgers-1.1.2 _sass/hamburgers/types/_3dxy-r.scss
hamburgers-1.1.0 _sass/hamburgers/types/_3dxy-r.scss
krad-3.7.3 _sass/hamburgers/types/_3dxy-r.scss
krad-3.7.2 _sass/hamburgers/types/_3dxy-r.scss
krad-3.7.1 _sass/hamburgers/types/_3dxy-r.scss
krad-3.7.0 _sass/hamburgers/types/_3dxy-r.scss
krad-3.6.0 _sass/hamburgers/types/_3dxy-r.scss
hamburgers-0.9.3 _sass/hamburgers/types/_3dxy-r.scss
hamburgers-0.9.1 _sass/hamburgers/types/_3dxy-r.scss
hamburgers-0.9.0 _sass/hamburgers/types/_3dxy-r.scss