aboutsummaryrefslogtreecommitdiffstats
path: root/library/font_awesome/less/rotated-flipped.less
diff options
context:
space:
mode:
Diffstat (limited to 'library/font_awesome/less/rotated-flipped.less')
-rw-r--r--library/font_awesome/less/rotated-flipped.less20
1 files changed, 20 insertions, 0 deletions
diff --git a/library/font_awesome/less/rotated-flipped.less b/library/font_awesome/less/rotated-flipped.less
new file mode 100644
index 000000000..f6ba81475
--- /dev/null
+++ b/library/font_awesome/less/rotated-flipped.less
@@ -0,0 +1,20 @@
+// Rotated & Flipped Icons
+// -------------------------
+
+.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
+.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
+.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
+
+.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
+.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
+
+// Hook for IE8-9
+// -------------------------
+
+:root .@{fa-css-prefix}-rotate-90,
+:root .@{fa-css-prefix}-rotate-180,
+:root .@{fa-css-prefix}-rotate-270,
+:root .@{fa-css-prefix}-flip-horizontal,
+:root .@{fa-css-prefix}-flip-vertical {
+ filter: none;
+}