login.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. @bjcolor: #08539d;
  2. .login_bj{
  3. z-index: -1;
  4. position: absolute;
  5. left:0;
  6. right: 0;
  7. top:0;
  8. bottom:0;
  9. background:@bjcolor url("/ops/images/login/loginBj.jpg") no-repeat 50% 50%;
  10. background-size: cover;
  11. }
  12. .login_flex{
  13. display: flex;
  14. height:inherit;
  15. display: flex;
  16. justify-content:center;
  17. align-items: center;
  18. .login_flex-item{
  19. flex:0 1 auto ;
  20. }
  21. };
  22. .login-toolbar{
  23. box-shadow: 0 3/opsREM 7/opsREM rgba(0,21,41,0.08);
  24. position: fixed;
  25. top: 0;
  26. background:@bjcolor;
  27. height: 64/opsREM;
  28. width: 100%;
  29. font-size: 0;
  30. .plg-logo{
  31. background: data-uri("/ops/images/logo.png") no-repeat center center;
  32. width: 230/opsREM;
  33. height: 18/opsREM;
  34. margin: 23/opsREM 0;
  35. border-right: 1px solid rgba(255,255,255,0.2);
  36. display: inline-block;
  37. }
  38. .plg-logo-title{
  39. margin: 0 25/opsREM;
  40. font-size: 18/opsREM;
  41. color: #fff;
  42. height: inherit;
  43. line-height: 64/opsREM;
  44. display: inline-block;
  45. vertical-align: top;
  46. }
  47. }
  48. .login_main{
  49. .wrapper{
  50. position: relative;
  51. width: 390/opsREM;
  52. height: 370/opsREM;
  53. &:hover{
  54. box-shadow: 0 2/opsREM 8/opsREM rgba(255, 255, 255,1);
  55. border-color: rgba(0, 0, 0, 0.09);
  56. }
  57. transition: all .2s;
  58. background: #fff;
  59. padding: 25/opsREM;
  60. border-radius: 4/opsREM;
  61. .intplog{
  62. // background: data-uri("/ops/images/login/inputlog.png");
  63. //width: 214/opsREM;
  64. // height: 16/opsREM;
  65. text-align: center;
  66. font-size: 24/opsREM;
  67. margin-top: 35/opsREM;
  68. margin-bottom: 34/opsREM;
  69. background-size: cover;
  70. }
  71. }
  72. }
  73. .logo{
  74. background:data-uri("/ops/images/login/pcCloud.png") no-repeat 50% 50%;
  75. width: 310/opsREM;
  76. height: 147/opsREM;
  77. margin: 0 auto 30/opsREM;
  78. }
  79. .btn_subimt{
  80. border: 0;
  81. height: 44/opsREM;
  82. line-height: 44/opsREM;
  83. color: #fff;
  84. font-size: 18/opsREM;
  85. border-radius: 4/opsREM;
  86. width: 100%;
  87. display: block;
  88. text-align: center;
  89. box-sizing: border-box;
  90. // &:active{
  91. // background:rgba(253,89,108,0.8)
  92. // }
  93. }
  94. .input_group{
  95. position: relative;
  96. .input_item{
  97. margin-bottom:20/opsREM;
  98. position: relative;
  99. input{
  100. box-sizing: border-box;
  101. height: 40/opsREM;
  102. background: #fff;
  103. border: 1px solid #ddd;
  104. border-radius: 4/opsREM;
  105. width: 100%;
  106. padding-left: 55/opsREM;
  107. &:focus{
  108. border-color: #4e7add;
  109. color: #333;
  110. box-shadow:0 0 4/opsREM rgba(51,102,204,0.5) ;
  111. }
  112. }
  113. i{
  114. height: 0.4rem;
  115. width: 0.4rem;
  116. position: absolute;
  117. display: block;
  118. top:0;
  119. }
  120. &.user{
  121. input:focus + i{
  122. background:data-uri("/ops/images/login/i_usei_active.png") no-repeat 10/opsREM 50%;
  123. }
  124. i{
  125. background:data-uri("/ops/images/login/i_usei.png") no-repeat 10/opsREM 50%;
  126. }
  127. }
  128. &.pwd{
  129. input:focus+ i{
  130. background:data-uri("/ops/images/login/i_pwd_active.png") no-repeat 10/opsREM 50%;
  131. }
  132. i{
  133. background:data-uri("/ops/images/login/i_pwd.png") no-repeat 10/opsREM 50%;
  134. }
  135. }
  136. &.reg{
  137. i{
  138. background:data-uri("/ops/images/login/i_reg.png") no-repeat 10/opsREM 50%;
  139. width: 225/opsREM;
  140. margin-right: 10/opsREM;
  141. &:focus{
  142. background:data-uri("/ops/images/login/i_reg_active.png") no-repeat 10/opsREM 50%;
  143. }
  144. }
  145. }
  146. }
  147. }