Sha256: bb94d26e4a7a2c63c699e9b3effbe23be0646d66b033e114c52c3f8252febeaf

Contents?: true

Size: 872 Bytes

Versions: 13

Compression:

Stored size: 872 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;
        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

13 entries across 13 versions & 2 rubygems

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