index.less 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .main {
  2. width: 100%;
  3. height: 100vh;
  4. display: flex;
  5. justify-content: center;
  6. align-items: center;
  7. background-image: url('@/assets/login-bg.png');
  8. background-repeat: no-repeat;
  9. background-position: 50%;
  10. background-size: 100%;
  11. }
  12. .prefixIcon {
  13. color: #42a0e0;
  14. font-size: 18px;
  15. }
  16. .content {
  17. width: 428px;
  18. min-height: 450px;
  19. border-radius: 8px;
  20. padding-top: 162px;
  21. padding-bottom: 20px;
  22. background: #fff url('@/assets/login-box-top.png') no-repeat top center;
  23. @media screen and (max-width: 576px) {
  24. width: 95%;
  25. }
  26. .inp_box {
  27. width: 80%;
  28. margin: 0 auto;
  29. padding-top: 40px;
  30. a {
  31. color: #999;
  32. }
  33. }
  34. .inp {
  35. input {
  36. border-radius: 0px;
  37. padding: 2px 4px;
  38. }
  39. i {
  40. color: #42a0e0;
  41. font-size: 18px;
  42. }
  43. }
  44. .icon {
  45. margin-left: 16px;
  46. color: rgba(0, 0, 0, 0.2);
  47. font-size: 24px;
  48. vertical-align: middle;
  49. cursor: pointer;
  50. transition: color 0.3s;
  51. &:hover {
  52. color: #1890ff;
  53. }
  54. }
  55. .other {
  56. margin-top: 24px;
  57. line-height: 22px;
  58. text-align: left;
  59. .register {
  60. float: right;
  61. }
  62. }
  63. }