Sha256: 9c720d02aa026972f1add49c994cee22b0908491789b89e8c6b62f4d6769cfbd

Contents?: true

Size: 1.45 KB

Versions: 14

Compression:

Stored size: 1.45 KB

Contents

@if index($hamburger-types, spring) {
  /*
   * Spring
   */
  .hamburger--spring {
    .hamburger-inner {
      top: $hamburger-layer-height / 2;
      transition: background-color 0s 0.13s linear;

      &::before {
        top: $hamburger-layer-height + $hamburger-layer-spacing;
        transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
                    transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
      }

      &::after {
        top: ($hamburger-layer-height * 2) + ($hamburger-layer-spacing * 2);
        transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
                    transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
      }
    }

    &.is-active {
      .hamburger-inner {
        transition-delay: 0.22s;
        background-color: transparent !important;

        &::before {
          top: 0;
          transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
                      transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
          transform: translate3d(0, $hamburger-layer-spacing + $hamburger-layer-height, 0) rotate(45deg);
        }

        &::after {
          top: 0;
          transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
                      transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
          transform: translate3d(0, $hamburger-layer-spacing + $hamburger-layer-height, 0) rotate(-45deg);
        }
      }
    }
  }
}

Version data entries

14 entries across 14 versions & 2 rubygems

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