Sha256: c867536dfbe1f74c486a9c5a9656d8a798d13eb9c83392de7681cdef81cb3b4e

Contents?: true

Size: 1.22 KB

Versions: 17

Compression:

Stored size: 1.22 KB

Contents

//
// Tables
// --------------------------------------------------

.table {
  > thead,
  > tbody,
  > tfoot {
    > tr {
      > th,
      > td {
        padding: $table-cell-padding-top $table-cell-padding $table-cell-padding-bottom;
        > a:hover {
          text-decoration: none;
        }
      }
      > th {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 600;
      }
    }
  }
  > thead {
    background-clip: padding-box;
    background-color: #f9f9f9;
    @include gradient-vertical($start-color: #fafafa, $end-color: #ededed, $start-percent: 0%, $end-percent: 100%);
  }
}

.table-bordered {
  border: 1px solid $table-border-color;
  > thead,
  > tbody,
  > tfoot {
    > tr {
      > th,
      > td {
        border: 1px solid $table-border-color;
      }
    }
  }
  > thead > tr {
    > th,
    > td {
      border-bottom-width: 1px;
    }
  }
}

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

.table-hover {
  > tbody > tr:hover {
    > td,
    > th {
      background-color: $table-bg-hover;
      border-bottom-color: $table-border-hover;
    }
  }
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
patternfly-sass-2.10.1 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.0.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.10.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.9.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.8.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.7.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.6.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.5.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.4.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.3.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.2.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.1.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-2.0.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-1.3.1 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-1.3.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-1.2.1 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-1.2.0 assets/stylesheets/patternfly/_tables.scss