login.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. .demo {
  2. padding-top: 20px;
  3. text-align: center;
  4. color: #9abcda!important;
  5. font-size: 14px;
  6. }
  7. .main-body {
  8. top: 50%;
  9. left: 50%;
  10. position: absolute;
  11. -webkit-transform: translate(-50%, -50%);
  12. -moz-transform: translate(-50%, -50%);
  13. -ms-transform: translate(-50%, -50%);
  14. -o-transform: translate(-50%, -50%);
  15. transform: translate(-50%, -50%);
  16. overflow: hidden;
  17. }
  18. .login-main .login-bottom .center .item input {
  19. display: inline-block;
  20. width: 227px;
  21. height: 22px;
  22. padding: 0;
  23. position: absolute;
  24. border: 0;
  25. outline: 0;
  26. font-size: 14px;
  27. letter-spacing: 0;
  28. }
  29. .login-main .login-bottom .center .item .icon-1 {
  30. background: url(../images/icon-login.png) no-repeat 1px 0;
  31. }
  32. .login-main .login-bottom .center .item .icon-2 {
  33. background: url(../images/icon-login.png) no-repeat -54px 0;
  34. }
  35. .login-main .login-bottom .center .item .icon-3 {
  36. background: url(../images/icon-login.png) no-repeat -106px 0;
  37. }
  38. .login-main .login-bottom .center .item .icon-4 {
  39. background: url(../images/icon-login.png) no-repeat 0 -43px;
  40. position: absolute;
  41. right: -10px;
  42. cursor: pointer;
  43. }
  44. .login-main .login-bottom .center .item .icon-5 {
  45. background: url(../images/icon-login.png) no-repeat -55px -43px;
  46. }
  47. .login-main .login-bottom .center .item .icon-6 {
  48. background: url(../images/icon-login.png) no-repeat 0 -93px;
  49. position: absolute;
  50. right: -10px;
  51. margin-top: 8px;
  52. cursor: pointer;
  53. }
  54. .login-main .login-bottom .tip .icon-nocheck {
  55. display: inline-block;
  56. width: 10px;
  57. height: 10px;
  58. border-radius: 2px;
  59. border: solid 1px #9abcda;
  60. position: relative;
  61. top: 2px;
  62. margin: 1px 8px 1px 1px;
  63. cursor: pointer;
  64. }
  65. .login-main .login-bottom .tip .icon-check {
  66. margin: 0 7px 0 0;
  67. width: 14px;
  68. height: 14px;
  69. border: none;
  70. background: url(../images/icon-login.png) no-repeat -111px -48px;
  71. }
  72. .login-main .login-bottom .center .item .icon {
  73. display: inline-block;
  74. width: 33px;
  75. height: 22px;
  76. }
  77. .login-main .login-bottom .center .item {
  78. width: 288px;
  79. height: 35px;
  80. border-bottom: 1px solid #dae1e6;
  81. margin-bottom: 35px;
  82. }
  83. .login-main {
  84. width: 428px;
  85. position: relative;
  86. float: left;
  87. }
  88. .login-main .login-top {
  89. height: 117px;
  90. background-color: #148be4;
  91. border-radius: 12px 12px 0 0;
  92. font-family: SourceHanSansCN-Regular;
  93. font-size: 30px;
  94. font-weight: 400;
  95. font-stretch: normal;
  96. letter-spacing: 0;
  97. color: #fff;
  98. line-height: 117px;
  99. text-align: center;
  100. overflow: hidden;
  101. -webkit-transform: rotate(0);
  102. -moz-transform: rotate(0);
  103. -ms-transform: rotate(0);
  104. -o-transform: rotate(0);
  105. transform: rotate(0);
  106. }
  107. .login-main .login-top .bg1 {
  108. display: inline-block;
  109. width: 74px;
  110. height: 74px;
  111. background: #fff;
  112. opacity: .1;
  113. border-radius: 0 74px 0 0;
  114. position: absolute;
  115. left: 0;
  116. top: 43px;
  117. }
  118. .login-main .login-top .bg2 {
  119. display: inline-block;
  120. width: 94px;
  121. height: 94px;
  122. background: #fff;
  123. opacity: .1;
  124. border-radius: 50%;
  125. position: absolute;
  126. right: -16px;
  127. top: -16px;
  128. }
  129. .login-main .login-bottom {
  130. width: 428px;
  131. background: #fff;
  132. border-radius: 0 0 12px 12px;
  133. padding-bottom: 53px;
  134. }
  135. .login-main .login-bottom .center {
  136. width: 288px;
  137. margin: 0 auto;
  138. padding-top: 40px;
  139. padding-bottom: 15px;
  140. position: relative;
  141. }
  142. .login-main .login-bottom .tip {
  143. clear: both;
  144. height: 16px;
  145. line-height: 16px;
  146. width: 288px;
  147. margin: 0 auto;
  148. }
  149. body {
  150. background: url(../images/loginbg.png) 0% 0% / cover no-repeat;
  151. position: static;
  152. font-size: 12px;
  153. }
  154. input::-webkit-input-placeholder {
  155. color: #a6aebf;
  156. }
  157. input::-moz-placeholder { /* Mozilla Firefox 19+ */
  158. color: #a6aebf;
  159. }
  160. input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  161. color: #a6aebf;
  162. }
  163. input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  164. color: #a6aebf;
  165. }
  166. input:-webkit-autofill { /* 取消Chrome记住密码的背景颜色 */
  167. -webkit-box-shadow: 0 0 0 1000px white inset !important;
  168. }
  169. html {
  170. height: 100%;
  171. }
  172. .login-main .login-bottom .tip {
  173. clear: both;
  174. height: 16px;
  175. line-height: 16px;
  176. width: 288px;
  177. margin: 0 auto;
  178. }
  179. .login-main .login-bottom .tip .login-tip {
  180. font-family: MicrosoftYaHei;
  181. font-size: 12px;
  182. font-weight: 400;
  183. font-stretch: normal;
  184. letter-spacing: 0;
  185. color: #9abcda;
  186. cursor: pointer;
  187. }
  188. .login-main .login-bottom .tip .forget-password {
  189. font-stretch: normal;
  190. letter-spacing: 0;
  191. color: #1391ff;
  192. text-decoration: none;
  193. position: absolute;
  194. right: 62px;
  195. }
  196. .login-main .login-bottom .login-btn {
  197. width: 288px;
  198. height: 40px;
  199. background-color: #1E9FFF;
  200. border-radius: 16px;
  201. margin: 24px auto 0;
  202. text-align: center;
  203. line-height: 40px;
  204. color: #fff;
  205. font-size: 14px;
  206. letter-spacing: 0;
  207. cursor: pointer;
  208. border: none;
  209. }
  210. .login-main .login-bottom .center .item .validateImg {
  211. position: absolute;
  212. right: 1px;
  213. cursor: pointer;
  214. height: 36px;
  215. border: 1px solid #e6e6e6;
  216. }
  217. .footer {
  218. left: 0;
  219. bottom: 0;
  220. color: #fff;
  221. width: 100%;
  222. position: absolute;
  223. text-align: center;
  224. line-height: 30px;
  225. padding-bottom: 10px;
  226. text-shadow: #000 0.1em 0.1em 0.1em;
  227. font-size: 14px;
  228. }
  229. .padding-5 {
  230. padding: 5px !important;
  231. }
  232. .footer a, .footer span {
  233. color: #fff;
  234. }
  235. @media screen and (max-width: 428px) {
  236. .login-main {
  237. width: 360px !important;
  238. }
  239. .login-main .login-top {
  240. width: 360px !important;
  241. }
  242. .login-main .login-bottom {
  243. width: 360px !important;
  244. }
  245. }