login.component.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. @import "../../../../src/theme.less";
  2. :host {
  3. width: 100%;
  4. }
  5. .login {
  6. position: absolute; /*兼容chrome39*/
  7. width: 100%; /*兼容chrome39*/
  8. height: 100%;
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. .loginBox {
  13. position: relative;
  14. flex: 1;
  15. .title {
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. margin-bottom: 24px;
  20. font-size: 28px;
  21. color: @primary-color;
  22. position: absolute;
  23. width: 100%;
  24. bottom: 100%;
  25. img {
  26. width: 60px;
  27. height: 48px;
  28. margin-right: 8px;
  29. }
  30. }
  31. .content {
  32. background: url(../../../assets/images/bg_login.png) center no-repeat;
  33. background-size: contain;
  34. display: flex;
  35. justify-content: center;
  36. align-items: center;
  37. .form_wrap {
  38. width: 480px;
  39. height: 400px;
  40. padding: 32px 40px;
  41. background-color: #ffffff;
  42. border-radius: 8px;
  43. border: solid 1px #e5e5e5;
  44. p {
  45. font-size: 24px;
  46. color: #68686b;
  47. text-align: center;
  48. }
  49. .form {
  50. .inp {
  51. height: 52px;
  52. font-size: 16px;
  53. }
  54. .loginBtn {
  55. button {
  56. width: 100%;
  57. height: 48px;
  58. background-color: #8e9d9e;
  59. border-radius: 26px;
  60. border: 1px solid #8e9d9e;
  61. font-size: 20px;
  62. color: #fff;
  63. }
  64. }
  65. }
  66. .tips {
  67. font-size: 12px;
  68. color: #68686b;
  69. margin-top: 24px;
  70. }
  71. }
  72. }
  73. .bottom {
  74. position: absolute;
  75. width: 100%;
  76. top: 100%;
  77. font-size: 12px;
  78. color: @primary-color;
  79. text-align: center;
  80. margin-top: 16px;
  81. display: flex;
  82. align-items: center;
  83. justify-content: center;
  84. a,
  85. strong {
  86. margin-left: 16px;
  87. }
  88. a {
  89. text-decoration: underline;
  90. }
  91. }
  92. }
  93. }