removed before from placeholder for more versatility

This commit is contained in:
Michael Duff 2013-11-02 14:26:36 -04:00
parent 37196fc8c9
commit 6a3cb2f404

View File

@ -6,17 +6,17 @@
@each $var in $fa-vars {
//create icon placeholders
%fa-#{nth($var, 1)} {
&:before {
content: nth($var, 2);
}
}
//create icon classes if enabled
@if $fa-show-classes == true {
.#{$fa-css-prefix}-#{nth($var, 1)} {
&:before {
@extend %fa-#{nth($var, 1)};
}
}
}
}
@ -31,8 +31,10 @@
//create icon classes if enabled
@if $fa-show-classes == true {
.#{$fa-css-prefix}-#{nth($alias, 1)} {
&:before {
@extend %fa-#{nth($alias, 2)};
}
}
}
}