c7bc4983 |
1 | // stacking icons |
2 | // ------------------------- |
3 | |
4 | .#{$fa-css-prefix}-stack { |
5 | display: inline-block; |
6 | height: 2em; |
7 | line-height: 2em; |
8 | position: relative; |
9 | vertical-align: $fa-stack-vertical-align; |
10 | width: $fa-stack-width; |
11 | } |
12 | |
13 | .#{$fa-css-prefix}-stack-1x, |
14 | .#{$fa-css-prefix}-stack-2x { |
15 | left: 0; |
16 | position: absolute; |
17 | text-align: center; |
18 | width: 100%; |
19 | z-index: var(--#{$fa-css-prefix}-stack-z-index, #{$fa-stack-z-index}); |
20 | } |
21 | |
22 | .#{$fa-css-prefix}-stack-1x { |
23 | line-height: inherit; |
24 | } |
25 | |
26 | .#{$fa-css-prefix}-stack-2x { |
27 | font-size: 2em; |
28 | } |
29 | |
30 | .#{$fa-css-prefix}-inverse { |
31 | color: var(--#{$fa-css-prefix}-inverse, #{$fa-inverse}); |
32 | } |