| 1 |
// rotating + flipping icons |
| 2 |
// ------------------------- |
| 3 |
@use 'variables' as v; |
| 4 |
|
| 5 |
.#{v.$css-prefix}-rotate-90 { |
| 6 |
transform: rotate(90deg); |
| 7 |
} |
| 8 |
|
| 9 |
.#{v.$css-prefix}-rotate-180 { |
| 10 |
transform: rotate(180deg); |
| 11 |
} |
| 12 |
|
| 13 |
.#{v.$css-prefix}-rotate-270 { |
| 14 |
transform: rotate(270deg); |
| 15 |
} |
| 16 |
|
| 17 |
.#{v.$css-prefix}-flip-horizontal { |
| 18 |
transform: scale(-1, 1); |
| 19 |
} |
| 20 |
|
| 21 |
.#{v.$css-prefix}-flip-vertical { |
| 22 |
transform: scale(1, -1); |
| 23 |
} |
| 24 |
|
| 25 |
.#{v.$css-prefix}-flip-both, |
| 26 |
.#{v.$css-prefix}-flip-horizontal.#{v.$css-prefix}-flip-vertical { |
| 27 |
transform: scale(-1, -1); |
| 28 |
} |
| 29 |
|
| 30 |
.#{v.$css-prefix}-rotate-by { |
| 31 |
transform: rotate(var(--#{v.$css-prefix}-rotate-angle, 0)); |
| 32 |
} |