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