login.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. .login-icon-gray {
  2. color: rgba(0, 0, 0, 0.25);
  3. }
  4. .login-validCode-img {
  5. border: 1px solid var(--border-color-split);
  6. cursor: pointer;
  7. width: 100%;
  8. height: 40px;
  9. }
  10. .login_background {
  11. width: 100%;
  12. min-height: 100vh;
  13. overflow: hidden;
  14. background-size: cover;
  15. background-position: center;
  16. background-image: url(/img/login_background.png);
  17. }
  18. .login_background_front {
  19. width: 450px;
  20. height: 450px;
  21. margin-left: 100px;
  22. margin-top: 15%;
  23. overflow: hidden;
  24. /*position: relative;*/
  25. background-size: cover;
  26. background-position: center;
  27. background-image: url(/img/login_background_front.png);
  28. animation-name: myfirst;
  29. animation-duration: 5s;
  30. animation-timing-function: linear;
  31. animation-delay: 1s;
  32. animation-iteration-count: infinite;
  33. animation-direction: alternate;
  34. animation-play-state: running;
  35. }
  36. @keyframes myfirst {
  37. 0% {
  38. left: 0px;
  39. top: 0px;
  40. }
  41. 50% {
  42. left: 50px;
  43. top: 0px;
  44. }
  45. 100% {
  46. left: 0px;
  47. top: 0px;
  48. }
  49. }
  50. @-webkit-keyframes myfirst /* Safari and Chrome */ {
  51. 0% {
  52. left: 0px;
  53. top: 0px;
  54. }
  55. 50% {
  56. left: 50px;
  57. top: 0px;
  58. }
  59. 100% {
  60. left: 0px;
  61. top: 0px;
  62. }
  63. }
  64. .login_adv__title h2 {
  65. font-size: 40px;
  66. }
  67. .login_adv__title h4 {
  68. font-size: 18px;
  69. margin-top: 10px;
  70. font-weight: normal;
  71. }
  72. .login_adv__title p {
  73. font-size: 14px;
  74. margin-top: 10px;
  75. line-height: 1.8;
  76. color: rgba(255, 255, 255, 0.6);
  77. }
  78. .login_adv__title div {
  79. margin-top: 10px;
  80. display: flex;
  81. align-items: center;
  82. }
  83. .login_adv__title div span {
  84. margin-right: 15px;
  85. }
  86. .login_adv__title div i {
  87. font-size: 40px;
  88. }
  89. .login_adv__title div i.add {
  90. font-size: 20px;
  91. color: rgba(255, 255, 255, 0.6);
  92. }
  93. /*background-image:linear-gradient(transparent, #000);*/
  94. .login_main {
  95. flex: 1;
  96. overflow: auto;
  97. display: flex;
  98. }
  99. .login-form {
  100. top: 15%;
  101. right: 15%;
  102. position: absolute;
  103. width: 450px;
  104. margin-left: 10%;
  105. margin-top: 20px;
  106. padding: 10px 0;
  107. }
  108. .login-header {
  109. margin-bottom: 20px;
  110. }
  111. .login-header .logo {
  112. display: flex;
  113. align-items: center;
  114. }
  115. .login-header .logo img {
  116. width: 35px;
  117. height: 35px;
  118. vertical-align: bottom;
  119. margin-right: 10px;
  120. }
  121. .login-header .logo label {
  122. font-size: 24px;
  123. }
  124. .login-header h2 {
  125. font-size: 24px;
  126. font-weight: bold;
  127. margin-top: 40px;
  128. }
  129. .login_config {
  130. position: absolute;
  131. top: 20px;
  132. right: 20px;
  133. }
  134. @media (max-width: 1200px) {
  135. .login-form {
  136. width: 340px;
  137. }
  138. }
  139. @media (max-width: 1000px) {
  140. .login_main {
  141. display: block;
  142. }
  143. .login_background_front {
  144. display: none;
  145. }
  146. .login-form {
  147. width: 100%;
  148. padding: 20px 40px;
  149. right: 0 !important;
  150. top: 0 !important;
  151. }
  152. }