login.component.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. ion-header {
  2. background-color: transparent;
  3. ion-toolbar {
  4. --border-style: none;
  5. }
  6. }
  7. ion-content {
  8. // --padding-top: 0;
  9. --background: #fff;
  10. font-family: Source Han Sans CN;
  11. --keyboard-offset: 0vw;
  12. position: relative;
  13. .header {
  14. position: absolute;
  15. top: 0;
  16. left: 0;
  17. width: 100%;
  18. height: 11.733vw;
  19. background: transparent;
  20. display: flex;
  21. align-items: center;
  22. padding-left: 1.333vw;
  23. .title {
  24. width: 100%;
  25. display: flex;
  26. align-items: center;
  27. justify-content: center;
  28. font-size: 4.533vw;
  29. font-weight: 600;
  30. padding-right: 7.733vw;
  31. }
  32. }
  33. .container {
  34. width: 100%;
  35. // height: 100%;
  36. min-height: 100vh;
  37. display: flex;
  38. flex-direction: column;
  39. align-items: center;
  40. // justify-content: center;
  41. // background-image: url('../../../../assets/img/miner-filecoin/login_meta.png');
  42. background-size: 100% 100%;
  43. background-repeat: no-repeat;
  44. // background-size: cover;
  45. .logo {
  46. margin: 21.333vw auto 13.333vw auto;
  47. text-align: center;
  48. img {
  49. width: 21.333vw;
  50. height: 21.333vw;
  51. }
  52. }
  53. .input {
  54. width: 84vw;
  55. height: 10.667vw;
  56. background: #f2f1f6;
  57. opacity: 0.8;
  58. border-radius: 3.2vw;
  59. border-bottom: 0.133vw solid #eee;
  60. margin-bottom: 5.333vw;
  61. display: flex;
  62. align-items: center;
  63. .icon {
  64. width: 4.8vw;
  65. height: 4.8vw;
  66. margin: 0 2.667vw;
  67. img {
  68. width: 100%;
  69. height: 100%;
  70. }
  71. }
  72. .watch {
  73. width: 5.333vw;
  74. height: 4vw;
  75. margin: 0 2.667vw;
  76. img {
  77. width: 100%;
  78. height: 100%;
  79. }
  80. }
  81. .captcha {
  82. // width: 18.133vw;
  83. // height: 6.4vw;
  84. border: 0.133vw solid #0113c2;
  85. border-radius: 1.067vw;
  86. font-size: 3.2vw;
  87. font-weight: 400;
  88. color: #241aff;
  89. display: flex;
  90. align-items: center;
  91. justify-content: center;
  92. margin-right: 2.667vw;
  93. text-align: center;
  94. }
  95. }
  96. .submit {
  97. width: 84vw;
  98. height: 10.667vw;
  99. background: #0054e9;
  100. border-radius: 3.2vw;
  101. font-size: 4.8vw;
  102. font-weight: bold;
  103. color: #ffffff;
  104. display: flex;
  105. align-items: center;
  106. justify-content: center;
  107. letter-spacing: 1.333vw;
  108. margin-top: 10.667vw;
  109. }
  110. .opts {
  111. width: 84vw;
  112. height: 8vw;
  113. display: flex;
  114. align-items: center;
  115. justify-content: space-between;
  116. margin-top: 4vw;
  117. .code {
  118. font-size: 3.2vw;
  119. font-weight: 400;
  120. // color: #FFFFFF;
  121. }
  122. .forget {
  123. font-size: 3.2vw;
  124. font-weight: 400;
  125. // color: #BBBBBB;
  126. }
  127. }
  128. .register {
  129. width: 84vw;
  130. height: 8vw;
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. font-size: 3.2vw;
  135. font-weight: 400;
  136. // color: #FFFFFE;
  137. margin-top: 8vw;
  138. .icon {
  139. width: 32px;
  140. height: 32px;
  141. transform: scale(0.5);
  142. margin-left: 1.333vw;
  143. img {
  144. width: 100%;
  145. height: 100%;
  146. }
  147. }
  148. }
  149. .agreement {
  150. width: 84vw;
  151. height: 13.333vw;
  152. display: flex;
  153. align-items: flex-start;
  154. justify-content: center;
  155. font-size: 4vw;
  156. font-weight: 400;
  157. color: #9f9f9f;
  158. margin-top: 6.667vw;
  159. margin-bottom: 6.667vw;
  160. span {
  161. color: #3f51b5;
  162. }
  163. .content {
  164. margin-left: 2.667vw;
  165. width: 90%;
  166. }
  167. ion-checkbox {
  168. --background: #108ee9;
  169. // --border-color: #fff;
  170. // --border-color-checked: #fff;
  171. --background-checked: #108ee9;
  172. }
  173. }
  174. }
  175. }
  176. input:-webkit-autofill,
  177. input:-webkit-autofill:hover,
  178. input:-webkit-autofill:focus,
  179. input:-webkit-autofill:active {
  180. -webkit-transition-delay: 99999s;
  181. -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
  182. }