Sha256: e1ba094addceca6c305f78a0a534e3bc9fc53d31f7dfc85e6337b53b40f045d7

Contents?: true

Size: 749 Bytes

Versions: 2

Compression:

Stored size: 749 Bytes

Contents

$table-space: rem(8)

.sc-table
  margin: rem(24) 0
  overflow-x: scroll
  -webkit-overflow-scrolling: touch

table
  width: 100%

thead
  color: $white
  text-align: left

  th
    background-color: $primary-color

    &:first-of-type
      border-radius: $table-space*2 0 0 0
    &:last-of-type
      border-radius: 0 $table-space*2 0 0

tbody
  tr
    background-color: $secondary-color
    +transition( all .1s linear )

    &:nth-child(odd)
      background-color: $grey-light
      color: $grey-dark

    &:hover
      background-color: $white
      color: $body-font-color

td,
th
  min-width: rem(100)
  padding: $table-space $table-space $table-space $table-space
  border-right: rem(2) solid $grey-dark

  &:last-child
    border-right: 0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
partystreusel-2.0.0 styleguide/source/stylesheets/partystreusel/small/modules/_table.sass
partystreusel-1.2.0 styleguide/source/stylesheets/partystreusel/small/modules/_table.sass