login.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. #login{
  2. width: 100%;
  3. height: 100%;
  4. position: absolute;
  5. background: url("../image/bj.png") no-repeat;
  6. -webkit-background-size: 100%;
  7. background-size: 100%;
  8. top: 0;
  9. left: 0;
  10. opacity: 0.25;
  11. }
  12. .login_bg{
  13. width:100%;
  14. min-height: 100%;
  15. text-align: center;
  16. background: #e0ebf4;
  17. opacity: 0.9;
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. bottom : 0;
  22. right : 0;
  23. background-image: url(../image/drawable-xhdpi/bg03.png);
  24. background-size : cover;
  25. }
  26. #logo{
  27. margin: 9% auto;
  28. width: 70%;
  29. }
  30. img{
  31. width: 100%;
  32. }
  33. form{
  34. width: 80%;
  35. margin: 0 auto;
  36. text-align: left;
  37. }
  38. form div.userName,form div.passWord{
  39. // border: 1px solid #c1c1c1;
  40. padding:3.5% 0 4% 3%;
  41. height: 22%;
  42. background: #ffffff;
  43. }
  44. form div.userName{
  45. border-bottom:0;
  46. -webkit-border-top-left-radius: 0.45em;
  47. -webkit-border-top-right-radius: 0.45em;
  48. -moz-border-radius-topleft: 0.45em;
  49. -moz-border-radius-topright: 0.45em;
  50. border-top-left-radius: 0.45em;
  51. border-top-right-radius: 0.45em;
  52. }
  53. form div.passWord{
  54. -webkit-border-bottom-left-radius: 0.45em;
  55. -webkit-border-bottom-right-radius: 0.45em;
  56. -moz-border-radius-bottomleft: 0.45em;
  57. -moz-border-radius-bottomright: 0.45em;
  58. border-bottom-left-radius: 0.45em;
  59. border-bottom-right-radius: 0.45em;
  60. }
  61. form div.userName input,form div.passWord input{
  62. width: 68%;
  63. height: 80%;
  64. border:none;
  65. background: transparent;
  66. font-size: 1em;
  67. font-family: "Microsoft YaHei";
  68. color: #b3b3b3;
  69. letter-spacing: 1px;
  70. padding-left: 2px;
  71. line-height: 1.4rem;
  72. }
  73. .choose_box{
  74. height: 3em;
  75. line-height: 3em;
  76. padding: 0 5px;
  77. }
  78. .choose_box div{
  79. float: left;
  80. }
  81. .choose_box a{
  82. float: right;
  83. }
  84. .login_btn{
  85. width: 100%;
  86. display: block;
  87. padding:5% 0 ;
  88. background: #00787b;
  89. border: 0;
  90. font-size: 1em;
  91. font-family: "Microsoft YaHei";
  92. color:#fff;
  93. -webkit-box-shadow: #8f9bad 0px 0px 20px;
  94. -moz-box-shadow: #8f9bad 0px 0px 20px;
  95. box-shadow: #8f9bad 0px 0px 20px;
  96. text-align: center;
  97. border-radius: 5px;
  98. }
  99. .other_login{
  100. width: 80%;
  101. height: 15px;
  102. position: absolute;
  103. top:75%;
  104. margin: 0 10%;
  105. }
  106. .other_login .other,.other_login span{
  107. display: inline-block;
  108. vertical-align: middle;
  109. }
  110. .other_login .other{
  111. width: 28%;
  112. height: 8px;
  113. border-bottom:1px solid #2f2c59;
  114. }
  115. .other_login span{
  116. width:40%;
  117. }
  118. .other_choose{
  119. width: 74%;
  120. top:83.5%;
  121. position: absolute;
  122. margin: 0 13%;
  123. }
  124. .login_bg .other_choose a{
  125. display: block;
  126. float: left;
  127. border: 2px solid #505887;
  128. -webkit-border-radius: 50%;
  129. -moz-border-radius: 50%;
  130. border-radius: 50%;
  131. position: absolute;
  132. }
  133. .other_choose a:nth-child(2) {
  134. left:42%;
  135. }
  136. .other_choose a:nth-child(3) {
  137. left:80%;
  138. }
  139. .other_choose a img{
  140. width: 60%;
  141. padding: 14% 0;
  142. }
  143. .loginImg {
  144. position: absolute;
  145. top: 0;
  146. left: 0;
  147. width: 100%;
  148. height: 100%;
  149. z-index: 0;
  150. }