From 85c70169957a5ff983f565c1edb036422f678c35 Mon Sep 17 00:00:00 2001 From: Duke Date: Sun, 11 Nov 2012 04:14:34 -0200 Subject: [PATCH] nth-omega using omega to backward compatibility --- app/assets/stylesheets/grid/_grid.scss | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/grid/_grid.scss b/app/assets/stylesheets/grid/_grid.scss index 059b5a27..f64f3043 100644 --- a/app/assets/stylesheets/grid/_grid.scss +++ b/app/assets/stylesheets/grid/_grid.scss @@ -106,17 +106,8 @@ $fg-max-width: $max-width; } @mixin nth-omega($nth, $display: block, $direction: right) { - @if $display == table { - &:nth-child(#{$nth}) { - padding-#{$direction}: 0; - } - } - - @else { - &:nth-child(#{$nth}) { - margin-#{$direction}: 0; - } - } + @warn "The nth-omega() mixin was deplecated. Please use omega()"; + @include omega($nth, $display, $direction); } // Fill 100% of parent