Sha256: e625a46bbbfc21e69349e0207a79e3f1d5bb80b7cc8de15e1e8c165bee9c07cf

Contents?: true

Size: 800 Bytes

Versions: 59

Compression:

Stored size: 800 Bytes

Contents

@mixin alternating-rows-and-columns($even-row-color, $odd-row-color, $dark-intersection, $header-color: white, $footer-color: white) {
  th {
    background-color: $header-color;
    &.even, &:nth-child(2n) {
      background-color: $header-color - $dark-intersection; } }
  tr {
    &.odd, &:nth-child(2n+1) {
      td {
       background-color: $odd-row-color;
       &.even, &:nth-child(2n) {
         background-color: $odd-row-color - $dark-intersection; } } }
    }
  tr.even {
    td {
      background-color: $even-row-color;
      &.even, &:nth-child(2n) {
        background-color: $even-row-color - $dark-intersection; } } }
  tfoot {
    th, td {
      background-color: $footer-color;
      &.even, &:nth-child(2n) {
        background-color: $footer-color - $dark-intersection; } } } }

Version data entries

59 entries across 58 versions & 10 rubygems

Version Path
comixins-0.1.2 vendor/assets/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
arcabouco-0.2.13 vendor/bundle/gems/compass-core-1.0.3/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.82 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.81 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.80 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.79 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.78 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.77 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.76 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.75 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.74 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
egghead-styles-1.0.73 app/assets/stylesheets/plugins/compass/compass/utilities/tables/_alternating-rows-and-columns.scss
gem_2345-0.1.2 stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
ghost-manager-1.0.0 magneto/source/assets/bower_components/compass-mixins/lib/compass/utilities/tables/_alternating-rows-and-columns.scss
compass-core-1.0.3 stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
compass-core-1.1.0.alpha.3 stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
compass-core-1.1.0.alpha.2 stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
compass-core-1.1.0.alpha.1 stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
compass-core-1.1.0.alpha.0 stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
compass-core-1.0.1 stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss