2013-10-16 19:46:28 +02:00
|
|
|
---
|
|
|
|
---
|
2013-05-16 09:19:04 +02:00
|
|
|
// Mixins
|
2013-06-12 16:54:30 +02:00
|
|
|
// --------------------------
|
2013-05-16 09:19:04 +02:00
|
|
|
|
2014-08-24 18:42:24 +02:00
|
|
|
@mixin fa-icon() {
|
2014-12-28 15:27:45 +01:00
|
|
|
{% include code/core.scss %}
|
2014-08-24 18:42:24 +02:00
|
|
|
}
|
|
|
|
|
2013-10-20 19:43:24 +02:00
|
|
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
2016-04-05 18:37:39 +02:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})";
|
2013-10-16 19:46:28 +02:00
|
|
|
-webkit-transform: rotate($degrees);
|
|
|
|
-ms-transform: rotate($degrees);
|
|
|
|
transform: rotate($degrees);
|
2013-06-12 16:33:11 +02:00
|
|
|
}
|
|
|
|
|
2013-10-23 06:24:08 +02:00
|
|
|
@mixin fa-icon-flip($horiz, $vert, $rotation) {
|
2016-04-05 18:37:39 +02:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)";
|
2013-10-16 19:46:28 +02:00
|
|
|
-webkit-transform: scale($horiz, $vert);
|
|
|
|
-ms-transform: scale($horiz, $vert);
|
|
|
|
transform: scale($horiz, $vert);
|
2013-06-12 16:33:11 +02:00
|
|
|
}
|