You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
364 B
20 lines
364 B
1 year ago
|
// sizing icons
|
||
|
// -------------------------
|
||
|
|
||
|
// literal magnification scale
|
||
|
.sizes-literal(@factor) when (@factor > 0) {
|
||
|
.sizes-literal((@factor - 1));
|
||
|
|
||
|
.@{fa-css-prefix}-@{factor}x {
|
||
|
font-size: (@factor * 1em);
|
||
|
}
|
||
|
}
|
||
|
.sizes-literal(10);
|
||
|
|
||
|
// step-based scale (with alignment)
|
||
|
each(.fa-sizes(), {
|
||
|
.@{fa-css-prefix}-@{key} {
|
||
|
.fa-size(@value);
|
||
|
}
|
||
|
});
|