Sha256: 6062e436423efb57c4cc6a532219d43d9d8e847cfdbef325f715257ed6c45059
Contents?: true
Size: 1.16 KB
Versions: 40
Compression:
Stored size: 1.16 KB
Contents
=table-cell-assign($value) @if list($value) @if unit_number(nth($value, 1)) +rem('padding', $value) @if direction(nth($value, 1)) +padding(nth($value, 1), nth($value, 2)) white-space: if(white_space($value), $value, null) background-color: if(color($value), $value, null) vertical-align: if(vertical_align($value), $value, null) // +table-row($white #eeeeee, (bottom, solid 1px black)) =table-row($value1: nul, $value2: nul) @if $value1 @if list($value1) &:nth-child(odd) background-color: nth($value1, 1) &:nth-child(even) background-color: nth($value1, 2) @else if color($value1) background-color: nth($value1, 1) @if $value2 +border(nth($value2, 1), nth($value2, 2)) // +table-cell(middle (12px 16px) no_wrap $white, (14px 1.8 1.4em, black bold center), (bottom, solid 1px black)) =table-cell($value1: null, $value2: null, $value3: null) +box-sizing(border-box) @if $value1 @for $i from 1 through length($value1) +table-cell-assign(nth($value1, $i)) @if $value2 +text-block(nth($value2, 1), optional_nth($value2, 2, false)) @if $value3 +border(nth($value3, 1), nth($value3, 2))
Version data entries
40 entries across 40 versions & 2 rubygems