Sha256: a3d0b16b408abb48345481ad56e9ae1bb0d5e404f21873f107fe76582ad6d9dd

Contents?: true

Size: 835 Bytes

Versions: 5

Compression:

Stored size: 835 Bytes

Contents

// Tables
.table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  @if $rtl == true {
    text-align: right;
  } @else {
    text-align: left;
  }

  &.table-striped {
    tbody {
      tr:nth-of-type(odd) {
        background: $bg-color;
      }
    }
  }

  &,
  &.table-striped {
    tbody {
      tr {
        &.active {
          background: $bg-color-dark;
        }
      }
    }
  }

  &.table-hover {
    tbody {
      tr {
        &:hover {
          background: $bg-color-dark;
        }
      }
    }
  }

  // Scollable tables
  &.table-scroll {
    display: block;
    overflow-x: auto;
    padding-bottom: .75rem;
    white-space: nowrap;
  }

  td,
  th {
    border-bottom: $border-width solid $border-color;
    padding: $unit-3 $unit-2;
  }
  th {
    border-bottom-width: $border-width-lg;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spectre_scss-0.5.9.1 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.5.9.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.5.8.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.5.7.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.5.6.0 vendor/assets/stylesheets/spectre/_tables.scss