Sha256: 0678ddb354e31c8c2060348dff7839b06b22a6c415552c47869a341a55c54226

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

.table
  background: white
  color: $text-strong
  margin-bottom: 20px
  width: 100%
  td,
  th
    border: 1px solid $border
    border-width: 0 0 1px
    padding: 8px 10px
    vertical-align: top
    // Modifiers
    &.is-icon
      padding: 5px
      text-align: center
      white-space: nowrap
      width: 1%
      .fa
        +fa(21px, 24px)
      &.is-link
        padding: 0
        & > a
          padding: 5px
    &.is-link
      padding: 0
      & > a
        display: block
        padding: 8px 10px
        &:hover
          background: $link
          color: $link-invert
    &.is-narrow
      white-space: nowrap
      width: 1%
  th
    color: $text-strong
    text-align: left
  tr
    &:hover
      background: $background
      color: $text-strong
  thead
    td,
    th
      border-width: 0 0 2px
      color: $text-light
  tbody
    tr
      &:last-child
        td,
        th
          border-bottom-width: 0
  tfoot
    td,
    th
      border-width: 2px 0 0
      color: $text-light
  // Modifiers
  &.is-bordered
    td,
    th
      border-width: 1px
    tr
      &:last-child
        td,
        th
          border-bottom-width: 1px
  &.is-narrow
    td,
    th
      padding: 5px 10px
      // Modifiers
      &.is-icon
        padding: 2px
        &.is-link
          padding: 0
          & > a
            padding: 2px
      &.is-link
        padding: 0
        & > a
          padding: 5px 10px
  &.is-striped
    tbody
      tr
        &:nth-child(2n)
          background: $background
          &:hover
            background: $border

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bulma-rails-0.0.24 app/assets/stylesheets/sass/elements/table.sass
bulma-rails-0.0.23 app/assets/stylesheets/sass/elements/table.sass