mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-13 00:30:29 +08:00
Added push margins to give icons a nice margin if required.
This commit is contained in:
parent
ee55c859d2
commit
134299e629
@ -204,3 +204,8 @@
|
||||
// -------------------------
|
||||
@fluidGridColumnWidth: 6.382978723%;
|
||||
@fluidGridGutterWidth: 2.127659574%;
|
||||
|
||||
// Pushes
|
||||
// -------------------------
|
||||
|
||||
@push-distance: @baseLineHeight/2;
|
||||
|
10
less/font-awesome.less
vendored
10
less/font-awesome.less
vendored
@ -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-"] {
|
||||
|
Loading…
Reference in New Issue
Block a user