mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 21:41:29 +08:00
411 lines
15 KiB
Plaintext
Executable File
411 lines
15 KiB
Plaintext
Executable File
/* Font Awesome
|
|
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 webfont, CSS, and LESS files are licensed under CC BY 3.0:
|
|
http://creativecommons.org/licenses/by/3.0/ A mention of
|
|
'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
|
|
source code is considered acceptable attribution (most common on the web).
|
|
If human readable source code is not available to the end user, a mention in
|
|
an 'About' or 'Credits' screen is considered acceptable (most common in desktop
|
|
or mobile software).
|
|
|
|
Contact
|
|
-------------------------------------------------------
|
|
Email: dave@davegandy.com
|
|
Twitter: http://twitter.com/fortaweso_me
|
|
Work: http://lemonwi.se co-founder
|
|
|
|
*/
|
|
|
|
@font-face {
|
|
font-family: 'FontAwesome';
|
|
src: url('../font/fontawesome-webfont.eot');
|
|
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
|
|
url('../font/fontawesome-webfont.woff') format('woff'),
|
|
url('../font/fontawesome-webfont.ttf') format('truetype'),
|
|
url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'),
|
|
url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
.icon,
|
|
[class^="icon-"],
|
|
[class*=" icon-"] {
|
|
&:before {
|
|
font-family: FontAwesome;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
display: inline-block;
|
|
line-height: 1em;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
width: 1em;
|
|
margin-right: 0.2em;
|
|
}
|
|
}
|
|
|
|
// makes the font 33% larger relative to the icon container
|
|
.icon-large {
|
|
&:before {
|
|
font-size: 1.333333333em;
|
|
line-height: 0.75em;
|
|
}
|
|
}
|
|
|
|
.icon-size(@size: 1) {
|
|
&:before {
|
|
font-size: @size * 1em;
|
|
line-height: 1em / @size;
|
|
}
|
|
}
|
|
|
|
.icon-color(@color: inherit) {
|
|
&:before {
|
|
color: @color;
|
|
}
|
|
}
|
|
|
|
.icon-margin(@margin: 0.2em) {
|
|
&:before {
|
|
margin-right: @margin;
|
|
}
|
|
}
|
|
|
|
.icon-full(@type, @size: 1, @color: inherit, @margin: 0.2em) {
|
|
&:before {
|
|
font-family: FontAwesome;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
display: inline-block;
|
|
line-height: 1em;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
width: 1em;
|
|
margin-right: @margin;
|
|
content: @type;
|
|
font-size: @size * 1em;
|
|
line-height: 1em / @size;
|
|
color: @color;
|
|
}
|
|
}
|
|
|
|
.icon-lite(@type, @size: 1, @color: inherit, @margin: 0.2em) {
|
|
&:before {
|
|
margin-right: @margin;
|
|
content: @type;
|
|
font-size: @size * 1em;
|
|
line-height: 1em / @size;
|
|
color: @color;
|
|
}
|
|
}
|
|
|
|
// Uses Unicode Private Use Area (PUA) to ensure screen readers do not read off
|
|
// random characters that represent icons
|
|
.icon-glass { &:before { content: "\f000"; } }
|
|
.icon-music { &:before { content: "\f001"; } }
|
|
.icon-search { &:before { content: "\f002"; } }
|
|
.icon-envelope { &:before { content: "\f003"; } }
|
|
.icon-heart { &:before { content: "\f004"; } }
|
|
.icon-star { &:before { content: "\f005"; } }
|
|
.icon-star-empty { &:before { content: "\f006"; } }
|
|
.icon-user { &:before { content: "\f007"; } }
|
|
.icon-film { &:before { content: "\f008"; } }
|
|
.icon-th-large { &:before { content: "\f009"; } }
|
|
.icon-th { &:before { content: "\f00a"; } }
|
|
.icon-th-list { &:before { content: "\f00b"; } }
|
|
.icon-ok { &:before { content: "\f00c"; } }
|
|
.icon-remove { &:before { content: "\f00d"; } }
|
|
.icon-zoom-in { &:before { content: "\f00e"; } }
|
|
|
|
.icon-zoom-out { &:before { content: "\f010"; } }
|
|
.icon-off { &:before { content: "\f011"; } }
|
|
.icon-signal { &:before { content: "\f012"; } }
|
|
.icon-cog { &:before { content: "\f013"; } }
|
|
.icon-trash { &:before { content: "\f014"; } }
|
|
.icon-home { &:before { content: "\f015"; } }
|
|
.icon-file { &:before { content: "\f016"; } }
|
|
.icon-time { &:before { content: "\f017"; } }
|
|
.icon-road { &:before { content: "\f018"; } }
|
|
.icon-download-alt { &:before { content: "\f019"; } }
|
|
.icon-download { &:before { content: "\f01a"; } }
|
|
.icon-upload { &:before { content: "\f01b"; } }
|
|
.icon-inbox { &:before { content: "\f01c"; } }
|
|
.icon-play-circle { &:before { content: "\f01d"; } }
|
|
.icon-repeat { &:before { content: "\f01e"; } }
|
|
|
|
/* \f020 is not a valid unicode character. all shifted one down */
|
|
.icon-refresh:before { content: "\f021"; }
|
|
.icon-list-alt:before { content: "\f022"; }
|
|
.icon-lock:before { content: "\f023"; }
|
|
.icon-flag:before { content: "\f024"; }
|
|
.icon-headphones:before { content: "\f025"; }
|
|
.icon-volume-off:before { content: "\f026"; }
|
|
.icon-volume-down:before { content: "\f027"; }
|
|
.icon-volume-up:before { content: "\f028"; }
|
|
.icon-qrcode:before { content: "\f029"; }
|
|
.icon-barcode:before { content: "\f02a"; }
|
|
.icon-tag:before { content: "\f02b"; }
|
|
.icon-tags:before { content: "\f02c"; }
|
|
.icon-book:before { content: "\f02d"; }
|
|
.icon-bookmark:before { content: "\f02e"; }
|
|
.icon-print:before { content: "\f02f"; }
|
|
|
|
.icon-camera { &:before { content: "\f030"; } }
|
|
.icon-font { &:before { content: "\f031"; } }
|
|
.icon-bold { &:before { content: "\f032"; } }
|
|
.icon-italic { &:before { content: "\f033"; } }
|
|
.icon-text-height { &:before { content: "\f034"; } }
|
|
.icon-text-width { &:before { content: "\f035"; } }
|
|
.icon-align-left { &:before { content: "\f036"; } }
|
|
.icon-align-center { &:before { content: "\f037"; } }
|
|
.icon-align-right { &:before { content: "\f038"; } }
|
|
.icon-align-justify { &:before { content: "\f039"; } }
|
|
.icon-list { &:before { content: "\f03a"; } }
|
|
.icon-indent-left { &:before { content: "\f03b"; } }
|
|
.icon-indent-right { &:before { content: "\f03c"; } }
|
|
.icon-facetime-video { &:before { content: "\f03d"; } }
|
|
.icon-picture { &:before { content: "\f03e"; } }
|
|
|
|
.icon-pencil { &:before { content: "\f040"; } }
|
|
.icon-map-marker { &:before { content: "\f041"; } }
|
|
.icon-adjust { &:before { content: "\f042"; } }
|
|
.icon-tint { &:before { content: "\f043"; } }
|
|
.icon-edit { &:before { content: "\f044"; } }
|
|
.icon-share { &:before { content: "\f045"; } }
|
|
.icon-check { &:before { content: "\f046"; } }
|
|
.icon-move { &:before { content: "\f047"; } }
|
|
.icon-step-backward { &:before { content: "\f048"; } }
|
|
.icon-fast-backward { &:before { content: "\f049"; } }
|
|
.icon-backward { &:before { content: "\f04a"; } }
|
|
.icon-play { &:before { content: "\f04b"; } }
|
|
.icon-pause { &:before { content: "\f04c"; } }
|
|
.icon-stop { &:before { content: "\f04d"; } }
|
|
.icon-forward { &:before { content: "\f04e"; } }
|
|
|
|
.icon-fast-forward { &:before { content: "\f050"; } }
|
|
.icon-step-forward { &:before { content: "\f051"; } }
|
|
.icon-eject { &:before { content: "\f052"; } }
|
|
.icon-chevron-left { &:before { content: "\f053"; } }
|
|
.icon-chevron-right { &:before { content: "\f054"; } }
|
|
.icon-plus-sign { &:before { content: "\f055"; } }
|
|
.icon-minus-sign { &:before { content: "\f056"; } }
|
|
.icon-remove-sign { &:before { content: "\f057"; } }
|
|
.icon-ok-sign { &:before { content: "\f058"; } }
|
|
.icon-question-sign { &:before { content: "\f059"; } }
|
|
.icon-info-sign { &:before { content: "\f05a"; } }
|
|
.icon-screenshot { &:before { content: "\f05b"; } }
|
|
.icon-remove-circle { &:before { content: "\f05c"; } }
|
|
.icon-ok-circle { &:before { content: "\f05d"; } }
|
|
.icon-ban-circle { &:before { content: "\f05e"; } }
|
|
|
|
.icon-arrow-left { &:before { content: "\f060"; } }
|
|
.icon-arrow-right { &:before { content: "\f061"; } }
|
|
.icon-arrow-up { &:before { content: "\f062"; } }
|
|
.icon-arrow-down { &:before { content: "\f063"; } }
|
|
.icon-share-alt { &:before { content: "\f064"; } }
|
|
.icon-resize-full { &:before { content: "\f065"; } }
|
|
.icon-resize-small { &:before { content: "\f066"; } }
|
|
.icon-plus { &:before { content: "\f067"; } }
|
|
.icon-minus { &:before { content: "\f068"; } }
|
|
.icon-asterisk { &:before { content: "\f069"; } }
|
|
.icon-exclamation-sign { &:before { content: "\f06a"; } }
|
|
.icon-gift { &:before { content: "\f06b"; } }
|
|
.icon-leaf { &:before { content: "\f06c"; } }
|
|
.icon-fire { &:before { content: "\f06d"; } }
|
|
.icon-eye-open { &:before { content: "\f06e"; } }
|
|
|
|
.icon-eye-close { &:before { content: "\f070"; } }
|
|
.icon-warning-sign { &:before { content: "\f071"; } }
|
|
.icon-plane { &:before { content: "\f072"; } }
|
|
.icon-calendar { &:before { content: "\f073"; } }
|
|
.icon-random { &:before { content: "\f074"; } }
|
|
.icon-comment { &:before { content: "\f075"; } }
|
|
.icon-magnet { &:before { content: "\f076"; } }
|
|
.icon-chevron-up { &:before { content: "\f077"; } }
|
|
.icon-chevron-down { &:before { content: "\f078"; } }
|
|
.icon-retweet { &:before { content: "\f079"; } }
|
|
.icon-shopping-cart { &:before { content: "\f07a"; } }
|
|
.icon-folder-close { &:before { content: "\f07b"; } }
|
|
.icon-folder-open { &:before { content: "\f07c"; } }
|
|
.icon-resize-vertical { &:before { content: "\f07d"; } }
|
|
.icon-resize-horizontal { &:before { content: "\f07e"; } }
|
|
|
|
.icon-bar-chart { &:before { content: "\f080"; } }
|
|
.icon-twitter-sign { &:before { content: "\f081"; } }
|
|
.icon-facebook-sign { &:before { content: "\f082"; } }
|
|
.icon-camera-retro { &:before { content: "\f083"; } }
|
|
.icon-key { &:before { content: "\f084"; } }
|
|
.icon-cogs { &:before { content: "\f085"; } }
|
|
.icon-comments { &:before { content: "\f086"; } }
|
|
.icon-thumbs-up { &:before { content: "\f087"; } }
|
|
.icon-thumbs-down { &:before { content: "\f088"; } }
|
|
.icon-star-half { &:before { content: "\f089"; } }
|
|
.icon-heart-empty { &:before { content: "\f08a"; } }
|
|
.icon-signout { &:before { content: "\f08b"; } }
|
|
.icon-linkedin-sign { &:before { content: "\f08c"; } }
|
|
.icon-pushpin { &:before { content: "\f08d"; } }
|
|
.icon-external-link { &:before { content: "\f08e"; } }
|
|
|
|
.icon-signin { &:before { content: "\f090"; } }
|
|
.icon-trophy { &:before { content: "\f091"; } }
|
|
.icon-github-sign { &:before { content: "\f092"; } }
|
|
.icon-upload-alt { &:before { content: "\f093"; } }
|
|
.icon-lemon { &:before { content: "\f094"; } }
|
|
|
|
|
|
//variables to use with the .icon() mixin.
|
|
@icon-glass: "\f000";
|
|
@icon-music: "\f001";
|
|
@icon-search: "\f002";
|
|
@icon-envelope: "\f003";
|
|
@icon-heart: "\f004";
|
|
@icon-star: "\f005";
|
|
@icon-star-empty: "\f006";
|
|
@icon-user: "\f007";
|
|
@icon-film: "\f008";
|
|
@icon-th-large: "\f009";
|
|
@icon-th: "\f00a";
|
|
@icon-th-list: "\f00b";
|
|
@icon-ok: "\f00c";
|
|
@icon-remove: "\f00d";
|
|
@icon-zoom-in: "\f00e";
|
|
|
|
@icon-zoom-out: "\f010";
|
|
@icon-off: "\f011";
|
|
@icon-signal: "\f012";
|
|
@icon-cog: "\f013";
|
|
@icon-trash: "\f014";
|
|
@icon-home: "\f015";
|
|
@icon-file: "\f016";
|
|
@icon-time: "\f017";
|
|
@icon-road: "\f018";
|
|
@icon-download-alt: "\f019";
|
|
@icon-download: "\f01a";
|
|
@icon-upload: "\f01b";
|
|
@icon-inbox: "\f01c";
|
|
@icon-play-circle: "\f01d";
|
|
@icon-repeat: "\f01e";
|
|
|
|
@icon-refresh: "\f021";
|
|
@icon-list-alt: "\f022";
|
|
@icon-lock: "\f023";
|
|
@icon-flag: "\f024";
|
|
@icon-headphones: "\f025";
|
|
@icon-volume-off: "\f026";
|
|
@icon-volume-down: "\f027";
|
|
@icon-volume-up: "\f028";
|
|
@icon-qrcode: "\f029";
|
|
@icon-barcode: "\f02a";
|
|
@icon-tag: "\f02b";
|
|
@icon-tags: "\f02c";
|
|
@icon-book: "\f02d";
|
|
@icon-bookmark: "\f02e";
|
|
@icon-print: "\f02f";
|
|
|
|
@icon-camera: "\f030";
|
|
@icon-font: "\f031";
|
|
@icon-bold: "\f032";
|
|
@icon-italic: "\f033";
|
|
@icon-text-height: "\f034";
|
|
@icon-text-width: "\f035";
|
|
@icon-align-left: "\f036";
|
|
@icon-align-center: "\f037";
|
|
@icon-align-right: "\f038";
|
|
@icon-align-justify: "\f039";
|
|
@icon-list: "\f03a";
|
|
@icon-indent-left: "\f03b";
|
|
@icon-indent-right: "\f03c";
|
|
@icon-facetime-video: "\f03d";
|
|
@icon-picture: "\f03e";
|
|
|
|
@icon-pencil: "\f040";
|
|
@icon-map-marker: "\f041";
|
|
@icon-adjust: "\f042";
|
|
@icon-tint: "\f043";
|
|
@icon-edit: "\f044";
|
|
@icon-share: "\f045";
|
|
@icon-check: "\f046";
|
|
@icon-move: "\f047";
|
|
@icon-step-backward: "\f048";
|
|
@icon-fast-backward: "\f049";
|
|
@icon-backward: "\f04a";
|
|
@icon-play: "\f04b";
|
|
@icon-pause: "\f04c";
|
|
@icon-stop: "\f04d";
|
|
@icon-forward: "\f04e";
|
|
|
|
@icon-fast-forward: "\f050";
|
|
@icon-step-forward: "\f051";
|
|
@icon-eject: "\f052";
|
|
@icon-chevron-left: "\f053";
|
|
@icon-chevron-right: "\f054";
|
|
@icon-plus-sign: "\f055";
|
|
@icon-minus-sign: "\f056";
|
|
@icon-remove-sign: "\f057";
|
|
@icon-ok-sign: "\f058";
|
|
@icon-question-sign: "\f059";
|
|
@icon-info-sign: "\f05a";
|
|
@icon-screenshot: "\f05b";
|
|
@icon-remove-circle: "\f05c";
|
|
@icon-ok-circle: "\f05d";
|
|
@icon-ban-circle: "\f05e";
|
|
|
|
@icon-arrow-left: "\f060";
|
|
@icon-arrow-right: "\f061";
|
|
@icon-arrow-up: "\f062";
|
|
@icon-arrow-down: "\f063";
|
|
@icon-share-alt: "\f064";
|
|
@icon-resize-full: "\f065";
|
|
@icon-resize-small: "\f066";
|
|
@icon-plus: "\f067";
|
|
@icon-minus: "\f068";
|
|
@icon-asterisk: "\f069";
|
|
@icon-exclamation-sign: "\f06a";
|
|
@icon-gift: "\f06b";
|
|
@icon-leaf: "\f06c";
|
|
@icon-fire: "\f06d";
|
|
@icon-eye-open: "\f06e";
|
|
|
|
@icon-eye-close: "\f070";
|
|
@icon-warning-sign: "\f071";
|
|
@icon-plane: "\f072";
|
|
@icon-calendar: "\f073";
|
|
@icon-random: "\f074";
|
|
@icon-comment: "\f075";
|
|
@icon-magnet: "\f076";
|
|
@icon-chevron-up: "\f077";
|
|
@icon-chevron-down: "\f078";
|
|
@icon-retweet: "\f079";
|
|
@icon-shopping-cart: "\f07a";
|
|
@icon-folder-close: "\f07b";
|
|
@icon-folder-open: "\f07c";
|
|
@icon-resize-vertical: "\f07d";
|
|
@icon-resize-horizontal: "\f07e";
|
|
|
|
@icon-bar-chart: "\f080";
|
|
@icon-twitter-sign: "\f081";
|
|
@icon-facebook-sign: "\f082";
|
|
@icon-camera-retro: "\f083";
|
|
@icon-key: "\f084";
|
|
@icon-cogs: "\f085";
|
|
@icon-comments: "\f086";
|
|
@icon-thumbs-up: "\f087";
|
|
@icon-thumbs-down: "\f088";
|
|
@icon-star-half: "\f089";
|
|
@icon-heart-empty: "\f08a";
|
|
@icon-signout: "\f08b";
|
|
@icon-linkedin-sign: "\f08c";
|
|
@icon-pushpin: "\f08d";
|
|
@icon-external-link: "\f08e";
|
|
|
|
@icon-signin: "\f090";
|
|
@icon-trophy: "\f091";
|
|
@icon-github-sign: "\f092";
|
|
@icon-upload-alt: "\f093";
|
|
@icon-lemon: "\f094"; |