From: Abdullah Salem Date: Mon, 5 Dec 2016 16:04:25 +0000 (+0300) Subject: Reposition some code lines X-Git-Tag: v6.3.0-rc2~3^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e2a57d5b018b554e9b068dcfa0f5b53035b8c00;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Reposition some code lines --- diff --git a/scss/util/_mixins.scss b/scss/util/_mixins.scss index 0278d52db..fa38c72df 100644 --- a/scss/util/_mixins.scss +++ b/scss/util/_mixins.scss @@ -73,6 +73,11 @@ $spacing: floor($spacing); } + @for $i from 2 through $bars { + $offset: ($weight + $spacing) * ($i - 1); + $shadow: append($shadow, 0 $offset 0 $color, comma); + } + // Icon container position: relative; display: inline-block; @@ -92,15 +97,9 @@ height: $weight; background: $color; - - content: ''; - - @for $i from 2 through $bars { - $offset: ($weight + $spacing) * ($i - 1); - $shadow: append($shadow, 0 $offset 0 $color, comma); - } - box-shadow: $shadow; + + content: ''; } // Hover state