index.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. .login {
  2. width: 100vw;
  3. height: 100vh;
  4. overflow: hidden;
  5. background-image: url("./images/bg.jpg");
  6. background-size: cover;
  7. &::before {
  8. content: "";
  9. position: absolute;
  10. top: 0;
  11. left: 0;
  12. width: 100%;
  13. height: 100%;
  14. background-color: rgba(0, 0, 0, 0.4);
  15. z-index: 1;
  16. }
  17. .icon-account,
  18. .icon-password {
  19. margin-right: 24px;
  20. width: 26px;
  21. }
  22. &-logo {
  23. display: flex;
  24. flex-direction: column;
  25. position: absolute;
  26. top: 17.5vh;
  27. left: 15vw;
  28. z-index: 1;
  29. &__txt {
  30. display: flex;
  31. justify-content: space-between;
  32. margin-top: 23px;
  33. font-size: 24px;
  34. color: #ffffff;
  35. opacity: 0.6;
  36. }
  37. }
  38. &-form {
  39. position: absolute;
  40. top: 52%;
  41. right: 12vw;
  42. width: 550px;
  43. height: 646px;
  44. padding: 66px 75px;
  45. background: rgba(176, 161, 121, 0.2);
  46. box-shadow: inset 0px 4px 4px 0px rgba(255, 255, 255, 0.25);
  47. border-radius: 3px;
  48. transform: translateY(-50%);
  49. z-index: 2;
  50. &__title {
  51. margin-bottom: 20px;
  52. font-size: 40px;
  53. font-family: Source Han Serif CN-Bold;
  54. font-weight: bold;
  55. color: white;
  56. }
  57. &__input {
  58. $inputHeight: 85px;
  59. display: flex;
  60. flex-direction: column;
  61. .ant-input {
  62. width: 100%;
  63. height: $inputHeight;
  64. color: #ffffff;
  65. background-color: transparent;
  66. &::-webkit-input-placeholder {
  67. color: #ffffff;
  68. opacity: 0.6;
  69. }
  70. &:-webkit-autofill {
  71. transition-delay: 99999s;
  72. }
  73. &:-webkit-autofill::first-line {
  74. font-size: 24px;
  75. }
  76. }
  77. .ant-input-affix-wrapper {
  78. padding: 0 11px;
  79. width: 100%;
  80. height: $inputHeight;
  81. border: none;
  82. color: #ffffff;
  83. font-size: 24px;
  84. border-bottom: 1px solid #ffffff;
  85. border-radius: 0;
  86. background-color: transparent;
  87. }
  88. .ant-input-password-icon {
  89. color: #ffffff !important;
  90. opacity: 0.6;
  91. }
  92. }
  93. &__btn {
  94. margin-top: 85px;
  95. .ant-btn {
  96. font-size: 24px;
  97. width: 100%;
  98. height: 66px;
  99. border-radius: 3px;
  100. border: 0;
  101. background: var(--second-color);
  102. }
  103. }
  104. }
  105. }