From 6a3cb2f4049270e8c886a38596cb5be7bfc8b1f2 Mon Sep 17 00:00:00 2001 From: Michael Duff Date: Sat, 2 Nov 2013 14:26:36 -0400 Subject: [PATCH] removed before from placeholder for more versatility --- scss/_icons.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scss/_icons.scss b/scss/_icons.scss index a8ad2d744..55068ea3f 100644 --- a/scss/_icons.scss +++ b/scss/_icons.scss @@ -6,15 +6,15 @@ @each $var in $fa-vars { //create icon placeholders %fa-#{nth($var, 1)} { - &:before { - content: nth($var, 2); - } + content: nth($var, 2); } //create icon classes if enabled @if $fa-show-classes == true { .#{$fa-css-prefix}-#{nth($var, 1)} { - @extend %fa-#{nth($var, 1)}; + &:before { + @extend %fa-#{nth($var, 1)}; + } } } @@ -31,7 +31,9 @@ //create icon classes if enabled @if $fa-show-classes == true { .#{$fa-css-prefix}-#{nth($alias, 1)} { - @extend %fa-#{nth($alias, 2)}; + &:before { + @extend %fa-#{nth($alias, 2)}; + } } }