Sha256: f4b9ae0bde7502becb6ec82fd5776eb2149a99209f6e0be267bfa9227db4af31

Contents?: true

Size: 901 Bytes

Versions: 10

Compression:

Stored size: 901 Bytes

Contents

table {
  width: 100%;
  border: 1px solid $c-grey;
  border-collapse: separate;
  table-layout: fixed;

  i {
    color: $c-darker-grey;
  }
}

tbody {
  td {
    border-bottom: 1px solid $c-grey;

    &:first-child {
      border-left: 3px solid transparent; // this blends it in to the background
    }
  }

  tr {
    &:hover {
      td {
        &:first-child {
          border-left-color: $c-custom-highlight;
        }
      }
    }

    &:nth-of-type(even) {
      td {
        background-color: $c-table-tr-even;
      }
    }

    &:last-child {
      td {
        border-bottom: 0;
      }
    }
  }
}

th,
td {
  vertical-align: middle;
  font-size: 13px;
  text-align: left;
  line-height: 1.2;
}

th {
  padding: 12px 10px;
  vertical-align: middle;
  font-weight: bold;
  color: $c-text-heavy;
  background: $c-table-th;
}

td {
  padding: 8px 10px;
  background-color: $c-table-td;
}

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
fae-rails-2.2.0 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-rails-2.1.0 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-railsz-2.1.0 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-rails-2.0.0 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-rails-1.7.1 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-rails-1.7.0 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-rails-1.6.0 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-rails-1.5.1 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-rails-1.5.0 app/assets/stylesheets/fae/modules/tables/_base.scss
fae-rails-1.4.1 app/assets/stylesheets/fae/modules/tables/_base.scss