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