totp.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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 1 0;
  37. display: inline-block;
  38. background: url("../img/illustration.png") 50% 50%/757px 613px no-repeat;
  39. }
  40. .c-login__main {
  41. flex: 1 1 0;
  42. }
  43. @media screen and (max-width: 900px) {
  44. .c-login__img {
  45. display: none;
  46. }
  47. }
  48. .c-login-form {
  49. display: inline-flex;
  50. flex-direction: column;
  51. justify-content: center;
  52. align-items: center;
  53. padding: 40px 0 80px;
  54. background-color: #FFFFFF;
  55. overflow: auto;
  56. }
  57. .c-login-form__header {
  58. display: inline-flex;
  59. align-items: center;
  60. }
  61. .c-login-form__logo {
  62. display: inline-block;
  63. width: 142px;
  64. height: 36px;
  65. background: url("../img/logo.png") 0 0/100% 100% no-repeat;
  66. }
  67. .c-login-form__name {
  68. padding-left: 10px;
  69. color: #1C5CB0;
  70. font-size: 28px;
  71. font-weight: bold;
  72. line-height: 1;
  73. }
  74. .c-login-form__title {
  75. padding: 60px 0 40px;
  76. color: #1C5CB0;
  77. font-size: 18px;
  78. font-weight: bold;
  79. }
  80. .c-login-form__info {
  81. width: 400px;
  82. color: #333333;
  83. font-size: 16px;
  84. line-height: 20px;
  85. }
  86. .c-login-form__info p {
  87. line-height: 24px;
  88. }
  89. .c-login-form__qr {
  90. max-width: 150px;
  91. max-height: 150px;
  92. }
  93. .c-login-form__retry {
  94. color: #1C5CB0;
  95. font-size: 12px;
  96. }
  97. .c-login-form__required {
  98. color: #EF1D1D;
  99. }
  100. .c-login-form__required ::before {
  101. content: "*";
  102. color: #FF0000;
  103. font-size: 14px;
  104. }
  105. .c-login-form__input {
  106. padding: 0 10px;
  107. margin-top: 6px;
  108. width: 240px;
  109. height: 30px;
  110. font-size: 14px;
  111. line-height: 30px;
  112. border: 1px solid #C4C4C4;
  113. outline: none;
  114. }
  115. .c-login-form__error {
  116. height: 30px;
  117. color: #F56C6C;
  118. font-size: 12px;
  119. line-height: 24px;
  120. white-space: nowrap;
  121. }
  122. .c-login-form__submit {
  123. display: inline-flex;
  124. justify-content: center;
  125. align-items: center;
  126. height: 40px;
  127. padding: 0 40px;
  128. color: #ffffff;
  129. font-size: 18px;
  130. border: none;
  131. background-color: #1C5CB0;
  132. border-radius: 8px;
  133. cursor: pointer;
  134. }
  135. .c-login-form__submit[disabled] {
  136. background-color: #C4C4C4;
  137. }