Sha256: 59e6f314a57f03dde1cc917b34fa351bbe8da65c1ce02ca1851eb6c733826453

Contents?: true

Size: 759 Bytes

Versions: 2

Compression:

Stored size: 759 Bytes

Contents

/**
 * @copyright   2010-2013, The Titon Project
 * @license     http://opensource.org/licenses/bsd-license.php
 * @link        http://titon.io
 */

@import "../common";

.#{$vendor-prefix}accordion {
    @include reset-list;
}

.#{$vendor-prefix}accordion-head {
    padding: $padding;
    background: $gray;
    cursor: pointer;

    @include is-active-parent {
        background: $gray-dark;
    }
}

.#{$vendor-prefix}accordion-body {
    padding: $padding;

    @include content-spacing;
}

// Handle is used for animations, do not style it!
.#{$vendor-prefix}accordion-handle {
    overflow: hidden;
    position: relative;
    @include transition(all $accordion-transition ease-in-out);

    &.hide { max-height: 0; } // don't include on base styles
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
titon-toolkit-1.1.0.rc.2 scss/toolkit/components/accordion.scss
titon-toolkit-1.1.0.rc.1 scss/toolkit/components/accordion.scss