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.50 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.49 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.48 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.47 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.46 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.45 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.44 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.43 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.42 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.41 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.40 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.39 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.38 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.37 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.35 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.32 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.31 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.30 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.29 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass
wrgem-0.0.28 lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass