diff --git a/templates/profile.html b/templates/profile.html index 91b795f..c882016 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -250,6 +250,36 @@ transform: translateY(-2px); } + .profile-tab.active { + color: white; + background: rgba(179, 143, 255, 0.2); + border-bottom: 3px solid rgba(179, 143, 255, 0.7); + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); + } + + .profile-tab.active::after { + content: ''; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 3px; + background: linear-gradient(90deg, #8B5CF6, #6366F1); + border-radius: 3px 3px 0 0; + } + + /* Animation für Tab-Inhalte */ + .tab-content { + transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); + } + + .tab-content.hidden { + display: none; + opacity: 0; + transform: translateY(10px); + } + /* Statistik-Elemente - verkleinert */ .stat-item { padding: 0.75rem !important; @@ -322,7 +352,9 @@ {{ user.location if user.location else 'Kein Standort angegeben' }} Mitglied seit {{ user.created_at.strftime('%d.%m.%Y') }} - + @@ -534,16 +566,25 @@