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,15 +190,16 @@ ul {
} }
} }
} }
$selector: li;
// Reset the Bootstrap .nav element as well.
@if $font-awesome-using-bootstrap {
$selector: append($selector, unquote('.nav li'), comma);
} }
#{$selector} { $font-awesome-list-selector: li;
/* Build a selector to reset Bootstrap's .nav element. */
@if $font-awesome-using-bootstrap {
$font-awesome-list-selector: append($font-awesome-list-selector, unquote('.nav li'), comma);
}
#{$font-awesome-list-selector} {
[class^="icon-"], [class^="icon-"],
[class*=" icon-"] { [class*=" icon-"] {
display: inline-block; display: inline-block;
@ -206,7 +207,6 @@ ul {
text-align: center; text-align: center;
} }
} }
}
/* /*
Other Bootstrap sprites.less reset styles. Other Bootstrap sprites.less reset styles.
@ -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;
}
/** ---------------------------------- /** ----------------------------------