font-awesome.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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: http://lemonwi.se co-founder
  20. */
  21. @font-face {
  22. font-family: 'FontAwesome';
  23. src: url('../font/fontawesome-webfont.eot');
  24. src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
  25. url('../font/fontawesome-webfont.woff') format('woff'),
  26. url('../font/fontawesome-webfont.ttf') format('truetype'),
  27. url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'),
  28. url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
  29. font-weight: normal;
  30. font-style: normal;
  31. }
  32. /* sprites.less reset */
  33. [class^="icon-"],
  34. [class*=" icon-"] {
  35. display: inline;
  36. width: auto;
  37. height: auto;
  38. line-height: inherit;
  39. vertical-align: baseline;
  40. background-image: none;
  41. background-position: 0% 0%;
  42. background-repeat: repeat;
  43. }
  44. li[class^="icon-"],
  45. li[class*=" icon-"] {
  46. display: block;
  47. }
  48. /* Font Awesome styles
  49. ------------------------------------------------------- */
  50. [class^="icon-"]:before,
  51. [class*=" icon-"]:before {
  52. font-family: FontAwesome;
  53. font-weight: normal;
  54. font-style: normal;
  55. display: inline-block;
  56. text-decoration: inherit;
  57. }
  58. a [class^="icon-"],
  59. a [class*=" icon-"] {
  60. display: inline-block;
  61. text-decoration: inherit;
  62. }
  63. /* makes the font 33% larger relative to the icon container */
  64. .icon-large:before {
  65. vertical-align: top;
  66. font-size: 4/3em;
  67. }
  68. .btn {
  69. [class^="icon-"],
  70. [class*=" icon-"] {
  71. /* keeps button heights with and without icons the same */
  72. line-height: .9em;
  73. }
  74. }
  75. li {
  76. [class^="icon-"],
  77. [class*=" icon-"] {
  78. display: inline-block;
  79. width: 1.25em;
  80. text-align: center;
  81. }
  82. .icon-large[class^="icon-"],
  83. .icon-large[class*=" icon-"] {
  84. /* 1.5 increased font size for icon-large * 1.25 width */
  85. width: 1.5*1.25em;
  86. }
  87. }
  88. li[class^="icon-"],
  89. li[class*=" icon-"] {
  90. margin-left: 0;
  91. list-style-type: none;
  92. &:before {
  93. text-indent: -2em;
  94. text-align: center;
  95. }
  96. &.icon-large:before {
  97. text-indent: -4/3em;
  98. }
  99. }
  100. /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
  101. readers do not read off random characters that represent icons */
  102. .icon-glass:before { content: "\f000"; }
  103. .icon-music:before { content: "\f001"; }
  104. .icon-search:before { content: "\f002"; }
  105. .icon-envelope:before { content: "\f003"; }
  106. .icon-heart:before { content: "\f004"; }
  107. .icon-star:before { content: "\f005"; }
  108. .icon-star-empty:before { content: "\f006"; }
  109. .icon-user:before { content: "\f007"; }
  110. .icon-film:before { content: "\f008"; }
  111. .icon-th-large:before { content: "\f009"; }
  112. .icon-th:before { content: "\f00a"; }
  113. .icon-th-list:before { content: "\f00b"; }
  114. .icon-ok:before { content: "\f00c"; }
  115. .icon-remove:before { content: "\f00d"; }
  116. .icon-zoom-in:before { content: "\f00e"; }
  117. .icon-zoom-out:before { content: "\f010"; }
  118. .icon-off:before { content: "\f011"; }
  119. .icon-signal:before { content: "\f012"; }
  120. .icon-cog:before { content: "\f013"; }
  121. .icon-trash:before { content: "\f014"; }
  122. .icon-home:before { content: "\f015"; }
  123. .icon-file:before { content: "\f016"; }
  124. .icon-time:before { content: "\f017"; }
  125. .icon-road:before { content: "\f018"; }
  126. .icon-download-alt:before { content: "\f019"; }
  127. .icon-download:before { content: "\f01a"; }
  128. .icon-upload:before { content: "\f01b"; }
  129. .icon-inbox:before { content: "\f01c"; }
  130. .icon-play-circle:before { content: "\f01d"; }
  131. .icon-repeat:before { content: "\f01e"; }
  132. /* \f020 is not a valid unicode character. all shifted one down */
  133. .icon-refresh:before { content: "\f021"; }
  134. .icon-list-alt:before { content: "\f022"; }
  135. .icon-lock:before { content: "\f023"; }
  136. .icon-flag:before { content: "\f024"; }
  137. .icon-headphones:before { content: "\f025"; }
  138. .icon-volume-off:before { content: "\f026"; }
  139. .icon-volume-down:before { content: "\f027"; }
  140. .icon-volume-up:before { content: "\f028"; }
  141. .icon-qrcode:before { content: "\f029"; }
  142. .icon-barcode:before { content: "\f02a"; }
  143. .icon-tag:before { content: "\f02b"; }
  144. .icon-tags:before { content: "\f02c"; }
  145. .icon-book:before { content: "\f02d"; }
  146. .icon-bookmark:before { content: "\f02e"; }
  147. .icon-print:before { content: "\f02f"; }
  148. .icon-camera:before { content: "\f030"; }
  149. .icon-font:before { content: "\f031"; }
  150. .icon-bold:before { content: "\f032"; }
  151. .icon-italic:before { content: "\f033"; }
  152. .icon-text-height:before { content: "\f034"; }
  153. .icon-text-width:before { content: "\f035"; }
  154. .icon-align-left:before { content: "\f036"; }
  155. .icon-align-center:before { content: "\f037"; }
  156. .icon-align-right:before { content: "\f038"; }
  157. .icon-align-justify:before { content: "\f039"; }
  158. .icon-list:before { content: "\f03a"; }
  159. .icon-indent-left:before { content: "\f03b"; }
  160. .icon-indent-right:before { content: "\f03c"; }
  161. .icon-facetime-video:before { content: "\f03d"; }
  162. .icon-picture:before { content: "\f03e"; }
  163. .icon-pencil:before { content: "\f040"; }
  164. .icon-map-marker:before { content: "\f041"; }
  165. .icon-adjust:before { content: "\f042"; }
  166. .icon-tint:before { content: "\f043"; }
  167. .icon-edit:before { content: "\f044"; }
  168. .icon-share:before { content: "\f045"; }
  169. .icon-check:before { content: "\f046"; }
  170. .icon-move:before { content: "\f047"; }
  171. .icon-step-backward:before { content: "\f048"; }
  172. .icon-fast-backward:before { content: "\f049"; }
  173. .icon-backward:before { content: "\f04a"; }
  174. .icon-play:before { content: "\f04b"; }
  175. .icon-pause:before { content: "\f04c"; }
  176. .icon-stop:before { content: "\f04d"; }
  177. .icon-forward:before { content: "\f04e"; }
  178. .icon-fast-forward:before { content: "\f050"; }
  179. .icon-step-forward:before { content: "\f051"; }
  180. .icon-eject:before { content: "\f052"; }
  181. .icon-chevron-left:before { content: "\f053"; }
  182. .icon-chevron-right:before { content: "\f054"; }
  183. .icon-plus-sign:before { content: "\f055"; }
  184. .icon-minus-sign:before { content: "\f056"; }
  185. .icon-remove-sign:before { content: "\f057"; }
  186. .icon-ok-sign:before { content: "\f058"; }
  187. .icon-question-sign:before { content: "\f059"; }
  188. .icon-info-sign:before { content: "\f05a"; }
  189. .icon-screenshot:before { content: "\f05b"; }
  190. .icon-remove-circle:before { content: "\f05c"; }
  191. .icon-ok-circle:before { content: "\f05d"; }
  192. .icon-ban-circle:before { content: "\f05e"; }
  193. .icon-arrow-left:before { content: "\f060"; }
  194. .icon-arrow-right:before { content: "\f061"; }
  195. .icon-arrow-up:before { content: "\f062"; }
  196. .icon-arrow-down:before { content: "\f063"; }
  197. .icon-share-alt:before { content: "\f064"; }
  198. .icon-resize-full:before { content: "\f065"; }
  199. .icon-resize-small:before { content: "\f066"; }
  200. .icon-plus:before { content: "\f067"; }
  201. .icon-minus:before { content: "\f068"; }
  202. .icon-asterisk:before { content: "\f069"; }
  203. .icon-exclamation-sign:before { content: "\f06a"; }
  204. .icon-gift:before { content: "\f06b"; }
  205. .icon-leaf:before { content: "\f06c"; }
  206. .icon-fire:before { content: "\f06d"; }
  207. .icon-eye-open:before { content: "\f06e"; }
  208. .icon-eye-close:before { content: "\f070"; }
  209. .icon-warning-sign:before { content: "\f071"; }
  210. .icon-plane:before { content: "\f072"; }
  211. .icon-calendar:before { content: "\f073"; }
  212. .icon-random:before { content: "\f074"; }
  213. .icon-comment:before { content: "\f075"; }
  214. .icon-magnet:before { content: "\f076"; }
  215. .icon-chevron-up:before { content: "\f077"; }
  216. .icon-chevron-down:before { content: "\f078"; }
  217. .icon-retweet:before { content: "\f079"; }
  218. .icon-shopping-cart:before { content: "\f07a"; }
  219. .icon-folder-close:before { content: "\f07b"; }
  220. .icon-folder-open:before { content: "\f07c"; }
  221. .icon-resize-vertical:before { content: "\f07d"; }
  222. .icon-resize-horizontal:before { content: "\f07e"; }
  223. .icon-bar-chart:before { content: "\f080"; }
  224. .icon-twitter-sign:before { content: "\f081"; }
  225. .icon-facebook-sign:before { content: "\f082"; }
  226. .icon-camera-retro:before { content: "\f083"; }
  227. .icon-key:before { content: "\f084"; }
  228. .icon-cogs:before { content: "\f085"; }
  229. .icon-comments:before { content: "\f086"; }
  230. .icon-thumbs-up:before { content: "\f087"; }
  231. .icon-thumbs-down:before { content: "\f088"; }
  232. .icon-star-half:before { content: "\f089"; }
  233. .icon-heart-empty:before { content: "\f08a"; }
  234. .icon-signout:before { content: "\f08b"; }
  235. .icon-linkedin-sign:before { content: "\f08c"; }
  236. .icon-pushpin:before { content: "\f08d"; }
  237. .icon-external-link:before { content: "\f08e"; }
  238. .icon-signin:before { content: "\f090"; }
  239. .icon-trophy:before { content: "\f091"; }
  240. .icon-github-sign:before { content: "\f092"; }
  241. .icon-upload-alt:before { content: "\f093"; }
  242. .icon-lemon:before { content: "\f094"; }