2013-06-12 04:32:47 +00:00
|
|
|
/* FONT AWESOME CORE
|
|
|
|
* -------------------------- */
|
|
|
|
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon {
|
2013-10-16 16:16:39 +00:00
|
|
|
display: inline-block;
|
|
|
|
font-family: FontAwesome;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* makes the font 33% larger relative to the icon container */
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-lg {
|
2013-08-21 11:18:37 +00:00
|
|
|
font-size: (4em / 3);
|
2013-10-02 00:58:36 +00:00
|
|
|
line-height: (3em / 4);
|
2013-10-06 14:09:43 +00:00
|
|
|
vertical-align: -15%;
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
2013-10-01 02:07:49 +00:00
|
|
|
/* increased font size for icon-lg */
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-fixed-width {
|
2013-10-06 00:02:46 +00:00
|
|
|
width: (16em / 14);
|
|
|
|
padding-right: (4em / 14);
|
|
|
|
text-align: right;
|
2013-10-07 20:58:29 +00:00
|
|
|
&.fa-icon-lg {
|
2013-10-06 00:02:46 +00:00
|
|
|
width: (20em / 14);
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:58:36 +00:00
|
|
|
|
|
|
|
// Icon UL & LI
|
|
|
|
// -------------------------
|
|
|
|
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-ul {
|
2013-08-21 11:18:37 +00:00
|
|
|
padding-left: 0;
|
2013-10-16 16:16:39 +00:00
|
|
|
margin-left: @fa-icon-li-width;
|
2013-06-12 04:32:47 +00:00
|
|
|
list-style-type: none;
|
|
|
|
|
|
|
|
> li { position: relative; }
|
2013-10-02 00:58:36 +00:00
|
|
|
}
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-li {
|
2013-10-02 00:58:36 +00:00
|
|
|
position: absolute;
|
2013-10-16 16:16:39 +00:00
|
|
|
left: -@fa-icon-li-width;
|
|
|
|
width: @fa-icon-li-width;
|
2013-10-05 21:16:44 +00:00
|
|
|
top: (2em / 14);
|
2013-10-02 00:58:36 +00:00
|
|
|
text-align: center;
|
2013-10-07 20:58:29 +00:00
|
|
|
&.fa-icon-lg {
|
2013-10-16 16:16:39 +00:00
|
|
|
left: -@fa-icon-li-width + (4em / 14);
|
2013-10-05 21:16:44 +00:00
|
|
|
}
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
|
|
|
|
2013-10-16 17:46:28 +00:00
|
|
|
|
2013-06-12 04:32:47 +00:00
|
|
|
// allows usage of the hide class directly on font awesome icons
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon.hide { display: none; }
|
2013-06-12 04:32:47 +00:00
|
|
|
|
2013-10-16 16:16:39 +00:00
|
|
|
.fa-icon-muted { color: @fa-icon-muted; }
|
|
|
|
.fa-icon-light { color: @fa-icon-light; }
|
|
|
|
.fa-icon-dark { color: @fa-icon-dark; }
|
2013-06-12 04:32:47 +00:00
|
|
|
|
2013-10-02 00:58:36 +00:00
|
|
|
|
2013-06-12 04:32:47 +00:00
|
|
|
// Icon Borders
|
|
|
|
// -------------------------
|
|
|
|
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-border {
|
2013-06-12 04:32:47 +00:00
|
|
|
padding: .2em .25em .15em;
|
2013-10-16 16:16:39 +00:00
|
|
|
border: solid 1px @fa-border-color;
|
|
|
|
border-radius: 3px;
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
|
|
|
|
2013-10-16 17:46:28 +00:00
|
|
|
|
2013-06-12 04:32:47 +00:00
|
|
|
// Icon Sizes
|
|
|
|
// -------------------------
|
|
|
|
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-2x {
|
2013-06-12 04:32:47 +00:00
|
|
|
font-size: 2em;
|
2013-10-07 20:58:29 +00:00
|
|
|
&.fa-icon-border {
|
2013-06-12 04:32:47 +00:00
|
|
|
border-width: 2px;
|
2013-10-16 16:16:39 +00:00
|
|
|
border-radius: 4px;
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
|
|
|
}
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-3x {
|
2013-06-12 04:32:47 +00:00
|
|
|
font-size: 3em;
|
2013-10-07 20:58:29 +00:00
|
|
|
&.fa-icon-border {
|
2013-06-12 04:32:47 +00:00
|
|
|
border-width: 3px;
|
2013-10-16 16:16:39 +00:00
|
|
|
border-radius: 5px;
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
|
|
|
}
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-4x {
|
2013-06-12 04:32:47 +00:00
|
|
|
font-size: 4em;
|
2013-10-07 20:58:29 +00:00
|
|
|
&.fa-icon-border {
|
2013-06-12 04:32:47 +00:00
|
|
|
border-width: 4px;
|
2013-10-16 16:16:39 +00:00
|
|
|
border-radius: 6px;
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
|
|
|
}
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon-5x {
|
2013-06-12 04:32:47 +00:00
|
|
|
font-size: 5em;
|
2013-10-07 20:58:29 +00:00
|
|
|
&.fa-icon-border {
|
2013-06-12 04:32:47 +00:00
|
|
|
border-width: 5px;
|
2013-10-16 16:16:39 +00:00
|
|
|
border-radius: 7px;
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Floats & Margins
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
// Quick floats
|
|
|
|
.pull-right { float: right; }
|
|
|
|
.pull-left { float: left; }
|
|
|
|
|
2013-10-07 20:58:29 +00:00
|
|
|
.fa-icon {
|
2013-10-02 00:58:36 +00:00
|
|
|
&.pull-left { margin-right: .3em; }
|
|
|
|
&.pull-right { margin-left: .3em; }
|
2013-06-12 04:32:47 +00:00
|
|
|
}
|