design: Frontend-Redesign v2 — Design-System, kompaktere UI, Mikrointeraktionen
Umfassendes Redesign des gesamten Frontends in 9 Schritten: 1. Design-Tokens: Neutral-Farbskala (50–950), Modul-Akzentfarben, --text-2xs Token, Easing-Kurven, Z-Index-System, Dark-Mode-Overrides 2. Reset: Reduced-motion Query (prefers-reduced-motion) 3. Sidebar/Navigation: Flaches Design, Glassmorphismus Bottom-Nav, Akzentstreifen-Indikator, collapsed/expanded States 4. Layout-Grid: Master-Detail, Content-Aside, Sticky-Header-Primitives 5. Cards/Container: Einheitliches Card-Pattern, Modal-System (Bottom-Sheet mobil, zentriert Desktop), Skeleton-Loading, Empty-States 6. Dashboard: Kompaktere Widgets, Token-basierte Farben/Schatten, 4-Spalten-Grid ab 1440px 7. Module: Mobile-first Kanban/Day-Slots/Budget-Summary, border-subtle für sekundäre Trennlinien, responsive Quick-Add, Token-Migration aller hardcoded px/rgba-Werte 8. Mikrointeraktionen: Page-out Fade, Checkbox-Pop-Animation, Hover-States für Filter/Tabs/Toggles, Toast-Ausblendung, done-State Opacity-Transition 9. Feinschliff: Print-Styles, --text-2xs Token für Micro-Labels, Konsistenz-Audit (alle 9/10/11px → Token) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+63
-68
@@ -1,11 +1,11 @@
|
||||
/**
|
||||
* Modul: Einstellungen (Settings)
|
||||
* Zweck: Styles für die Settings-Seite
|
||||
* Abhängigkeiten: tokens.css
|
||||
* Abhängigkeiten: tokens.css, layout.css
|
||||
*/
|
||||
|
||||
/* --------------------------------------------------------
|
||||
Seiten-Layout
|
||||
Seiten-Layout — nutzt layout-center (max 720px)
|
||||
-------------------------------------------------------- */
|
||||
|
||||
.settings-page {
|
||||
@@ -18,23 +18,23 @@
|
||||
-------------------------------------------------------- */
|
||||
|
||||
.settings-banner {
|
||||
padding: 12px 16px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
border-radius: var(--radius-sm);
|
||||
margin-bottom: 16px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
margin-bottom: var(--space-4);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.settings-banner--success {
|
||||
background: rgba(52, 199, 89, 0.12);
|
||||
background: var(--color-success-light);
|
||||
color: var(--color-success);
|
||||
border: 1px solid rgba(52, 199, 89, 0.3);
|
||||
border: 1px solid var(--color-success);
|
||||
}
|
||||
|
||||
.settings-banner--error {
|
||||
background: rgba(255, 59, 48, 0.1);
|
||||
background: var(--color-danger-light);
|
||||
color: var(--color-danger);
|
||||
border: 1px solid rgba(255, 59, 48, 0.25);
|
||||
border: 1px solid var(--color-danger);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------
|
||||
@@ -42,16 +42,16 @@
|
||||
-------------------------------------------------------- */
|
||||
|
||||
.settings-section {
|
||||
margin-bottom: 32px;
|
||||
margin-bottom: var(--space-8);
|
||||
}
|
||||
|
||||
.settings-section__title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--color-text-secondary);
|
||||
margin: 0 0 10px 4px;
|
||||
letter-spacing: 0.05em;
|
||||
color: var(--color-text-tertiary);
|
||||
margin: 0 0 var(--space-2) var(--space-1);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------
|
||||
@@ -62,8 +62,14 @@
|
||||
background: var(--color-surface);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-sm);
|
||||
padding: 20px;
|
||||
margin-bottom: 12px;
|
||||
padding: var(--space-4);
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.settings-card {
|
||||
padding: var(--space-5);
|
||||
}
|
||||
}
|
||||
|
||||
.settings-card--hidden {
|
||||
@@ -71,9 +77,9 @@
|
||||
}
|
||||
|
||||
.settings-card__title {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 16px;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
margin: 0 0 var(--space-3);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
@@ -84,17 +90,17 @@
|
||||
.settings-user-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.settings-user-info__name {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.settings-user-info__username {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-secondary);
|
||||
margin-top: 2px;
|
||||
}
|
||||
@@ -104,23 +110,23 @@
|
||||
-------------------------------------------------------- */
|
||||
|
||||
.settings-avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: var(--radius-full);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
font-size: var(--text-lg);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: #fff;
|
||||
flex-shrink: 0;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.settings-avatar--sm {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 13px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------
|
||||
@@ -130,30 +136,30 @@
|
||||
.settings-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.settings-form-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: var(--space-2);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.form-error {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-danger);
|
||||
padding: 8px 12px;
|
||||
background: rgba(255, 59, 48, 0.08);
|
||||
padding: var(--space-2) var(--space-3);
|
||||
background: var(--color-danger-light);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.form-hint {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.form-input--color {
|
||||
padding: 4px 8px;
|
||||
padding: var(--space-1) var(--space-2);
|
||||
height: 44px;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -165,13 +171,13 @@
|
||||
.settings-sync-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
margin-bottom: 14px;
|
||||
gap: var(--space-3);
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
|
||||
.settings-sync-logo {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: var(--radius-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -180,23 +186,23 @@
|
||||
}
|
||||
|
||||
.settings-sync-logo--google {
|
||||
background: #f8f9fa;
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.settings-sync-logo--apple {
|
||||
background: #1c1c1e;
|
||||
color: #fff;
|
||||
background: var(--neutral-900);
|
||||
color: var(--neutral-50);
|
||||
}
|
||||
|
||||
.settings-sync-info__name {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.settings-sync-info__status {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-secondary);
|
||||
margin-top: 2px;
|
||||
}
|
||||
@@ -207,7 +213,7 @@
|
||||
|
||||
.settings-sync-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: var(--space-2);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@@ -217,17 +223,17 @@
|
||||
|
||||
.settings-members {
|
||||
list-style: none;
|
||||
margin: 0 0 16px;
|
||||
margin: 0 0 var(--space-4);
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.settings-member {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.settings-member__info {
|
||||
@@ -237,8 +243,8 @@
|
||||
|
||||
.settings-member__name {
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--font-weight-medium);
|
||||
color: var(--color-text-primary);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
@@ -247,7 +253,7 @@
|
||||
|
||||
.settings-member__meta {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-secondary);
|
||||
margin-top: 1px;
|
||||
}
|
||||
@@ -263,14 +269,3 @@
|
||||
.settings-logout-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------
|
||||
Dark Mode
|
||||
-------------------------------------------------------- */
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.settings-sync-logo--google {
|
||||
background: #2c2c2e;
|
||||
border-color: var(--color-border);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user