Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

233 lignes
5.8 KiB

  1. @use '../atoms/variables' as *;
  2. @use '../atoms/mixins' as *;
  3. .register-body {
  4. min-height: 100vh;
  5. background: var(--color-bg);
  6. display: flex;
  7. align-items: flex-start;
  8. justify-content: center;
  9. padding: $space-10 $space-4;
  10. }
  11. // ─── Wrapper ──────────────────────────────────────────────────────────────────
  12. .register-page {
  13. width: 100%;
  14. max-width: 580px;
  15. }
  16. .register-card {
  17. @include card($color-card-white, $radius-xl);
  18. padding: $space-10 $space-12;
  19. @include tablet { padding: $space-8 $space-5; }
  20. }
  21. .register-card__brand {
  22. text-align: center;
  23. margin-bottom: $space-6;
  24. a {
  25. font-size: $font-size-base;
  26. font-weight: $font-weight-bold;
  27. color: var(--color-primary);
  28. text-decoration: none;
  29. letter-spacing: 0.02em;
  30. }
  31. }
  32. .register-card__title {
  33. font-size: $font-size-xl;
  34. font-weight: $font-weight-bold;
  35. color: $color-text-dark;
  36. text-align: center;
  37. margin-bottom: $space-2;
  38. }
  39. .register-card__sub {
  40. font-size: $font-size-sm;
  41. color: $color-text-muted;
  42. text-align: center;
  43. margin-bottom: $space-8;
  44. }
  45. // ─── Errors ───────────────────────────────────────────────────────────────────
  46. .register-errors {
  47. &:not(:empty) {
  48. background: rgba($color-error, 0.07);
  49. border: 1px solid rgba($color-error, 0.25);
  50. border-radius: $radius-sm;
  51. color: $color-error;
  52. font-size: $font-size-sm;
  53. padding: $space-3 $space-4;
  54. margin-bottom: $space-6;
  55. p { margin: 0; line-height: 1.6; }
  56. p + p { margin-top: $space-1; }
  57. }
  58. }
  59. // ─── Fieldsets ────────────────────────────────────────────────────────────────
  60. .register-fieldset {
  61. border: none;
  62. padding: 0;
  63. margin: 0 0 $space-8;
  64. }
  65. .register-fieldset__legend {
  66. font-size: $font-size-sm;
  67. font-weight: $font-weight-bold;
  68. color: $color-text-muted;
  69. text-transform: uppercase;
  70. letter-spacing: 0.06em;
  71. margin-bottom: $space-5;
  72. display: block;
  73. }
  74. // ─── Einzelnes Feld ───────────────────────────────────────────────────────────
  75. .register-field {
  76. margin-bottom: $space-5;
  77. &:last-child { margin-bottom: 0; }
  78. }
  79. .register-field__label {
  80. display: block;
  81. font-size: $font-size-sm;
  82. color: $color-text-muted;
  83. margin-bottom: $space-2;
  84. }
  85. .register-field__hint {
  86. margin-top: $space-2;
  87. font-size: $font-size-sm;
  88. color: $color-text-muted;
  89. }
  90. .register-field__slug {
  91. color: $color-primary;
  92. font-family: monospace;
  93. font-size: $font-size-sm;
  94. }
  95. // ─── Zweispaltig ──────────────────────────────────────────────────────────────
  96. .register-field-row {
  97. display: grid;
  98. grid-template-columns: 1fr 1fr;
  99. gap: $space-4;
  100. margin-bottom: $space-5;
  101. @include mobile { grid-template-columns: 1fr; }
  102. }
  103. // ─── Actions ──────────────────────────────────────────────────────────────────
  104. .register-actions {
  105. margin-top: $space-8;
  106. }
  107. .register-actions__submit {
  108. width: 100%;
  109. padding: $space-4;
  110. font-size: $font-size-md;
  111. &:disabled {
  112. opacity: 0.6;
  113. cursor: not-allowed;
  114. }
  115. }
  116. .register-actions__login {
  117. text-align: center;
  118. margin-top: $space-4;
  119. font-size: $font-size-sm;
  120. color: $color-text-muted;
  121. a {
  122. color: var(--color-primary);
  123. text-decoration: none;
  124. &:hover { text-decoration: underline; }
  125. }
  126. }
  127. // ─── Find Account ────────────────────────────────────────────────────────
  128. .find-account-input {
  129. display: flex;
  130. align-items: center;
  131. gap: 0;
  132. border: 1px solid $color-input-border;
  133. border-radius: $radius-sm;
  134. background: $color-input-bg;
  135. transition: border-color $transition-fast;
  136. &:focus-within {
  137. border-color: var(--color-primary);
  138. box-shadow: $shadow-focus;
  139. }
  140. }
  141. .find-account-input__field {
  142. flex: 1;
  143. border: none !important;
  144. box-shadow: none !important;
  145. background: transparent;
  146. min-width: 0;
  147. }
  148. .find-account-input__suffix {
  149. padding: 0 $space-4 0 0;
  150. font-size: $font-size-sm;
  151. color: $color-text-muted;
  152. white-space: nowrap;
  153. user-select: none;
  154. }
  155. // ─── Erfolgs-State ────────────────────────────────────────────────────────────
  156. .register-success {
  157. text-align: center;
  158. padding: $space-6 0;
  159. }
  160. .register-success__icon {
  161. width: 56px;
  162. height: 56px;
  163. border-radius: 50%;
  164. background: $color-success-bg;
  165. color: $color-success;
  166. font-size: 1.6rem;
  167. font-weight: $font-weight-bold;
  168. display: flex;
  169. align-items: center;
  170. justify-content: center;
  171. margin: 0 auto $space-6;
  172. &--error {
  173. background: rgba($color-error, 0.08);
  174. color: $color-error;
  175. }
  176. }
  177. .register-success__title {
  178. font-size: $font-size-xl;
  179. font-weight: $font-weight-bold;
  180. color: $color-text-dark;
  181. margin-bottom: $space-4;
  182. }
  183. .register-success__text {
  184. font-size: $font-size-md;
  185. color: $color-text-base;
  186. line-height: $line-height-base;
  187. margin-bottom: $space-3;
  188. }
  189. .register-success__btn {
  190. margin-top: $space-6;
  191. }
  192. .register-success__hint {
  193. font-size: $font-size-sm;
  194. color: $color-text-muted;
  195. line-height: $line-height-base;
  196. }