login.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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: #5664ce;
  91. /*background-color: #148be4;*/
  92. border-radius: 12px 12px 0 0;
  93. font-family: SourceHanSansCN-Regular;
  94. font-size: 30px;
  95. font-weight: 400;
  96. font-stretch: normal;
  97. letter-spacing: 0;
  98. color: #fff;
  99. line-height: 117px;
  100. text-align: center;
  101. overflow: hidden;
  102. -webkit-transform: rotate(0);
  103. -moz-transform: rotate(0);
  104. -ms-transform: rotate(0);
  105. -o-transform: rotate(0);
  106. transform: rotate(0);
  107. }
  108. .login-main .login-top .bg1 {
  109. display: inline-block;
  110. width: 74px;
  111. height: 74px;
  112. background: #fff;
  113. opacity: .1;
  114. border-radius: 0 74px 0 0;
  115. position: absolute;
  116. left: 0;
  117. top: 43px;
  118. }
  119. .login-main .login-top .bg2 {
  120. display: inline-block;
  121. width: 94px;
  122. height: 94px;
  123. background: #fff;
  124. opacity: .1;
  125. border-radius: 50%;
  126. position: absolute;
  127. right: -16px;
  128. top: -16px;
  129. }
  130. .login-main .login-bottom {
  131. width: 428px;
  132. background: #fff;
  133. border-radius: 0 0 12px 12px;
  134. padding-bottom: 53px;
  135. }
  136. .login-main .login-bottom .center {
  137. width: 288px;
  138. margin: 0 auto;
  139. padding-top: 40px;
  140. padding-bottom: 15px;
  141. position: relative;
  142. }
  143. .login-main .login-bottom .tip {
  144. clear: both;
  145. height: 16px;
  146. line-height: 16px;
  147. width: 288px;
  148. margin: 0 auto;
  149. }
  150. body {
  151. background: url(../images/loginbg1.jpeg) 0% 0% / cover no-repeat;
  152. /*background: url(../images/loginbg.png) 0% 0% / cover no-repeat;*/
  153. position: static;
  154. font-size: 12px;
  155. }
  156. input::-webkit-input-placeholder {
  157. color: #a6aebf;
  158. }
  159. input::-moz-placeholder { /* Mozilla Firefox 19+ */
  160. color: #a6aebf;
  161. }
  162. input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  163. color: #a6aebf;
  164. }
  165. input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  166. color: #a6aebf;
  167. }
  168. input:-webkit-autofill { /* 取消Chrome记住密码的背景颜色 */
  169. -webkit-box-shadow: 0 0 0 1000px white inset !important;
  170. }
  171. html {
  172. height: 100%;
  173. }
  174. .login-main .login-bottom .tip {
  175. clear: both;
  176. height: 16px;
  177. line-height: 16px;
  178. width: 288px;
  179. margin: 0 auto;
  180. }
  181. .login-main .login-bottom .tip .login-tip {
  182. font-family: MicrosoftYaHei;
  183. font-size: 12px;
  184. font-weight: 400;
  185. font-stretch: normal;
  186. letter-spacing: 0;
  187. color: #9abcda;
  188. cursor: pointer;
  189. }
  190. .login-main .login-bottom .tip .forget-password {
  191. font-stretch: normal;
  192. letter-spacing: 0;
  193. color: #5664ce;
  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: #5664ce;
  203. /*background-color: #1E9FFF;*/
  204. border-radius: 16px;
  205. margin: 24px auto 0;
  206. text-align: center;
  207. line-height: 40px;
  208. color: #fff;
  209. font-size: 14px;
  210. letter-spacing: 0;
  211. cursor: pointer;
  212. border: none;
  213. }
  214. .login-main .login-bottom .center .item .validateImg {
  215. position: absolute;
  216. right: 1px;
  217. cursor: pointer;
  218. height: 36px;
  219. border: 1px solid #e6e6e6;
  220. }
  221. .footer {
  222. left: 0;
  223. bottom: 0;
  224. color: #fff;
  225. width: 100%;
  226. position: absolute;
  227. text-align: center;
  228. line-height: 30px;
  229. padding-bottom: 10px;
  230. text-shadow: #000 0.1em 0.1em 0.1em;
  231. font-size: 14px;
  232. }
  233. .padding-5 {
  234. padding: 5px !important;
  235. }
  236. .footer a, .footer span {
  237. color: #fff;
  238. }
  239. @media screen and (max-width: 428px) {
  240. .login-main {
  241. width: 360px !important;
  242. }
  243. .login-main .login-top {
  244. width: 360px !important;
  245. }
  246. .login-main .login-bottom {
  247. width: 360px !important;
  248. }
  249. }