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.

350 lines
6.7 KiB

9 years ago
8 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.2.0 - Loader
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Loader
  13. *******************************/
  14. /* Standard Size */
  15. .ui.loader {
  16. display: none;
  17. position: absolute;
  18. top: 50%;
  19. left: 50%;
  20. margin: 0px;
  21. text-align: center;
  22. z-index: 1000;
  23. -webkit-transform: translateX(-50%) translateY(-50%);
  24. -ms-transform: translateX(-50%) translateY(-50%);
  25. transform: translateX(-50%) translateY(-50%);
  26. }
  27. /* Static Shape */
  28. .ui.loader:before {
  29. position: absolute;
  30. content: '';
  31. top: 0%;
  32. left: 50%;
  33. width: 100%;
  34. height: 100%;
  35. border-radius: 500rem;
  36. border: 0.2em solid rgba(0, 0, 0, 0.1);
  37. }
  38. /* Active Shape */
  39. .ui.loader:after {
  40. position: absolute;
  41. content: '';
  42. top: 0%;
  43. left: 50%;
  44. width: 100%;
  45. height: 100%;
  46. -webkit-animation: loader 0.6s linear;
  47. animation: loader 0.6s linear;
  48. -webkit-animation-iteration-count: infinite;
  49. animation-iteration-count: infinite;
  50. border-radius: 500rem;
  51. border-color: #767676 transparent transparent;
  52. border-style: solid;
  53. border-width: 0.2em;
  54. box-shadow: 0px 0px 0px 1px transparent;
  55. }
  56. /* Active Animation */
  57. @-webkit-keyframes loader {
  58. from {
  59. -webkit-transform: rotate(0deg);
  60. transform: rotate(0deg);
  61. }
  62. to {
  63. -webkit-transform: rotate(360deg);
  64. transform: rotate(360deg);
  65. }
  66. }
  67. @keyframes loader {
  68. from {
  69. -webkit-transform: rotate(0deg);
  70. transform: rotate(0deg);
  71. }
  72. to {
  73. -webkit-transform: rotate(360deg);
  74. transform: rotate(360deg);
  75. }
  76. }
  77. /* Sizes */
  78. .ui.mini.loader:before,
  79. .ui.mini.loader:after {
  80. width: 1rem;
  81. height: 1rem;
  82. margin: 0em 0em 0em -0.5rem;
  83. }
  84. .ui.tiny.loader:before,
  85. .ui.tiny.loader:after {
  86. width: 1.14285714rem;
  87. height: 1.14285714rem;
  88. margin: 0em 0em 0em -0.57142857rem;
  89. }
  90. .ui.small.loader:before,
  91. .ui.small.loader:after {
  92. width: 1.71428571rem;
  93. height: 1.71428571rem;
  94. margin: 0em 0em 0em -0.85714286rem;
  95. }
  96. .ui.loader:before,
  97. .ui.loader:after {
  98. width: 2.28571429rem;
  99. height: 2.28571429rem;
  100. margin: 0em 0em 0em -1.14285714rem;
  101. }
  102. .ui.large.loader:before,
  103. .ui.large.loader:after {
  104. width: 3.42857143rem;
  105. height: 3.42857143rem;
  106. margin: 0em 0em 0em -1.71428571rem;
  107. }
  108. .ui.big.loader:before,
  109. .ui.big.loader:after {
  110. width: 3.71428571rem;
  111. height: 3.71428571rem;
  112. margin: 0em 0em 0em -1.85714286rem;
  113. }
  114. .ui.huge.loader:before,
  115. .ui.huge.loader:after {
  116. width: 4.14285714rem;
  117. height: 4.14285714rem;
  118. margin: 0em 0em 0em -2.07142857rem;
  119. }
  120. .ui.massive.loader:before,
  121. .ui.massive.loader:after {
  122. width: 4.57142857rem;
  123. height: 4.57142857rem;
  124. margin: 0em 0em 0em -2.28571429rem;
  125. }
  126. /*-------------------
  127. Coupling
  128. --------------------*/
  129. /* Show inside active dimmer */
  130. .ui.dimmer .loader {
  131. display: block;
  132. }
  133. /* Black Dimmer */
  134. .ui.dimmer .ui.loader {
  135. color: rgba(255, 255, 255, 0.9);
  136. }
  137. .ui.dimmer .ui.loader:before {
  138. border-color: rgba(255, 255, 255, 0.15);
  139. }
  140. .ui.dimmer .ui.loader:after {
  141. border-color: #FFFFFF transparent transparent;
  142. }
  143. /* White Dimmer (Inverted) */
  144. .ui.inverted.dimmer .ui.loader {
  145. color: rgba(0, 0, 0, 0.87);
  146. }
  147. .ui.inverted.dimmer .ui.loader:before {
  148. border-color: rgba(0, 0, 0, 0.1);
  149. }
  150. .ui.inverted.dimmer .ui.loader:after {
  151. border-color: #767676 transparent transparent;
  152. }
  153. /*******************************
  154. Types
  155. *******************************/
  156. /*-------------------
  157. Text
  158. --------------------*/
  159. .ui.text.loader {
  160. width: auto !important;
  161. height: auto !important;
  162. text-align: center;
  163. font-style: normal;
  164. }
  165. /*******************************
  166. States
  167. *******************************/
  168. .ui.indeterminate.loader:after {
  169. -webkit-animation-direction: reverse;
  170. animation-direction: reverse;
  171. -webkit-animation-duration: 1.2s;
  172. animation-duration: 1.2s;
  173. }
  174. .ui.loader.active,
  175. .ui.loader.visible {
  176. display: block;
  177. }
  178. .ui.loader.disabled,
  179. .ui.loader.hidden {
  180. display: none;
  181. }
  182. /*******************************
  183. Variations
  184. *******************************/
  185. /*-------------------
  186. Sizes
  187. --------------------*/
  188. /* Loader */
  189. .ui.inverted.dimmer .ui.mini.loader,
  190. .ui.mini.loader {
  191. width: 1rem;
  192. height: 1rem;
  193. font-size: 0.78571429em;
  194. }
  195. .ui.inverted.dimmer .ui.tiny.loader,
  196. .ui.tiny.loader {
  197. width: 1.14285714rem;
  198. height: 1.14285714rem;
  199. font-size: 0.85714286em;
  200. }
  201. .ui.inverted.dimmer .ui.small.loader,
  202. .ui.small.loader {
  203. width: 1.71428571rem;
  204. height: 1.71428571rem;
  205. font-size: 0.92857143em;
  206. }
  207. .ui.inverted.dimmer .ui.loader,
  208. .ui.loader {
  209. width: 2.28571429rem;
  210. height: 2.28571429rem;
  211. font-size: 1em;
  212. }
  213. .ui.inverted.dimmer .ui.large.loader,
  214. .ui.large.loader {
  215. width: 3.42857143rem;
  216. height: 3.42857143rem;
  217. font-size: 1.14285714em;
  218. }
  219. .ui.inverted.dimmer .ui.big.loader,
  220. .ui.big.loader {
  221. width: 3.71428571rem;
  222. height: 3.71428571rem;
  223. font-size: 1.28571429em;
  224. }
  225. .ui.inverted.dimmer .ui.huge.loader,
  226. .ui.huge.loader {
  227. width: 4.14285714rem;
  228. height: 4.14285714rem;
  229. font-size: 1.42857143em;
  230. }
  231. .ui.inverted.dimmer .ui.massive.loader,
  232. .ui.massive.loader {
  233. width: 4.57142857rem;
  234. height: 4.57142857rem;
  235. font-size: 1.71428571em;
  236. }
  237. /* Text Loader */
  238. .ui.mini.text.loader {
  239. min-width: 1rem;
  240. padding-top: 1.78571429rem;
  241. }
  242. .ui.tiny.text.loader {
  243. min-width: 1.14285714rem;
  244. padding-top: 1.92857143rem;
  245. }
  246. .ui.small.text.loader {
  247. min-width: 1.71428571rem;
  248. padding-top: 2.5rem;
  249. }
  250. .ui.text.loader {
  251. min-width: 2.28571429rem;
  252. padding-top: 3.07142857rem;
  253. }
  254. .ui.large.text.loader {
  255. min-width: 3.42857143rem;
  256. padding-top: 4.21428571rem;
  257. }
  258. .ui.big.text.loader {
  259. min-width: 3.71428571rem;
  260. padding-top: 4.5rem;
  261. }
  262. .ui.huge.text.loader {
  263. min-width: 4.14285714rem;
  264. padding-top: 4.92857143rem;
  265. }
  266. .ui.massive.text.loader {
  267. min-width: 4.57142857rem;
  268. padding-top: 5.35714286rem;
  269. }
  270. /*-------------------
  271. Inverted
  272. --------------------*/
  273. .ui.inverted.loader {
  274. color: rgba(255, 255, 255, 0.9);
  275. }
  276. .ui.inverted.loader:before {
  277. border-color: rgba(255, 255, 255, 0.15);
  278. }
  279. .ui.inverted.loader:after {
  280. border-top-color: #FFFFFF;
  281. }
  282. /*-------------------
  283. Inline
  284. --------------------*/
  285. .ui.inline.loader {
  286. position: relative;
  287. vertical-align: middle;
  288. margin: 0em;
  289. left: 0em;
  290. top: 0em;
  291. -webkit-transform: none;
  292. -ms-transform: none;
  293. transform: none;
  294. }
  295. .ui.inline.loader.active,
  296. .ui.inline.loader.visible {
  297. display: inline-block;
  298. }
  299. /* Centered Inline */
  300. .ui.centered.inline.loader.active,
  301. .ui.centered.inline.loader.visible {
  302. display: block;
  303. margin-left: auto;
  304. margin-right: auto;
  305. }
  306. /*******************************
  307. Theme Overrides
  308. *******************************/
  309. /*******************************
  310. Site Overrides
  311. *******************************/