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.

405 lines
11 KiB

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