index.module.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. .Login {
  2. width: 100%;
  3. height: 100%;
  4. background-image: url("../../assets/img/loginBac.jpg");
  5. background-size: 100% 100%;
  6. :global {
  7. .mainRight {
  8. position: absolute;
  9. right: 0px;
  10. top: 0;
  11. width: 530px;
  12. height: 100%;
  13. background-color: rgba(0, 0, 0, 0.70);
  14. backdrop-filter: blur(6px);
  15. display: flex;
  16. flex-direction: column;
  17. justify-content: center;
  18. align-items: center;
  19. .LogoImg{
  20. position: absolute;
  21. top: 90px;
  22. left: 80px;
  23. &>img{
  24. width: 300px;
  25. }
  26. }
  27. .inputBox {
  28. margin: 40px 0 80px;
  29. width: 100%;
  30. input::-webkit-input-placeholder {
  31. /* WebKit browsers */
  32. color: rgba(255,255,255,.6);
  33. }
  34. input:-moz-placeholder {
  35. /* Mozilla Firefox 4 to 18 */
  36. color: rgba(255,255,255,.6);
  37. }
  38. input::-moz-placeholder {
  39. /* Mozilla Firefox 19+ */
  40. color: rgba(255,255,255,.6);
  41. }
  42. input:-ms-input-placeholder {
  43. /* Internet Explorer 10+ */
  44. color: rgba(255,255,255,.6);
  45. }
  46. .inputBoxRow {
  47. width: 370px;
  48. margin: 30px auto;
  49. .ant-input-suffix .ant-input-password-icon {
  50. color: #fff;
  51. font-size: 22px;
  52. }
  53. }
  54. .inputBoxRow2 {
  55. position: relative;
  56. .loginCode {
  57. z-index: 110;
  58. cursor: pointer;
  59. position: absolute;
  60. top: 50%;
  61. right: 0;
  62. transform: translateY(-50%);
  63. }
  64. }
  65. .ant-input-prefix {
  66. margin-right: 10px;
  67. .anticon {
  68. padding-right: 10px;
  69. width: 36px;
  70. height: 36px;
  71. svg {
  72. width: 100%;
  73. height: 100%;
  74. }
  75. }
  76. }
  77. .ant-input {
  78. font-size: 18px;
  79. width: 45%;
  80. height: 60px;
  81. line-height: 60px;
  82. background-clip: content-box;
  83. }
  84. input:-webkit-autofill {
  85. font-size: 18px !important;
  86. -webkit-text-fill-color: #fff !important;
  87. background-image: none;
  88. -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; //填充阴影,可以用来遮住背景色
  89. background-color: transparent;
  90. transition: background-color 50000s ease-in-out 0s; //背景色透明 生效时长 过渡效果 启用时延迟的时间
  91. }
  92. .ant-input-affix-wrapper {
  93. background-color: transparent;
  94. padding: 0 11px;
  95. width: 100%;
  96. height: 60px;
  97. border: none;
  98. border-bottom: 1px solid #fff;
  99. border-radius: 0;
  100. color: #fff;
  101. .ant-input {
  102. background-color: transparent;
  103. width: 100%;
  104. height: 60px;
  105. color: #fff;
  106. }
  107. }
  108. .ant-input-affix-wrapper-focused {
  109. box-shadow: none
  110. }
  111. }
  112. .loginBtn {
  113. .ant-btn {
  114. color: #fff;
  115. background-color: var(--themeColor);
  116. border-radius: 25px;
  117. font-size:18px;
  118. width: 375px;
  119. height: 50px;
  120. }
  121. }
  122. }
  123. }
  124. }