login.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. html{height: 100%;}
  2. body.signin {
  3. background: #18c8f6;
  4. height: auto;
  5. background:url("../img/login_bg.jpg") no-repeat center fixed;
  6. -webkit-background-size: cover;
  7. -moz-background-size: cover;
  8. -o-background-size: cover;
  9. background-size: cover;
  10. }
  11. .login-info{
  12. position: relative;
  13. }
  14. .login-info img{
  15. width: 250px;
  16. position: absolute;
  17. top: -160px;
  18. left: -100px;
  19. }
  20. .login-info p{
  21. font-size: 28px;
  22. }
  23. .login-info p:last-of-type{
  24. font-size: 48px;
  25. font-weight: bold;
  26. }
  27. .signinpanel {
  28. color: white;
  29. width: 1250px;
  30. display: flex;
  31. margin: 0 auto;
  32. justify-content: space-between;
  33. align-items: center;
  34. position: fixed;
  35. transform: translate(-50%,-50%);
  36. top: 50%;
  37. left: 50%;
  38. }
  39. .fixed-logo{
  40. position: fixed;
  41. top: 50px;
  42. left: 50px;
  43. }
  44. .fixed-logo img{
  45. width: 60px;
  46. }
  47. .signinpanel .logopanel {
  48. float: none;
  49. width: auto;
  50. padding: 0;
  51. background: none;
  52. }
  53. .signinpanel .signin-info ul {
  54. list-style: none;
  55. padding: 0;
  56. margin: 20px 0;
  57. }
  58. .signinpanel .form-control {
  59. display: block;
  60. margin-top: 15px;
  61. }
  62. .signinpanel .uname {
  63. background: #fff url(../img/user.png) no-repeat 95% center;color:#333;
  64. }
  65. .signinpanel .pword {
  66. background: #fff url(../img/locked.png) no-repeat 95% center;color:#333;
  67. }
  68. .signinpanel .btn {
  69. margin-top: 15px;
  70. }
  71. .signinpanel form {
  72. background: rgba(255, 255, 255, 0.2);
  73. border: 1px solid rgba(255,255,255,.3);
  74. -moz-box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
  75. -webkit-box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
  76. box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
  77. -moz-border-radius: 3px;
  78. -webkit-border-radius: 3px;
  79. border-radius: 3px;
  80. padding: 30px;
  81. }
  82. .ivu-btn-primary{
  83. border-color:#1FE4DC!important;
  84. background-color: #1FE4DC!important;
  85. color: #000000;
  86. }
  87. .signup-footer{border-top: solid 1px rgba(255,255,255,.3);margin:20px 0;padding-top: 15px;}
  88. @media screen and (max-width: 768px) {
  89. .signinpanel,
  90. .signuppanel {
  91. margin: 0 auto;
  92. width: 420px!important;
  93. padding: 20px;
  94. }
  95. .signinpanel form {
  96. margin-top: 20px;
  97. }
  98. .signup-footer {
  99. margin-bottom: 10px;
  100. }
  101. .signuppanel .form-control {
  102. margin-bottom: 10px;
  103. }
  104. .signup-footer .pull-left,
  105. .signup-footer .pull-right {
  106. float: none !important;
  107. text-align: center;
  108. }
  109. .signinpanel .signin-info ul {
  110. display: none;
  111. }
  112. }
  113. @media screen and (max-width: 320px) {
  114. .signinpanel,
  115. .signuppanel {
  116. margin:0 20px;
  117. width:auto;
  118. }
  119. }