Sha256: 202002a7e672da2f355ef8e67da2783ca8d1ca02ccded43a95a64b1db6e54486

Contents?: true

Size: 746 Bytes

Versions: 2

Compression:

Stored size: 746 Bytes

Contents

$tab-space: rem(12)
.tab__nav
  +clearfix
  display: block
  list-style: none
  padding: 0 $tab-space $tab-space $tab-space
  margin: $tab-space 0 $tab-space*2
  background-color: $secondary-color

.tab__nav-item
  display: block
  float: left
  margin: $tab-space $tab-space 0 0

  &:last-child
    margin-right: 0

  a
    display: block
    background-color: $grey-light
    color: $grey-dark
    padding: $tab-space

    &:hover
      color: $tertiary-color

.tab__panel
  display: none

// ----------------------------------------------------------
// STATES
// ----------------------------------------------------------
.tab__nav-item--active
  a
    background-color: $white
    color: $primary-color

.tab__panel--active
  display: block

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
partystreusel-2.0.0 styleguide/source/stylesheets/partystreusel/small/modules/_tab.sass
partystreusel-1.2.0 styleguide/source/stylesheets/partystreusel/small/modules/_tab.sass