font-awesome.less 19 KB

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