auth.module.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .auth-page {
  2. display: flex;
  3. justify-content: flex-start;
  4. align-items: center;
  5. height: 100%;
  6. width: 100%;
  7. flex-direction: column;
  8. .top-banner {
  9. position: relative;
  10. width: 100%;
  11. display: flex;
  12. justify-content: center;
  13. align-items: center;
  14. padding: 12px 64px;
  15. box-sizing: border-box;
  16. background: var(--second);
  17. .top-banner-inner {
  18. display: flex;
  19. justify-content: center;
  20. align-items: center;
  21. font-size: 14px;
  22. line-height: 150%;
  23. span {
  24. gap: 8px;
  25. a {
  26. display: inline-flex;
  27. align-items: center;
  28. text-decoration: none;
  29. margin-left: 8px;
  30. color: var(--primary);
  31. }
  32. }
  33. }
  34. .top-banner-close {
  35. cursor: pointer;
  36. position: absolute;
  37. top: 50%;
  38. right: 48px;
  39. transform: translateY(-50%);
  40. }
  41. }
  42. @media (max-width: 600px) {
  43. .top-banner {
  44. padding: 12px 24px 12px 12px;
  45. .top-banner-close {
  46. right: 10px;
  47. }
  48. .top-banner-inner {
  49. .top-banner-logo {
  50. margin-right: 8px;
  51. }
  52. }
  53. }
  54. }
  55. .auth-header {
  56. display: flex;
  57. justify-content: space-between;
  58. width: 100%;
  59. padding: 10px;
  60. box-sizing: border-box;
  61. animation: slide-in-from-top ease 0.3s;
  62. }
  63. .auth-logo {
  64. margin-top: 10vh;
  65. transform: scale(1.4);
  66. }
  67. .auth-title {
  68. font-size: 24px;
  69. font-weight: bold;
  70. line-height: 2;
  71. margin-bottom: 1vh;
  72. }
  73. .auth-tips {
  74. font-size: 14px;
  75. }
  76. .auth-input {
  77. margin: 3vh 0;
  78. }
  79. .auth-input-second {
  80. margin: 0 0 3vh 0;
  81. }
  82. .auth-actions {
  83. display: flex;
  84. justify-content: center;
  85. flex-direction: column;
  86. button:not(:last-child) {
  87. margin-bottom: 10px;
  88. }
  89. }
  90. }