Sha256: 83ecdb92cc833d0ef6715b35a1633d189b4225a8331c7ee5e308f5700046793c

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

// ==========================================================================
// Tables
// ==========================================================================

table {
  display: table;
  color: $gray-darker;
  font-size: $font-sm;
  border-collapse: collapse;
  overflow: scroll;
  text-align: left;

  @media (max-width: $mobile) {
    font-size: $font-xs;
  }

  th {
    text-transform: uppercase;
    color: $gray-dark;
    font-size: $font-xs;
    display: table-header-group;
  }

  td, th {
    display: table-cell;
    min-width: auto;
    padding: 10px 0;

    &:not(:last-child) {
      padding-right: 15px;
    }

    a {
      overflow-wrap: break-word;
      word-wrap: break-word;
    }
  }

  tr {
    display: table-row;
    border-bottom: 1px solid $gray-lighter;
    padding: 8px 0;
  }

  &.zebra {
    tr {
      &:nth-child(2n) {
        background: rgba($gray-lighter, .2);
      }
    }
  }

  tfoot {
    display: table-footer-group;
  }

  .center {
    text-align: center;
  }

  &.full-width {
    width: 100%;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shibori-1.9.0 source/css/shibori/scss/components/_tables.scss
shibori-1.8.0 source/css/shibori/scss/components/_tables.scss
shibori-1.7.1 source/css/shibori/scss/components/_tables.scss
shibori-1.7.0 source/css/shibori/scss/components/_tables.scss
shibori-1.6.0 source/css/shibori/scss/components/_tables.scss