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,21 +190,21 @@ ul {
}
}
}
}
$selector: li;
$font-awesome-list-selector: li;
// Reset the Bootstrap .nav element as well.
@if $font-awesome-using-bootstrap {
$selector: append($selector, unquote('.nav li'), comma);
}
/* 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);
}
#{$selector} {
[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
width: 1.25em;
text-align: center;
}
#{$font-awesome-list-selector} {
[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
width: 1.25em;
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 {
vertical-align: -10%;
font-size: 1.3333333333333333em;
}
.icon-muted {
color: $font-awesome-icon-muted;
}
/** ----------------------------------