Sha256: ae6f0c97d94a0eb06ba277cef28e929eaeeb3eb3cf37fb111efeda68d8bc331c

Contents?: true

Size: 801 Bytes

Versions: 15

Compression:

Stored size: 801 Bytes

Contents

//
// Replicate the styles for Shopify Admin tables.
// --------------------------------------------------

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;

  &.expanded td {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

th {
  font-weight: 400;
  text-align: left;
  color: #31373d;
  padding: 8px 10px;
  border-bottom: 1px solid #ebeef0;

  &.is-sortable {
    cursor: pointer;

    &:hover {
      background: #eff9fd;
      color: #479ccf;
    }
  }
}

td {
  border-bottom: 1px solid #ebeef0;
  padding: 6px 10px;
  background: transparent;
}

th, td {
  &.right-aligned {
    text-align: right;
  }

  &.center-aligned {
    text-align: center;
  }
}

tr:last-child > td {
  border-bottom: none;
}

.table-hover {
  tr:hover td {
    background: #eff9fd;
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
disco_app-0.6.8 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.6.9 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.7.0 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.7.1 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.7.2 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.0 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.1 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.2 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.3 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.4 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.5 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.6 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.7 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.8 app/assets/stylesheets/disco_app/disco/_tables.scss
disco_app-0.8.9 app/assets/stylesheets/disco_app/disco/_tables.scss