Sha256: 3aab570f1bc6eff0b139decf3c870ce101d97526cbffeb47f598b5d5458f2828

Contents?: true

Size: 1.1 KB

Versions: 53

Compression:

Stored size: 1.1 KB

Contents

/*------------------------------------*\
    #TABS
\*------------------------------------*/

/**
 * A simple abstraction for making equal-width navigation tabs.
 */

// Predefine the variables below in order to alter and enable specific features.
$inuit-tabs-namespace: $inuit-namespace !default;

/**
 * 1. Reset any residual styles (most likely from lists).
 * 2. Tables for layout!
 * 3. Force all `table-cell` children to have equal widths.
 * 4. Force the object to be the full width of its parent. Combined with [2],
 *    this makes the object behave in a quasi-`display: block;` manner.
 */
.#{$inuit-tabs-namespace}tabs,
%#{$inuit-tabs-namespace}tabs {
    margin:  0; /* [1] */
    padding: 0; /* [1] */
    list-style: none; /* [1] */
    display: table; /* [2] */
    table-layout: fixed; /* [3] */
    width: 100%; /* [4] */
    text-align: center;
}

    .#{$inuit-tabs-namespace}tabs__item,
    %#{$inuit-tabs-namespace}tabs__item {
        display: table-cell; /* [2] */
    }

        .#{$inuit-tabs-namespace}tabs__link,
        %#{$inuit-tabs-namespace}tabs__link {
            display: block;
        }

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
wrgem-0.0.55 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.54 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.53 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.52 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.51 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.50 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.49 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.48 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.47 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.46 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.45 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.44 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.43 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.42 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.41 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.40 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.39 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.38 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.37 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss
wrgem-0.0.35 lib/generators/wrstart/template/vendor/assets/components/inuit-tabs/_objects.tabs.scss