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.6 KiB

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