totp.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html,
  6. body {
  7. width: 100%;
  8. height: 100%;
  9. }
  10. body {
  11. box-sizing: border-box;
  12. -moz-osx-font-smoothing: grayscale;
  13. -webkit-font-smoothing: antialiased;
  14. text-rendering: optimizeLegibility;
  15. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  16. background-color: #F4F7FB;
  17. }
  18. *,
  19. *::before,
  20. *::after {
  21. box-sizing: inherit;
  22. }
  23. a {
  24. border: none;
  25. outline: none;
  26. text-decoration: none;
  27. -webkit-touch-callout: none;
  28. -webkit-tap-highlight-color: transparent;
  29. }
  30. .c-login {
  31. display: flex;
  32. min-height: 100%;
  33. width: 100%;
  34. }
  35. .c-login__img {
  36. flex: 1 0 400px;
  37. display: inline-block;
  38. max-width: 800px;
  39. background: url("../img/illustration.png") 50% 50% / 757px 613px no-repeat;
  40. }
  41. .c-login__main {
  42. flex: 1 0 auto;
  43. }
  44. @media screen and (max-width: 900px) {
  45. .c-login__img {
  46. display: none;
  47. }
  48. }
  49. .c-login-form {
  50. display: inline-flex;
  51. flex-direction: column;
  52. justify-content: center;
  53. align-items: center;
  54. padding: 40px 0 80px;
  55. background-color: #FFFFFF;
  56. overflow: auto;
  57. }
  58. .c-login-form__header {
  59. display: inline-flex;
  60. align-items: center;
  61. }
  62. .c-login-form__logo {
  63. flex: none;
  64. }
  65. .c-login-form__name {
  66. margin-left: 16px;
  67. color: #1C5CB0;
  68. font-size: 28px;
  69. font-weight: bold;
  70. line-height: 1;
  71. }
  72. .c-login-form__title {
  73. padding: 60px 0 40px;
  74. color: #1C5CB0;
  75. font-size: 18px;
  76. font-weight: bold;
  77. }
  78. .c-login-form__info {
  79. width: 400px;
  80. color: #333333;
  81. font-size: 16px;
  82. line-height: 20px;
  83. }
  84. .c-login-form__info p {
  85. line-height: 24px;
  86. }
  87. .c-login-form__qr {
  88. max-width: 150px;
  89. max-height: 150px;
  90. }
  91. .c-login-form__retry {
  92. color: #1C5CB0;
  93. font-size: 12px;
  94. }
  95. .c-login-form__required {
  96. color: #EF1D1D;
  97. }
  98. .c-login-form__required ::before {
  99. content: "*";
  100. color: #FF0000;
  101. font-size: 14px;
  102. }
  103. .c-login-form__input {
  104. padding: 0 10px;
  105. margin-top: 6px;
  106. width: 240px;
  107. height: 30px;
  108. font-size: 14px;
  109. line-height: 30px;
  110. border: 1px solid #C4C4C4;
  111. outline: none;
  112. }
  113. .c-login-form__error {
  114. height: 30px;
  115. color: #F56C6C;
  116. font-size: 12px;
  117. line-height: 24px;
  118. white-space: nowrap;
  119. }
  120. .c-login-form__submit {
  121. display: inline-flex;
  122. justify-content: center;
  123. align-items: center;
  124. height: 40px;
  125. padding: 0 40px;
  126. color: #ffffff;
  127. font-size: 18px;
  128. border: none;
  129. background-color: #1C5CB0;
  130. border-radius: 8px;
  131. cursor: pointer;
  132. }
  133. .c-login-form__submit[disabled] {
  134. background-color: #C4C4C4;
  135. }