index.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. @import '~antd/es/style/themes/default.less';
  2. .container {
  3. display: flex;
  4. flex-direction: row-reverse;
  5. height: 100vh;
  6. overflow: auto;
  7. background: @layout-body-background;
  8. }
  9. .left {
  10. width: 27%;
  11. background: #fff;
  12. }
  13. .right {
  14. //background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
  15. width: 73%;
  16. height: 100%;
  17. background-image: url('/images/login.png');
  18. background-repeat: no-repeat;
  19. background-position: center;
  20. background-size: 100% 100%;
  21. .systemName {
  22. position: absolute;
  23. top: 112px;
  24. left: 85px;
  25. width: 377px;
  26. height: 110px;
  27. font-weight: 600;
  28. font-size: 90px;
  29. font-family: Montserrat, fangsong;
  30. font-style: normal;
  31. line-height: 110px;
  32. letter-spacing: 0.03em;
  33. }
  34. .systemDesc {
  35. position: absolute;
  36. top: 231px;
  37. left: 86px;
  38. width: 513px;
  39. height: 17px;
  40. color: #3dc239;
  41. font-weight: normal;
  42. font-size: 14px;
  43. font-family: Montserrat, system-ui;
  44. font-style: normal;
  45. line-height: 17px;
  46. letter-spacing: 0.19em;
  47. text-transform: uppercase;
  48. }
  49. }
  50. .lang {
  51. width: 100%;
  52. height: 40px;
  53. line-height: 44px;
  54. text-align: right;
  55. :global(.ant-dropdown-trigger) {
  56. margin-right: 24px;
  57. }
  58. }
  59. .content {
  60. display: flex;
  61. flex-direction: row-reverse;
  62. justify-content: center;
  63. padding: 40px 0;
  64. }
  65. .remember {
  66. display: flex;
  67. flex-direction: row;
  68. margin-bottom: 30px;
  69. }
  70. @media (min-width: @screen-md-min) {
  71. .container {
  72. //background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
  73. background-repeat: no-repeat;
  74. background-position: center 110px;
  75. background-size: 100%;
  76. }
  77. .content {
  78. padding: 32px 0 24px;
  79. }
  80. }
  81. .top {
  82. width: 100%;
  83. margin-top: 100px;
  84. text-align: center;
  85. .footer {
  86. position: absolute;
  87. bottom: 0;
  88. }
  89. }
  90. .header {
  91. height: 44px;
  92. line-height: 44px;
  93. a {
  94. text-decoration: none;
  95. }
  96. }
  97. .logo {
  98. height: 44px;
  99. margin-right: 16px;
  100. vertical-align: top;
  101. }
  102. .title {
  103. position: relative;
  104. top: 2px;
  105. color: @heading-color;
  106. font-weight: 600;
  107. font-size: 33px;
  108. font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
  109. }
  110. .desc {
  111. margin-top: 12px;
  112. margin-bottom: 40px;
  113. color: @text-color-secondary;
  114. font-size: @font-size-base;
  115. }
  116. .main {
  117. width: 328px;
  118. margin: 60px auto 0;
  119. @media screen and (max-width: @screen-sm) {
  120. width: 95%;
  121. max-width: 328px;
  122. }
  123. :global {
  124. .@{ant-prefix}-tabs-nav-list {
  125. margin: auto;
  126. font-size: 16px;
  127. }
  128. }
  129. .icon {
  130. margin-left: 16px;
  131. color: rgba(0, 0, 0, 0.2);
  132. font-size: 24px;
  133. vertical-align: middle;
  134. cursor: pointer;
  135. transition: color 0.3s;
  136. &:hover {
  137. color: @primary-color;
  138. }
  139. }
  140. .other {
  141. margin-top: 24px;
  142. line-height: 22px;
  143. text-align: left;
  144. .register {
  145. float: right;
  146. }
  147. }
  148. .prefixIcon {
  149. color: @primary-color;
  150. font-size: @font-size-base;
  151. }
  152. }