Sha256: 8d406fde32feb6906a92c99739982791e5d1dfc4df72f928a6e7ea15c98f29ad

Contents?: true

Size: 882 Bytes

Versions: 14

Compression:

Stored size: 882 Bytes

Contents

@if index($hamburger-types, 3dx) {
  /*
   * 3DX
   */
  .hamburger--3dx {
    .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: rotateY(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/_3dx.scss
timequake-2.0.11 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.10 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.9 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.8 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.7 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.6 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.5 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.4 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.3 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.2 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.1 app/assets/stylesheets/hamburgers/types/_3dx.scss
timequake-2.0.0 app/assets/stylesheets/hamburgers/types/_3dx.scss
hamburgers-1.1.3 _sass/hamburgers/types/_3dx.scss