jquery.mloading.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /* Author:mingyuhisoft@163.com
  2. * Github:https://github.com/imingyu/jquery.mloading
  3. * Npm:npm install jquery.mloading.js
  4. * Date:2016-7-4
  5. */
  6. .mloading-container {
  7. position: relative;
  8. min-height: 70px;
  9. -webkit-transition: height 0.6s ease-in-out;
  10. -o-transition: height 0.6s ease-in-out;
  11. transition: height 0.6s ease-in-out;
  12. }
  13. .mloading {
  14. position: absolute;
  15. background: #E9E9E8;
  16. font: normal 12px/22px "Microsoft Yahei", "微软雅黑", "宋体";
  17. display: none;
  18. z-index: 1600;
  19. background: rgba(233, 233, 232, 0);
  20. }
  21. .mloading.active {
  22. display: block;
  23. }
  24. .mloading.mloading-mask {
  25. background: rgba(233, 233, 232, 0.75);
  26. filter: progid:DXImageTransform.Microsoft.Alpha(opacity=75);
  27. }
  28. .mloading-full {
  29. position: fixed;
  30. width: 100%;
  31. height: 100%;
  32. top: 0;
  33. left: 0;
  34. }
  35. .mloading-container > .mloading {
  36. top: 0px;
  37. left: 0px;
  38. width: 100%;
  39. height: 100%;
  40. }
  41. .mloading-body {
  42. width: 100%;
  43. height: 100%;
  44. position: relative;
  45. }
  46. .mloading-bar {
  47. width: 250px;
  48. min-height: 22px;
  49. text-align: center;
  50. background: #fff;
  51. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27);
  52. border-radius: 7px;
  53. padding: 20px 15px;
  54. font-size: 14px;
  55. color: #999;
  56. position: absolute;
  57. top: 50%;
  58. left: 50%;
  59. margin-left: -140px;
  60. margin-top: -30px;
  61. word-break: break-all;
  62. }
  63. @media (max-width: 300px) {
  64. .mloading-bar {
  65. width: 62px;
  66. height: 56px;
  67. margin-left: -30px !important;
  68. margin-top: -30px !important;
  69. padding: 0;
  70. line-height: 56px;
  71. }
  72. .mloading-bar > .mloading-text {
  73. display: none;
  74. }
  75. }
  76. .mloading-bar-sm {
  77. width: 62px;
  78. height: 56px;
  79. margin-left: -30px !important;
  80. margin-top: -30px !important;
  81. padding: 0;
  82. line-height: 56px;
  83. }
  84. .mloading-bar-sm > .mloading-text {
  85. display: none;
  86. }
  87. .mloading-icon {
  88. width: 16px;
  89. height: 16px;
  90. vertical-align: middle;
  91. }
  92. .mloading-text {
  93. margin-left: 10px;
  94. }