No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 

197 líneas
4.9 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. }
  20. .register-card__brand {
  21. text-align: center;
  22. margin-bottom: $space-6;
  23. a {
  24. font-size: $font-size-base;
  25. font-weight: $font-weight-bold;
  26. color: var(--color-primary);
  27. text-decoration: none;
  28. letter-spacing: 0.02em;
  29. }
  30. }
  31. .register-card__title {
  32. font-size: $font-size-xl;
  33. font-weight: $font-weight-bold;
  34. color: $color-text-dark;
  35. text-align: center;
  36. margin-bottom: $space-2;
  37. }
  38. .register-card__sub {
  39. font-size: $font-size-sm;
  40. color: $color-text-muted;
  41. text-align: center;
  42. margin-bottom: $space-8;
  43. }
  44. // ─── Errors ───────────────────────────────────────────────────────────────────
  45. .register-errors {
  46. &:not(:empty) {
  47. background: rgba($color-error, 0.07);
  48. border: 1px solid rgba($color-error, 0.25);
  49. border-radius: $radius-sm;
  50. color: $color-error;
  51. font-size: $font-size-sm;
  52. padding: $space-3 $space-4;
  53. margin-bottom: $space-6;
  54. p { margin: 0; line-height: 1.6; }
  55. p + p { margin-top: $space-1; }
  56. }
  57. }
  58. // ─── Fieldsets ────────────────────────────────────────────────────────────────
  59. .register-fieldset {
  60. border: none;
  61. padding: 0;
  62. margin: 0 0 $space-8;
  63. }
  64. .register-fieldset__legend {
  65. font-size: $font-size-sm;
  66. font-weight: $font-weight-bold;
  67. color: $color-text-muted;
  68. text-transform: uppercase;
  69. letter-spacing: 0.06em;
  70. margin-bottom: $space-5;
  71. display: block;
  72. }
  73. // ─── Einzelnes Feld ───────────────────────────────────────────────────────────
  74. .register-field {
  75. margin-bottom: $space-5;
  76. &:last-child { margin-bottom: 0; }
  77. }
  78. .register-field__label {
  79. display: block;
  80. font-size: $font-size-sm;
  81. color: $color-text-muted;
  82. margin-bottom: $space-2;
  83. }
  84. .register-field__hint {
  85. margin-top: $space-2;
  86. font-size: $font-size-sm;
  87. color: $color-text-muted;
  88. }
  89. .register-field__slug {
  90. color: $color-primary;
  91. font-family: monospace;
  92. font-size: $font-size-sm;
  93. }
  94. // ─── Zweispaltig ──────────────────────────────────────────────────────────────
  95. .register-field-row {
  96. display: grid;
  97. grid-template-columns: 1fr 1fr;
  98. gap: $space-4;
  99. margin-bottom: $space-5;
  100. }
  101. // ─── Actions ──────────────────────────────────────────────────────────────────
  102. .register-actions {
  103. margin-top: $space-8;
  104. }
  105. .register-actions__submit {
  106. width: 100%;
  107. padding: $space-4;
  108. font-size: $font-size-md;
  109. &:disabled {
  110. opacity: 0.6;
  111. cursor: not-allowed;
  112. }
  113. }
  114. .register-actions__login {
  115. text-align: center;
  116. margin-top: $space-4;
  117. font-size: $font-size-sm;
  118. color: $color-text-muted;
  119. a {
  120. color: var(--color-primary);
  121. text-decoration: none;
  122. &:hover { text-decoration: underline; }
  123. }
  124. }
  125. // ─── Erfolgs-State ────────────────────────────────────────────────────────────
  126. .register-success {
  127. text-align: center;
  128. padding: $space-6 0;
  129. }
  130. .register-success__icon {
  131. width: 56px;
  132. height: 56px;
  133. border-radius: 50%;
  134. background: $color-success-bg;
  135. color: $color-success;
  136. font-size: 1.6rem;
  137. font-weight: $font-weight-bold;
  138. display: flex;
  139. align-items: center;
  140. justify-content: center;
  141. margin: 0 auto $space-6;
  142. &--error {
  143. background: rgba($color-error, 0.08);
  144. color: $color-error;
  145. }
  146. }
  147. .register-success__title {
  148. font-size: $font-size-xl;
  149. font-weight: $font-weight-bold;
  150. color: $color-text-dark;
  151. margin-bottom: $space-4;
  152. }
  153. .register-success__text {
  154. font-size: $font-size-md;
  155. color: $color-text-base;
  156. line-height: $line-height-base;
  157. margin-bottom: $space-3;
  158. }
  159. .register-success__btn {
  160. margin-top: $space-6;
  161. }
  162. .register-success__hint {
  163. font-size: $font-size-sm;
  164. color: $color-text-muted;
  165. line-height: $line-height-base;
  166. }