Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

166 Zeilen
4.8 KiB

  1. @use '../atoms/variables' as *;
  2. // ─── Page ─────────────────────────────────────────────────────────────────────
  3. .account-page {
  4. min-height: 100vh;
  5. background: $color-bg;
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. // ─── Header ──────────────────────────────────────────────────────────────────
  10. .account-header {
  11. background: linear-gradient(135deg, $color-header-from 0%, $color-header-to 100%);
  12. padding: $space-6;
  13. display: flex;
  14. align-items: center;
  15. justify-content: space-between;
  16. gap: $space-6;
  17. box-shadow: 0 2px 16px rgba(0, 50, 120, 0.2);
  18. }
  19. .account-header__title {
  20. font-size: $font-size-xl;
  21. font-weight: $font-weight-bold;
  22. color: $color-white;
  23. }
  24. // ─── Tab-Navigation (Pill im Header) ─────────────────────────────────────────
  25. .account-tabs {
  26. display: flex;
  27. background: rgba(255, 255, 255, 0.18);
  28. border-radius: $radius-pill;
  29. padding: 3px;
  30. gap: $space-1;
  31. backdrop-filter: blur(6px);
  32. -webkit-backdrop-filter: blur(6px);
  33. }
  34. .account-tab {
  35. display: inline-flex;
  36. align-items: center;
  37. padding: $space-2 $space-5;
  38. font-size: $font-size-sm;
  39. font-weight: $font-weight-medium;
  40. color: rgba(255, 255, 255, 0.8);
  41. text-decoration: none;
  42. border-radius: $radius-pill;
  43. transition: background $transition-fast, color $transition-fast;
  44. white-space: nowrap;
  45. &:hover:not(.account-tab--active) {
  46. color: $color-white;
  47. background: rgba(255, 255, 255, 0.12);
  48. }
  49. &--active {
  50. color: $color-text-dark;
  51. background: $color-white;
  52. font-weight: $font-weight-bold;
  53. }
  54. }
  55. // ─── Content ─────────────────────────────────────────────────────────────────
  56. .account-content {
  57. flex: 1;
  58. max-width: 680px;
  59. width: 100%;
  60. margin: $space-8 auto;
  61. padding: 0 $space-6;
  62. display: flex;
  63. flex-direction: column;
  64. gap: $space-6;
  65. }
  66. // ─── Karte ───────────────────────────────────────────────────────────────────
  67. .account-card {
  68. background: $color-card-white;
  69. border-radius: $radius-lg;
  70. box-shadow: $shadow-card;
  71. padding: $space-8;
  72. }
  73. // ─── Formular-Grid ───────────────────────────────────────────────────────────
  74. .account-form__grid {
  75. display: grid;
  76. grid-template-columns: 160px 1fr;
  77. gap: $space-4 $space-6;
  78. align-items: start;
  79. }
  80. .account-form__label {
  81. font-size: $font-size-sm;
  82. font-weight: $font-weight-medium;
  83. color: $color-text-muted;
  84. padding-top: 7px;
  85. }
  86. .account-form__field {
  87. display: flex;
  88. flex-direction: column;
  89. gap: $space-2;
  90. }
  91. .account-form__hint {
  92. font-size: $font-size-xs;
  93. color: $color-text-muted;
  94. &--owner {
  95. font-size: $font-size-sm;
  96. line-height: 1.55;
  97. margin-top: $space-1;
  98. }
  99. }
  100. .account-form__link {
  101. font-size: $font-size-sm;
  102. color: $color-primary;
  103. text-decoration: none;
  104. &:hover { text-decoration: underline; }
  105. }
  106. // ─── Passwort-Sektion (toggle) ────────────────────────────────────────────────
  107. .account-form__pw-section {
  108. display: contents; // bleibt im Grid-Fluss
  109. &[hidden] {
  110. display: none !important;
  111. }
  112. }
  113. // ─── Actions ─────────────────────────────────────────────────────────────────
  114. .account-form__actions {
  115. grid-column: 1 / -1;
  116. display: flex;
  117. align-items: center;
  118. gap: $space-4;
  119. margin-top: $space-2;
  120. padding-top: $space-4;
  121. border-top: 1px solid $color-border;
  122. }
  123. // ─── Toast ───────────────────────────────────────────────────────────────────
  124. .account-toast {
  125. position: fixed;
  126. bottom: $space-6;
  127. right: $space-6;
  128. background: $color-text-dark;
  129. color: $color-white;
  130. padding: $space-3 $space-5;
  131. border-radius: $radius-md;
  132. font-size: $font-size-sm;
  133. opacity: 0;
  134. transform: translateY(8px);
  135. transition: opacity $transition-base, transform $transition-base;
  136. pointer-events: none;
  137. z-index: 9999;
  138. &--visible {
  139. opacity: 1;
  140. transform: translateY(0);
  141. }
  142. &--error { background: #c83232; }
  143. }