From 44c7183e97c85c557266765e78a9b651e4edfccc Mon Sep 17 00:00:00 2001 From: Till Tomczak Date: Sat, 10 May 2025 15:56:14 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(profile):=20verbessere=20das?= =?UTF-8?q?=20Profil-Layout=20mit=20neuen=20Tab-Stilen,=20verbessere=20die?= =?UTF-8?q?=20Benutzeroberfl=C3=A4che=20f=C3=BCr=20Profil-=20und=20Passwor?= =?UTF-8?q?taktualisierungen=20und=20f=C3=BCge=20Animationen=20f=C3=BCr=20?= =?UTF-8?q?Tab-Inhalte=20hinzu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/profile.html | 405 ++++++++++++++++++++++++----------------- 1 file changed, 235 insertions(+), 170 deletions(-) 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 @@