Sha256: 9173d8a9ec3248f32fc50f6f2cab21caf99197ff6419d9200a62ad496e88e250

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 KB

Contents

@if index($hamburger-types, stand-r) {
  /*
   * Stand Reverse
   */
  .hamburger--stand-r {
    .hamburger-inner {
      transition: transform 0.1s 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19),
                  background-color 0s 0.1s linear;

      &::before {
        transition: top 0.1s 0.1s ease-in,
                    transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19);
      }

      &::after {
        transition: bottom 0.1s 0.1s ease-in,
                    transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19);
      }
    }

    &.is-active {
      .hamburger-inner {
        transform: rotate(-90deg);
        background-color: transparent;

        transition: transform 0.1s 0s cubic-bezier(0.215, 0.61, 0.355, 1),
                    background-color 0s 0.22s linear;

        &::before {
          top: 0;
          transform: rotate(-45deg);
          transition: top 0.1s 0.12s ease-out,
                      transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
        }

        &::after {
          bottom: 0;
          transform: rotate(45deg);
          transition: bottom 0.1s 0.12s ease-out,
                      transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
        }
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hamburgers-0.7.0 _sass/hamburgers/types/_stand-r.scss
hamburgers-0.6.0 _sass/hamburgers/types/_stand-r.scss