login.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. @import './reset.less';
  2. body {
  3. background: @themeColor;
  4. background:linear-gradient(133deg,rgba(45,79,139,1) 0%,rgba(20,39,83,1) 100%);
  5. }
  6. .login {
  7. height: 100%;
  8. .bg{
  9. width: 62%;
  10. height: 100%;
  11. text-align: center;
  12. background: url("../images/loginBg2.png") center center no-repeat;
  13. background-size: 84%;
  14. }
  15. .waring {
  16. color: #FF4D4F;
  17. margin-top: 6px;
  18. height: 18px;
  19. }
  20. .sureLogin {
  21. width: 300px;
  22. height: 40px;
  23. line-height: 40px;
  24. text-align: center;
  25. background-color: #00A1FF;
  26. color: #fff;
  27. cursor: pointer;
  28. border-radius:4px;
  29. margin: 20px auto 0;
  30. }
  31. .bg2{
  32. width: 100%;
  33. height: 100%;
  34. text-align: center;
  35. background: url("../images/bg.png") center center no-repeat;
  36. background-size: 783px 396px;
  37. background-color: #ffffff;
  38. display: flex;
  39. align-items: center;
  40. justify-content: center;
  41. }
  42. }
  43. p.title {
  44. font-size: 30px;
  45. color: #fff;
  46. font-weight: bold;
  47. position: absolute;
  48. top: 90px;
  49. left: 5%;
  50. }
  51. .message {
  52. width: 38%;
  53. height: 100%;
  54. background: @activeBg;
  55. background:linear-gradient(180deg,rgba(0,25,82,1) 0%,rgba(0,24,78,0.94) 100%);
  56. box-sizing: border-box;
  57. position: relative;
  58. .inner{
  59. height: 360px;
  60. position: absolute;
  61. top: 50%;
  62. left: 50%;
  63. margin-top: -180px;
  64. margin-left: -150px;
  65. }
  66. .welcome {
  67. font-size: 30px;
  68. font-weight: bold;
  69. color: #fff;
  70. margin-bottom: 50px;
  71. }
  72. .copy-right{
  73. position: absolute;
  74. bottom: 50px;
  75. width: 100%;
  76. font-size:12px;
  77. text-align: center;
  78. color: #fff;
  79. opacity: .6;
  80. }
  81. }
  82. .perPub {
  83. width: 300px;
  84. margin: auto;
  85. p {
  86. font-size: 12px;
  87. padding-bottom: 8px;
  88. color: #fff;
  89. }
  90. img {
  91. vertical-align: middle;
  92. margin-right: 8px;
  93. }
  94. }
  95. .iptWrap {
  96. padding-left: 10px;
  97. box-sizing: border-box;
  98. border: 1px solid #97A4BA;
  99. width: 300px;
  100. height: 40px;
  101. line-height: 38px;
  102. border-radius: 4px;
  103. input {
  104. display: inline-block;
  105. width: 80%;
  106. color: #fff;
  107. background: none;
  108. }
  109. }
  110. .inputFocus,.security-code input.inputFocus{
  111. border: 1px solid @activeColor ;
  112. outline: 0;
  113. -webkit-box-shadow:@activeColor 0px 0px 2px;
  114. -moz-box-shadow: @activeColor 0px 0px 2px;
  115. box-shadow: @activeColor 0px 0px 2px;
  116. }
  117. .login-info{
  118. padding-top: 325px;
  119. .info-perPub{
  120. float: left;
  121. & p{
  122. float: left;
  123. line-height: 34px;
  124. margin-right: 7px;
  125. font-size: 14px;
  126. color: #fff;
  127. }
  128. .info-iptWrap{
  129. float: left;
  130. box-sizing: border-box;
  131. width: 130px;
  132. height: 34px;
  133. line-height: 34px;
  134. border-radius: 4px;
  135. margin-right: 58px;
  136. & input {
  137. display: inline-block;
  138. width: 100%;
  139. height: 100%;
  140. border-radius: 4px;
  141. padding: 0 10px;
  142. font-size: 14px;
  143. }
  144. }
  145. }
  146. .waring {
  147. display: inline-block;
  148. position: absolute;
  149. top: -44px;
  150. }
  151. .sureLogin{
  152. float: left;
  153. width: 150px;
  154. height: 34px;
  155. line-height: 34px;
  156. background: #0363D1;
  157. box-shadow: 0px 2px 6px 0px #1C4473;
  158. border-radius: 4px;
  159. margin: 0;
  160. font-size: 14px;
  161. }
  162. }
  163. .alertModal {
  164. .modalBg {
  165. position: fixed;
  166. top: 0px;
  167. left: 0px;
  168. right: 0px;
  169. bottom: 0px;
  170. background: rgba(0, 0, 0, .3);
  171. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  172. }
  173. .modalMain {
  174. width: 300px;
  175. // height: 200px;
  176. background-color: #fff;
  177. position: fixed;
  178. left: 50%;
  179. top: 30%;
  180. margin-left: -150px;
  181. // margin-top: -100px;
  182. padding-bottom: 10px;
  183. }
  184. .title {
  185. border-bottom: 1px solid #eee;
  186. background-color: #F8F8F8;
  187. line-height: 40px;
  188. height: 40px;
  189. position: relative;
  190. padding-left: 15px;
  191. font-size: 14px;
  192. img {
  193. position: absolute;
  194. right: 10px;
  195. top: 10px;
  196. cursor: pointer;
  197. }
  198. }
  199. .content {
  200. padding: 25px 15px;
  201. font-size: 14px;
  202. text-align: center;
  203. }
  204. .btns {
  205. height: 45px;
  206. text-align: center;
  207. span {
  208. border-radius: 5px;
  209. float: right;
  210. cursor: pointer;
  211. border: 1px solid #dedede;
  212. background-color: #fff;
  213. height: 28px;
  214. line-height: 28px;
  215. margin: 5px 5px 0;
  216. padding: 0 15px;
  217. color: #333;
  218. border-radius: 2px;
  219. font-weight: 400;
  220. text-decoration: none;
  221. }
  222. .sure {
  223. background-color: #1E9FFF;
  224. border-color: #1E9FFF;
  225. color: #fff;
  226. }
  227. .quite {
  228. margin-left: 30px;
  229. margin-right: 30px;
  230. }
  231. }
  232. }
  233. .divModal {
  234. position: fixed;
  235. }
  236. .modaltip {
  237. position: fixed;
  238. top: 40%;
  239. left: 50%;
  240. padding: 10px;
  241. border-radius: 3px;
  242. color: #fff;
  243. background: rgba(0, 0, 0, .6);
  244. z-index: 9999;
  245. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  246. }
  247. .loading {
  248. position: fixed;
  249. width: 100%;
  250. height: 100%;
  251. padding: 10px;
  252. border-radius: 3px;
  253. color: #fff;
  254. background: rgba(0, 0, 0, 0);
  255. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  256. img {
  257. position: fixed;
  258. top: 50%;
  259. left: 50%;
  260. width: 40px;
  261. height: 40px;
  262. margin-left: -20px;
  263. margin-top: -20px;
  264. }
  265. }
  266. .security-code{
  267. border:none;
  268. input{
  269. width: 140px;
  270. height: 100%;
  271. margin-left: -10px;
  272. padding-left: 5px;
  273. border-radius: 4px;
  274. border: 1px solid #97A4BA;
  275. }
  276. .code-img{
  277. display: inline-block;
  278. width: 100px;
  279. height: 40px;
  280. vertical-align: middle;
  281. }
  282. img{
  283. width: 100%;
  284. height: 100%;
  285. margin-left: 8px;
  286. cursor: pointer;
  287. vertical-align: middle;
  288. }
  289. a{
  290. color: #fff;
  291. font-size: 12px;
  292. cursor: pointer;
  293. text-decoration: underline;
  294. float: right;
  295. }
  296. }