From 8e2a57d5b018b554e9b068dcfa0f5b53035b8c00 Mon Sep 17 00:00:00 2001 From: Abdullah Salem Date: Mon, 5 Dec 2016 19:04:25 +0300 Subject: [PATCH] Reposition some code lines --- scss/util/_mixins.scss | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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 -- 2.47.2