Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

193 righe
4.8 KiB

  1. @use '../atoms/variables' as *;
  2. .register-body {
  3. min-height: 100vh;
  4. background: var(--color-bg);
  5. display: flex;
  6. align-items: flex-start;
  7. justify-content: center;
  8. padding: $space-10 $space-4;
  9. }
  10. // ─── Wrapper ──────────────────────────────────────────────────────────────────
  11. .register-page {
  12. width: 100%;
  13. max-width: 580px;
  14. }
  15. .register-card {
  16. background: $color-card-white;
  17. border-radius: $radius-xl;
  18. padding: $space-10 $space-12;
  19. box-shadow: $shadow-card;
  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. }
  102. // ─── Actions ──────────────────────────────────────────────────────────────────
  103. .register-actions {
  104. margin-top: $space-8;
  105. }
  106. .register-actions__submit {
  107. width: 100%;
  108. padding: $space-4;
  109. font-size: $font-size-md;
  110. &:disabled {
  111. opacity: 0.6;
  112. cursor: not-allowed;
  113. }
  114. }
  115. .register-actions__login {
  116. text-align: center;
  117. margin-top: $space-4;
  118. font-size: $font-size-sm;
  119. color: $color-text-muted;
  120. a {
  121. color: var(--color-primary);
  122. text-decoration: none;
  123. &:hover { text-decoration: underline; }
  124. }
  125. }
  126. // ─── Erfolgs-State ────────────────────────────────────────────────────────────
  127. .register-success {
  128. text-align: center;
  129. padding: $space-6 0;
  130. }
  131. .register-success__icon {
  132. width: 56px;
  133. height: 56px;
  134. border-radius: 50%;
  135. background: $color-success-bg;
  136. color: $color-success;
  137. font-size: 1.6rem;
  138. font-weight: $font-weight-bold;
  139. display: flex;
  140. align-items: center;
  141. justify-content: center;
  142. margin: 0 auto $space-6;
  143. &--error {
  144. background: rgba($color-error, 0.08);
  145. color: $color-error;
  146. }
  147. }
  148. .register-success__title {
  149. font-size: $font-size-xl;
  150. font-weight: $font-weight-bold;
  151. color: $color-text-dark;
  152. margin-bottom: $space-4;
  153. }
  154. .register-success__text {
  155. font-size: $font-size-md;
  156. color: $color-text-base;
  157. line-height: $line-height-base;
  158. margin-bottom: $space-3;
  159. }
  160. .register-success__hint {
  161. font-size: $font-size-sm;
  162. color: $color-text-muted;
  163. line-height: $line-height-base;
  164. }