|
- @use '../atoms/variables' as *;
-
- // ─── Page ─────────────────────────────────────────────────────────────────────
- .account-page {
- min-height: 100vh;
- background: var(--color-bg);
- display: flex;
- flex-direction: column;
- }
-
- // ─── Header ──────────────────────────────────────────────────────────────────
- .account-header {
- background: linear-gradient(135deg, var(--color-header-from) 0%, var(--color-header-to) 100%);
- padding: $space-6;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: $space-6;
- box-shadow: $shadow-header;
- }
-
- .account-header__title {
- font-size: $font-size-xl;
- font-weight: $font-weight-bold;
- color: var(--header-text);
- }
-
- // ─── Tab-Navigation (Pill im Header) ─────────────────────────────────────────
- .account-tabs {
- display: flex;
- background: var(--header-overlay);
- border-radius: $radius-pill;
- padding: 3px;
- gap: $space-1;
- backdrop-filter: blur(6px);
- -webkit-backdrop-filter: blur(6px);
- }
-
- .account-tab {
- display: inline-flex;
- align-items: center;
- padding: $space-2 $space-5;
- font-size: $font-size-sm;
- font-weight: $font-weight-medium;
- color: var(--header-text-muted);
- text-decoration: none;
- border-radius: $radius-pill;
- transition: background $transition-fast, color $transition-fast;
- white-space: nowrap;
-
- &:hover:not(.account-tab--active) {
- color: var(--header-text);
- background: var(--header-overlay);
- }
-
- &--active {
- color: $color-text-dark;
- background: $color-white;
- font-weight: $font-weight-bold;
- }
- }
-
- // ─── Content ─────────────────────────────────────────────────────────────────
- .account-content {
- flex: 1;
- max-width: 680px;
- width: 100%;
- margin: $space-8 auto;
- padding: 0 $space-6;
- display: flex;
- flex-direction: column;
- gap: $space-6;
- }
-
- // ─── Karte ───────────────────────────────────────────────────────────────────
- .account-card {
- background: $color-card-white;
- border-radius: $radius-lg;
- box-shadow: $shadow-card;
- padding: $space-8;
- }
-
- // ─── Formular-Grid ───────────────────────────────────────────────────────────
- .account-form__grid {
- display: grid;
- grid-template-columns: 160px 1fr;
- gap: $space-4 $space-6;
- align-items: start;
- }
-
- .account-form__label {
- font-size: $font-size-sm;
- font-weight: $font-weight-medium;
- color: $color-text-muted;
- padding-top: 7px;
- }
-
- .account-form__field {
- display: flex;
- flex-direction: column;
- gap: $space-2;
- }
-
- .account-form__hint {
- font-size: $font-size-xs;
- color: $color-text-muted;
-
- &--owner {
- font-size: $font-size-sm;
- line-height: 1.55;
- margin-top: $space-1;
- }
- }
-
- .account-form__link {
- font-size: $font-size-sm;
- color: $color-text-muted;
- text-decoration: none;
-
- &:hover { color: $color-text-dark; text-decoration: underline; }
- }
-
- // ─── Farbfeld ─────────────────────────────────────────────────────────────────
- .account-color-field {
- display: flex;
- align-items: center;
- gap: $space-3;
- }
-
- .account-color-field__swatch {
- width: 40px;
- height: 40px;
- border: 1px solid $color-input-border;
- border-radius: $radius-sm;
- padding: 2px;
- cursor: pointer;
- background: none;
- flex-shrink: 0;
- }
-
- .account-color-field__hex {
- width: 110px;
- font-family: monospace;
- letter-spacing: 0.04em;
- }
-
- // ─── Passwort-Sektion (toggle) ────────────────────────────────────────────────
- .account-form__pw-section {
- display: contents; // bleibt im Grid-Fluss
-
- &[hidden] {
- display: none !important;
- }
- }
-
- // ─── Actions ─────────────────────────────────────────────────────────────────
- .account-form__actions {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- gap: $space-4;
- margin-top: $space-2;
- padding-top: $space-4;
- border-top: 1px solid $color-border;
- }
-
- // ─── Toast ───────────────────────────────────────────────────────────────────
- .account-toast {
- position: fixed;
- bottom: $space-6;
- right: $space-6;
- background: $color-text-dark;
- color: $color-white;
- padding: $space-3 $space-5;
- border-radius: $radius-md;
- font-size: $font-size-sm;
- opacity: 0;
- transform: translateY(8px);
- transition: opacity $transition-base, transform $transition-base;
- pointer-events: none;
- z-index: 9999;
-
- &--visible {
- opacity: 1;
- transform: translateY(0);
- }
-
- &--error { background: $color-error; }
- }
|