Sha256: 5a23797f212b15ef431d909b03e08c6a075f699bf02969b93b71deee346a5922
Contents?: true
Size: 1015 Bytes
Versions: 3
Compression:
Stored size: 1015 Bytes
Contents
/** * @copyright Copyright 2010-2013, The Titon Project * @license http://opensource.org/licenses/bsd-license.php * @link http://titon.io */ @import "../common"; /** * Should be used in conjunction with the JavaScript Titon.Tabs module. * * <div id="tabs" class="tabs"> * <nav class="tabs-nav"> * <ul> * <li><a href="#tab-1">Tab 1</a></li> * <li><a href="#tab-2">Tab 2</a></li> * </ul> * </nav> * * <section id="tab-1" class="tabs-section"></section> * <section id="tab-2" class="tabs-section"></section> * </div> */ .tabs { text-align: left; } .tabs-nav { display: block; margin-bottom: $margin; ul, li { @include reset-inline-block; list-style: none; } @include clear-fix; } // Display none on sections since visibility takes up DOM space .tabs-section.hide { display: none; } //-------------------- Modifiers --------------------// .tabs.tabs--horizontal { .tabs-nav { ul, li, a, button { display: block; float: none; text-align: left; } } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
titon-toolkit-0.9.4 | src/scss/toolkit/modules/tabs.scss |
titon-toolkit-0.9.3 | src/scss/toolkit/modules/tabs.scss |
titon-toolkit-0.9.2 | src/scss/toolkit/modules/tabs.scss |