login.less 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. body {
  2. background:linear-gradient(133deg,rgba(45,79,139,1) 0%,rgba(20,39,83,1) 100%);
  3. }
  4. .login {
  5. cursor: pointer;
  6. height: 100%;
  7. .bg{
  8. width: 62%;
  9. height: 100%;
  10. text-align: center;
  11. background: url("../images/loginBg2.png") center center no-repeat;
  12. background-size: 84%;
  13. }
  14. .waring {
  15. color: #FF4D4F;
  16. margin-top: 18px;
  17. height: 18px;
  18. }
  19. .sureLogin {
  20. width: 300px;
  21. height: 40px;
  22. line-height: 40px;
  23. text-align: center;
  24. background-color: #00A1FF;
  25. color: #fff;
  26. border-radius:4px;
  27. margin: 20px auto 0;
  28. }
  29. }
  30. p.title {
  31. font-size: 28px;
  32. color: #fff;
  33. font-weight: bold;
  34. position: absolute;
  35. top: 90px;
  36. left: 50px;
  37. }
  38. .message {
  39. width: 38%;
  40. height: 100%;
  41. background:linear-gradient(180deg,rgba(0,25,82,1) 0%,rgba(0,24,78,0.94) 100%);
  42. box-sizing: border-box;
  43. position: relative;
  44. .inner{
  45. height: 360px;
  46. position: absolute;
  47. top: 50%;
  48. left: 50%;
  49. margin-top: -180px;
  50. margin-left: -150px;
  51. }
  52. .welcome {
  53. font-size: 20px;
  54. font-weight: bold;
  55. color: #fff;
  56. margin-bottom: 50px;
  57. }
  58. }
  59. .perPub {
  60. width: 300px;
  61. margin: auto;
  62. p {
  63. font-size: 12px;
  64. padding-bottom: 8px;
  65. color: #fff;
  66. }
  67. img {
  68. vertical-align: middle;
  69. margin-right: 8px;
  70. }
  71. }
  72. .iptWrap {
  73. padding-left: 10px;
  74. box-sizing: border-box;
  75. border: 1px solid #97A4BA;
  76. width: 300px;
  77. height: 40px;
  78. line-height: 38px;
  79. border-radius: 4px;
  80. input {
  81. display: inline-block;
  82. width: 80%;
  83. color: #fff;
  84. background: none;
  85. }
  86. }
  87. .inputFocus{
  88. border: 1px solid #5a8eee ;
  89. outline: 0;
  90. -webkit-box-shadow:#5a8eee 0px 0px 2px;
  91. -moz-box-shadow: #5a8eee 0px 0px 2px;
  92. box-shadow: #5a8eee 0px 0px 2px;
  93. }
  94. .alertModal {
  95. .modalBg {
  96. position: fixed;
  97. top: 0px;
  98. left: 0px;
  99. right: 0px;
  100. bottom: 0px;
  101. background: rgba(0, 0, 0, .3);
  102. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  103. }
  104. .modalMain {
  105. width: 300px;
  106. // height: 200px;
  107. background-color: #fff;
  108. position: fixed;
  109. left: 50%;
  110. top: 30%;
  111. margin-left: -150px;
  112. // margin-top: -100px;
  113. padding-bottom: 10px;
  114. }
  115. .title {
  116. border-bottom: 1px solid #eee;
  117. background-color: #F8F8F8;
  118. line-height: 40px;
  119. height: 40px;
  120. position: relative;
  121. padding-left: 15px;
  122. font-size: 14px;
  123. img {
  124. position: absolute;
  125. right: 10px;
  126. top: 10px;
  127. cursor: pointer;
  128. }
  129. }
  130. .content {
  131. padding: 25px 15px;
  132. font-size: 14px;
  133. text-align: center;
  134. }
  135. .btns {
  136. height: 45px;
  137. text-align: center;
  138. span {
  139. border-radius: 5px;
  140. float: right;
  141. cursor: pointer;
  142. border: 1px solid #dedede;
  143. background-color: #fff;
  144. height: 28px;
  145. line-height: 28px;
  146. margin: 5px 5px 0;
  147. padding: 0 15px;
  148. color: #333;
  149. border-radius: 2px;
  150. font-weight: 400;
  151. text-decoration: none;
  152. }
  153. .sure {
  154. background-color: #1E9FFF;
  155. border-color: #1E9FFF;
  156. color: #fff;
  157. }
  158. .quite {
  159. margin-left: 30px;
  160. margin-right: 30px;
  161. }
  162. }
  163. }
  164. .divModal {
  165. position: fixed;
  166. }
  167. .modaltip {
  168. position: fixed;
  169. top: 40%;
  170. left: 50%;
  171. padding: 10px;
  172. border-radius: 3px;
  173. color: #fff;
  174. background: rgba(0, 0, 0, .6);
  175. z-index: 9999;
  176. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  177. }
  178. .loading {
  179. position: fixed;
  180. width: 100%;
  181. height: 100%;
  182. padding: 10px;
  183. border-radius: 3px;
  184. color: #fff;
  185. background: rgba(0, 0, 0, 0);
  186. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  187. img {
  188. position: fixed;
  189. top: 50%;
  190. left: 50%;
  191. width: 40px;
  192. height: 40px;
  193. margin-left: -20px;
  194. margin-top: -20px;
  195. }
  196. }