Sha256: a35ae56b297aaebe7bd5e3f38e07e8b571664c5a92c903a91f2b91b7b3fdf6dd

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

// Accordions
.accordion {
  .accordion-item {
    input {
      &:checked {
        & ~ .accordion-header {
          .icon {
            transform: rotate(90deg);
            
          }
        }
        & ~ .accordion-body {
          max-height: 50rem;
        }
      }
    }

    .accordion-header {
      display: block;
      padding: $unit-1 $unit-2;

      .icon {
        transition: all .2s ease;
      }
    }

    .accordion-body {
      margin-bottom: $layout-spacing;
      max-height: 0;
      overflow: hidden;
      transition: max-height .2s ease;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spectre_scss-0.4.0.0 vendor/assets/stylesheets/spectre/_accordions.scss