jquery.mloading.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* Author锛歮ingyuhisoft@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. /*
  25. .mloading.mloading-mask {
  26. background: rgba(233, 233, 232, 0.75);
  27. filter: progid:DXImageTransform.Microsoft.Alpha(opacity=75);
  28. }*/
  29. .mloading-full {
  30. position: fixed;
  31. width: 100%;
  32. height: 100%;
  33. top: 0;
  34. left: 0;
  35. }
  36. .mloading-container > .mloading {
  37. top: 0px;
  38. left: 0px;
  39. width: 100%;
  40. height: 100%;
  41. }
  42. .mloading-body {
  43. width: 100%;
  44. height: 100%;
  45. position: relative;
  46. }
  47. .mloading-bar {
  48. width: 250px;
  49. min-height: 22px;
  50. text-align: center;
  51. background: #fff;
  52. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27);
  53. border-radius: 7px;
  54. padding: 20px 15px;
  55. font-size: 14px;
  56. color: #999;
  57. position: absolute;
  58. top: 50%;
  59. left: 50%;
  60. margin-left: -140px;
  61. margin-top: -30px;
  62. word-break: break-all;
  63. background: rgba(233, 233, 232, 0.75);
  64. }
  65. @media (max-width: 300px) {
  66. .mloading-bar {
  67. width: 62px;
  68. height: 56px;
  69. margin-left: -30px !important;
  70. margin-top: -30px !important;
  71. padding: 0;
  72. line-height: 56px;
  73. }
  74. .mloading-bar > .mloading-text {
  75. display: none;
  76. }
  77. }
  78. .mloading-bar-sm {
  79. width: 62px;
  80. height: 56px;
  81. margin-left: -30px !important;
  82. margin-top: -30px !important;
  83. padding: 0;
  84. line-height: 56px;
  85. }
  86. .mloading-bar-sm > .mloading-text {
  87. display: none;
  88. }
  89. .mloading-icon {
  90. width: 16px;
  91. height: 16px;
  92. vertical-align: middle;
  93. }
  94. .mloading-text {
  95. margin-left: 10px;
  96. }