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.

312 lines
5.6 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. -moz-osx-font-smoothing: grayscale;
  63. backface-visibility: hidden;
  64. }
  65. /*******************************
  66. Types
  67. *******************************/
  68. /*--------------
  69. Loading
  70. ---------------*/
  71. i.icon.loading {
  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. Inverted
  164. --------------------*/
  165. i.inverted.icon {
  166. background-color: #222222;
  167. color: #FFFFFF;
  168. }
  169. /*-------------------
  170. Colors
  171. --------------------*/
  172. i.black.icon {
  173. color: @black !important;
  174. }
  175. i.blue.icon {
  176. color: @blue !important;
  177. }
  178. i.green.icon {
  179. color: @green !important;
  180. }
  181. i.orange.icon {
  182. color: @orange !important;
  183. }
  184. i.pink.icon {
  185. color: @pink !important;
  186. }
  187. i.purple.icon {
  188. color: @purple !important;
  189. }
  190. i.red.icon {
  191. color: @red !important;
  192. }
  193. i.teal.icon {
  194. color: @teal !important;
  195. }
  196. i.yellow.icon {
  197. color: @yellow !important;
  198. }
  199. /*-------------------
  200. Inverted Colors
  201. --------------------*/
  202. i.inverted.black.icon {
  203. background-color: @black !important;
  204. color: #FFFFFF !important;
  205. }
  206. i.inverted.blue.icon {
  207. background-color: @blue !important;
  208. color: #FFFFFF !important;
  209. }
  210. i.inverted.green.icon {
  211. background-color: @green !important;
  212. color: #FFFFFF !important;
  213. }
  214. i.inverted.orange.icon {
  215. background-color: @orange !important;
  216. color: #FFFFFF !important;
  217. }
  218. i.inverted.pink.icon {
  219. background-color: @pink !important;
  220. color: #FFFFFF !important;
  221. }
  222. i.inverted.purple.icon {
  223. background-color: @purple !important;
  224. color: #FFFFFF !important;
  225. }
  226. i.inverted.red.icon {
  227. background-color: @red !important;
  228. color: #FFFFFF !important;
  229. }
  230. i.inverted.teal.icon {
  231. background-color: @teal !important;
  232. color: #FFFFFF !important;
  233. }
  234. i.inverted.yellow.icon {
  235. background-color: @yellow !important;
  236. color: #FFFFFF !important;
  237. }
  238. /*-------------------
  239. Sizes
  240. --------------------*/
  241. i.small.icon {
  242. font-size: @small;
  243. }
  244. i.icon {
  245. font-size: @medium;
  246. }
  247. i.large.icon {
  248. font-size: @large;
  249. vertical-align: middle;
  250. }
  251. i.big.icon {
  252. font-size: @big;
  253. vertical-align: middle;
  254. }
  255. i.huge.icon {
  256. font-size: @huge;
  257. vertical-align: middle;
  258. }
  259. i.massive.icon {
  260. font-size: @massive;
  261. vertical-align: middle;
  262. }
  263. .loadUIOverrides();