style.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. .mint-msgbox {
  2. position: fixed;
  3. top: 50%;
  4. left: 50%;
  5. -webkit-transform: translate3d(-50%, -50%, 0);
  6. transform: translate3d(-50%, -50%, 0);
  7. background-color: #fff;
  8. width: 85%;
  9. border-radius: 3px;
  10. font-size: 16px;
  11. -webkit-user-select: none;
  12. overflow: hidden;
  13. -webkit-backface-visibility: hidden;
  14. backface-visibility: hidden;
  15. -webkit-transition: .2s;
  16. transition: .2s;
  17. }
  18. .mint-msgbox-header {
  19. padding: 15px 0 0;
  20. }
  21. .mint-msgbox-content {
  22. padding: 10px 20px 15px;
  23. border-bottom: 1px solid #ddd;
  24. min-height: 36px;
  25. position: relative;
  26. }
  27. .mint-msgbox-input {
  28. padding-top: 15px;
  29. }
  30. .mint-msgbox-input input {
  31. border: 1px solid #dedede;
  32. border-radius: 5px;
  33. padding: 4px 5px;
  34. width: 100%;
  35. -webkit-appearance: none;
  36. -moz-appearance: none;
  37. appearance: none;
  38. outline: none;
  39. }
  40. .mint-msgbox-input input.invalid {
  41. border-color: #ff4949;
  42. }
  43. .mint-msgbox-input input.invalid:focus {
  44. border-color: #ff4949;
  45. }
  46. .mint-msgbox-errormsg {
  47. color: red;
  48. font-size: 12px;
  49. min-height: 18px;
  50. margin-top: 2px;
  51. }
  52. .mint-msgbox-title {
  53. text-align: center;
  54. padding-left: 0;
  55. margin-bottom: 0;
  56. font-size: 16px;
  57. font-weight: 700;
  58. color: #333;
  59. }
  60. .mint-msgbox-message {
  61. color: #999;
  62. margin: 0;
  63. text-align: center;
  64. line-height: 36px;
  65. }
  66. .mint-msgbox-btns {
  67. display: -webkit-box;
  68. display: -ms-flexbox;
  69. display: flex;
  70. height: 40px;
  71. line-height: 40px;
  72. }
  73. .mint-msgbox-btn {
  74. line-height: 35px;
  75. display: block;
  76. background-color: #fff;
  77. -webkit-box-flex: 1;
  78. -ms-flex: 1;
  79. flex: 1;
  80. margin: 0;
  81. border: 0;
  82. }
  83. .mint-msgbox-btn:focus {
  84. outline: none;
  85. }
  86. .mint-msgbox-btn:active {
  87. background-color: #fff;
  88. }
  89. .mint-msgbox-cancel {
  90. width: 50%;
  91. border-right: 1px solid #ddd;
  92. }
  93. .mint-msgbox-cancel:active {
  94. color: #000;
  95. }
  96. .mint-msgbox-confirm {
  97. color: #26a2ff;
  98. width: 50%;
  99. }
  100. .mint-msgbox-confirm:active {
  101. color: #26a2ff;
  102. }
  103. .msgbox-bounce-enter {
  104. opacity: 0;
  105. -webkit-transform: translate3d(-50%, -50%, 0) scale(0.7);
  106. transform: translate3d(-50%, -50%, 0) scale(0.7);
  107. }
  108. .msgbox-bounce-leave-active {
  109. opacity: 0;
  110. -webkit-transform: translate3d(-50%, -50%, 0) scale(0.9);
  111. transform: translate3d(-50%, -50%, 0) scale(0.9);
  112. }
  113. .v-modal-enter {
  114. -webkit-animation: v-modal-in .2s ease;
  115. animation: v-modal-in .2s ease;
  116. }
  117. .v-modal-leave {
  118. -webkit-animation: v-modal-out .2s ease forwards;
  119. animation: v-modal-out .2s ease forwards;
  120. }
  121. @-webkit-keyframes v-modal-in {
  122. 0% {
  123. opacity: 0;
  124. }
  125. 100% {
  126. }
  127. }
  128. @keyframes v-modal-in {
  129. 0% {
  130. opacity: 0;
  131. }
  132. 100% {
  133. }
  134. }
  135. @-webkit-keyframes v-modal-out {
  136. 0% {
  137. }
  138. 100% {
  139. opacity: 0;
  140. }
  141. }
  142. @keyframes v-modal-out {
  143. 0% {
  144. }
  145. 100% {
  146. opacity: 0;
  147. }
  148. }
  149. .v-modal {
  150. position: fixed;
  151. left: 0;
  152. top: 0;
  153. width: 100%;
  154. height: 100%;
  155. opacity: 0.5;
  156. background: #000;
  157. }