login.scss 3.4 KB

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