login.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. html{height: 100%;}
  2. body.signin {
  3. background: #18c8f6;
  4. height: auto;
  5. background:url("../img/login-background.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. color: rgba(255,255,255,.95);
  11. }
  12. .signinpanel {
  13. width: 750px;
  14. margin: 10% auto 0 auto;
  15. }
  16. .signinpanel .logopanel {
  17. float: none;
  18. width: auto;
  19. padding: 0;
  20. background: none;
  21. }
  22. .signinpanel .signin-info ul {
  23. list-style: none;
  24. padding: 0;
  25. margin: 20px 0;
  26. }
  27. .signinpanel .form-control {
  28. display: block;
  29. margin-top: 15px;
  30. }
  31. .signinpanel .uname {
  32. background: #fff url(../img/user.png) no-repeat 95% center;color:#333;
  33. }
  34. .signinpanel .pword {
  35. background: #fff url(../img/locked.png) no-repeat 95% center;color:#333;
  36. }
  37. .signinpanel .btn {
  38. margin-top: 15px;
  39. }
  40. .signinpanel form {
  41. background: rgba(255, 255, 255, 0.2);
  42. border: 1px solid rgba(255,255,255,.3);
  43. -moz-box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
  44. -webkit-box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
  45. box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
  46. -moz-border-radius: 3px;
  47. -webkit-border-radius: 3px;
  48. border-radius: 3px;
  49. padding: 30px;
  50. }
  51. .signup-footer{border-top: solid 1px rgba(255,255,255,.3);margin:20px 0;padding-top: 15px;}
  52. @media screen and (max-width: 768px) {
  53. .signinpanel,
  54. .signuppanel {
  55. margin: 0 auto;
  56. width: 420px!important;
  57. padding: 20px;
  58. }
  59. .signinpanel form {
  60. margin-top: 20px;
  61. }
  62. .signup-footer {
  63. margin-bottom: 10px;
  64. }
  65. .signuppanel .form-control {
  66. margin-bottom: 10px;
  67. }
  68. .signup-footer .pull-left,
  69. .signup-footer .pull-right {
  70. float: none !important;
  71. text-align: center;
  72. }
  73. .signinpanel .signin-info ul {
  74. display: none;
  75. }
  76. }
  77. @media screen and (max-width: 320px) {
  78. .signinpanel,
  79. .signuppanel {
  80. margin:0 20px;
  81. width:auto;
  82. }
  83. }