Sha256: 9b85a7c9d14996bd57f0fb7f9c4435fd9375cb8ff6581a10cbe84427b88a5c5e

Contents?: true

Size: 866 Bytes

Versions: 1

Compression:

Stored size: 866 Bytes

Contents

/**
 * @copyright   2010-2014, The Titon Project
 * @license     http://opensource.org/licenses/BSD-3-Clause
 * @link        http://titon.io
 */

@import "../common";

// Need a property for @extend to work
.#{$vendor-prefix}tabs {
    text-align: left;
}

.#{$vendor-prefix}tabs-nav {
    display: block;
    margin-bottom: $margin;

    ul, ol, li {
        @include reset-list;
        display: inline-block;
    }

    @include clear-fix;
}

// Display none on sections since visibility takes up DOM space
.#{$vendor-prefix}tabs-section.hide {
    display: none;
}

//-------------------- Modifiers --------------------//

.#{$vendor-prefix}tabs--horizontal {
    @extend .#{$vendor-prefix}tabs;

    .#{$vendor-prefix}tabs-nav {
        ul, ol, li, a, button {
            display: block;
            float: none;
            text-align: left;
        }
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
titon-toolkit-1.4.0 scss/toolkit/components/tabs.scss