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.

349 lines
6.7 KiB

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