Sha256: ec70d990444b718869b5fb559901afbd01f54d0f0f748b1bc0d66d5bedc3dac3
Contents?: true
Size: 1.34 KB
Versions: 6
Compression:
Stored size: 1.34 KB
Contents
// /** // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved. // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt // */ .tabs { position: relative; } .tab { @include column-behavior; } .tab-tab { float: left; } .tab-content { float: left; position: relative; // This is necessary for the accompanying script to work correctly display: none; } .tabs-horizontal { @for $i from $min-tabs through $max-tabs { &.tabs-#{$i} { .tab { @include column-width(1/$i); } } } // Reset tabs to full width on smaller screens @include breakpoint($small_handheld_wide) { .tab { width: 100% !important; } } } .tab { &:target, &.is-active { .tab-content { display: inline-block; } } } .tab-tab { text-align: center; border: 1px solid $color-primary; } .is-active { .tab-tab { border-bottom: rhythm(1) solid $color-primary; } } // .tab-tab { // padding-right: 10px; // display: block; // @include column-spacing; // padding-left: 0 !important; // span { // display: block; // border: 1px solid $color-theme; // border-width: 1px 1px 0; // @include border-top-radius($corner-radius); // @include column-spacing; // background: $color-theme; // } // } // .is-active { // .tab-tab { // background: $white; // span { // background: $white; // } // } // }
Version data entries
6 entries across 6 versions & 1 rubygems