popup.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. .ui-mask {
  2. position: fixed;
  3. top: 0px;
  4. left: 0px;
  5. bottom: 0px;
  6. right: 0px;
  7. z-index: 10;
  8. background: rgba(0, 0, 0, 0.298039);
  9. }
  10. .ui-dialog {
  11. background-color: #fff;
  12. z-index: 11;
  13. width: 85%;
  14. position: absolute;
  15. top: 50%;
  16. left: 50%;
  17. border-radius: 5px;
  18. text-align: center;
  19. font-size: 0.4rem;
  20. -webkit-transform: translate3D(-50%, -50%, 0);
  21. -moz-transform: translate3D(-50%, -50%, 0);
  22. -ms-transform: translate3D(-50%, -50%, 0);
  23. -o-transform: translate3D(-50%, -50%, 0);
  24. transform: translate3D(-50%, -50%, 0);
  25. }
  26. .ui-dialog>.ui-title {
  27. padding: 10px 0;
  28. border-bottom: 1px solid #e5e5e5;
  29. }
  30. .ui-dialog>.ui-content {
  31. padding: 15px 3px;
  32. }
  33. .ui-dialog>.ui-btns {
  34. border-top: 1px solid #e5e5e5;
  35. font-size: 14px;
  36. display: flex;
  37. }
  38. .ui-dialog>.ui-btns>a {
  39. flex: 1;
  40. line-height: 42px;
  41. text-align: center;
  42. color: #09f;
  43. text-decoration: none;
  44. -webkit-tap-highlight-color: transparent;
  45. border-right: 1px solid #e5e5e5;
  46. }
  47. .ui-dialog>.ui-btns>a:last-child {
  48. border-right: none;
  49. }
  50. .ui-toast {
  51. width: auto;
  52. min-width: 35%;
  53. max-width: 60%;
  54. }
  55. .ui-toast>.ui-content {
  56. background-color: rgba(0, 0, 0, 0.7);
  57. color: #fff;
  58. padding: 20px 10px;
  59. border-radius: 5px;
  60. }
  61. .ui-loading>.ui-content {
  62. box-sizing: border-box;
  63. padding: 0;
  64. height: 60px;
  65. position: absolute;
  66. width: 100%;
  67. border-radius: 5px 5px 0 0;
  68. background-color: rgba(0, 0, 0, 0.7);
  69. color: #fff;
  70. }
  71. .ui-loading {
  72. width: 30%;
  73. height: 86px;
  74. }
  75. .ui-line-spin {
  76. position: absolute;
  77. left: 50%;
  78. top: 50%;
  79. transform: translate3d(-50%, -50%, 0);
  80. }
  81. .ui-line-spin>div {
  82. position: absolute;
  83. width: 3px;
  84. height: 10px;
  85. background-color: #fff;
  86. border-radius: 1px;
  87. -webkit-animation-fill-mode: both;
  88. animation-fill-mode: both;
  89. margin: 2px;
  90. transform-origin: 50% 0%;
  91. }
  92. @keyframes line-spin {
  93. 0% {
  94. background-color: #fff;
  95. }
  96. 50% {
  97. background-color: rgb(0, 0, 0);
  98. }
  99. 100% {
  100. background-color: #fff;
  101. }
  102. }
  103. .ui-line-spin>div:nth-of-type(1) {
  104. animation: line-spin 1.2s 0.12s ease-in-out infinite;
  105. }
  106. .ui-line-spin>div:nth-of-type(2) {
  107. animation: line-spin 1.2s 0.24s ease-in-out infinite;
  108. }
  109. .ui-line-spin>div:nth-of-type(3) {
  110. animation: line-spin 1.2s 0.36s ease-in-out infinite;
  111. }
  112. .ui-line-spin>div:nth-of-type(4) {
  113. animation: line-spin 1.2s 0.48s ease-in-out infinite;
  114. }
  115. .ui-line-spin>div:nth-of-type(5) {
  116. animation: line-spin 1.2s 0.60s ease-in-out infinite;
  117. }
  118. .ui-line-spin>div:nth-of-type(6) {
  119. animation: line-spin 1.2s 0.72s ease-in-out infinite;
  120. }
  121. .ui-line-spin>div:nth-of-type(7) {
  122. animation: line-spin 1.2s 0.84s ease-in-out infinite;
  123. }
  124. .ui-line-spin>div:nth-of-type(8) {
  125. animation: line-spin 1.2s 0.96s ease-in-out infinite;
  126. }
  127. .ui-loading>.ui-text {
  128. position: absolute;
  129. width: 100%;
  130. top: 60px;
  131. padding-bottom: 10px;
  132. background-color: rgba(0,0,0,0.7);
  133. font-size: 14px;
  134. color: #fff;
  135. border-radius: 0 0 5px 5px;
  136. }
  137. .ui-progress {
  138. background-color: rgba(0, 0, 0, 0.7);
  139. width: auto;
  140. max-width: 65%;
  141. }
  142. .ui-progress>.ui-content {
  143. width: 100%;
  144. padding: 6px 20px 15px 20px;
  145. box-sizing: border-box;
  146. }
  147. .ui-progress>.ui-content>.ui-outer {
  148. height: 5px;
  149. background-color: rgba(255, 255, 255, 0.5);
  150. border-radius: 3px;
  151. }
  152. .ui-progress>.ui-content>.ui-outer>.ui-inner {
  153. width: 0%;
  154. height: 100%;
  155. background-color: rgba(255, 255, 255, 0.8);
  156. border-radius: inherit;
  157. }
  158. .ui-progress>.ui-text {
  159. font-size: 14px;
  160. line-height: 16px;
  161. padding: 10px 20px;
  162. color: #fff;
  163. }
  164. .fade {
  165. opacity: 0;
  166. transition: opacity 0.25s linear;
  167. -webkit-transition: opacity 0.25s linear;
  168. -moz-transition: opacity 0.25s linear;
  169. }
  170. .fade.in {
  171. opacity: 1;
  172. }