diff --git a/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss b/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss index e3f3a530..8dd3a714 100644 --- a/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss +++ b/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss @@ -1,20 +1,20 @@ @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 { + &.even, &:nth-child(2n) { background-color: $header-color - $dark-intersection; } } tr.odd { td { background-color: $odd-row-color; - &.even { + &.even, &:nth-child(2n) { background-color: $odd-row-color - $dark-intersection; } } } tr.even { td { background-color: $even-row-color; - &.even { + &.even, &:nth-child(2n) { background-color: $even-row-color - $dark-intersection; } } } tfoot { th, td { background-color: $footer-color; - &.even { + &.even, &:nth-child(2n) { background-color: $footer-color - $dark-intersection; } } } }