Sha256: 83b4b92ffebe0ce01327d67b8997635139819f648cc4839c41794fede21db48b

Contents?: true

Size: 851 Bytes

Versions: 5

Compression:

Stored size: 851 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;
        }
      }
    }
  }

  // Tables with horizontal scrollbar
  &.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.5.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.5.4.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.5.3.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.5.2.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.5.1.0 vendor/assets/stylesheets/spectre/_tables.scss