rotated-flipped.less 631 B

123456789101112131415161718192021222324252627282930313233
  1. // Rotated & Flipped Icons
  2. // -------------------------
  3. .@{fa-css-prefix}-rotate-90 {
  4. .fa-icon-rotate(90deg, 1);
  5. }
  6. .@{fa-css-prefix}-rotate-180 {
  7. .fa-icon-rotate(180deg, 2);
  8. }
  9. .@{fa-css-prefix}-rotate-270 {
  10. .fa-icon-rotate(270deg, 3);
  11. }
  12. .@{fa-css-prefix}-flip-horizontal {
  13. .fa-icon-flip(-1, 1, 0);
  14. }
  15. .@{fa-css-prefix}-flip-vertical {
  16. .fa-icon-flip(1, -1, 2);
  17. }
  18. // Hook for IE8-9
  19. // -------------------------
  20. :root .@{fa-css-prefix}-rotate-90,
  21. :root .@{fa-css-prefix}-rotate-180,
  22. :root .@{fa-css-prefix}-rotate-270,
  23. :root .@{fa-css-prefix}-flip-horizontal,
  24. :root .@{fa-css-prefix}-flip-vertical {
  25. filter: none;
  26. }