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.

406 lines
11 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Loader
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Default
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /* Used to match floats with text */
  57. /*-------------------
  58. Background Colors
  59. --------------------*/
  60. /* Used for differentiating neutrals */
  61. /* Used for differentiating layers */
  62. /*-------------------
  63. Grid
  64. --------------------*/
  65. /*-------------------
  66. Breakpoints
  67. --------------------*/
  68. /*******************************
  69. Power-User
  70. *******************************/
  71. /*-------------------
  72. Icons
  73. --------------------*/
  74. /* Max Width of Icon */
  75. /*-------------------
  76. Easing
  77. --------------------*/
  78. /*--- Neutrals ---*/
  79. /*--- Colored Backgrounds ---*/
  80. /*--- Colored Text ---*/
  81. /*--- Colored Headers ---*/
  82. /*-------------------
  83. Emotive Colors
  84. --------------------*/
  85. /* Mood */
  86. /* Solid Background Color */
  87. /* Status */
  88. /* Darkened Headers */
  89. /*-------------------
  90. Neutral Text
  91. --------------------*/
  92. /*-------------------
  93. Brand Colors
  94. --------------------*/
  95. /*-------------------
  96. Grid Columns
  97. --------------------*/
  98. /*-------------------
  99. Borders
  100. --------------------*/
  101. /*-------------------
  102. Sizes
  103. --------------------*/
  104. /*-------------------
  105. Transitions
  106. --------------------*/
  107. /*******************************
  108. States
  109. *******************************/
  110. /*-------------------
  111. Disabled
  112. --------------------*/
  113. /*-------------------
  114. Hover
  115. --------------------*/
  116. /*--- Colors ---*/
  117. /*--- Emotive ---*/
  118. /*--- Neutrals ---*/
  119. /*-------------------
  120. Down (:active)
  121. --------------------*/
  122. /*--- Colors ---*/
  123. /*--- Emotive ---*/
  124. /*--- Neutrals ---*/
  125. /*-------------------
  126. Active
  127. --------------------*/
  128. /*--- Standard ---*/
  129. /*--- Emotive ---*/
  130. /*--- Neutrals ---*/
  131. /*******************************
  132. Loader
  133. *******************************/
  134. /*-------------------
  135. Standard
  136. --------------------*/
  137. /*-------------------
  138. Types
  139. --------------------*/
  140. /* Image */
  141. /* Text */
  142. /*-------------------
  143. States
  144. --------------------*/
  145. /*-------------------
  146. Variations
  147. --------------------*/
  148. /*------------------
  149. Load Theme
  150. -------------------*/
  151. /*------------------
  152. Load Site
  153. -------------------*/
  154. /*******************************
  155. User Global Variables
  156. *******************************/
  157. /*******************************
  158. User Variable Overrides
  159. *******************************/
  160. /*------------------
  161. Override Mix-in
  162. -------------------*/
  163. /*******************************
  164. Loader
  165. *******************************/
  166. /* Standard Size */
  167. .ui.loader {
  168. display: none;
  169. position: absolute;
  170. top: 50%;
  171. left: 50%;
  172. margin: 0px;
  173. text-align: center;
  174. z-index: 1000;
  175. -webkit-transform: translateX(-50%) translateY(-50%);
  176. -ms-transform: translateX(-50%) translateY(-50%);
  177. transform: translateX(-50%) translateY(-50%);
  178. }
  179. .ui.dimmer .loader {
  180. display: block;
  181. }
  182. .ui.dimmer .ui.loader,
  183. .ui.inverted.loader {
  184. color: #ffffff;
  185. }
  186. /*******************************
  187. Types
  188. *******************************/
  189. /*--------------
  190. CSS
  191. ---------------*/
  192. /* Flipping */
  193. .ui.flipping.loader {
  194. width: auto;
  195. height: auto;
  196. background-image: none !important;
  197. }
  198. .ui.flipping.loader .shape {
  199. position: relative;
  200. margin: 0em auto 1em;
  201. color: transparent;
  202. box-shadow: 0px 0px 0px 1px;
  203. -webkit-animation: loaderFlipping 1s infinite ease;
  204. animation: loaderFlipping 1s infinite ease;
  205. margin-bottom: 1em;
  206. -webkit-transform-style: preserve-3d;
  207. transform-style: preserve-3d;
  208. }
  209. .ui.flipping.loader .shape:before,
  210. .ui.flipping.loader .shape:after {
  211. position: absolute;
  212. content: '';
  213. top: 0px;
  214. left: 0px;
  215. box-shadow: 0px 0px 0px 1px;
  216. -webkit-backface-visibility: hidden;
  217. backface-visibility: hidden;
  218. }
  219. .ui.flipping.loader .shape:before {
  220. background-color: #3b83c0;
  221. -webkit-transform: rotateY(0deg);
  222. transform: rotateY(0deg);
  223. z-index: 2;
  224. }
  225. .ui.flipping.loader .shape:after {
  226. background-color: #1b1c1d;
  227. -webkit-transform: rotateY(180deg);
  228. transform: rotateY(180deg);
  229. }
  230. /* Circular */
  231. .ui.flipping.circular.loader .shape,
  232. .ui.flipping.circular.loader .shape:before,
  233. .ui.flipping.circular.loader .shape:after {
  234. border-radius: 500rem;
  235. }
  236. /* Sizes */
  237. .ui.mini.flipping.loader .shape,
  238. .ui.mini.flipping.loader .shape:before,
  239. .ui.mini.flipping.loader .shape:after {
  240. width: 16px;
  241. height: 16px;
  242. }
  243. .ui.flipping.loader .shape,
  244. .ui.flipping.loader .shape:before,
  245. .ui.flipping.loader .shape:after {
  246. width: 32px;
  247. height: 32px;
  248. }
  249. @-webkit-keyframes loaderFlipping {
  250. 0% {
  251. -webkit-transform: perspective(6em) rotateX(0deg) rotateY(0deg);
  252. transform: perspective(6em) rotateX(0deg) rotateY(0deg);
  253. }
  254. 50% {
  255. -webkit-transform: perspective(6em) rotateX(0deg) rotateY(-180deg);
  256. transform: perspective(6em) rotateX(0deg) rotateY(-180deg);
  257. }
  258. 100% {
  259. -webkit-transform: perspective(6em) rotateX(0deg) rotateY(-360deg);
  260. transform: perspective(6em) rotateX(0deg) rotateY(-360deg);
  261. }
  262. }
  263. @keyframes loaderFlipping {
  264. 0% {
  265. -webkit-transform: perspective(6em) rotateX(0deg) rotateY(0deg);
  266. transform: perspective(6em) rotateX(0deg) rotateY(0deg);
  267. }
  268. 50% {
  269. -webkit-transform: perspective(6em) rotateX(0deg) rotateY(-180deg);
  270. transform: perspective(6em) rotateX(0deg) rotateY(-180deg);
  271. }
  272. 100% {
  273. -webkit-transform: perspective(6em) rotateX(0deg) rotateY(-360deg);
  274. transform: perspective(6em) rotateX(0deg) rotateY(-360deg);
  275. }
  276. }
  277. /*-------------------
  278. Text
  279. --------------------*/
  280. .ui.text.loader {
  281. width: auto !important;
  282. height: auto !important;
  283. text-align: center;
  284. font-style: normal;
  285. }
  286. .ui.mini.text.loader {
  287. min-width: 16px;
  288. padding-top: 31px;
  289. }
  290. .ui.small.text.loader {
  291. min-width: 24px;
  292. padding-top: 39px;
  293. }
  294. .ui.text.loader {
  295. min-width: 32px;
  296. padding-top: 47px;
  297. }
  298. .ui.large.text.loader {
  299. min-width: 64px;
  300. padding-top: 79px;
  301. }
  302. /*******************************
  303. States
  304. *******************************/
  305. .ui.loader.active,
  306. .ui.loader.visible {
  307. display: block;
  308. }
  309. .ui.loader.disabled,
  310. .ui.loader.hidden {
  311. display: none;
  312. }
  313. /*******************************
  314. Variations
  315. *******************************/
  316. /*-------------------
  317. Sizes
  318. --------------------*/
  319. /* Tiny Size */
  320. .ui.inverted.dimmer .ui.mini.loader,
  321. .ui.mini.loader {
  322. width: 16px;
  323. height: 16px;
  324. font-size: 0.8em;
  325. background-image: url("../../themes/packages/default/assets/images/loader-mini.gif");
  326. }
  327. /* Small Size */
  328. .ui.inverted.dimmer .ui.small.loader,
  329. .ui.small.loader {
  330. width: 24px;
  331. height: 24px;
  332. font-size: 0.875em;
  333. background-image: url("../../themes/packages/default/assets/images/loader-small.gif");
  334. }
  335. .ui.inverted.dimmer .ui.loader,
  336. .ui.loader {
  337. width: 32px;
  338. height: 32px;
  339. font-size: 1em;
  340. background: url("../../themes/packages/default/assets/images/loader-medium.gif") no-repeat;
  341. background-position: 50% 0px;
  342. }
  343. /* Large Size */
  344. .ui.inverted.dimmer .ui.loader.large,
  345. .ui.loader.large {
  346. width: 64px;
  347. height: 64px;
  348. font-size: 1.2em;
  349. background-image: url("../../themes/packages/default/assets/images/loader-large.gif");
  350. }
  351. /*-------------------
  352. Inverted
  353. --------------------*/
  354. .ui.inverted.dimmer .ui.loader {
  355. color: rgba(0, 0, 0, 0.8);
  356. }
  357. /* Tiny Size */
  358. .ui.dimmer .mini.ui.loader,
  359. .ui.inverted .mini.ui.loader {
  360. background-image: url("../../themes/packages/default/assets/images/loader-mini-inverted.gif");
  361. }
  362. /* Small Size */
  363. .ui.dimmer .small.ui.loader,
  364. .ui.inverted .small.ui.loader {
  365. background-image: url("../../themes/packages/default/assets/images/loader-small-inverted.gif");
  366. }
  367. /* Standard Size */
  368. .ui.dimmer .ui.loader,
  369. .ui.inverted.loader {
  370. background-image: url("../../themes/packages/default/assets/images/loader-medium-inverted.gif");
  371. }
  372. /* Large Size */
  373. .ui.dimmer .large.ui.loader,
  374. .ui.inverted .large.ui.loader {
  375. background-image: url("../../themes/packages/default/assets/images/loader-large-inverted.gif");
  376. }
  377. /*-------------------
  378. Inline
  379. --------------------*/
  380. .ui.inline.loader {
  381. position: static;
  382. vertical-align: middle;
  383. margin: 0em;
  384. -webkit-transform: none;
  385. -ms-transform: none;
  386. transform: none;
  387. }
  388. .ui.inline.loader.active,
  389. .ui.inline.loader.visible {
  390. display: inline-block;
  391. }
  392. /*******************************
  393. Overrides
  394. *******************************/
  395. /*******************************
  396. Overrides
  397. *******************************/