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.

340 lines
6.3 KiB

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