loading.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. /* BEM support Func
  2. -------------------------- */
  3. /* Element Chalk Variables */
  4. /* Transition
  5. -------------------------- */
  6. /* Color
  7. -------------------------- */
  8. /* 53a8ff */
  9. /* 66b1ff */
  10. /* 79bbff */
  11. /* 8cc5ff */
  12. /* a0cfff */
  13. /* b3d8ff */
  14. /* c6e2ff */
  15. /* d9ecff */
  16. /* ecf5ff */
  17. /* Link
  18. -------------------------- */
  19. /* Border
  20. -------------------------- */
  21. /* Fill
  22. -------------------------- */
  23. /* Typography
  24. -------------------------- */
  25. /* Size
  26. -------------------------- */
  27. /* z-index
  28. -------------------------- */
  29. /* Disable base
  30. -------------------------- */
  31. /* Icon
  32. -------------------------- */
  33. /* Checkbox
  34. -------------------------- */
  35. /* Radio
  36. -------------------------- */
  37. /* Select
  38. -------------------------- */
  39. /* Alert
  40. -------------------------- */
  41. /* MessageBox
  42. -------------------------- */
  43. /* Message
  44. -------------------------- */
  45. /* Notification
  46. -------------------------- */
  47. /* Input
  48. -------------------------- */
  49. /* Cascader
  50. -------------------------- */
  51. /* Group
  52. -------------------------- */
  53. /* Tab
  54. -------------------------- */
  55. /* Button
  56. -------------------------- */
  57. /* cascader
  58. -------------------------- */
  59. /* Switch
  60. -------------------------- */
  61. /* Dialog
  62. -------------------------- */
  63. /* Table
  64. -------------------------- */
  65. /* Pagination
  66. -------------------------- */
  67. /* Popup
  68. -------------------------- */
  69. /* Popover
  70. -------------------------- */
  71. /* Tooltip
  72. -------------------------- */
  73. /* Tag
  74. -------------------------- */
  75. /* Tree
  76. -------------------------- */
  77. /* Dropdown
  78. -------------------------- */
  79. /* Badge
  80. -------------------------- */
  81. /* Card
  82. --------------------------*/
  83. /* Slider
  84. --------------------------*/
  85. /* Steps
  86. --------------------------*/
  87. /* Menu
  88. --------------------------*/
  89. /* Rate
  90. --------------------------*/
  91. /* DatePicker
  92. --------------------------*/
  93. /* Loading
  94. --------------------------*/
  95. /* Scrollbar
  96. --------------------------*/
  97. /* Carousel
  98. --------------------------*/
  99. /* Collapse
  100. --------------------------*/
  101. /* Transfer
  102. --------------------------*/
  103. /* Header
  104. --------------------------*/
  105. /* Footer
  106. --------------------------*/
  107. /* Main
  108. --------------------------*/
  109. /* Timeline
  110. --------------------------*/
  111. /* Backtop
  112. --------------------------*/
  113. /* Link
  114. --------------------------*/
  115. /* Calendar
  116. --------------------------*/
  117. /* Form
  118. -------------------------- */
  119. /* Avatar
  120. --------------------------*/
  121. /* Break-point
  122. --------------------------*/
  123. /* Break-points
  124. -------------------------- */
  125. /* Scrollbar
  126. -------------------------- */
  127. /* Placeholder
  128. -------------------------- */
  129. /* BEM
  130. -------------------------- */
  131. /* Element Chalk Variables */
  132. /* Transition
  133. -------------------------- */
  134. /* Color
  135. -------------------------- */
  136. /* 53a8ff */
  137. /* 66b1ff */
  138. /* 79bbff */
  139. /* 8cc5ff */
  140. /* a0cfff */
  141. /* b3d8ff */
  142. /* c6e2ff */
  143. /* d9ecff */
  144. /* ecf5ff */
  145. /* Link
  146. -------------------------- */
  147. /* Border
  148. -------------------------- */
  149. /* Fill
  150. -------------------------- */
  151. /* Typography
  152. -------------------------- */
  153. /* Size
  154. -------------------------- */
  155. /* z-index
  156. -------------------------- */
  157. /* Disable base
  158. -------------------------- */
  159. /* Icon
  160. -------------------------- */
  161. /* Checkbox
  162. -------------------------- */
  163. /* Radio
  164. -------------------------- */
  165. /* Select
  166. -------------------------- */
  167. /* Alert
  168. -------------------------- */
  169. /* MessageBox
  170. -------------------------- */
  171. /* Message
  172. -------------------------- */
  173. /* Notification
  174. -------------------------- */
  175. /* Input
  176. -------------------------- */
  177. /* Cascader
  178. -------------------------- */
  179. /* Group
  180. -------------------------- */
  181. /* Tab
  182. -------------------------- */
  183. /* Button
  184. -------------------------- */
  185. /* cascader
  186. -------------------------- */
  187. /* Switch
  188. -------------------------- */
  189. /* Dialog
  190. -------------------------- */
  191. /* Table
  192. -------------------------- */
  193. /* Pagination
  194. -------------------------- */
  195. /* Popup
  196. -------------------------- */
  197. /* Popover
  198. -------------------------- */
  199. /* Tooltip
  200. -------------------------- */
  201. /* Tag
  202. -------------------------- */
  203. /* Tree
  204. -------------------------- */
  205. /* Dropdown
  206. -------------------------- */
  207. /* Badge
  208. -------------------------- */
  209. /* Card
  210. --------------------------*/
  211. /* Slider
  212. --------------------------*/
  213. /* Steps
  214. --------------------------*/
  215. /* Menu
  216. --------------------------*/
  217. /* Rate
  218. --------------------------*/
  219. /* DatePicker
  220. --------------------------*/
  221. /* Loading
  222. --------------------------*/
  223. /* Scrollbar
  224. --------------------------*/
  225. /* Carousel
  226. --------------------------*/
  227. /* Collapse
  228. --------------------------*/
  229. /* Transfer
  230. --------------------------*/
  231. /* Header
  232. --------------------------*/
  233. /* Footer
  234. --------------------------*/
  235. /* Main
  236. --------------------------*/
  237. /* Timeline
  238. --------------------------*/
  239. /* Backtop
  240. --------------------------*/
  241. /* Link
  242. --------------------------*/
  243. /* Calendar
  244. --------------------------*/
  245. /* Form
  246. -------------------------- */
  247. /* Avatar
  248. --------------------------*/
  249. /* Break-point
  250. --------------------------*/
  251. .el-loading-parent--relative {
  252. position: relative !important; }
  253. .el-loading-parent--hidden {
  254. overflow: hidden !important; }
  255. .el-loading-mask {
  256. position: absolute;
  257. z-index: 2000;
  258. background-color: rgba(255, 255, 255, 0.9);
  259. margin: 0;
  260. top: 0;
  261. right: 0;
  262. bottom: 0;
  263. left: 0;
  264. -webkit-transition: opacity 0.3s;
  265. transition: opacity 0.3s; }
  266. .el-loading-mask.is-fullscreen {
  267. position: fixed; }
  268. .el-loading-mask.is-fullscreen .el-loading-spinner {
  269. margin-top: -25px; }
  270. .el-loading-mask.is-fullscreen .el-loading-spinner .circular {
  271. height: 50px;
  272. width: 50px; }
  273. .el-loading-spinner {
  274. top: 50%;
  275. margin-top: -21px;
  276. width: 100%;
  277. text-align: center;
  278. position: absolute; }
  279. .el-loading-spinner .el-loading-text {
  280. color: #2D74E7;
  281. margin: 3px 0;
  282. font-size: 14px; }
  283. .el-loading-spinner .circular {
  284. height: 42px;
  285. width: 42px;
  286. -webkit-animation: loading-rotate 2s linear infinite;
  287. animation: loading-rotate 2s linear infinite; }
  288. .el-loading-spinner .path {
  289. -webkit-animation: loading-dash 1.5s ease-in-out infinite;
  290. animation: loading-dash 1.5s ease-in-out infinite;
  291. stroke-dasharray: 90, 150;
  292. stroke-dashoffset: 0;
  293. stroke-width: 2;
  294. stroke: #2D74E7;
  295. stroke-linecap: round; }
  296. .el-loading-spinner i {
  297. color: #2D74E7; }
  298. .el-loading-fade-enter,
  299. .el-loading-fade-leave-active {
  300. opacity: 0; }
  301. @-webkit-keyframes loading-rotate {
  302. 100% {
  303. -webkit-transform: rotate(360deg);
  304. transform: rotate(360deg); } }
  305. @keyframes loading-rotate {
  306. 100% {
  307. -webkit-transform: rotate(360deg);
  308. transform: rotate(360deg); } }
  309. @-webkit-keyframes loading-dash {
  310. 0% {
  311. stroke-dasharray: 1, 200;
  312. stroke-dashoffset: 0; }
  313. 50% {
  314. stroke-dasharray: 90, 150;
  315. stroke-dashoffset: -40px; }
  316. 100% {
  317. stroke-dasharray: 90, 150;
  318. stroke-dashoffset: -120px; } }
  319. @keyframes loading-dash {
  320. 0% {
  321. stroke-dasharray: 1, 200;
  322. stroke-dashoffset: 0; }
  323. 50% {
  324. stroke-dasharray: 90, 150;
  325. stroke-dashoffset: -40px; }
  326. 100% {
  327. stroke-dasharray: 90, 150;
  328. stroke-dashoffset: -120px; } }