font-awesome.less 9.1 KB

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