auth-marketing.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. @import './store-theme.less';
  2. .auth-page {
  3. position: relative;
  4. z-index: 1;
  5. min-height: 100vh;
  6. min-height: 100dvh;
  7. width: 100%;
  8. display: flex;
  9. flex-direction: column;
  10. background: linear-gradient(165deg, @store-bg 0%, fade(@store-accent, 12%) 45%, @store-bg 100%);
  11. box-sizing: border-box;
  12. overflow-x: hidden;
  13. }
  14. .auth-topbar {
  15. position: relative;
  16. z-index: 20;
  17. display: flex;
  18. align-items: center;
  19. justify-content: space-between;
  20. padding: 14px @store-page-padding-x;
  21. background: fade(@store-card-bg, 92%);
  22. border-bottom: 1px solid @store-card-border;
  23. backdrop-filter: blur(10px);
  24. }
  25. .auth-topbar__brand,
  26. a.auth-topbar__brand {
  27. display: inline-flex;
  28. align-items: center;
  29. gap: 10px;
  30. text-decoration: none;
  31. color: @store-primary;
  32. font-weight: 600;
  33. font-size: 1.05rem;
  34. }
  35. .auth-topbar__link {
  36. font-size: 0.9rem;
  37. color: @store-accent;
  38. text-decoration: none;
  39. font-weight: 500;
  40. &:hover {
  41. color: @store-accent-hover;
  42. }
  43. }
  44. .auth-page__main {
  45. position: relative;
  46. z-index: 10;
  47. flex: 1;
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. padding: 24px @store-page-padding-x 16px;
  52. box-sizing: border-box;
  53. pointer-events: auto;
  54. }
  55. .auth-card {
  56. position: relative;
  57. z-index: 10;
  58. width: 100%;
  59. max-width: min(100%, 24rem);
  60. margin: 0 auto;
  61. padding: 28px 24px 32px;
  62. box-sizing: border-box;
  63. border-radius: @store-radius;
  64. background: @store-card-bg;
  65. border: 1px solid @store-card-border;
  66. box-shadow: @store-shadow-hover;
  67. pointer-events: auto;
  68. }
  69. .auth-form-panel {
  70. position: relative;
  71. z-index: 1;
  72. display: flex;
  73. flex-direction: column;
  74. align-items: stretch;
  75. gap: 4px;
  76. width: 100%;
  77. pointer-events: auto;
  78. .form {
  79. width: 100%;
  80. pointer-events: auto;
  81. }
  82. :deep(.arco-form-item) {
  83. margin-bottom: 14px;
  84. pointer-events: auto;
  85. }
  86. .formitem,
  87. :deep(.arco-btn.formitem) {
  88. width: 100%;
  89. min-height: 44px;
  90. margin-top: 8px;
  91. border-radius: 999px;
  92. background: @store-primary !important;
  93. border-color: @store-primary !important;
  94. pointer-events: auto;
  95. cursor: pointer;
  96. &:hover:not(:disabled) {
  97. background: @store-primary-light !important;
  98. border-color: @store-primary-light !important;
  99. }
  100. }
  101. .logo {
  102. display: flex;
  103. flex-direction: column;
  104. align-items: center;
  105. gap: 8px;
  106. margin-bottom: 24px;
  107. text-align: center;
  108. img {
  109. flex-shrink: 0;
  110. }
  111. .title {
  112. color: @store-primary;
  113. font-size: 1.15rem;
  114. font-weight: 600;
  115. }
  116. }
  117. .forgetpass {
  118. width: 100%;
  119. display: flex;
  120. flex-wrap: wrap;
  121. justify-content: space-between;
  122. align-items: center;
  123. gap: 8px;
  124. :deep(.arco-btn-text) {
  125. color: @store-accent;
  126. pointer-events: auto;
  127. cursor: pointer;
  128. }
  129. }
  130. .captcha {
  131. max-height: 36px;
  132. cursor: pointer;
  133. pointer-events: auto;
  134. }
  135. :deep(.arco-input-wrapper) {
  136. pointer-events: auto;
  137. background: @store-card-bg;
  138. border: 1px solid @store-card-border;
  139. border-radius: @store-radius-sm;
  140. &.arco-input-focus {
  141. border-color: @store-accent;
  142. box-shadow: 0 0 0 3px fade(@store-accent, 18%);
  143. }
  144. }
  145. :deep(.arco-input),
  146. :deep(.arco-input-password) {
  147. pointer-events: auto;
  148. }
  149. }
  150. .uni-login-panel {
  151. .uniLoginButton {
  152. display: flex;
  153. justify-content: center;
  154. gap: 32px;
  155. padding: 12px 0;
  156. }
  157. .tip {
  158. color: @store-text-muted;
  159. font-size: 0.85rem;
  160. text-align: center;
  161. }
  162. :deep(.arco-avatar) {
  163. background: fade(@store-accent, 22%) !important;
  164. color: @store-primary !important;
  165. cursor: pointer;
  166. pointer-events: auto;
  167. }
  168. }
  169. .auth-page__legal {
  170. position: relative;
  171. z-index: 10;
  172. margin: 0;
  173. padding: 12px @store-page-padding-x 20px;
  174. text-align: center;
  175. font-size: 12px;
  176. color: @store-text-muted;
  177. }