Added push margins to give icons a nice margin if required.

This commit is contained in:
Jason 2012-12-12 21:06:57 +10:00
parent ee55c859d2
commit 134299e629
2 changed files with 15 additions and 0 deletions

View File

@ -204,3 +204,8 @@
// -------------------------
@fluidGridColumnWidth: 6.382978723%;
@fluidGridGutterWidth: 2.127659574%;
// Pushes
// -------------------------
@push-distance: @baseLineHeight/2;

View File

@ -58,6 +58,16 @@ a [class*=" icon-"] {
font-size: 4/3em;
}
/* gives an icon a small push to the left or right */
.icon-push-right {
margin-right: @push-distance;
}
.icon-push-left {
margin-left: @push-distance;
}
.btn, .nav-tabs {
[class^="icon-"],
[class*=" icon-"] {