Sha256: 2627eabf0da352e903b469cf187fb1a650561f8672522e3b357670af810aef2d

Contents?: true

Size: 870 Bytes

Versions: 5

Compression:

Stored size: 870 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;
}

// Add 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

5 entries across 5 versions & 1 rubygems

Version Path
titon-toolkit-1.5.3 scss/toolkit/components/tabs.scss
titon-toolkit-1.5.2 scss/toolkit/components/tabs.scss
titon-toolkit-1.5.1 scss/toolkit/components/tabs.scss
titon-toolkit-1.5.0 scss/toolkit/components/tabs.scss
titon-toolkit-1.4.1 scss/toolkit/components/tabs.scss