Font-Awesome/scss/_rotated-flipped.scss

21 lines
692 B
SCSS

// Rotated & Flipped Icons
// -------------------------
%fa-rotate-90 { @include fa-icon-rotate(90deg, 1); }
%fa-rotate-180 { @include fa-icon-rotate(180deg, 2); }
%fa-rotate-270 { @include fa-icon-rotate(270deg, 3); }
%fa-flip-horizontal { @include fa-icon-flip(-1, 1, 0); }
%fa-flip-vertical { @include fa-icon-flip(1, -1, 2); }
@if $fa-show-classes == true {
.#{$fa-css-prefix}-rotate-90 { @extend %fa-rotate-90; }
.#{$fa-css-prefix}-rotate-180 { @extend %fa-rotate-180; }
.#{$fa-css-prefix}-rotate-270 { @extend %fa-rotate-270; }
.#{$fa-css-prefix}-flip-horizontal { @extend %fa-flip-horizontal; }
.#{$fa-css-prefix}-flip-vertical { @extend %fa-flip-vertical; }
}