Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

142 rader
3.8 KiB

  1. @use '../atoms/variables' as *;
  2. @use '../atoms/mixins' as *;
  3. // ─── Login Page ───────────────────────────────────────────────────────────────
  4. .login-body {
  5. min-height: 100vh;
  6. background: var(--color-bg);
  7. display: flex;
  8. align-items: center;
  9. justify-content: center;
  10. }
  11. // ─── Card ─────────────────────────────────────────────────────────────────────
  12. .login-card {
  13. @include card($color-card-white, $radius-xl);
  14. padding: $space-10 $space-12;
  15. width: 100%;
  16. max-width: 540px;
  17. }
  18. .login-card__title {
  19. font-size: $font-size-xl;
  20. font-weight: $font-weight-bold;
  21. color: $color-text-dark;
  22. text-align: center;
  23. margin-bottom: $space-8;
  24. }
  25. .login-card__error {
  26. background: rgba($color-error, 0.08);
  27. border: 1px solid rgba($color-error, 0.25);
  28. border-radius: $radius-sm;
  29. color: $color-error;
  30. font-size: $font-size-sm;
  31. padding: $space-3 $space-4;
  32. margin-bottom: $space-6;
  33. }
  34. // ─── Form Grid ────────────────────────────────────────────────────────────────
  35. .login-form__grid {
  36. display: grid;
  37. grid-template-columns: 90px 1fr;
  38. gap: $space-5 $space-4;
  39. align-items: center;
  40. margin-bottom: $space-5;
  41. }
  42. .login-form__label {
  43. @include form-label;
  44. font-size: $font-size-base;
  45. }
  46. .login-form__field {
  47. display: flex;
  48. align-items: center;
  49. gap: $space-3;
  50. }
  51. .login-form__field--password {
  52. flex-wrap: wrap;
  53. gap: $space-2 $space-3;
  54. }
  55. .login-form__forgot {
  56. font-size: $font-size-sm;
  57. color: $color-text-muted;
  58. text-decoration: none;
  59. white-space: nowrap;
  60. &:hover {
  61. color: var(--color-primary);
  62. text-decoration: underline;
  63. }
  64. }
  65. // ─── Footer-Link ──────────────────────────────────────────────────────────────
  66. .login-form__footer {
  67. text-align: center;
  68. margin-top: $space-6;
  69. }
  70. .login-form__link {
  71. font-size: $font-size-sm;
  72. color: $color-text-muted;
  73. text-decoration: none;
  74. &:hover {
  75. color: var(--color-primary);
  76. text-decoration: underline;
  77. }
  78. }
  79. // ─── Info-Text (nach E-Mail-Versand) ──────────────────────────────────────────
  80. .login-card__info {
  81. font-size: $font-size-base;
  82. color: $color-text-base;
  83. text-align: center;
  84. margin-bottom: $space-6;
  85. line-height: 1.6;
  86. }
  87. .login-card__sub {
  88. font-size: $font-size-sm;
  89. color: $color-text-muted;
  90. text-align: center;
  91. margin-bottom: $space-6;
  92. }
  93. // ─── "Angemeldet bleiben" ─────────────────────────────────────────────────────
  94. .login-form__remember {
  95. display: flex;
  96. justify-content: center;
  97. margin-bottom: $space-6;
  98. }
  99. .login-form__remember-label {
  100. display: flex;
  101. align-items: center;
  102. gap: $space-2;
  103. cursor: pointer;
  104. font-size: $font-size-base;
  105. color: $color-text-base;
  106. input[type='checkbox'] {
  107. width: 16px;
  108. height: 16px;
  109. cursor: pointer;
  110. accent-color: var(--color-primary);
  111. }
  112. }
  113. // ─── Submit ───────────────────────────────────────────────────────────────────
  114. .login-form__actions {
  115. display: flex;
  116. justify-content: center;
  117. }
  118. .login-form__submit {
  119. padding: $space-3 $space-10;
  120. font-size: $font-size-md;
  121. }