login.css 5.6 KB

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