Sha256: d872f865f54bbc224718040e483e1ce0c60ba316f9a68e7ef43e35a458465689

Contents?: true

Size: 895 Bytes

Versions: 14

Compression:

Stored size: 895 Bytes

Contents

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