index.less 3.5 KB

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