_rotated-flipped.scss 771 B

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