Group the misc. helper classes.

This commit is contained in:
Brian McAllister 2013-02-17 19:28:37 -05:00
parent 795e47a9d1
commit 91b463c58a

View File

@ -190,22 +190,22 @@ ul {
} }
} }
} }
}
$selector: li; $font-awesome-list-selector: li;
// Reset the Bootstrap .nav element as well. /* Build a selector to reset Bootstrap's .nav element. */
@if $font-awesome-using-bootstrap { @if $font-awesome-using-bootstrap {
$selector: append($selector, unquote('.nav li'), comma); $font-awesome-list-selector: append($font-awesome-list-selector, unquote('.nav li'), comma);
} }
#{$selector} { #{$font-awesome-list-selector} {
[class^="icon-"], [class^="icon-"],
[class*=" icon-"] { [class*=" icon-"] {
display: inline-block; display: inline-block;
width: 1.25em; width: 1.25em;
text-align: center; text-align: center;
} }
}
} }
/* /*
@ -217,16 +217,22 @@ ul {
} }
} }
/* makes the font 33% larger relative to the icon container */
/** ----------------------------------
Misc. helper classes.
---------------------------------- */
.icon-muted {
color: $font-awesome-icon-muted;
}
/* Makes the font 33% larger relative to the icon container. */
.icon-large:before { .icon-large:before {
vertical-align: -10%; vertical-align: -10%;
font-size: 1.3333333333333333em; font-size: 1.3333333333333333em;
} }
.icon-muted {
color: $font-awesome-icon-muted;
}
/** ---------------------------------- /** ----------------------------------