Sha256: 0d5b11a4cce2551bfa77ef64cc01ea24624e239117b5004cfd8f85ee9c64c6e8

Contents?: true

Size: 1.24 KB

Versions: 45

Compression:

Stored size: 1.24 KB

Contents

// *************************************
//
//   Tab
//   -> Note;
//      * Replace the '.tabs:after' with
//        your preferred clearfix
//
// *************************************

// -------------------------------------
//   Variables
// -------------------------------------

$tab-border: 1px solid #ccc !default
$tab-borderRadius: 2px !default
$tab-color: #444 !default
$tab-fontSize: 16px !default
$tab-whitespace: 20px !default

// -------------------------------------
//   Base
// -------------------------------------

.tab
  list-style-type: none
  float: left
  font-size: $tab-fontSize
  a
    background: lighten($tab-color, 65%)
    border: $tab-border
    border-radius: $tab-borderRadius $tab-borderRadius 0 0
    color: $tab-color
    display: block
    margin-bottom: -1px
    margin-right: ($tab-whitespace / 2)
    padding: 8px $tab-whitespace
    text-decoration: none
    &:hover,
    &:focus,
    &.is-active
      background: #fff

    // States

    &.is-active
      border-bottom-color: transparent

// -------------------------------------
//   Tabs
// -------------------------------------

.tabs
  border-bottom: $tab-border
  margin: 0 0 $tab-whitespace
  padding: 0
  &:after
    clear: both
    content: ''
    display: table

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
wrgem-0.0.6 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.4 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.3 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.2 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.1 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass