login.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. html, body{
  2. height: 100%;
  3. margin: 0;
  4. padding: 0;
  5. }
  6. .login-container {
  7. display: flex;
  8. align-items: center;
  9. width: 100%;
  10. height: 100%;
  11. margin: 0 auto;
  12. background-color: #5d94f8;
  13. position: relative;
  14. background-size: cover;
  15. height: 100vh;
  16. background-position: center center;
  17. }
  18. .login-weaper {
  19. margin: 0 auto;
  20. width: 80%;
  21. // box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
  22. .el-input-group__append {
  23. border: none;
  24. }
  25. }
  26. .login-left,
  27. .login-border {
  28. position: relative;
  29. // min-height: 500px;
  30. height: 100%;
  31. align-items: center;
  32. display: flex;
  33. }
  34. .login-left {
  35. // border-top-left-radius: 5px;
  36. // border-bottom-left-radius: 5px;
  37. display: flex;
  38. border-radius: 20px;
  39. align-items: center;
  40. width: 100%;
  41. // height: 100%;
  42. margin: 0 auto;
  43. float: left;
  44. width: 66%;
  45. /*-webkit-box-shadow: 4px 5px 20px rgba(0, 0, 0, 0.4);
  46. box-shadow: 4px 5px 20px rgba(0, 0, 0, 0.4);*/
  47. // box-shadow:25px 25px 5px #888 ;
  48. position: relative;
  49. }
  50. .login-border {
  51. border-left: none;
  52. border-radius: 20px;
  53. color: #fff;
  54. background-color: #fff;
  55. width: 29%;
  56. float: right;
  57. box-sizing: border-box;
  58. }
  59. .login-border .right img {
  60. border-radius:20px;
  61. width: auto;
  62. height: auto;
  63. max-width: 100%;
  64. max-height: 100%;
  65. min-height: 342px;
  66. }
  67. .login-left img {
  68. border-radius:20px;
  69. width: auto;
  70. height: auto;
  71. max-width: 100%;
  72. max-height: 100%;
  73. min-height: 342px;
  74. }
  75. .login-time {
  76. position: absolute;
  77. z-index: 2000;
  78. left: 50px;
  79. top: 25px;
  80. width: 100%;
  81. color: #fff;
  82. font-weight: 200;
  83. opacity: 0.9;
  84. font-size: 18px;
  85. overflow: hidden;
  86. font-weight: 500;
  87. }
  88. .login-left .title {
  89. position: absolute;
  90. z-index: 2000;
  91. left: 50px;
  92. top: 40px;
  93. width: 100%;
  94. color: #fff;
  95. font-weight: 200;
  96. opacity: 0.9;
  97. font-size: 28px;
  98. overflow: hidden;
  99. font-weight: 500;
  100. }
  101. .login-main {
  102. position: absolute;
  103. padding: 20px;
  104. height: 100%;
  105. width: 100%;
  106. z-index: 2000;
  107. box-sizing: border-box;
  108. }
  109. .login-main > h3 {
  110. margin-bottom: 20px;
  111. }
  112. .login-main > p {
  113. color: #76838f;
  114. }
  115. .login-title {
  116. color: #4b62ea;
  117. font-weight: 500;
  118. font-size: 40px;
  119. margin-top: 40px;
  120. margin-bottom: 10px;
  121. // text-align: center;
  122. letter-spacing: 4px;
  123. }
  124. .login-sub-title {
  125. color: #9289a6;
  126. margin-bottom: 40px;
  127. // font-weight: 500;
  128. font-size: 15px;
  129. margin-top: 0px;
  130. // text-align: center;
  131. letter-spacing: 4px;
  132. }
  133. .login-menu {
  134. margin-top: 40px;
  135. width: 100%;
  136. text-align: center;
  137. a {
  138. color: #999;
  139. font-size: 12px;
  140. margin: 0px 8px;
  141. }
  142. }
  143. .login-submit {
  144. width: 100%;
  145. height: 40px;
  146. border: 1px solid #1f8dff !important;
  147. background: #1f8dff !important;
  148. color: #ffffffcc !important;
  149. font-size: 18px;
  150. letter-spacing: 2px;
  151. font-weight: 300;
  152. text-align: center;
  153. cursor: pointer;
  154. margin-top: 30px;
  155. // font-family: "neo";
  156. transition: 0.25s;
  157. }
  158. .mobile img{
  159. height: 25%;
  160. width: 25%;
  161. }
  162. .demonstration {
  163. display: block;
  164. color: #8492a6;
  165. font-size: 14px;
  166. }
  167. .login-form{
  168. top:10%
  169. }
  170. .block {
  171. text-align: center;
  172. display: inline-block !important;
  173. width: 33%;
  174. padding:5px;
  175. box-sizing: border-box;
  176. vertical-align: top;
  177. }
  178. @media screen and (max-width:767px ) {
  179. .mobile img{
  180. height: 20%;
  181. width: 20%;
  182. }
  183. .login-form{
  184. margin-top:0
  185. }
  186. .login-left{
  187. display: none;
  188. }
  189. .login-border{
  190. width: 100%;
  191. }
  192. .login-title {
  193. text-align: center;
  194. }
  195. .login-sub-title {
  196. display:none;
  197. }
  198. .login-form .block{
  199. display: none !important;
  200. }
  201. .login-left img {
  202. min-height: 142px;
  203. }
  204. .login-border .right img {
  205. border-radius:20px;
  206. width: 60%;
  207. min-height: 142px;
  208. }
  209. }
  210. @media (min-width: 768px){
  211. .login-form .block{
  212. display: none !important;
  213. }
  214. .login-form{
  215. margin-top:0
  216. }
  217. }
  218. @media (min-width: 992px) {
  219. .login-form .block{
  220. display: none !important;
  221. }
  222. .login-form{
  223. margin-top:10
  224. }
  225. }
  226. @media (min-width: 1200px) {
  227. .login-form .block{
  228. display: inline-block !important;
  229. }
  230. .mobile img{
  231. height: 60px;
  232. width: 60px;
  233. }
  234. .login-form{
  235. margin-top:20px;
  236. }
  237. }
  238. @media (min-width: 1350px) {
  239. .mobile img{
  240. height: 80px;
  241. width: 80px;
  242. }
  243. .login-form{
  244. margin-top:30px;
  245. }
  246. }
  247. @media (min-width: 1600px) {
  248. .mobile img{
  249. height: 100px;
  250. width: 100px;
  251. }
  252. .login-form{
  253. margin-top:60px;
  254. }
  255. }