Font-Awesome/js-packages/@fortawesome/fontawesome-free/scss/_rotated-flipped.scss

25 lines
833 B
SCSS
Raw Normal View History

2018-06-21 04:12:02 +08:00
// Rotated & Flipped Icons
// -------------------------
.#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); }
.#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); }
.#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); }
.#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); }
.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); }
2019-01-29 04:03:10 +08:00
.#{$fa-css-prefix}-flip-both, .#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(-1, -1, 2); }
2018-06-21 04:12:02 +08:00
// Hook for IE8-9
// -------------------------
:root {
.#{$fa-css-prefix}-rotate-90,
.#{$fa-css-prefix}-rotate-180,
.#{$fa-css-prefix}-rotate-270,
.#{$fa-css-prefix}-flip-horizontal,
2019-01-29 04:03:10 +08:00
.#{$fa-css-prefix}-flip-vertical,
.#{$fa-css-prefix}-flip-both {
2018-06-21 04:12:02 +08:00
filter: none;
}
}