|
@@ -1,6 +1,15 @@
|
|
|
// Mixins
|
|
|
// --------------------------
|
|
|
|
|
|
+@mixin fa-icon() {
|
|
|
+ display: inline-block;
|
|
|
+ font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
|
|
|
+ font-size: inherit; // can't have font-size inherit on line above, so need to override
|
|
|
+ text-rendering: auto; // optimizelegibility throws things off #1094
|
|
|
+ -webkit-font-smoothing: antialiased;
|
|
|
+ -moz-osx-font-smoothing: grayscale;
|
|
|
+}
|
|
|
+
|
|
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
|
|
-webkit-transform: rotate($degrees);
|