login.less 5.2 KB

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