Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

176 linhas
5.1 KiB

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