Sha256: 542f4f96c0ce518accf1156a16b51338d6f98c76623ddc751938a21a61e9d03c

Contents?: true

Size: 1.13 KB

Versions: 6

Compression:

Stored size: 1.13 KB

Contents

table {
  border: $base-border;
  border-collapse: separate;
  border-radius: $base-border-radius;
  margin: ($base-spacing / 2) 0;
  table-layout: fixed;
  width: 100%;
}

thead {
  background-color: $grey-0;
}

th {
  border-bottom: $dark-border;
  color: $grey-4;
  font-size: $small-font-size;
  font-weight: $normal-font-weight;
  letter-spacing: 0.0357em;
  padding: ($base-spacing / 2) 0;
  text-align: left;
  text-transform: uppercase;
}

td {
  border-bottom: $base-border;
  overflow: hidden;
  padding: ($base-spacing / 2) 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
}

tr {
  &:first-child {
    td {
      &:first-child {
        border-top-left-radius: $base-border-radius;
      }

      &:last-child {
        border-top-right-radius: $base-border-radius;
      }
    }
  }

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

      &:first-child {
        border-bottom-left-radius: $base-border-radius;
      }

      &:last-child {
        border-bottom-right-radius: $base-border-radius;
      }
    }
  }
}


td,
th {
  &:first-child {
    padding-left: 1em;
  }
}

tr,
td,
th {
  vertical-align: middle;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
administrate-0.0.8 app/assets/stylesheets/administrate/base/_tables.scss
administrate-0.0.7 app/assets/stylesheets/administrate/base/_tables.scss
administrate-0.0.6 app/assets/stylesheets/administrate/base/_tables.scss
administrate-0.0.4 app/assets/stylesheets/administrate/base/_tables.scss
administrate-0.0.3 app/assets/stylesheets/administrate/base/_tables.scss
administrate-0.0.2 app/assets/stylesheets/administrate/base/_tables.scss