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.

347 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. i.icon:before {
  65. background: none !important;
  66. }
  67. /*******************************
  68. Types
  69. *******************************/
  70. /*--------------
  71. Loading
  72. ---------------*/
  73. i.icon.loading {
  74. height: 1em;
  75. animation: icon-loading @loadingDuration linear infinite;
  76. }
  77. @keyframes icon-loading {
  78. from {
  79. transform: rotate(0deg);
  80. }
  81. to {
  82. transform: rotate(360deg);
  83. }
  84. }
  85. /*******************************
  86. States
  87. *******************************/
  88. i.icon.hover {
  89. opacity: 1;
  90. }
  91. i.icon.active {
  92. opacity: 1;
  93. }
  94. i.emphasized.icon {
  95. opacity: 1;
  96. }
  97. i.icon.disabled {
  98. opacity: @disabledOpacity;
  99. }
  100. /*******************************
  101. Variations
  102. *******************************/
  103. /*-------------------
  104. Link
  105. --------------------*/
  106. i.link.icon {
  107. cursor: pointer;
  108. opacity: @opacity;
  109. transition: opacity @transitionDuration @transitionEasing;
  110. }
  111. i.link.icon:hover {
  112. opacity: 1 !important;
  113. }
  114. /*-------------------
  115. Circular
  116. --------------------*/
  117. i.circular.icon {
  118. border-radius: 500em !important;
  119. padding: @circularPadding !important;
  120. box-shadow: @circularShadow;
  121. line-height: 1 !important;
  122. width: @circularSize !important;
  123. height: @circularSize !important;
  124. }
  125. i.circular.inverted.icon {
  126. border: none;
  127. box-shadow: none;
  128. }
  129. /*-------------------
  130. Flipped
  131. --------------------*/
  132. i.flipped.icon,
  133. i.horizontally.flipped.icon {
  134. transform: scale(-1, 1);
  135. }
  136. i.vertically.flipped.icon {
  137. transform: scale(1, -1);
  138. }
  139. /*-------------------
  140. Rotated
  141. --------------------*/
  142. i.rotated.icon,
  143. i.right.rotated.icon,
  144. i.clockwise.rotated.icon {
  145. transform: rotate(90deg);
  146. }
  147. i.left.rotated.icon,
  148. i.counterclockwise.rotated.icon {
  149. transform: rotate(-90deg);
  150. }
  151. /*-------------------
  152. Bordered
  153. --------------------*/
  154. i.bordered.icon {
  155. width: @borderedSize;
  156. height: @borderedSize;
  157. padding: @borderedVerticalPadding @borderedHorizontalPadding !important;
  158. box-shadow: @borderedShadow;
  159. vertical-align: baseline;
  160. }
  161. i.bordered.inverted.icon {
  162. border: none;
  163. box-shadow: none;
  164. }
  165. /*-------------------
  166. Colors
  167. --------------------*/
  168. i.white.icon {
  169. color: @white !important;
  170. }
  171. i.black.icon {
  172. color: @black !important;
  173. }
  174. i.blue.icon {
  175. color: @blue !important;
  176. }
  177. i.green.icon {
  178. color: @green !important;
  179. }
  180. i.orange.icon {
  181. color: @orange !important;
  182. }
  183. i.pink.icon {
  184. color: @pink !important;
  185. }
  186. i.purple.icon {
  187. color: @purple !important;
  188. }
  189. i.red.icon {
  190. color: @red !important;
  191. }
  192. i.teal.icon {
  193. color: @teal !important;
  194. }
  195. i.yellow.icon {
  196. color: @yellow !important;
  197. }
  198. /*-------------------
  199. Inverted
  200. --------------------*/
  201. i.inverted.icon {
  202. color: @white;
  203. }
  204. i.inverted.black.icon {
  205. color: @lightBlack !important;
  206. }
  207. i.inverted.blue.icon {
  208. color: @lightBlue !important;
  209. }
  210. i.inverted.green.icon {
  211. color: @lightGreen !important;
  212. }
  213. i.inverted.orange.icon {
  214. color: @lightOrange !important;
  215. }
  216. i.inverted.pink.icon {
  217. color: @lightPink !important;
  218. }
  219. i.inverted.purple.icon {
  220. color: @lightPurple !important;
  221. }
  222. i.inverted.red.icon {
  223. color: @lightRed !important;
  224. }
  225. i.inverted.teal.icon {
  226. color: @lightTeal !important;
  227. }
  228. i.inverted.yellow.icon {
  229. color: @lightYellow !important;
  230. }
  231. /* Inverted Circular */
  232. i.inverted.circular.icon {
  233. background-color: #222222 !important;
  234. color: #FFFFFF !important;
  235. }
  236. i.inverted.circular.black.icon {
  237. background-color: @black !important;
  238. color: #FFFFFF !important;
  239. }
  240. i.inverted.circular.blue.icon {
  241. background-color: @blue !important;
  242. color: #FFFFFF !important;
  243. }
  244. i.inverted.circular.green.icon {
  245. background-color: @green !important;
  246. color: #FFFFFF !important;
  247. }
  248. i.inverted.circular.orange.icon {
  249. background-color: @orange !important;
  250. color: #FFFFFF !important;
  251. }
  252. i.inverted.circular.pink.icon {
  253. background-color: @pink !important;
  254. color: #FFFFFF !important;
  255. }
  256. i.inverted.circular.purple.icon {
  257. background-color: @purple !important;
  258. color: #FFFFFF !important;
  259. }
  260. i.inverted.circular.red.icon {
  261. background-color: @red !important;
  262. color: #FFFFFF !important;
  263. }
  264. i.inverted.circular.teal.icon {
  265. background-color: @teal !important;
  266. color: #FFFFFF !important;
  267. }
  268. i.inverted.circular.yellow.icon {
  269. background-color: @yellow !important;
  270. color: #FFFFFF !important;
  271. }
  272. /*-------------------
  273. Sizes
  274. --------------------*/
  275. i.small.icon {
  276. font-size: @small;
  277. }
  278. i.icon {
  279. font-size: @medium;
  280. }
  281. i.large.icon {
  282. font-size: @large;
  283. vertical-align: middle;
  284. }
  285. i.big.icon {
  286. font-size: @big;
  287. vertical-align: middle;
  288. }
  289. i.huge.icon {
  290. font-size: @huge;
  291. vertical-align: middle;
  292. }
  293. i.massive.icon {
  294. font-size: @massive;
  295. vertical-align: middle;
  296. }
  297. .loadUIOverrides();