2013-01-19 14:11:29 +00:00
|
|
|
/*!
|
|
|
|
* Font Awesome 3.0.2
|
|
|
|
* the iconic font designed for use with Twitter Bootstrap
|
|
|
|
* -------------------------------------------------------
|
|
|
|
* The full suite of pictographic icons, examples, and documentation
|
|
|
|
* can be found at: http://fortawesome.github.com/Font-Awesome/
|
|
|
|
*
|
|
|
|
* License
|
|
|
|
* -------------------------------------------------------
|
|
|
|
* - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL
|
|
|
|
* - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
|
|
|
|
* http://opensource.org/licenses/mit-license.html
|
|
|
|
* - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/
|
|
|
|
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
|
|
|
|
* "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome"
|
|
|
|
*
|
|
|
|
* Contact
|
|
|
|
* -------------------------------------------------------
|
|
|
|
* Email: dave@davegandy.com
|
|
|
|
* Twitter: http://twitter.com/fortaweso_me
|
|
|
|
* Work: Lead Product Designer @ http://kyruus.com
|
|
|
|
*/
|
|
|
|
|
|
|
|
$fontAwesomePath: "" !default;
|
2013-01-06 21:39:15 +00:00
|
|
|
$borderColor: #eee;
|
|
|
|
$iconMuted: #eee;
|
|
|
|
@mixin border-radius($radius) { -webkit-border-radius: $radius; -moz-border-radius: $radius; border-radius: $radius; }
|
|
|
|
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'FontAwesome';
|
2013-01-19 14:11:29 +00:00
|
|
|
src: url('#{$fontAwesomePath}/fontawesome-webfont.eot?v=3.0.1');
|
|
|
|
src: url('#{$fontAwesomePath}/fontawesome-webfont.eot?#iefix&v=3.0.1') format("embedded-opentype"),
|
|
|
|
url('#{$fontAwesomePath}/fontawesome-webfont.woff?v=3.0.1') format("woff"),
|
|
|
|
url('#{$fontAwesomePath}/fontawesome-webfont.ttf?v=3.0.1') format("truetype");
|
2013-01-06 21:39:15 +00:00
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Font Awesome styles
|
|
|
|
------------------------------------------------------- */
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
font-family: FontAwesome;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
text-decoration: inherit;
|
2013-01-19 14:11:29 +00:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
|
|
|
/* sprites.less reset */
|
2013-01-06 21:39:15 +00:00
|
|
|
display: inline;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
line-height: normal;
|
|
|
|
vertical-align: baseline;
|
2013-01-19 14:11:29 +00:00
|
|
|
background-image: none;
|
2013-01-06 21:39:15 +00:00
|
|
|
background-position: 0% 0%;
|
|
|
|
background-repeat: repeat;
|
2013-01-19 14:11:29 +00:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* more sprites.less reset */
|
|
|
|
.icon-white,
|
|
|
|
.nav-pills > .active > a > [class^="icon-"],
|
|
|
|
.nav-pills > .active > a > [class*=" icon-"],
|
|
|
|
.nav-list > .active > a > [class^="icon-"],
|
|
|
|
.nav-list > .active > a > [class*=" icon-"],
|
|
|
|
.navbar-inverse .nav > .active > a > [class^="icon-"],
|
|
|
|
.navbar-inverse .nav > .active > a > [class*=" icon-"],
|
|
|
|
.dropdown-menu > li > a:hover > [class^="icon-"],
|
|
|
|
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
|
|
|
.dropdown-menu > .active > a > [class^="icon-"],
|
|
|
|
.dropdown-menu > .active > a > [class*=" icon-"],
|
|
|
|
.dropdown-submenu:hover > a > [class^="icon-"],
|
|
|
|
.dropdown-submenu:hover > a > [class*=" icon-"] {
|
|
|
|
background-image: none;
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[class^="icon-"]:before,
|
|
|
|
[class*=" icon-"]:before {
|
|
|
|
text-decoration: inherit;
|
|
|
|
display: inline-block;
|
|
|
|
speak: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* makes sure icons active on rollover in links */
|
|
|
|
a {
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* makes the font 33% larger relative to the icon container */
|
|
|
|
.icon-large:before {
|
|
|
|
vertical-align: -10%;
|
|
|
|
font-size: 1.3333333333333333em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn, .nav {
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
display: inline;
|
|
|
|
/* keeps button heights with and without icons the same */
|
2013-01-19 14:11:29 +00:00
|
|
|
&.icon-large { line-height: .9em; }
|
|
|
|
&.icon-spin { display: inline-block; }
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-19 14:11:29 +00:00
|
|
|
.nav-tabs, .nav-pills {
|
2013-01-06 21:39:15 +00:00
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
/* keeps button heights with and without icons the same */
|
2013-01-19 14:11:29 +00:00
|
|
|
&, &.icon-large { line-height: .9em; }
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-19 14:11:29 +00:00
|
|
|
li, .nav li {
|
2013-01-06 21:39:15 +00:00
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.25em;
|
|
|
|
text-align: center;
|
|
|
|
&.icon-large {
|
|
|
|
/* increased font size for icon-large */
|
2013-01-19 14:11:29 +00:00
|
|
|
width: 1.5625em;
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.icons {
|
|
|
|
list-style-type: none;
|
|
|
|
text-indent: -.75em;
|
|
|
|
|
|
|
|
li {
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
width: .75em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-muted {
|
|
|
|
color: $iconMuted;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Floats
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
// Quick floats
|
|
|
|
.pull-right { float: right; }
|
|
|
|
.pull-left { float: left; }
|
|
|
|
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
&.pull-left {
|
2013-01-19 14:11:29 +00:00
|
|
|
margin-right: .3em;
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
&.pull-right {
|
2013-01-19 14:11:29 +00:00
|
|
|
margin-left: .3em;
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
&.pull-left, &.pull-right {
|
2013-01-19 14:11:29 +00:00
|
|
|
&.icon-2x { margin-top: .18em; }
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
2013-01-19 14:11:29 +00:00
|
|
|
&.icon-spin.icon-large { line-height: .8em; }
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.btn-small {
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
&.pull-left, &.pull-right {
|
2013-01-19 14:11:29 +00:00
|
|
|
&.icon-2x { margin-top: .25em; }
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.btn-large {
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
2013-01-19 14:11:29 +00:00
|
|
|
margin-top: 0; // overrides bootstrap default
|
2013-01-06 21:39:15 +00:00
|
|
|
&.pull-left, &.pull-right {
|
2013-01-19 14:11:29 +00:00
|
|
|
&.icon-2x { margin-top: .05em; }
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
2013-01-19 14:11:29 +00:00
|
|
|
&.pull-left.icon-2x { margin-right: .2em; }
|
|
|
|
&.pull-right.icon-2x { margin-left: .2em; }
|
2013-01-06 21:39:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.icon-spin {
|
|
|
|
display: inline-block;
|
|
|
|
-moz-animation: spin 2s infinite linear;
|
|
|
|
-o-animation: spin 2s infinite linear;
|
|
|
|
-webkit-animation: spin 2s infinite linear;
|
|
|
|
animation: spin 2s infinite linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes spin {
|
|
|
|
0% { -moz-transform: rotate(0deg); }
|
|
|
|
100% { -moz-transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
@-webkit-keyframes spin {
|
|
|
|
0% { -webkit-transform: rotate(0deg); }
|
|
|
|
100% { -webkit-transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
@-o-keyframes spin {
|
|
|
|
0% { -o-transform: rotate(0deg); }
|
|
|
|
100% { -o-transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
@-ms-keyframes spin {
|
|
|
|
0% { -ms-transform: rotate(0deg); }
|
|
|
|
100% { -ms-transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
@keyframes spin {
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
100% { transform: rotate(359deg); }
|
|
|
|
}
|
2013-01-19 14:11:29 +00:00
|
|
|
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
.icon-spin { height: .9em; }
|
|
|
|
.btn .icon-spin { height: auto; }
|
|
|
|
.icon-spin.icon-large { height: 1.25em; }
|
|
|
|
.btn .icon-spin.icon-large { height: .75em; }
|
|
|
|
}.icon-envelope:before { content: "\f003"; }
|
2013-01-06 21:39:15 +00:00
|
|
|
.icon-star:before { content: "\f005"; }
|
|
|
|
.icon-user:before { content: "\f007"; }
|
|
|
|
.icon-trash:before { content: "\f014"; }
|
|
|
|
.icon-download-alt:before { content: "\f019"; }
|
|
|
|
.icon-inbox:before { content: "\f01c"; }
|
|
|
|
.icon-lock:before { content: "\f023"; }
|
|
|
|
.icon-qrcode:before { content: "\f029"; }
|
|
|
|
.icon-edit:before { content: "\f044"; }
|
|
|
|
.icon-comment:before { content: "\f075"; }
|
2013-01-19 14:11:29 +00:00
|
|
|
.icon-retweet:before { content: "\f079"; }
|
2013-01-06 21:39:15 +00:00
|
|
|
.icon-key:before { content: "\f084"; }
|
|
|
|
.icon-comments:before { content: "\f086"; }
|
|
|
|
.icon-github-sign:before { content: "\f092"; }
|
|
|
|
.icon-upload-alt:before { content: "\f093"; }
|
|
|
|
.icon-twitter:before { content: "\f099"; }
|
|
|
|
.icon-github:before { content: "\f09b"; }
|
|
|
|
.icon-rss:before { content: "\f09e"; }
|
|
|
|
.icon-globe:before { content: "\f0ac"; }
|
|
|
|
.icon-group:before { content: "\f0c0"; }
|
|
|
|
.icon-cloud:before { content: "\f0c2"; }
|
|
|
|
.icon-google-plus:before { content: "\f0d5"; }
|
|
|
|
.icon-envelope-alt:before { content: "\f0e0"; }
|
|
|
|
.icon-comment-alt:before { content: "\f0e5"; }
|
|
|
|
.icon-github-alt:before { content: "\f113"; }
|