Sha256: 3968551047c223edb49f2fd2a0923da9d1c5c327870af112e0faacd4687068dd

Contents?: true

Size: 809 Bytes

Versions: 4

Compression:

Stored size: 809 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 {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.#{$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

4 entries across 4 versions & 1 rubygems

Version Path
titon-toolkit-1.0.5 scss/toolkit/components/accordion.scss
titon-toolkit-1.0.4 scss/toolkit/components/accordion.scss
titon-toolkit-1.0.2 scss/toolkit/components/accordion.scss
titon-toolkit-1.0.1 scss/toolkit/components/accordion.scss