login.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. .login-container {
  2. display: flex;
  3. align-items: center;
  4. position: relative;
  5. width: 100%;
  6. height: 100%;
  7. margin: 0 auto;
  8. // background-image: var(--login-bg-image, url("/img/bg/bg.jpg"));
  9. background-size: 100% 100%;
  10. &.bg-default {
  11. background-image: url("/img/bg/bg.jpg");
  12. }
  13. &.bg-duoduo {
  14. background:
  15. linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
  16. url("/img/bg/main-bg.jpg") center/cover;
  17. }
  18. }
  19. .login-weaper {
  20. margin: 0 auto;
  21. width: 1000px;
  22. box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
  23. border-radius: 40px;
  24. .el-input-group__append {
  25. border: none;
  26. }
  27. }
  28. .login-left,
  29. .login-border {
  30. position: relative;
  31. min-height: 500px;
  32. align-items: center;
  33. display: flex;
  34. }
  35. .login-left {
  36. border-top-left-radius: 40px;
  37. border-bottom-left-radius: 40px;
  38. justify-content: center;
  39. flex-direction: column;
  40. //background-color: #409EFF;
  41. color: #fff;
  42. float: left;
  43. width: 50%;
  44. position: relative;
  45. &.bg-default {
  46. background: #409EFF;
  47. }
  48. &.bg-duoduo {
  49. background:
  50. linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
  51. #409EFF;
  52. }
  53. &.bg-localhost {
  54. background: rgba(64, 158, 255, 0.7);
  55. }
  56. }
  57. .login-left .img {
  58. width: 280px;
  59. }
  60. .login-time {
  61. position: absolute;
  62. left: 25px;
  63. top: 25px;
  64. width: 100%;
  65. color: #fff;
  66. font-weight: 200;
  67. opacity: 0.9;
  68. font-size: 18px;
  69. overflow: hidden;
  70. }
  71. .login-left .title {
  72. margin-top: 60px;
  73. text-align: center;
  74. color: #fff;
  75. font-weight: 300;
  76. letter-spacing: 2px;
  77. font-size: 25px;
  78. }
  79. .login-border {
  80. border-left: none;
  81. border-top-right-radius: 40px;
  82. border-bottom-right-radius: 40px;
  83. color: #fff;
  84. background-color: #fff;
  85. width: 50%;
  86. float: left;
  87. box-sizing: border-box;
  88. }
  89. .login-main {
  90. margin: 0 auto;
  91. width: 65%;
  92. box-sizing: border-box;
  93. }
  94. .login-main > h3 {
  95. margin-bottom: 20px;
  96. }
  97. .login-main > p {
  98. color: #76838f;
  99. }
  100. .login-title {
  101. color: #333;
  102. margin-bottom: 40px;
  103. font-weight: 500;
  104. font-size: 22px;
  105. text-align: center;
  106. letter-spacing: 4px;
  107. }
  108. .login-menu {
  109. margin-top: 40px;
  110. width: 100%;
  111. text-align: center;
  112. a {
  113. color: #999;
  114. font-size: 12px;
  115. margin: 0px 8px;
  116. }
  117. }
  118. .login-submit {
  119. width: 100%;
  120. height: 45px;
  121. border: 1px solid #409EFF;
  122. background: none;
  123. font-size: 18px;
  124. letter-spacing: 2px;
  125. font-weight: 300;
  126. color: #409EFF;
  127. cursor: pointer;
  128. margin-top: 30px;
  129. font-family: "neo";
  130. transition: 0.25s;
  131. }
  132. .login-form {
  133. margin: 10px 0;
  134. i {
  135. color: #333;
  136. }
  137. .el-form-item__content {
  138. width: 100%;
  139. }
  140. .el-form-item {
  141. margin-bottom: 12px;
  142. }
  143. .el-input {
  144. input {
  145. padding-bottom: 10px;
  146. text-indent: 5px;
  147. background: transparent;
  148. border: none;
  149. border-radius: 0;
  150. color: #333;
  151. border-bottom: 1px solid rgb(235, 237, 242);
  152. }
  153. .el-input__prefix {
  154. i {
  155. padding: 0 5px;
  156. font-size: 16px !important;
  157. }
  158. }
  159. }
  160. }
  161. .login-code {
  162. display: flex;
  163. align-items: center;
  164. justify-content: space-around;
  165. margin: 0 0 0 10px;
  166. }
  167. .login-code-img {
  168. margin-top: 2px;
  169. width: 100px;
  170. height: 38px;
  171. background-color: #fdfdfd;
  172. border: 1px solid #f0f0f0;
  173. color: #333;
  174. font-size: 14px;
  175. font-weight: bold;
  176. letter-spacing: 5px;
  177. line-height: 38px;
  178. text-indent: 5px;
  179. text-align: center;
  180. cursor:pointer!important;
  181. }