zdialog.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. @charset "utf-8";
  2. /* CSS Document */
  3. body{ -webkit-font-smoothing: antialiased; }
  4. .zbox-popup {
  5. position: fixed;
  6. z-index: 10000;
  7. top: 50%;
  8. left: 50%;
  9. display: none;
  10. overflow: hidden;
  11. width: 270px;
  12. -webkit-transition-property: -webkit-transform,opacity;
  13. transition-property: transform,opacity;
  14. -webkit-transform:perspective(1200px) translate3d(-50%,-50%,0) scale(1.2) ;
  15. transform:perspective(1200px) translate3d(-50%,-50%,0) scale(1.2);
  16. text-align: center;
  17. opacity: 0;
  18. color: #000;
  19. border-radius: 3px;
  20. z-index: 10000;
  21. -webkit-perspective: 1200px;
  22. -moz-perspective: 1200px;
  23. -ms-perspective: 1200px;
  24. -o-perspective: 1200px;
  25. perspective: 1200px;
  26. -webkit-transform-style: preserve-3d;
  27. -moz-transform-style: preserve-3d;
  28. -ms-transform-style: preserve-3d;
  29. -o-transform-style: preserve-3d;
  30. transform-style: preserve-3d;
  31. -webkit-font-smoothing: antialiased;
  32. }
  33. .zbox-popup.zbox-popup-in {
  34. display: block;
  35. transition-property: all;
  36. -webkit-transition-duration: 400ms;
  37. transition-duration: 400ms;
  38. -webkit-transform:perspective(1200px) translate3d(-50%,-50%,0) scale(1) ;
  39. transform:perspective(1200px) translate3d(-50%,-50%,0) scale(1);
  40. opacity: 1;
  41. }
  42. .zbox-popup-inner {
  43. position: relative;
  44. padding: 15px;
  45. border-radius: 3px 3px 0 0;
  46. background: rgba(255,255,255,.95);
  47. }
  48. .zbox-popup-inner:after {
  49. position: absolute;
  50. z-index: 15;
  51. top: auto;
  52. right: auto;
  53. bottom: 0;
  54. left: 0;
  55. display: block;
  56. width: 100%;
  57. height: 1px;
  58. content: '';
  59. -webkit-transform: scaleY(.5);
  60. transform: scaleY(.5);
  61. -webkit-transform-origin: 50% 100%;
  62. transform-origin: 50% 100%;
  63. background-color: rgba(0,0,0,.2);
  64. }
  65. .zbox-popup-title {
  66. font-size:16px;
  67. font-weight: 500;
  68. text-align: center;
  69. color: #4a4a4a;
  70. }
  71. .zbox-popup-title+.zbox-popup-text {
  72. font-family: inherit;
  73. font-size: 16px;
  74. margin: 5px 0 0;
  75. color: #4a4a4a;
  76. line-height: 1.75;
  77. }
  78. .zbox-popup-buttons {
  79. position: relative;
  80. display: -webkit-box;
  81. display: -webkit-flex;
  82. display: flex;
  83. height: 44px;
  84. -webkit-box-pack: center;
  85. -webkit-justify-content: center;
  86. justify-content: center;
  87. }
  88. .zbox-popup-button {
  89. font-size: 14px;
  90. line-height: 44px;
  91. position: relative;
  92. display: block;
  93. overflow: hidden;
  94. box-sizing: border-box;
  95. width: 100%;
  96. height: 44px;
  97. padding: 0 5px;
  98. cursor: pointer;
  99. text-align: center;
  100. white-space: nowrap;
  101. text-overflow: ellipsis;
  102. color:#fd9e09;
  103. background: rgba(255,255,255,.95);
  104. -webkit-box-flex: 1;
  105. }
  106. .zbox-popup-button:first-child:last-child {
  107. border-radius: 0 0 3px 3px;
  108. }
  109. .zbox-popup-button.zbox-popup-button-bold {
  110. font-weight: 600;
  111. }
  112. .zbox-popup-button:after {
  113. position: absolute;
  114. z-index: 15;
  115. top: 0;
  116. right: 0;
  117. bottom: auto;
  118. left: auto;
  119. display: block;
  120. width: 1px;
  121. height: 100%;
  122. content: '';
  123. -webkit-transform: scaleX(.5);
  124. transform: scaleX(.5);
  125. -webkit-transform-origin: 100% 50%;
  126. transform-origin: 100% 50%;
  127. background-color: rgba(0,0,0,.2);
  128. }
  129. .zbox-popup-backdrop.zbox-active {
  130. opacity: 1;
  131. }
  132. .zbox-popup-backdrop {
  133. position: fixed;
  134. z-index: 998;
  135. top: 0;
  136. right: 0;
  137. bottom: 0;
  138. left: 0;
  139. -webkit-transition-duration: 400ms;
  140. transition-duration: 400ms;
  141. opacity: 0;
  142. background: rgba(0,0,0,.4);
  143. }
  144. .zbox-toast-container{
  145. position:fixed;
  146. z-index:9999;
  147. bottom:60px;
  148. width:100%;
  149. -webkit-transition:opacity .8s;
  150. transition:opacity .8s;
  151. opacity:0;
  152. left: 0;
  153. }
  154. .zbox-toast-container.zbox-active{opacity:1}
  155. .zbox-toast-message{
  156. font-size:14px;
  157. width:270px;
  158. margin:5px auto;
  159. padding:5px;
  160. text-align:center;
  161. color:#000;
  162. border-radius:5px;
  163. background-color:#d8d8d8;
  164. }
  165. .zbox-btn-outlined.zbox-btn-blue, .zbox-btn-outlined.zbox-btn-primary {
  166. color: #007aff;
  167. }
  168. .zbox-btn-outlined {
  169. background-color: transparent;
  170. }
  171. .zbox-btn-blue, .zbox-btn-primary, input[type=submit] {
  172. color: #fff;
  173. border: 1px solid #007aff;
  174. background-color: #007aff;
  175. }
  176. .zbox-btn, button, input[type=button], input[type=reset], input[type=submit] {
  177. font-size: 14px;
  178. font-weight: 400;
  179. line-height: 1.42;
  180. position: relative;
  181. display: inline-block;
  182. margin-bottom: 0;
  183. padding: 6px 12px;
  184. cursor: pointer;
  185. -webkit-transition: all;
  186. transition: all;
  187. -webkit-transition-timing-function: linear;
  188. transition-timing-function: linear;
  189. -webkit-transition-duration: .2s;
  190. transition-duration: .2s;
  191. text-align: center;
  192. vertical-align: top;
  193. white-space: nowrap;
  194. color: #333;
  195. border: 1px solid #ccc;
  196. border-radius: 3px;
  197. border-top-left-radius: 3px;
  198. border-top-right-radius: 3px;
  199. border-bottom-right-radius: 3px;
  200. border-bottom-left-radius: 3px;
  201. background-color: #fff;
  202. background-clip: padding-box;
  203. }
  204. .zbox-btn {
  205. display: block;
  206. width: 120px;
  207. margin: 10px auto;
  208. }
  209. #zchange{ width:44px; height: 44px; display:block;margin: 0 auto;
  210. animation:circle1 1.2s infinite linear; -webkit-animation:circle1 1.2s infinite linear; transition: all linear;}
  211. @-webkit-keyframes circle1
  212. {
  213. 0% { -webkit-transform: rotate(0deg) }
  214. 100% { -webkit-transform: rotate(360deg) ;}
  215. }
  216. @keyframes circle1
  217. {
  218. 0% { transform: rotate(0deg) ;}
  219. 100% { transform: rotate(360deg) ;}
  220. }