Sha256: fd6ff1b9dbd505bf07aaff10fd2a553030650f9ce6f7bffb198cce0191cffbfe
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
/** * @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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
titon-toolkit-0.11.1 | scss/toolkit/modules/tabs.scss |
titon-toolkit-0.11.0 | scss/toolkit/modules/tabs.scss |