2013-06-12 14:47:27 +00:00
|
|
|
/* FONT AWESOME CORE
|
2013-06-12 14:15:46 +00:00
|
|
|
* -------------------------- */
|
|
|
|
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
2013-06-12 14:47:27 +00:00
|
|
|
@include icon-FontAwesome();
|
2013-06-12 14:15:46 +00:00
|
|
|
}
|
|
|
|
|
2013-06-12 14:47:27 +00:00
|
|
|
[class^="icon-"]:before,
|
|
|
|
[class*=" icon-"]:before {
|
|
|
|
text-decoration: inherit;
|
|
|
|
display: inline-block;
|
|
|
|
speak: none;
|
2013-06-12 14:15:46 +00:00
|
|
|
}
|
|
|
|
|
2013-06-12 14:47:27 +00:00
|
|
|
/* makes the font 33% larger relative to the icon container */
|
|
|
|
.icon-large:before {
|
|
|
|
vertical-align: -10%;
|
2013-06-12 16:42:37 +00:00
|
|
|
font-size: (4em/3);
|
2013-06-12 14:47:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* makes sure icons active on rollover in links */
|
|
|
|
a {
|
2013-06-12 14:15:46 +00:00
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
2013-06-12 14:47:27 +00:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* increased font size for icon-large */
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
&.icon-fixed-width {
|
|
|
|
display: inline-block;
|
2013-06-12 16:42:37 +00:00
|
|
|
width: (16em/14);
|
2013-06-12 14:47:27 +00:00
|
|
|
text-align: right;
|
2013-06-12 16:42:37 +00:00
|
|
|
padding-right: (4em/14);
|
2013-06-12 14:15:46 +00:00
|
|
|
&.icon-large {
|
2013-06-12 16:42:37 +00:00
|
|
|
width: (20em/14);
|
2013-06-12 14:15:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-12 14:47:27 +00:00
|
|
|
.icons-ul {
|
|
|
|
margin-left: $icons-li-width;
|
|
|
|
list-style-type: none;
|
|
|
|
|
|
|
|
> li { position: relative; }
|
|
|
|
|
|
|
|
.icon-li {
|
|
|
|
position: absolute;
|
|
|
|
left: -$icons-li-width;
|
|
|
|
width: $icons-li-width;
|
|
|
|
text-align: center;
|
|
|
|
line-height: inherit;
|
2013-06-12 14:15:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-12 14:47:27 +00:00
|
|
|
// allows usage of the hide class directly on font awesome icons
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
&.hide {
|
|
|
|
display: none;
|
2013-06-12 14:15:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-12 14:47:27 +00:00
|
|
|
.icon-muted { color: $iconMuted; }
|
|
|
|
.icon-light { color: $iconLight; }
|
|
|
|
.icon-dark { color: $iconDark; }
|
|
|
|
|
|
|
|
// Icon Borders
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
.icon-border {
|
|
|
|
border: solid 1px $borderColor;
|
|
|
|
padding: .2em .25em .15em;
|
|
|
|
@include border-radius(3px);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Icon Sizes
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
.icon-2x {
|
|
|
|
font-size: 2em;
|
|
|
|
&.icon-border {
|
|
|
|
border-width: 2px;
|
|
|
|
@include border-radius(4px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.icon-3x {
|
|
|
|
font-size: 3em;
|
|
|
|
&.icon-border {
|
|
|
|
border-width: 3px;
|
|
|
|
@include border-radius(5px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.icon-4x {
|
|
|
|
font-size: 4em;
|
|
|
|
&.icon-border {
|
|
|
|
border-width: 4px;
|
|
|
|
@include border-radius(6px);
|
2013-06-12 14:15:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-12 14:47:27 +00:00
|
|
|
.icon-5x {
|
|
|
|
font-size: 5em;
|
|
|
|
&.icon-border {
|
|
|
|
border-width: 5px;
|
|
|
|
@include border-radius(7px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Floats & Margins
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
// Quick floats
|
|
|
|
.pull-right { float: right; }
|
|
|
|
.pull-left { float: left; }
|
|
|
|
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
&.pull-left {
|
|
|
|
margin-right: .3em;
|
|
|
|
}
|
|
|
|
&.pull-right {
|
|
|
|
margin-left: .3em;
|
2013-06-12 14:15:46 +00:00
|
|
|
}
|
|
|
|
}
|