TPMmodal.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. #tpm_backdrop{
  2. opacity: 0;
  3. filter: alpha(opacity=0);
  4. transition:opacity 0.3s;
  5. position:fixed;
  6. top:0;
  7. left:0;
  8. right:0;
  9. bottom:0;
  10. background:#000;
  11. display:none;
  12. z-index:3000;
  13. }
  14. #tpm_backdrop.in{
  15. display:block;
  16. opacity:0.8;
  17. filter: alpha(opacity=80);
  18. }
  19. #tpm_modal{
  20. top:-50%;
  21. position:fixed;
  22. left:50%;
  23. width:560px;
  24. margin-left:-280px;
  25. transition:top 0.3s;
  26. z-index:3001;
  27. background:#fff;
  28. border-radius:6px;
  29. display:none;
  30. }
  31. #tpm_modal.in{
  32. top:10%;
  33. display:block;
  34. }
  35. #tpm_modal .tpm_modal_head{
  36. padding:9px 15px;
  37. border-bottom: 1px solid #EEEEEE;
  38. position:relative;
  39. }
  40. #tpm_modal .tpm_modal_head .tpm_modal_close{
  41. position:absolute;
  42. right:10px;
  43. top:10px;
  44. text-decoration:none;
  45. font-size: 16px;
  46. font-weight: bold;
  47. line-height: 20px;
  48. color: #000000;
  49. text-shadow: 0 1px 0 #ffffff;
  50. opacity: 0.2;
  51. filter: alpha(opacity=20);
  52. }
  53. #tpm_modal .tpm_modal_head h3{
  54. margin:0px;
  55. padding:0px;
  56. font-size:18px;
  57. color:#333;
  58. }
  59. #tpm_modal .tpm_modal_body{
  60. padding:15px;
  61. }
  62. #tpm_modal .tpm_modal_foot{
  63. background:#F5F5F5;
  64. border-radius:0 0 6px 6px;
  65. border-top:1px solid #DDDDDD;
  66. box-shadow:0 1px 0 #FFFFFF inset;
  67. padding:14px 15px 15px;
  68. text-align:right;
  69. }
  70. .tpm_modal_foot button{
  71. border-radius:2px;
  72. background:#0078E7;
  73. color:#fff;
  74. border:none;
  75. padding:0.5em 1.5em;
  76. }
  77. .tpm_modal_foot button:hover{
  78. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#00000000', GradientType=0);
  79. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.05)));
  80. background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
  81. background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.05));
  82. background-image: -ms-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
  83. background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.05));
  84. background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.05));
  85. }
  86. .tpm_modal_foot button.tpm_modal_cancel{
  87. color:#444;
  88. background-color:#E6E6E6;
  89. margin-right:15px;
  90. }
  91. #tpm_modal_phone{
  92. bottom:-50%;
  93. position:fixed;
  94. width:100%;
  95. transition:bottom 0.3s;
  96. z-index:3001;
  97. background:#eee;
  98. display:none;
  99. }
  100. #tpm_modal_phone.in{
  101. bottom:0;
  102. display:block;
  103. }
  104. #tpm_modal_phone .tpm_modal_head{
  105. padding:9px 10px;
  106. }
  107. #tpm_modal_phone .tpm_modal_head h3{
  108. margin:0px;
  109. padding:0px;
  110. font-size:16px;
  111. color:#333;
  112. }
  113. #tpm_modal_phone .tpm_modal_body{
  114. padding:10px 20px 20px 20px;
  115. }
  116. #tpm_modal_phone .tpm_modal_foot{
  117. border-top:1px solid #DDDDDD;
  118. box-shadow:0 1px 0 #FFFFFF inset;
  119. padding:14px 10px 10px;
  120. text-align:right;
  121. }
  122. #tpm_modal_iframe{
  123. margin:0px;
  124. padding:0px;
  125. border:none;
  126. overflow:auto;
  127. width:100%;
  128. height:350px;
  129. }
  130. #tpm_info{
  131. position:fixed;
  132. top:-30%;
  133. left:50%;
  134. width:200px;
  135. margin-left:-100px;
  136. text-align:center;
  137. opacity:0;
  138. filter: alpha(opacity=0);
  139. border-radius:6px;
  140. background:#5FC6DA;
  141. color:#fff;
  142. padding:10px;
  143. display:none;
  144. z-index:3001;
  145. transition:0.3s;
  146. }
  147. #tpm_info.in{
  148. top:10%;
  149. opacity:1;
  150. filter: alpha(opacity=100);
  151. }
  152. #tpm_info_phone{
  153. position:fixed;
  154. bottom:-30%;
  155. opacity:0;
  156. filter:alpha(opacity=0);
  157. width:100%;
  158. background:#5FC6DA;
  159. color:#fff;
  160. padding:5px;
  161. text-align:center;
  162. transition:0.3s;
  163. z-index:3001;
  164. display:none;
  165. }
  166. #tpm_info_phone.in{
  167. bottom:0;
  168. opacity:0.8;
  169. filter:alpha(opacity=80);
  170. }
  171. @media (max-width:767px) {
  172. #tpm_modal{
  173. left:2%;
  174. right:2%;
  175. width:auto;
  176. margin-left:0px;
  177. }
  178. #tpm_modal.in{
  179. top:5%;
  180. }
  181. #tpm_modal_iframe{
  182. height:250px;
  183. }
  184. }