popup.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. @import './common.less';
  2. .popupModal {
  3. position: absolute;
  4. top: 24px;
  5. margin-bottom: 50px;
  6. left: 0;
  7. width: 100%;
  8. background: #FFFFFF;
  9. box-shadow: 0 3px 10px -5px;
  10. border: 1px solid #efefef;
  11. color: #000;
  12. display: none;
  13. z-index: 99;
  14. .modalTitle {
  15. height: 40px;
  16. line-height: 40px;
  17. padding: 0 20px;
  18. background: #DFEAFE;
  19. i {
  20. width: 14px;
  21. height: 14px;
  22. background: url('../images/close.png') center center no-repeat;
  23. float: right;
  24. padding: 12px 0 12px 12px;
  25. margin-right: -8px;
  26. cursor: pointer;
  27. }
  28. }
  29. .modalMainOne {
  30. padding: 20px 0;
  31. height: 30px;
  32. line-height: 30px;
  33. margin: 0 20px;
  34. border-bottom: 1px solid @grayColor;
  35. ul {
  36. display: inline-block;
  37. }
  38. .modalMaintltle {
  39. float: left;
  40. }
  41. .radioCheck {
  42. float: left;
  43. i {
  44. height: 28px;
  45. width: 28px;
  46. float: left;
  47. background: url('../images/sex1.png') center center no-repeat;
  48. }
  49. }
  50. .radioChecks {
  51. float: left;
  52. margin: 0 10px;
  53. cursor: pointer;
  54. i {
  55. height: 28px;
  56. width: 28px;
  57. float: left;
  58. background: url('../images/sex1.png') center center no-repeat;
  59. }
  60. span {
  61. display: inline-block;
  62. height: 28px;
  63. line-height: 28px;
  64. }
  65. a {
  66. color: @colorBlue;
  67. }
  68. }
  69. .radioCheckSec {
  70. i {
  71. background: url('../images/sex2.png') center center no-repeat;
  72. }
  73. }
  74. }
  75. .modalMainTwo {
  76. padding: 20px 0;
  77. margin: 0 20px;
  78. border-bottom: 1px solid @grayColor;
  79. .radioCheck {
  80. height: 30px;
  81. line-height: 30px;
  82. margin: 10px 0;
  83. position: relative;
  84. padding-left: 98px;
  85. padding-right: 65px;
  86. float: none;
  87. .uint {
  88. position: absolute;
  89. right: -10px;
  90. top: 0;
  91. min-width: 45px;
  92. text-align: left;
  93. line-height: 30px;
  94. height: 30px;
  95. }
  96. .caculateLis {
  97. li {
  98. float: left;
  99. padding-left: 0;
  100. margin: 0;
  101. a {
  102. color: @colorBlue;
  103. }
  104. }
  105. }
  106. .modalMaintltle {
  107. float: left;
  108. width: 98px;
  109. position: absolute;
  110. left: 0;
  111. }
  112. input[type=text] {
  113. border: 1px solid #E2E3E3;
  114. border-radius: 2px;
  115. height: 30px;
  116. line-height: 30px;
  117. padding: 0 10px;
  118. width: 100%;
  119. }
  120. input[type=text]:hover {
  121. border: 1px solid #3B9ED0;
  122. }
  123. }
  124. .radioChecks {
  125. height: 30px;
  126. line-height: 30px;
  127. margin: 10px 0;
  128. position: relative;
  129. padding-left: 98px;
  130. padding-right: 20px;
  131. cursor: pointer;
  132. i {
  133. height: 28px;
  134. width: 28px;
  135. float: left;
  136. background: url('../images/sex1.png') center center no-repeat;
  137. }
  138. }
  139. .radioCheckSec {
  140. i {
  141. background: url('../images/sex2.png') center center no-repeat;
  142. }
  143. }
  144. .calculate {
  145. height: 32px;
  146. line-height: 32px;
  147. margin-bottom: 20px;
  148. text-align: center;
  149. background-color: #267FD7;
  150. color: #fff;
  151. width: 100%;
  152. border-radius: 5px;
  153. cursor: pointer;
  154. }
  155. .calculateError {
  156. color: red;
  157. position: relative;
  158. top: -20px;
  159. display: none;
  160. font-size: 12px;
  161. }
  162. .calculate:hover {
  163. background-color: #267FD7;
  164. }
  165. .result {
  166. span {
  167. display: inline-block;
  168. width: 98px;
  169. }
  170. .calculateResult {
  171. width: auto;
  172. }
  173. }
  174. }
  175. .btnWrap {
  176. padding: 10px 20px;
  177. .sureScore {
  178. border: 1px solid #267FD7;
  179. border-radius: 4px;
  180. width: 66px;
  181. height: 32px;
  182. line-height: 30px;
  183. float: right;
  184. color: #267FD7;
  185. text-align: center;
  186. cursor: pointer;
  187. }
  188. }
  189. }