You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

343 lines
6.3 KiB

10 years ago
10 years ago
  1. /*
  2. * # Semantic - Icon
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*!
  12. * Font Awesome 3.2.1
  13. * the iconic font designed for Bootstrap
  14. * ------------------------------------------------------------------------------
  15. * The full suite of pictographic icons, examples, and documentation can be
  16. * found at http://fon.io. Stay up to date on Twitter at
  17. * http://twitter.com/fon.
  18. *
  19. * License
  20. * ------------------------------------------------------------------------------
  21. * - The Font Awesome font is licensed under SIL OFL 1.1 -
  22. * http://scripts.sil.org/OFL
  23. /*******************************
  24. Theme
  25. *******************************/
  26. @type : 'element';
  27. @element : 'icon';
  28. @import '../../semantic.config';
  29. /*******************************
  30. Icon
  31. *******************************/
  32. @font-face {
  33. font-family: 'Icons';
  34. src: url("@{fontPath}/@{fontName}.eot");
  35. src:
  36. url("@{fontPath}/@{fontName}.eot?#iefix") format('embedded-opentype'),
  37. url("@{fontPath}/@{fontName}.svg#icons") format('svg'),
  38. url("@{fontPath}/@{fontName}.woff") format('woff'),
  39. url("@{fontPath}/@{fontName}.ttf") format('truetype')
  40. ;
  41. font-style: normal;
  42. font-weight: normal;
  43. font-variant: normal;
  44. text-decoration: inherit;
  45. text-transform: none;
  46. }
  47. i.icon {
  48. display: inline-block;
  49. opacity: @opacity;
  50. margin: 0em @distanceFromText 0em 0em;
  51. width: @width;
  52. height: @height;
  53. font-family: 'Icons';
  54. font-style: normal;
  55. line-height: 1;
  56. font-weight: normal;
  57. text-decoration: inherit;
  58. text-align: center;
  59. speak: none;
  60. font-smoothing: antialiased;
  61. -moz-osx-font-smoothing: grayscale;
  62. backface-visibility: hidden;
  63. }
  64. /*******************************
  65. Types
  66. *******************************/
  67. /*--------------
  68. Loading
  69. ---------------*/
  70. i.icon.loading {
  71. height: 1em;
  72. animation: icon-loading @loadingDuration linear infinite;
  73. }
  74. @keyframes icon-loading {
  75. from {
  76. transform: rotate(0deg);
  77. }
  78. to {
  79. transform: rotate(360deg);
  80. }
  81. }
  82. /*******************************
  83. States
  84. *******************************/
  85. i.icon.hover {
  86. opacity: 1;
  87. }
  88. i.icon.active {
  89. opacity: 1;
  90. }
  91. i.emphasized.icon {
  92. opacity: 1;
  93. }
  94. i.icon.disabled {
  95. opacity: @disabledOpacity;
  96. }
  97. /*******************************
  98. Variations
  99. *******************************/
  100. /*-------------------
  101. Link
  102. --------------------*/
  103. i.link.icon {
  104. cursor: pointer;
  105. opacity: @opacity;
  106. transition: opacity @transitionDuration @transitionEasing;
  107. }
  108. i.link.icon:hover {
  109. opacity: 1 !important;
  110. }
  111. /*-------------------
  112. Circular
  113. --------------------*/
  114. i.circular.icon {
  115. border-radius: 500em !important;
  116. padding: @circularPadding !important;
  117. box-shadow: @circularShadow;
  118. line-height: 1 !important;
  119. width: @circularSize !important;
  120. height: @circularSize !important;
  121. }
  122. i.circular.inverted.icon {
  123. border: none;
  124. box-shadow: none;
  125. }
  126. /*-------------------
  127. Flipped
  128. --------------------*/
  129. i.flipped.icon,
  130. i.horizontally.flipped.icon {
  131. transform: scale(-1, 1);
  132. }
  133. i.vertically.flipped.icon {
  134. transform: scale(1, -1);
  135. }
  136. /*-------------------
  137. Rotated
  138. --------------------*/
  139. i.rotated.icon,
  140. i.right.rotated.icon,
  141. i.clockwise.rotated.icon {
  142. transform: rotate(90deg);
  143. }
  144. i.left.rotated.icon,
  145. i.counterclockwise.rotated.icon {
  146. transform: rotate(-90deg);
  147. }
  148. /*-------------------
  149. Bordered
  150. --------------------*/
  151. i.bordered.icon {
  152. width: @borderedSize;
  153. height: @borderedSize;
  154. padding: @borderedVerticalPadding @borderedHorizontalPadding !important;
  155. box-shadow: @borderedShadow;
  156. vertical-align: baseline;
  157. }
  158. i.bordered.inverted.icon {
  159. border: none;
  160. box-shadow: none;
  161. }
  162. /*-------------------
  163. Colors
  164. --------------------*/
  165. i.white.icon {
  166. color: @white !important;
  167. }
  168. i.black.icon {
  169. color: @black !important;
  170. }
  171. i.blue.icon {
  172. color: @blue !important;
  173. }
  174. i.green.icon {
  175. color: @green !important;
  176. }
  177. i.orange.icon {
  178. color: @orange !important;
  179. }
  180. i.pink.icon {
  181. color: @pink !important;
  182. }
  183. i.purple.icon {
  184. color: @purple !important;
  185. }
  186. i.red.icon {
  187. color: @red !important;
  188. }
  189. i.teal.icon {
  190. color: @teal !important;
  191. }
  192. i.yellow.icon {
  193. color: @yellow !important;
  194. }
  195. /*-------------------
  196. Inverted
  197. --------------------*/
  198. i.inverted.icon {
  199. color: @white;
  200. }
  201. i.inverted.black.icon {
  202. color: @lightBlack !important;
  203. }
  204. i.inverted.blue.icon {
  205. color: @lightBlue !important;
  206. }
  207. i.inverted.green.icon {
  208. color: @lightGreen !important;
  209. }
  210. i.inverted.orange.icon {
  211. color: @lightOrange !important;
  212. }
  213. i.inverted.pink.icon {
  214. color: @lightPink !important;
  215. }
  216. i.inverted.purple.icon {
  217. color: @lightPurple !important;
  218. }
  219. i.inverted.red.icon {
  220. color: @lightRed !important;
  221. }
  222. i.inverted.teal.icon {
  223. color: @lightTeal !important;
  224. }
  225. i.inverted.yellow.icon {
  226. color: @lightYellow !important;
  227. }
  228. /* Inverted Circular */
  229. i.inverted.circular.icon {
  230. background-color: #222222 !important;
  231. color: #FFFFFF !important;
  232. }
  233. i.inverted.circular.black.icon {
  234. background-color: @black !important;
  235. color: #FFFFFF !important;
  236. }
  237. i.inverted.circular.blue.icon {
  238. background-color: @blue !important;
  239. color: #FFFFFF !important;
  240. }
  241. i.inverted.circular.green.icon {
  242. background-color: @green !important;
  243. color: #FFFFFF !important;
  244. }
  245. i.inverted.circular.orange.icon {
  246. background-color: @orange !important;
  247. color: #FFFFFF !important;
  248. }
  249. i.inverted.circular.pink.icon {
  250. background-color: @pink !important;
  251. color: #FFFFFF !important;
  252. }
  253. i.inverted.circular.purple.icon {
  254. background-color: @purple !important;
  255. color: #FFFFFF !important;
  256. }
  257. i.inverted.circular.red.icon {
  258. background-color: @red !important;
  259. color: #FFFFFF !important;
  260. }
  261. i.inverted.circular.teal.icon {
  262. background-color: @teal !important;
  263. color: #FFFFFF !important;
  264. }
  265. i.inverted.circular.yellow.icon {
  266. background-color: @yellow !important;
  267. color: #FFFFFF !important;
  268. }
  269. /*-------------------
  270. Sizes
  271. --------------------*/
  272. i.small.icon {
  273. font-size: @small;
  274. }
  275. i.icon {
  276. font-size: @medium;
  277. }
  278. i.large.icon {
  279. font-size: @large;
  280. vertical-align: middle;
  281. }
  282. i.big.icon {
  283. font-size: @big;
  284. vertical-align: middle;
  285. }
  286. i.huge.icon {
  287. font-size: @huge;
  288. vertical-align: middle;
  289. }
  290. i.massive.icon {
  291. font-size: @massive;
  292. vertical-align: middle;
  293. }
  294. .loadUIOverrides();