comparison static/font-awesome/less/font-awesome.less @ 74:3c8e07af93c7

Added FontAwesome icons.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 27 Feb 2013 22:02:02 -0800
parents
children
comparison
equal deleted inserted replaced
73:d0be251663b5 74:3c8e07af93c7
1 /*!
2 * Font Awesome 3.0.2
3 * the iconic font designed for use with Twitter Bootstrap
4 * -------------------------------------------------------
5 * The full suite of pictographic icons, examples, and documentation
6 * can be found at: http://fortawesome.github.com/Font-Awesome/
7 *
8 * License
9 * -------------------------------------------------------
10 * - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL
11 * - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
12 * http://opensource.org/licenses/mit-license.html
13 * - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/
14 * - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
15 * "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome"
16
17 * Contact
18 * -------------------------------------------------------
19 * Email: dave@davegandy.com
20 * Twitter: http://twitter.com/fortaweso_me
21 * Work: Lead Product Designer @ http://kyruus.com
22 */
23
24 @FontAwesomePath: "../font"; // LOCAL MOD: Actual font path.
25 @borderColor: #eee;
26 @iconMuted: #eee;
27 .border-radius(@radius) { -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; }
28
29 @font-face {
30 font-family: 'FontAwesome';
31 src: url('@{FontAwesomePath}/fontawesome-webfont.eot?v=3.0.1');
32 src: url('@{FontAwesomePath}/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
33 url('@{FontAwesomePath}/fontawesome-webfont.woff?v=3.0.1') format('woff'),
34 url('@{FontAwesomePath}/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
35 // url('@{FontAwesomePath}/fontawesome-webfont.svg#fontawesomeregular?v=3.0.1') format('svg');
36
37 // src: url('@{FontAwesomePath}/FontAwesome.otf') format('opentype');
38
39 font-weight: normal;
40 font-style: normal;
41 }
42
43 /* Font Awesome styles
44 ------------------------------------------------------- */
45 [class^="icon-"],
46 [class*=" icon-"] {
47 font-family: FontAwesome;
48 font-weight: normal;
49 font-style: normal;
50 text-decoration: inherit;
51 -webkit-font-smoothing: antialiased;
52
53 /* sprites.less reset */
54 display: inline;
55 width: auto;
56 height: auto;
57 line-height: normal;
58 vertical-align: baseline;
59 background-image: none;
60 background-position: 0% 0%;
61 background-repeat: repeat;
62 margin-top: 0;
63 }
64
65 /* more sprites.less reset */
66 .icon-white,
67 .nav-pills > .active > a > [class^="icon-"],
68 .nav-pills > .active > a > [class*=" icon-"],
69 .nav-list > .active > a > [class^="icon-"],
70 .nav-list > .active > a > [class*=" icon-"],
71 .navbar-inverse .nav > .active > a > [class^="icon-"],
72 .navbar-inverse .nav > .active > a > [class*=" icon-"],
73 .dropdown-menu > li > a:hover > [class^="icon-"],
74 .dropdown-menu > li > a:hover > [class*=" icon-"],
75 .dropdown-menu > .active > a > [class^="icon-"],
76 .dropdown-menu > .active > a > [class*=" icon-"],
77 .dropdown-submenu:hover > a > [class^="icon-"],
78 .dropdown-submenu:hover > a > [class*=" icon-"] {
79 background-image: none;
80 }
81
82 [class^="icon-"]:before,
83 [class*=" icon-"]:before {
84 text-decoration: inherit;
85 display: inline-block;
86 speak: none;
87 }
88
89 /* makes sure icons active on rollover in links */
90 a {
91 [class^="icon-"],
92 [class*=" icon-"] {
93 display: inline-block;
94 }
95 }
96
97 /* makes the font 33% larger relative to the icon container */
98 .icon-large:before {
99 vertical-align: -10%;
100 font-size: 4/3em;
101 }
102
103 .btn, .nav {
104 [class^="icon-"],
105 [class*=" icon-"] {
106 display: inline;
107 /* keeps button heights with and without icons the same */
108 &.icon-large { line-height: .9em; }
109 &.icon-spin { display: inline-block; }
110 }
111 }
112
113 .nav-tabs, .nav-pills {
114 [class^="icon-"],
115 [class*=" icon-"] {
116 /* keeps button heights with and without icons the same */
117 &, &.icon-large { line-height: .9em; }
118 }
119 }
120
121 li, .nav li {
122 [class^="icon-"],
123 [class*=" icon-"] {
124 display: inline-block;
125 width: 1.25em;
126 text-align: center;
127 &.icon-large {
128 /* increased font size for icon-large */
129 width: 1.25*1.25em;
130 }
131 }
132 }
133
134 ul.icons {
135 list-style-type: none;
136 text-indent: -.75em;
137
138 li {
139 [class^="icon-"],
140 [class*=" icon-"] {
141 width: .75em;
142 }
143 }
144 }
145
146 .icon-muted {
147 color: @iconMuted;
148 }
149
150 // Icon Borders
151 // -------------------------
152
153 .icon-border {
154 border: solid 1px @borderColor;
155 padding: .2em .25em .15em;
156 .border-radius(3px);
157 }
158
159 // Icon Sizes
160 // -------------------------
161
162 .icon-2x {
163 font-size: 2em;
164 &.icon-border {
165 border-width: 2px;
166 .border-radius(4px);
167 }
168 }
169 .icon-3x {
170 font-size: 3em;
171 &.icon-border {
172 border-width: 3px;
173 .border-radius(5px);
174 }
175 }
176 .icon-4x {
177 font-size: 4em;
178 &.icon-border {
179 border-width: 4px;
180 .border-radius(6px);
181 }
182 }
183
184 // Floats
185 // -------------------------
186
187 // Quick floats
188 .pull-right { float: right; }
189 .pull-left { float: left; }
190
191 [class^="icon-"],
192 [class*=" icon-"] {
193 &.pull-left {
194 margin-right: .3em;
195 }
196 &.pull-right {
197 margin-left: .3em;
198 }
199 }
200
201 .btn {
202 [class^="icon-"],
203 [class*=" icon-"] {
204 &.pull-left, &.pull-right {
205 &.icon-2x { margin-top: .18em; }
206 }
207 &.icon-spin.icon-large { line-height: .8em; }
208 }
209 }
210
211 .btn.btn-small {
212 [class^="icon-"],
213 [class*=" icon-"] {
214 &.pull-left, &.pull-right {
215 &.icon-2x { margin-top: .25em; }
216 }
217 }
218 }
219
220 .btn.btn-large {
221 [class^="icon-"],
222 [class*=" icon-"] {
223 margin-top: 0; // overrides bootstrap default
224 &.pull-left, &.pull-right {
225 &.icon-2x { margin-top: .05em; }
226 }
227 &.pull-left.icon-2x { margin-right: .2em; }
228 &.pull-right.icon-2x { margin-left: .2em; }
229 }
230 }
231
232
233 .icon-spin {
234 display: inline-block;
235 -moz-animation: spin 2s infinite linear;
236 -o-animation: spin 2s infinite linear;
237 -webkit-animation: spin 2s infinite linear;
238 animation: spin 2s infinite linear;
239 }
240
241 @-moz-keyframes spin {
242 0% { -moz-transform: rotate(0deg); }
243 100% { -moz-transform: rotate(359deg); }
244 }
245 @-webkit-keyframes spin {
246 0% { -webkit-transform: rotate(0deg); }
247 100% { -webkit-transform: rotate(359deg); }
248 }
249 @-o-keyframes spin {
250 0% { -o-transform: rotate(0deg); }
251 100% { -o-transform: rotate(359deg); }
252 }
253 @-ms-keyframes spin {
254 0% { -ms-transform: rotate(0deg); }
255 100% { -ms-transform: rotate(359deg); }
256 }
257 @keyframes spin {
258 0% { transform: rotate(0deg); }
259 100% { transform: rotate(359deg); }
260 }
261
262 @-moz-document url-prefix() {
263 .icon-spin { height: .9em; }
264 .btn .icon-spin { height: auto; }
265 .icon-spin.icon-large { height: 1.25em; }
266 .btn .icon-spin.icon-large { height: .75em; }
267 }
268
269 /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
270 readers do not read off random characters that represent icons */
271 .icon-glass:before { content: "\f000"; }
272 .icon-music:before { content: "\f001"; }
273 .icon-search:before { content: "\f002"; }
274 .icon-envelope:before { content: "\f003"; }
275 .icon-heart:before { content: "\f004"; }
276 .icon-star:before { content: "\f005"; }
277 .icon-star-empty:before { content: "\f006"; }
278 .icon-user:before { content: "\f007"; }
279 .icon-film:before { content: "\f008"; }
280 .icon-th-large:before { content: "\f009"; }
281 .icon-th:before { content: "\f00a"; }
282 .icon-th-list:before { content: "\f00b"; }
283 .icon-ok:before { content: "\f00c"; }
284 .icon-remove:before { content: "\f00d"; }
285 .icon-zoom-in:before { content: "\f00e"; }
286
287 .icon-zoom-out:before { content: "\f010"; }
288 .icon-off:before { content: "\f011"; }
289 .icon-signal:before { content: "\f012"; }
290 .icon-cog:before { content: "\f013"; }
291 .icon-trash:before { content: "\f014"; }
292 .icon-home:before { content: "\f015"; }
293 .icon-file:before { content: "\f016"; }
294 .icon-time:before { content: "\f017"; }
295 .icon-road:before { content: "\f018"; }
296 .icon-download-alt:before { content: "\f019"; }
297 .icon-download:before { content: "\f01a"; }
298 .icon-upload:before { content: "\f01b"; }
299 .icon-inbox:before { content: "\f01c"; }
300 .icon-play-circle:before { content: "\f01d"; }
301 .icon-repeat:before { content: "\f01e"; }
302
303 /* \f020 doesn't work in Safari. all shifted one down */
304 .icon-refresh:before { content: "\f021"; }
305 .icon-list-alt:before { content: "\f022"; }
306 .icon-lock:before { content: "\f023"; }
307 .icon-flag:before { content: "\f024"; }
308 .icon-headphones:before { content: "\f025"; }
309 .icon-volume-off:before { content: "\f026"; }
310 .icon-volume-down:before { content: "\f027"; }
311 .icon-volume-up:before { content: "\f028"; }
312 .icon-qrcode:before { content: "\f029"; }
313 .icon-barcode:before { content: "\f02a"; }
314 .icon-tag:before { content: "\f02b"; }
315 .icon-tags:before { content: "\f02c"; }
316 .icon-book:before { content: "\f02d"; }
317 .icon-bookmark:before { content: "\f02e"; }
318 .icon-print:before { content: "\f02f"; }
319
320 .icon-camera:before { content: "\f030"; }
321 .icon-font:before { content: "\f031"; }
322 .icon-bold:before { content: "\f032"; }
323 .icon-italic:before { content: "\f033"; }
324 .icon-text-height:before { content: "\f034"; }
325 .icon-text-width:before { content: "\f035"; }
326 .icon-align-left:before { content: "\f036"; }
327 .icon-align-center:before { content: "\f037"; }
328 .icon-align-right:before { content: "\f038"; }
329 .icon-align-justify:before { content: "\f039"; }
330 .icon-list:before { content: "\f03a"; }
331 .icon-indent-left:before { content: "\f03b"; }
332 .icon-indent-right:before { content: "\f03c"; }
333 .icon-facetime-video:before { content: "\f03d"; }
334 .icon-picture:before { content: "\f03e"; }
335
336 .icon-pencil:before { content: "\f040"; }
337 .icon-map-marker:before { content: "\f041"; }
338 .icon-adjust:before { content: "\f042"; }
339 .icon-tint:before { content: "\f043"; }
340 .icon-edit:before { content: "\f044"; }
341 .icon-share:before { content: "\f045"; }
342 .icon-check:before { content: "\f046"; }
343 .icon-move:before { content: "\f047"; }
344 .icon-step-backward:before { content: "\f048"; }
345 .icon-fast-backward:before { content: "\f049"; }
346 .icon-backward:before { content: "\f04a"; }
347 .icon-play:before { content: "\f04b"; }
348 .icon-pause:before { content: "\f04c"; }
349 .icon-stop:before { content: "\f04d"; }
350 .icon-forward:before { content: "\f04e"; }
351
352 .icon-fast-forward:before { content: "\f050"; }
353 .icon-step-forward:before { content: "\f051"; }
354 .icon-eject:before { content: "\f052"; }
355 .icon-chevron-left:before { content: "\f053"; }
356 .icon-chevron-right:before { content: "\f054"; }
357 .icon-plus-sign:before { content: "\f055"; }
358 .icon-minus-sign:before { content: "\f056"; }
359 .icon-remove-sign:before { content: "\f057"; }
360 .icon-ok-sign:before { content: "\f058"; }
361 .icon-question-sign:before { content: "\f059"; }
362 .icon-info-sign:before { content: "\f05a"; }
363 .icon-screenshot:before { content: "\f05b"; }
364 .icon-remove-circle:before { content: "\f05c"; }
365 .icon-ok-circle:before { content: "\f05d"; }
366 .icon-ban-circle:before { content: "\f05e"; }
367
368 .icon-arrow-left:before { content: "\f060"; }
369 .icon-arrow-right:before { content: "\f061"; }
370 .icon-arrow-up:before { content: "\f062"; }
371 .icon-arrow-down:before { content: "\f063"; }
372 .icon-share-alt:before { content: "\f064"; }
373 .icon-resize-full:before { content: "\f065"; }
374 .icon-resize-small:before { content: "\f066"; }
375 .icon-plus:before { content: "\f067"; }
376 .icon-minus:before { content: "\f068"; }
377 .icon-asterisk:before { content: "\f069"; }
378 .icon-exclamation-sign:before { content: "\f06a"; }
379 .icon-gift:before { content: "\f06b"; }
380 .icon-leaf:before { content: "\f06c"; }
381 .icon-fire:before { content: "\f06d"; }
382 .icon-eye-open:before { content: "\f06e"; }
383
384 .icon-eye-close:before { content: "\f070"; }
385 .icon-warning-sign:before { content: "\f071"; }
386 .icon-plane:before { content: "\f072"; }
387 .icon-calendar:before { content: "\f073"; }
388 .icon-random:before { content: "\f074"; }
389 .icon-comment:before { content: "\f075"; }
390 .icon-magnet:before { content: "\f076"; }
391 .icon-chevron-up:before { content: "\f077"; }
392 .icon-chevron-down:before { content: "\f078"; }
393 .icon-retweet:before { content: "\f079"; }
394 .icon-shopping-cart:before { content: "\f07a"; }
395 .icon-folder-close:before { content: "\f07b"; }
396 .icon-folder-open:before { content: "\f07c"; }
397 .icon-resize-vertical:before { content: "\f07d"; }
398 .icon-resize-horizontal:before { content: "\f07e"; }
399
400 .icon-bar-chart:before { content: "\f080"; }
401 .icon-twitter-sign:before { content: "\f081"; }
402 .icon-facebook-sign:before { content: "\f082"; }
403 .icon-camera-retro:before { content: "\f083"; }
404 .icon-key:before { content: "\f084"; }
405 .icon-cogs:before { content: "\f085"; }
406 .icon-comments:before { content: "\f086"; }
407 .icon-thumbs-up:before { content: "\f087"; }
408 .icon-thumbs-down:before { content: "\f088"; }
409 .icon-star-half:before { content: "\f089"; }
410 .icon-heart-empty:before { content: "\f08a"; }
411 .icon-signout:before { content: "\f08b"; }
412 .icon-linkedin-sign:before { content: "\f08c"; }
413 .icon-pushpin:before { content: "\f08d"; }
414 .icon-external-link:before { content: "\f08e"; }
415
416 .icon-signin:before { content: "\f090"; }
417 .icon-trophy:before { content: "\f091"; }
418 .icon-github-sign:before { content: "\f092"; }
419 .icon-upload-alt:before { content: "\f093"; }
420 .icon-lemon:before { content: "\f094"; }
421 .icon-phone:before { content: "\f095"; }
422 .icon-check-empty:before { content: "\f096"; }
423 .icon-bookmark-empty:before { content: "\f097"; }
424 .icon-phone-sign:before { content: "\f098"; }
425 .icon-twitter:before { content: "\f099"; }
426 .icon-facebook:before { content: "\f09a"; }
427 .icon-github:before { content: "\f09b"; }
428 .icon-unlock:before { content: "\f09c"; }
429 .icon-credit-card:before { content: "\f09d"; }
430 .icon-rss:before { content: "\f09e"; }
431
432 .icon-hdd:before { content: "\f0a0"; }
433 .icon-bullhorn:before { content: "\f0a1"; }
434 .icon-bell:before { content: "\f0a2"; }
435 .icon-certificate:before { content: "\f0a3"; }
436 .icon-hand-right:before { content: "\f0a4"; }
437 .icon-hand-left:before { content: "\f0a5"; }
438 .icon-hand-up:before { content: "\f0a6"; }
439 .icon-hand-down:before { content: "\f0a7"; }
440 .icon-circle-arrow-left:before { content: "\f0a8"; }
441 .icon-circle-arrow-right:before { content: "\f0a9"; }
442 .icon-circle-arrow-up:before { content: "\f0aa"; }
443 .icon-circle-arrow-down:before { content: "\f0ab"; }
444 .icon-globe:before { content: "\f0ac"; }
445 .icon-wrench:before { content: "\f0ad"; }
446 .icon-tasks:before { content: "\f0ae"; }
447
448 .icon-filter:before { content: "\f0b0"; }
449 .icon-briefcase:before { content: "\f0b1"; }
450 .icon-fullscreen:before { content: "\f0b2"; }
451
452 .icon-group:before { content: "\f0c0"; }
453 .icon-link:before { content: "\f0c1"; }
454 .icon-cloud:before { content: "\f0c2"; }
455 .icon-beaker:before { content: "\f0c3"; }
456 .icon-cut:before { content: "\f0c4"; }
457 .icon-copy:before { content: "\f0c5"; }
458 .icon-paper-clip:before { content: "\f0c6"; }
459 .icon-save:before { content: "\f0c7"; }
460 .icon-sign-blank:before { content: "\f0c8"; }
461 .icon-reorder:before { content: "\f0c9"; }
462 .icon-list-ul:before { content: "\f0ca"; }
463 .icon-list-ol:before { content: "\f0cb"; }
464 .icon-strikethrough:before { content: "\f0cc"; }
465 .icon-underline:before { content: "\f0cd"; }
466 .icon-table:before { content: "\f0ce"; }
467
468 .icon-magic:before { content: "\f0d0"; }
469 .icon-truck:before { content: "\f0d1"; }
470 .icon-pinterest:before { content: "\f0d2"; }
471 .icon-pinterest-sign:before { content: "\f0d3"; }
472 .icon-google-plus-sign:before { content: "\f0d4"; }
473 .icon-google-plus:before { content: "\f0d5"; }
474 .icon-money:before { content: "\f0d6"; }
475 .icon-caret-down:before { content: "\f0d7"; }
476 .icon-caret-up:before { content: "\f0d8"; }
477 .icon-caret-left:before { content: "\f0d9"; }
478 .icon-caret-right:before { content: "\f0da"; }
479 .icon-columns:before { content: "\f0db"; }
480 .icon-sort:before { content: "\f0dc"; }
481 .icon-sort-down:before { content: "\f0dd"; }
482 .icon-sort-up:before { content: "\f0de"; }
483
484 .icon-envelope-alt:before { content: "\f0e0"; }
485 .icon-linkedin:before { content: "\f0e1"; }
486 .icon-undo:before { content: "\f0e2"; }
487 .icon-legal:before { content: "\f0e3"; }
488 .icon-dashboard:before { content: "\f0e4"; }
489 .icon-comment-alt:before { content: "\f0e5"; }
490 .icon-comments-alt:before { content: "\f0e6"; }
491 .icon-bolt:before { content: "\f0e7"; }
492 .icon-sitemap:before { content: "\f0e8"; }
493 .icon-umbrella:before { content: "\f0e9"; }
494 .icon-paste:before { content: "\f0ea"; }
495 .icon-lightbulb:before { content: "\f0eb"; }
496 .icon-exchange:before { content: "\f0ec"; }
497 .icon-cloud-download:before { content: "\f0ed"; }
498 .icon-cloud-upload:before { content: "\f0ee"; }
499
500 .icon-user-md:before { content: "\f0f0"; }
501 .icon-stethoscope:before { content: "\f0f1"; }
502 .icon-suitcase:before { content: "\f0f2"; }
503 .icon-bell-alt:before { content: "\f0f3"; }
504 .icon-coffee:before { content: "\f0f4"; }
505 .icon-food:before { content: "\f0f5"; }
506 .icon-file-alt:before { content: "\f0f6"; }
507 .icon-building:before { content: "\f0f7"; }
508 .icon-hospital:before { content: "\f0f8"; }
509 .icon-ambulance:before { content: "\f0f9"; }
510 .icon-medkit:before { content: "\f0fa"; }
511 .icon-fighter-jet:before { content: "\f0fb"; }
512 .icon-beer:before { content: "\f0fc"; }
513 .icon-h-sign:before { content: "\f0fd"; }
514 .icon-plus-sign-alt:before { content: "\f0fe"; }
515
516 .icon-double-angle-left:before { content: "\f100"; }
517 .icon-double-angle-right:before { content: "\f101"; }
518 .icon-double-angle-up:before { content: "\f102"; }
519 .icon-double-angle-down:before { content: "\f103"; }
520 .icon-angle-left:before { content: "\f104"; }
521 .icon-angle-right:before { content: "\f105"; }
522 .icon-angle-up:before { content: "\f106"; }
523 .icon-angle-down:before { content: "\f107"; }
524 .icon-desktop:before { content: "\f108"; }
525 .icon-laptop:before { content: "\f109"; }
526 .icon-tablet:before { content: "\f10a"; }
527 .icon-mobile-phone:before { content: "\f10b"; }
528 .icon-circle-blank:before { content: "\f10c"; }
529 .icon-quote-left:before { content: "\f10d"; }
530 .icon-quote-right:before { content: "\f10e"; }
531
532 .icon-spinner:before { content: "\f110"; }
533 .icon-circle:before { content: "\f111"; }
534 .icon-reply:before { content: "\f112"; }
535 .icon-github-alt:before { content: "\f113"; }
536 .icon-folder-close-alt:before { content: "\f114"; }
537 .icon-folder-open-alt:before { content: "\f115"; }