index.wxss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. .ant-popup {
  2. position: fixed;
  3. top: 0;
  4. bottom: 0;
  5. left: 0;
  6. right: 0;
  7. z-index: 998;
  8. touch-action: none;
  9. }
  10. .ant-popup-mask {
  11. width: 100%;
  12. height: 100%;
  13. background-color: rgba(0, 0, 0, 0.55);
  14. animation-fill-mode: forwards;
  15. }
  16. .ant-popup-mask-closing {
  17. animation-name: ant-popup-mask-close;
  18. }
  19. .ant-popup-content {
  20. position: fixed;
  21. background: #ffffff;
  22. animation-fill-mode: forwards;
  23. animation-timing-function: ease-out;
  24. color: #333333;
  25. }
  26. .ant-popup-transform-top {
  27. top: 0;
  28. left: 0;
  29. right: 0;
  30. animation-name: ant-popup-transform-top;
  31. border-radius: 0 0 8px 8px;
  32. }
  33. .ant-popup-transform-top-close {
  34. animation-name: ant-popup-transform-top-close;
  35. }
  36. .ant-popup-transform-right {
  37. top: 0;
  38. right: 0;
  39. bottom: 0;
  40. animation-name: ant-popup-transform-right;
  41. }
  42. .ant-popup-transform-right-close {
  43. animation-name: ant-popup-transform-right-close;
  44. }
  45. .ant-popup-transform-bottom {
  46. left: 0;
  47. right: 0;
  48. bottom: 0;
  49. animation-name: ant-popup-transform-bottom;
  50. border-radius: 8px 8px 0 0;
  51. }
  52. .ant-popup-transform-bottom-close {
  53. animation-name: ant-popup-transform-bottom-close;
  54. }
  55. .ant-popup-transform-left {
  56. top: 0;
  57. left: 0;
  58. bottom: 0;
  59. animation-name: ant-popup-transform-left;
  60. }
  61. .ant-popup-transform-left-close {
  62. animation-name: ant-popup-transform-left-close;
  63. }
  64. .ant-popup-transform-center {
  65. top: 50%;
  66. left: 50%;
  67. transform: translate3d(-50%, -50%, 0);
  68. animation-name: ant-popup-transform-center;
  69. border-radius: 8px;
  70. background: none;
  71. }
  72. .ant-popup-transform-center-close {
  73. animation-name: ant-popup-transform-center-close;
  74. }
  75. .ant-popup-position-top {
  76. top: 0;
  77. left: 0;
  78. right: 0;
  79. animation-name: ant-popup-position-top;
  80. border-radius: 0 0 8px 8px;
  81. }
  82. .ant-popup-position-top-close {
  83. animation-name: ant-popup-position-top-close;
  84. }
  85. .ant-popup-position-right {
  86. top: 0;
  87. right: 0;
  88. bottom: 0;
  89. animation-name: ant-popup-position-right;
  90. }
  91. .ant-popup-position-right-close {
  92. animation-name: ant-popup-position-right-close;
  93. }
  94. .ant-popup-position-bottom {
  95. left: 0;
  96. right: 0;
  97. bottom: 0;
  98. animation-name: ant-popup-position-bottom;
  99. border-radius: 8px 8px 0 0;
  100. }
  101. .ant-popup-position-bottom-close {
  102. animation-name: ant-popup-position-bottom-close;
  103. }
  104. .ant-popup-position-left {
  105. top: 0;
  106. left: 0;
  107. bottom: 0;
  108. animation-name: ant-popup-position-left;
  109. }
  110. .ant-popup-position-left-close {
  111. animation-name: ant-popup-position-left-close;
  112. }
  113. .ant-popup-position-center {
  114. top: 50%;
  115. left: 50%;
  116. transform: translate3d(-50%, -50%, 0);
  117. animation-name: ant-popup-position-center;
  118. border-radius: 8px;
  119. background: none;
  120. }
  121. .ant-popup-position-center-close {
  122. animation-name: ant-popup-position-center-close;
  123. }
  124. @keyframes ant-popup-transform-top {
  125. 0% {
  126. transform: translateY(-100%);
  127. }
  128. 100% {
  129. transform: translateY(0);
  130. }
  131. }
  132. @keyframes ant-popup-transform-bottom {
  133. 0% {
  134. transform: translateY(100%);
  135. }
  136. 100% {
  137. transform: translateY(0);
  138. }
  139. }
  140. @keyframes ant-popup-transform-left {
  141. 0% {
  142. transform: translateX(-100%);
  143. }
  144. 100% {
  145. transform: translateX(0);
  146. }
  147. }
  148. @keyframes ant-popup-transform-right {
  149. 0% {
  150. transform: translateX(100%);
  151. }
  152. 100% {
  153. transform: translateX(0);
  154. }
  155. }
  156. @keyframes ant-popup-transform-center {
  157. 0% {
  158. transform: translate3d(-50%, -50%, 0) scale(0.1);
  159. opacity: 0;
  160. }
  161. 100% {
  162. transform: translate3d(-50%, -50%, 0) scale(1);
  163. opacity: 1;
  164. }
  165. }
  166. @keyframes ant-popup-transform-top-close {
  167. 0% {
  168. transform: translateY(0);
  169. }
  170. 100% {
  171. transform: translateY(-100%);
  172. }
  173. }
  174. @keyframes ant-popup-transform-bottom-close {
  175. 0% {
  176. transform: translateY(0);
  177. }
  178. 100% {
  179. transform: translateY(100%);
  180. }
  181. }
  182. @keyframes ant-popup-transform-left-close {
  183. 0% {
  184. transform: translateX(0);
  185. }
  186. 100% {
  187. transform: translateX(-100%);
  188. }
  189. }
  190. @keyframes ant-popup-transform-right-close {
  191. 0% {
  192. transform: translateX(0);
  193. }
  194. 100% {
  195. transform: translateX(100%);
  196. }
  197. }
  198. @keyframes ant-popup-transform-center-close {
  199. 0% {
  200. opacity: 1;
  201. transform: translate3d(-50%, -50%, 0) scale(1);
  202. }
  203. 20% {
  204. opacity: 0.8;
  205. transform: translate3d(-50%, -50%, 0) scale(0.9);
  206. }
  207. 100% {
  208. opacity: 0;
  209. transform: translate3d(-50%, -50%, 0) scale(0.9);
  210. }
  211. }
  212. @keyframes ant-popup-position-top {
  213. 0% {
  214. top: -100%;
  215. }
  216. 100% {
  217. top: 0;
  218. }
  219. }
  220. @keyframes ant-popup-position-bottom {
  221. 0% {
  222. bottom: -100%;
  223. }
  224. 100% {
  225. bottom: 0;
  226. }
  227. }
  228. @keyframes ant-popup-position-left {
  229. 0% {
  230. left: -100%;
  231. }
  232. 100% {
  233. left: 0;
  234. }
  235. }
  236. @keyframes ant-popup-position-right {
  237. 0% {
  238. right: -100%;
  239. }
  240. 100% {
  241. right: 0;
  242. }
  243. }
  244. @keyframes ant-popup-position-center {
  245. 0% {
  246. transform: translate3d(-50%, -50%, 0) scale(0.1);
  247. opacity: 0;
  248. }
  249. 100% {
  250. transform: translate3d(-50%, -50%, 0) scale(1);
  251. opacity: 1;
  252. }
  253. }
  254. @keyframes ant-popup-position-top-close {
  255. 0% {
  256. top: 0;
  257. }
  258. 100% {
  259. top: -100%;
  260. }
  261. }
  262. @keyframes ant-popup-position-bottom-close {
  263. 0% {
  264. bottom: 0;
  265. }
  266. 100% {
  267. bottom: -100%;
  268. }
  269. }
  270. @keyframes ant-popup-position-left-close {
  271. 0% {
  272. left: 0;
  273. }
  274. 100% {
  275. left: -100%;
  276. }
  277. }
  278. @keyframes ant-popup-position-right-close {
  279. 0% {
  280. right: 0;
  281. }
  282. 100% {
  283. right: -100%;
  284. }
  285. }
  286. @keyframes ant-popup-position-center-close {
  287. 0% {
  288. opacity: 1;
  289. transform: translate3d(-50%, -50%, 0) scale(1);
  290. }
  291. 20% {
  292. opacity: 0.8;
  293. transform: translate3d(-50%, -50%, 0) scale(0.9);
  294. }
  295. 100% {
  296. opacity: 0;
  297. transform: translate3d(-50%, -50%, 0) scale(0.9);
  298. }
  299. }
  300. @keyframes ant-popup-mask-close {
  301. 0% {
  302. background-color: rgba(0, 0, 0, 0.55);
  303. }
  304. 100% {
  305. background-color: rgba(0, 0, 0, 0);
  306. }
  307. }