index.less 1.4 KB

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