Change font-awesome to be compilable by lesscpy

https://fedorahosted.org/freeipa/ticket/3904
This commit is contained in:
Petr Vobornik 2013-11-05 18:28:30 +01:00 committed by Martin Kosek
parent aaf7139cee
commit 40ad71726e
2 changed files with 6 additions and 2 deletions

View File

@ -11,7 +11,7 @@
@import "fixed-width";
@import "list";
@import "bordered-pulled";
@import "spinning";
//@import "spinning";
@import "rotated-flipped";
@import "stacked";
@import "icons";

View File

@ -7,6 +7,10 @@
list-style-type: none;
> li { position: relative; }
}
@faLifaLg: (4em / 14);
@faLifaLgL: @faLifaLg - @fa-li-width;
.fa-li {
position: absolute;
left: -@fa-li-width;
@ -14,6 +18,6 @@
top: (2em / 14);
text-align: center;
&.fa-lg {
left: -@fa-li-width + (4em / 14);
left: @faLifaLgL
}
}