Sha256: 406f175ba3d202b43e20728f2661f56b5366bef1f606c4d64a762e59a00ec563

Contents?: true

Size: 1.99 KB

Versions: 4

Compression:

Stored size: 1.99 KB

Contents

.tabs
  @extend .block
  line-height: 24px
  overflow: hidden
  overflow-x: auto
  white-space: nowrap
  .fa
    font-size: 14px
    line-height: 20px
    margin: 2px -2px
    width: 20px
  a
    border-bottom: 1px solid $border
    color: $text
    display: block
    margin-bottom: -1px
    padding: 5px 0
    vertical-align: top
    &:hover
      border-bottom-color: $text-strong
      color: $text-strong
  li
    display: block
    vertical-align: top
    & + li
      margin-left: 20px
    &.is-active
      a
        border-bottom-color: $link
        color: $link
  ul
    border-bottom: 1px solid $border
    display: flex
  &.is-centered
    a
      padding: 5px 10px
    li
      & + li
        margin-left: 0
    ul
      justify-content: center
      text-align: center
  &.is-right
    ul
      justify-content: flex-end
  &.is-boxed
    a
      border: 1px solid transparent
      border-radius: $radius $radius 0 0
      padding: 5px 15px
      &:hover
        background: $background
        border-bottom-color: $border
    li
      & + li
        margin-left: 5px
      &.is-active
        a
          background: white
          border-color: $border
          border-bottom-color: transparent
    &.is-centered
      li
        &,
        & + li
          margin: 0 2px
  &.is-toggle
    a
      border: 1px solid $border
      margin-bottom: 0
      padding: 5px 10px
      position: relative
      &:hover
        background: $background
        border-color: $border-hover
        z-index: 2
    li
      & + li
        margin-left: -1px
      &:first-child a
        border-radius: $radius 0 0 $radius
      &:last-child a
        border-radius: 0 $radius $radius 0
      &.is-active
        a
          background: $primary
          border-color: $primary
          color: $primary-invert
          z-index: 1
    ul
      border-bottom: none
  &.is-fullwidth
    +tablet
      li
        flex: 1
        & + li
          margin-left: 0
      ul
        justify-content: center
        text-align: center

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bulma-rails-0.0.17.1 app/assets/stylesheets/bulma/components/tabs.sass
bulma-rails-0.0.16 app/assets/stylesheets/bulma/components/tabs.sass
bulma-rails-0.0.15 app/assets/stylesheets/bulma/components/tabs.sass
bulma-rails-0.0.14 app/assets/stylesheets/bulma/components/tabs.sass