style.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  2. margin: 0;
  3. padding: 0;
  4. border: 0;
  5. outline: 0;
  6. font-size: 100%;
  7. vertical-align: baseline;
  8. background: transparent;
  9. outline-style: none
  10. }
  11. @keyframes fade-in {
  12. 0% {
  13. opacity: 0;
  14. }
  15. /*初始状态 透明度为0*/
  16. 40% {
  17. opacity: 0;
  18. }
  19. /*过渡状态 透明度为0*/
  20. 100% {
  21. opacity: 1;
  22. }
  23. /*结束状态 透明度为1*/
  24. }
  25. @-webkit-keyframes fade-in {
  26. /*针对webkit内核*/
  27. 0% {
  28. opacity: 0;
  29. }
  30. 40% {
  31. opacity: 0;
  32. }
  33. 100% {
  34. opacity: 1;
  35. }
  36. }
  37. #wrapper {
  38. animation: fade-in; /*动画名称*/
  39. animation-duration: .6s; /*动画持续时间*/
  40. -webkit-animation: fade-in .6s; /*针对webkit内核*/
  41. }
  42. body {
  43. line-height: 1;
  44. font: 14px/1.5 "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", Roboto, Arial, sans-serif;
  45. }
  46. a {
  47. margin: 0;
  48. padding: 0;
  49. border: 0;
  50. font-size: 100%;
  51. vertical-align: baseline;
  52. background: transparent
  53. }
  54. a:hover, a:focus {
  55. text-decoration: none;
  56. bblr: expression(this.onFocus=this.blur());
  57. outline-style: none
  58. }
  59. table {
  60. border-collapse: collapse;
  61. border-spacing: 0
  62. }
  63. input, select {
  64. vertical-align: middle
  65. }
  66. * {
  67. -webkit-box-sizing: border-box;
  68. -moz-box-sizing: border-box;
  69. box-sizing: border-box;
  70. }
  71. .clearfix::before, .clearfix::after {
  72. content: "";
  73. height: 0;
  74. line-height: 0;
  75. display: block;
  76. visibility: hidden;
  77. clear: both
  78. }
  79. .clearfix:after {
  80. clear: both
  81. }
  82. .clearfix {
  83. *zoom: 1
  84. }
  85. /* login */
  86. html, body {
  87. height: 100%;
  88. }
  89. .page-login-v3:before {
  90. position: fixed;
  91. top: 0;
  92. left: 0;
  93. z-index: -1;
  94. width: 100%;
  95. height: 100%;
  96. content: '';
  97. background: #62a8ea;
  98. background: url(../../img/login/login_bg.jpg) center center/cover no-repeat !important;
  99. }
  100. .container {
  101. text-align: center;
  102. height: 100%;
  103. }
  104. .container:before {
  105. display: inline-block;
  106. height: 100%;
  107. vertical-align: middle;
  108. content: "";
  109. }
  110. .login-body {
  111. display: inline-block;
  112. vertical-align: middle;
  113. width: 400px;
  114. margin: 75px 0;
  115. background: #fff;
  116. border-radius: 4px;
  117. padding: 50px 40px 40px;
  118. -webkit-box-sizing: border-box;
  119. -moz-box-sizing: border-box;
  120. box-sizing: border-box;
  121. }
  122. .login-content {
  123. }
  124. .login-content .brand .brand-img {
  125. width: 50px;
  126. }
  127. .login-content .brand .brand-text {
  128. margin-top: 20px;
  129. margin-bottom: 11px;
  130. font-size: 20px !important;
  131. font-family: "Microsoft YaHei";
  132. text-shadow: rgba(0, 0, 0, .15) 0 0 1px;
  133. font-weight: 400;
  134. color: #37474f;
  135. }
  136. .login-form {
  137. margin: 45px 0 30px;
  138. }
  139. .login-form .form-group {
  140. margin: 30px 0;
  141. }
  142. .login-form input {
  143. display: block;
  144. border: 0;
  145. border-radius: 0;
  146. -webkit-box-shadow: none;
  147. box-shadow: none;
  148. width: 100%;
  149. border-bottom: 1px solid #E4EAEC;
  150. font-size: 14px;
  151. height: 42px;
  152. line-height: 1.5;
  153. outline: none;
  154. padding: 0 5px;
  155. color: #a3afb7;
  156. font: 14px/1.5 "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", Roboto, Arial, sans-serif;
  157. transition: all 0.3s ease-in-out;
  158. -moz-transition: all 0.3s ease-in-out;
  159. -webkit-transition: all 0.3s ease-in-out;
  160. -o-transition: all 0.3s ease-in-out;
  161. }
  162. .login-form input:focus {
  163. border-bottom: 1px solid #ff5060;
  164. }
  165. .login-form button {
  166. width: 100%;
  167. margin-top: 20px;
  168. padding: 10px 18px;
  169. font-size: 18px;
  170. line-height: 1.3333333;
  171. border-radius: 4px;
  172. white-space: normal;
  173. -webkit-transition: border .2s linear, color .2s linear, width .2s linear, background-color .2s linear;
  174. -o-transition: border .2s linear, color .2s linear, width .2s linear, background-color .2s linear;
  175. transition: border .2s linear, color .2s linear, width .2s linear, background-color .2s linear;
  176. -webkit-font-smoothing: subpixel-antialiased;
  177. color: #fff;
  178. background-color: #ff5060;
  179. /*border-color: #ff5060;*/
  180. border: 1px solid transparent;
  181. cursor: pointer;
  182. outline: none;
  183. }
  184. .login-form button[disabled], .login-form button[disabled]:hover {
  185. color: #fff;
  186. background-color: #a2caee;
  187. border-color: #a2caee;
  188. cursor: not-allowed;
  189. opacity: .65;
  190. }
  191. .login-form button:hover {
  192. background-color: #fd717e;
  193. border-color: #fd717e;
  194. }
  195. @media screen and (max-width: 404px) {
  196. .login-body {
  197. width: 310px;
  198. padding: 50px 30px 40px;
  199. }
  200. }