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.

311 lines
5.5 KiB

  1. /*
  2. * # Semantic - Icon
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  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 @margin 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. box-sizing: border-box;
  61. font-smoothing: antialiased;
  62. backface-visibility: hidden;
  63. }
  64. /*******************************
  65. Types
  66. *******************************/
  67. /*--------------
  68. Loading
  69. ---------------*/
  70. i.icon.loading {
  71. animation: icon-loading @loadingDuration linear infinite;
  72. }
  73. @keyframes icon-loading {
  74. from {
  75. transform: rotate(0deg);
  76. }
  77. to {
  78. transform: rotate(360deg);
  79. }
  80. }
  81. /*******************************
  82. States
  83. *******************************/
  84. i.icon.hover {
  85. opacity: 1;
  86. }
  87. i.icon.active {
  88. opacity: 1;
  89. }
  90. i.emphasized.icon {
  91. opacity: 1;
  92. }
  93. i.icon.disabled {
  94. opacity: @disabledOpacity;
  95. }
  96. /*******************************
  97. Variations
  98. *******************************/
  99. /*-------------------
  100. Link
  101. --------------------*/
  102. i.link.icon {
  103. cursor: pointer;
  104. opacity: @opacity;
  105. transition: opacity @transitionDuration @transitionEasing;
  106. }
  107. i.link.icon:hover {
  108. opacity: 1 !important;
  109. }
  110. /*-------------------
  111. Circular
  112. --------------------*/
  113. i.circular.icon {
  114. border-radius: 500em !important;
  115. padding: @circularPadding !important;
  116. box-shadow: @circularShadow;
  117. line-height: 1 !important;
  118. width: @circularSize !important;
  119. height: @circularSize !important;
  120. }
  121. i.circular.inverted.icon {
  122. border: none;
  123. box-shadow: none;
  124. }
  125. /*-------------------
  126. Flipped
  127. --------------------*/
  128. i.flipped.icon,
  129. i.horizontally.flipped.icon {
  130. transform: scale(-1, 1);
  131. }
  132. i.vertically.flipped.icon {
  133. transform: scale(1, -1);
  134. }
  135. /*-------------------
  136. Rotated
  137. --------------------*/
  138. i.rotated.icon,
  139. i.right.rotated.icon,
  140. i.clockwise.rotated.icon {
  141. transform: rotate(90deg);
  142. }
  143. i.left.rotated.icon,
  144. i.counterclockwise.rotated.icon {
  145. transform: rotate(-90deg);
  146. }
  147. /*-------------------
  148. Square
  149. --------------------*/
  150. i.square.icon {
  151. width: @squareSize;
  152. height: @squareSize;
  153. padding: @squareSize !important;
  154. box-shadow: @squareShadow;
  155. vertical-align: baseline;
  156. }
  157. i.square.inverted.icon {
  158. border: none;
  159. box-shadow: none;
  160. }
  161. /*-------------------
  162. Inverted
  163. --------------------*/
  164. i.inverted.icon {
  165. background-color: #222222;
  166. color: #FFFFFF;
  167. }
  168. /*-------------------
  169. Colors
  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 Colors
  200. --------------------*/
  201. i.inverted.black.icon {
  202. background-color: @black !important;
  203. color: #FFFFFF !important;
  204. }
  205. i.inverted.blue.icon {
  206. background-color: @blue !important;
  207. color: #FFFFFF !important;
  208. }
  209. i.inverted.green.icon {
  210. background-color: @green !important;
  211. color: #FFFFFF !important;
  212. }
  213. i.inverted.orange.icon {
  214. background-color: @orange !important;
  215. color: #FFFFFF !important;
  216. }
  217. i.inverted.pink.icon {
  218. background-color: @pink !important;
  219. color: #FFFFFF !important;
  220. }
  221. i.inverted.purple.icon {
  222. background-color: @purple !important;
  223. color: #FFFFFF !important;
  224. }
  225. i.inverted.red.icon {
  226. background-color: @red !important;
  227. color: #FFFFFF !important;
  228. }
  229. i.inverted.teal.icon {
  230. background-color: @teal !important;
  231. color: #FFFFFF !important;
  232. }
  233. i.inverted.yellow.icon {
  234. background-color: @yellow !important;
  235. color: #FFFFFF !important;
  236. }
  237. /*-------------------
  238. Sizes
  239. --------------------*/
  240. i.small.icon {
  241. font-size: @small;
  242. }
  243. i.icon {
  244. font-size: @medium;
  245. }
  246. i.large.icon {
  247. font-size: @large;
  248. vertical-align: middle;
  249. }
  250. i.big.icon {
  251. font-size: @big;
  252. vertical-align: middle;
  253. }
  254. i.huge.icon {
  255. font-size: @huge;
  256. vertical-align: middle;
  257. }
  258. i.massive.icon {
  259. font-size: @massive;
  260. vertical-align: middle;
  261. }
  262. .loadUIOverrides();