Sha256: 8409c4c7f9bc0ef1ec44f10696ce673a35a7456dea1b47aaa95bf3e65b7ef0a6

Contents?: true

Size: 1.33 KB

Versions: 8

Compression:

Stored size: 1.33 KB

Contents

.table-minimal {
  $table-border-color: $base-border-color;
  $table-border: 1px solid $table-border-color;
  $table-background: $base-background-color;
  $table-header-color: lighten($table-background, 10);
  $table-hover-color: darken($table-background, 2);
  $table-stripe-color: darken($table-background, 4);
  $table-stripe-color-hover: darken($table-stripe-color, 5);
  $table-padding: .75em 1em;

  border-collapse: separate;
  border-spacing: 0;

  tbody {
    tr:hover > td, tr:hover > th {
      background-color: $table-hover-color;
    }
    tr:first-child td {
      border-top: 2px solid $table-border-color;
    }
  }

  thead {
    th {
      background-color: $table-header-color;
      padding: $table-padding;
      border-bottom: 0px;
    }
  }

  tbody {
    background-color: $table-background;

    td {
      padding: $table-padding;
      border-top: 1px solid $table-border-color;
      border-bottom: 0px;

      button {
        padding: .5em 1em .6em;
        font-size: .7em;
        margin-right: 0.5em;
        display: inline-block;
        width: 100%;
        margin-bottom: .3em;
        outline: none;

        @include media($medium-screen) {
          width: auto;
          font-size: .8em;
          margin-bottom: 0;
        }

        @include media($large-screen) {
          font-size: .8em;
        }
      }
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
staple-0.0.9 source/stylesheets/staple/_tables-minimal.scss
staple-0.0.8 source/stylesheets/staple/_tables-minimal.scss
staple-0.0.7 source/stylesheets/staple/_tables-minimal.scss
staple-0.0.6 source/stylesheets/staple/_tables-minimal.scss
staple-0.0.5 source/stylesheets/staple/_tables-minimal.scss
staple-0.0.4 source/stylesheets/staple/_tables-minimal.scss
staple-0.0.3 source/stylesheets/staple/_tables-minimal.scss
staple-0.0.2 source/stylesheets/staple/_tables-minimal.scss