login.css 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. *{
  2. margin:0;
  3. padding:0;
  4. }
  5. @media screen and (max-width: 1366px) {
  6. html {
  7. font-size: 13px !important;
  8. }
  9. .el-form-item__error{
  10. padding-top:0px !important;
  11. }
  12. .el-form-item{
  13. margin-bottom:18px !important;
  14. }
  15. .container {
  16. // min-width: 1266px;
  17. // min-height: 708px;
  18. width: 100vw - 20px;
  19. height: calc(82vh - 4px);
  20. background: url(../images/login-bg.jpg) center no-repeat;
  21. background-size: 100% 100%;
  22. padding-top: 9.39rem;
  23. }
  24. .anticon {
  25. color: #fff !important;
  26. }
  27. .ant-form-item label {
  28. color: #fff;
  29. }
  30. .slogon {
  31. clear: both;
  32. float: right;
  33. color: #fff;
  34. font-size: 22px;
  35. font-weight: 600;
  36. margin-top: 20px;
  37. margin-right: 0px;
  38. }
  39. .logo {
  40. width: 110px;
  41. height: 40px;
  42. position: absolute;
  43. left: 50px;
  44. top: 50px;
  45. }
  46. .app-name {
  47. float: right;
  48. font-size: 24px;
  49. margin-top: -40px;
  50. color: #fff;
  51. text-align: center;
  52. font-weight: 600;
  53. margin-right: 162px;
  54. margin-bottom: 16px;
  55. }
  56. img {
  57. border: none;
  58. }
  59. .login_box {
  60. margin: 20px auto;
  61. clear: both;
  62. margin-right:50px;
  63. margin-top:40px;
  64. }
  65. .login {
  66. height: 308px;
  67. width: 300px;
  68. padding: 20px 50px;
  69. color: #fff;
  70. background: linear-gradient(to bottom, rgba(24, 121, 191, 0.6), rgba(24, 121, 191, 0.2));
  71. border-radius: 6px;
  72. margin: 4px;
  73. position: relative;
  74. }
  75. .login_logo {
  76. width: 120px;
  77. height: 120px;
  78. // border: 5px solid #93defe;
  79. border-radius: 100px;
  80. background: #fff;
  81. text-align: center;
  82. line-height: 110px;
  83. position: absolute;
  84. top: -60px;
  85. right: 140px;
  86. }
  87. .login_name {
  88. width: 100%;
  89. float: left;
  90. text-align: center;
  91. }
  92. .login_name p {
  93. width: 100%;
  94. text-align: center;
  95. font-size: 20px;
  96. font-weight: 600;
  97. color: #fff;
  98. padding: 10px 0 20px;
  99. }
  100. .login_logo img {
  101. width: 60px;
  102. height: 60px;
  103. display: inline-block;
  104. vertical-align: middle;
  105. }
  106. .copyright {
  107. font-size: 14px;
  108. color: #444;
  109. display: block;
  110. width: 100%;
  111. float: left;
  112. text-align: center;
  113. margin-top: 60px;
  114. }
  115. .error {
  116. color: red;
  117. margin-bottom: 10px;
  118. display: block;
  119. }
  120. .login-form {
  121. padding: 10px;
  122. // border: 4px solid rgba(1, 255, 255, 0.8);
  123. /* width: 340px;
  124. height: 290px;*/
  125. text-align:center;
  126. float: right;
  127. clear:both;
  128. }
  129. .login-form-forgot {
  130. float: right;
  131. }
  132. .login-form-button {
  133. width: 100%;
  134. }
  135. }
  136. @media screen and (min-width: 1920px) {
  137. html {
  138. font-size: 20px !important;
  139. }
  140. .el-form-item__error{
  141. padding-top:5px !important;
  142. }
  143. .el-form-item{
  144. margin-bottom:24px !important;
  145. }
  146. .el-form-item__content{
  147. font-size:18px !important;
  148. }
  149. .el-checkbox{
  150. font-size:18px !important;
  151. }
  152. .el-checkbox__label{
  153. font-size:16px !important;
  154. }
  155. .el-checkbox__input{
  156. margin-bottom:2px;
  157. }
  158. .el-link{
  159. font-size:16px !important;
  160. }
  161. .container {
  162. min-width: 1920px;
  163. min-height: 681px;
  164. background: url(../images/login-bg.jpg) center center no-repeat;
  165. background-size: 100% 100%;
  166. padding-top: 15%;
  167. width: 100%;
  168. height: 100%;
  169. }
  170. .anticon {
  171. color: #fff !important;
  172. }
  173. .ant-form-item label {
  174. color: #fff;
  175. }
  176. .slogon {
  177. clear: both;
  178. float: right;
  179. color: #fff;
  180. font-size: 25px;
  181. font-weight: 600;
  182. margin-top: 100px;
  183. margin-right: -48px;
  184. }
  185. .logo {
  186. width: 180px;
  187. height: 70px;
  188. position: absolute;
  189. left: 80px;
  190. top: 80px;
  191. }
  192. .app-name {
  193. float: right;
  194. font-size: 32px;
  195. margin-top: -90px;
  196. color: #fff;
  197. font-weight: 600;
  198. text-align: center;
  199. margin-right: 260px;
  200. margin-bottom: 60px;
  201. width: 345px;
  202. }
  203. img {
  204. border: none;
  205. }
  206. .login_box {
  207. width: 100%;
  208. margin: 0px auto;
  209. clear: both;
  210. float: right;
  211. margin-right: 230px;
  212. }
  213. .login {
  214. height: 368px;
  215. width: 400px;
  216. padding: 20px 50px;
  217. color: #fff;
  218. background: linear-gradient(to bottom, rgba(24, 121, 191, 0.6), rgba(24, 121, 191, 0.2));
  219. border-radius: 6px;
  220. margin: 4px;
  221. position: relative;
  222. // margin-top: 50px;
  223. }
  224. .login_logo {
  225. width: 120px;
  226. height: 120px;
  227. // border: 5px solid #93defe;
  228. border-radius: 100px;
  229. background: #fff;
  230. text-align: center;
  231. line-height: 110px;
  232. position: absolute;
  233. top: -60px;
  234. right: 140px;
  235. }
  236. .login_name {
  237. width: 100%;
  238. float: left;
  239. text-align: center;
  240. }
  241. .login_name p {
  242. width: 100%;
  243. text-align: center;
  244. font-size: 24px;
  245. font-weight: 600;
  246. color: #fff;
  247. padding: 10px 0 50px;
  248. }
  249. .login_logo img {
  250. width: 60px;
  251. height: 60px;
  252. display: inline-block;
  253. vertical-align: middle;
  254. }
  255. .copyright {
  256. font-size: 14px;
  257. color: #444;
  258. display: block;
  259. width: 100%;
  260. float: left;
  261. text-align: center;
  262. margin-top: 60px;
  263. }
  264. .error {
  265. color: red;
  266. margin-bottom: 10px;
  267. display: block;
  268. }
  269. .login-form {
  270. padding: 10px;
  271. //border: 4px solid rgba(1, 255, 255, 0.8);
  272. width: 440px;
  273. height: 400px;
  274. float: right;
  275. }
  276. .login-form-forgot {
  277. float: right;
  278. }
  279. .login-form-button {
  280. width: 100%;
  281. }
  282. }
  283. @media screen and (min-width: 1367px) and (max-width: 1919px) {
  284. html {
  285. font-size: 20px !important;
  286. }
  287. .container {
  288. width: 100%;
  289. height: 100%;
  290. min-width: 1536px;
  291. min-height: 700px;
  292. background: url(../images/login-bg.jpg) center center no-repeat;
  293. background-size: 100% 100%;
  294. padding-top: 12.5%;
  295. }
  296. [nz-input] {
  297. background-color: rgba(28, 76, 166, 0.1) !important;
  298. color: #fff;
  299. }
  300. .anticon {
  301. color: #fff !important;
  302. }
  303. .ant-form-item label {
  304. color: #fff;
  305. }
  306. .slogon {
  307. clear: both;
  308. float: right;
  309. color: #fff;
  310. font-size: 25px;
  311. font-weight: 600;
  312. margin-top: 60px;
  313. margin-right: 0px;
  314. }
  315. .logo {
  316. width: 140px;
  317. height: 80px;
  318. position: absolute;
  319. left: 40px;
  320. top: 50px;
  321. }
  322. .app-name {
  323. float: right;
  324. font-size: 28px;
  325. margin-top: -100px;
  326. color: #fff;
  327. font-weight: 600;
  328. text-align: center;
  329. margin-right: 190px;
  330. margin-bottom: 10px;
  331. width: 345px;
  332. }
  333. img {
  334. border: none;
  335. }
  336. .login_box {
  337. width: 100%;
  338. margin: 0px auto;
  339. clear: both;
  340. float: right;
  341. margin-right: 130px;
  342. margin-top: 0px;
  343. }
  344. .login {
  345. height: 368px;
  346. width: 400px;
  347. padding: 20px 50px;
  348. color: #fff;
  349. background: linear-gradient(to bottom, rgba(24, 121, 191, 0.6), rgba(24, 121, 191, 0.2));
  350. border-radius: 6px;
  351. margin: 4px;
  352. position: relative;
  353. // margin-top: 50px;
  354. }
  355. .login_logo {
  356. width: 120px;
  357. height: 120px;
  358. border: 5px solid #93defe;
  359. border-radius: 100px;
  360. background: #fff;
  361. text-align: center;
  362. line-height: 110px;
  363. position: absolute;
  364. top: -60px;
  365. right: 140px;
  366. }
  367. .login_name {
  368. width: 100%;
  369. float: left;
  370. text-align: center;
  371. }
  372. .login_name p {
  373. width: 100%;
  374. text-align: center;
  375. font-size: 20px;
  376. font-weight: 600;
  377. color: #fff;
  378. padding: 10px 0 20px;
  379. }
  380. .login_logo img {
  381. width: 60px;
  382. height: 60px;
  383. display: inline-block;
  384. vertical-align: middle;
  385. }
  386. .copyright {
  387. font-size: 14px;
  388. color: #444;
  389. display: block;
  390. width: 100%;
  391. float: left;
  392. text-align: center;
  393. margin-top: 60px;
  394. }
  395. .error {
  396. color: red;
  397. margin-bottom: 10px;
  398. display: block;
  399. }
  400. .login-form {
  401. padding: 10px;
  402. // border: 4px solid rgba(1, 255, 255, 0.8);
  403. width: 440px;
  404. height: 400px;
  405. float: right;
  406. }
  407. .login-form-forgot {
  408. float: right;
  409. }
  410. .login-form-button {
  411. width: 100%;
  412. }
  413. }
  414. .el-input {
  415. display: inline-block;
  416. width: 85%;
  417. }
  418. .el-input--small{
  419. font-size:14px !important;
  420. }
  421. .el-input__inner{
  422. background-color:unset !important;
  423. border-radius:0px !important;
  424. color:#fff !important;
  425. border:2px solid #fff;
  426. }
  427. .el-input__prefix,.el-input__suffix{
  428. height:unset !important;
  429. color:#fff !important;
  430. }
  431. .el-button--primary{
  432. background-color:#0070cc !important;
  433. border-color:#0070cc !important;
  434. }
  435. .rememberMebar{
  436. margin-bottom:10px;
  437. }
  438. .el-checkbox{
  439. color:#fff !important;
  440. }
  441. .el-checkbox__input.is-checked+.el-checkbox__label{
  442. color:#fff !important;
  443. }
  444. .el-checkbox__input.is-checked .el-checkbox__inner,.el-checkbox__input.is-indeterminate .el-checkbox__inner{
  445. background-color:#0070cc !important;
  446. border-color:#0070cc !important;
  447. }
  448. .el-alert{
  449. border-radius:0px !important;
  450. }