Sha256: 86f44d9e999ef62457fe2c3938b339b0650405bd561ac308401220621e53d82e

Contents?: true

Size: 1.57 KB

Versions: 9

Compression:

Stored size: 1.57 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: $color-pf-black-100, $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;
    }
  }
}

.table-treegrid {
  span.indent {
    margin-left: 10px;
    margin-right: 10px;
  }
  span.icon {
    display: inline-block;
    font-size: 13px;
    margin-right: 5px;
    min-width: 10px;
    text-align: center;
  }
  span.expand-icon, span.collapse-icon {
    cursor: pointer;
  }
  > tbody > tr.odd {
    background-color: $table-bg-accent;
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
patternfly-sass-3.3.6 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.3.6.pre.alpha assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.3.5 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.3.4 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.3.3 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.3.2 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.3.1 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.3.0 assets/stylesheets/patternfly/_tables.scss
patternfly-sass-3.2.0 assets/stylesheets/patternfly/_tables.scss