Sha256: 283adfc451a89e33f917b0ae9d178f6068c20c8bffe58936089fbbda6828ae3f

Contents?: true

Size: 789 Bytes

Versions: 3

Compression:

Stored size: 789 Bytes

Contents

// Tables
.table {
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
  width: 100%;

  &.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

3 entries across 3 versions & 1 rubygems

Version Path
spectre_scss-0.5.0.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.4.7.0 vendor/assets/stylesheets/spectre/_tables.scss
spectre_scss-0.4.6.0 vendor/assets/stylesheets/spectre/_tables.scss