Die Profilseite ist jetzt klarer strukturiert und an das restliche Layout angepass
This commit is contained in:
@@ -5,125 +5,155 @@
|
||||
{% block content %}
|
||||
<style>
|
||||
.profile-container {
|
||||
max-width: 900px;
|
||||
margin: 40px auto;
|
||||
padding: 0 20px;
|
||||
font-family: Arial, sans-serif;
|
||||
max-width: 980px;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.profile-header {
|
||||
margin-bottom: 30px;
|
||||
border-bottom: 2px solid #e2e8f0;
|
||||
padding-bottom: 15px;
|
||||
margin-bottom: 1.4rem;
|
||||
padding-bottom: 1.1rem;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.profile-eyebrow {
|
||||
color: var(--brand);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.profile-header h1 {
|
||||
margin: 0.2rem 0 0.5rem;
|
||||
color: var(--brand-strong);
|
||||
}
|
||||
|
||||
.profile-header p {
|
||||
max-width: 720px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.profile-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 30px;
|
||||
gap: 1rem;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.profile-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
background: #ffffff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 8px;
|
||||
padding: 24px;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: rgba(255, 255, 255, 0.94);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 1.35rem;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
margin-top: 0;
|
||||
color: #1e293b;
|
||||
margin: 0 0 1rem;
|
||||
color: var(--brand-strong);
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.card form {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 18px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
display: block;
|
||||
font-size: 0.875rem;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
color: #475569;
|
||||
margin-bottom: 6px;
|
||||
color: var(--text-soft);
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #cbd5e1;
|
||||
border-radius: 6px;
|
||||
font-size: 0.95rem;
|
||||
box-sizing: border-box;
|
||||
padding: 0.7rem 0.8rem;
|
||||
border: 1px solid #c7d4d4;
|
||||
border-radius: 10px;
|
||||
color: var(--text-main);
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
outline: none;
|
||||
border-color: #3b82f6;
|
||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
|
||||
border-color: var(--brand);
|
||||
box-shadow: 0 0 0 3px rgba(28, 90, 99, 0.14);
|
||||
}
|
||||
|
||||
.form-control[readonly] {
|
||||
background-color: #f8fafc;
|
||||
color: #64748b;
|
||||
background-color: #f3f6f3;
|
||||
color: var(--text-soft);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.btn-submit {
|
||||
background-color: #3b82f6;
|
||||
color: white;
|
||||
margin-top: auto;
|
||||
background: linear-gradient(120deg, #286f78 0%, #194f56 100%);
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
padding: 10px 18px;
|
||||
border-radius: 6px;
|
||||
padding: 0.72rem 1rem;
|
||||
border-radius: 999px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-submit:hover {
|
||||
background-color: #2563eb;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 8px 18px rgba(20, 53, 58, 0.14);
|
||||
}
|
||||
|
||||
.alert {
|
||||
padding: 12px 16px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 20px;
|
||||
padding: 0.8rem 1rem;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.card-danger {
|
||||
border-color: #fecaca;
|
||||
background-color: #fef2f2;
|
||||
border-color: #e6c6c2;
|
||||
background-color: #fff8f6;
|
||||
}
|
||||
|
||||
.card-danger h3 {
|
||||
color: #991b1b;
|
||||
color: #8b2a27;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
background-color: #dc2626;
|
||||
color: white;
|
||||
margin-top: auto;
|
||||
background: #a9403b;
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
padding: 10px 18px;
|
||||
border-radius: 6px;
|
||||
padding: 0.72rem 1rem;
|
||||
border-radius: 999px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-danger:hover {
|
||||
background-color: #b91c1c;
|
||||
background: #8b2a27;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 8px 18px rgba(139, 42, 39, 0.16);
|
||||
}
|
||||
.marketing-status {
|
||||
color: #475569;
|
||||
color: var(--text-soft);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 16px;
|
||||
@@ -145,15 +175,22 @@
|
||||
cursor: pointer;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.alert-success { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
|
||||
.alert-danger { background-color: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
|
||||
.alert-warning { background-color: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
|
||||
.alert-success { background-color: #eef8f1; color: #216044; border: 1px solid #c3dfca; }
|
||||
.alert-danger { background-color: #fff2f0; color: #8b2a27; border: 1px solid #e6c6c2; }
|
||||
.alert-warning { background-color: #fff9e7; color: #7a5b00; border: 1px solid #ead99d; }
|
||||
|
||||
@media (max-width: 620px) {
|
||||
.profile-container { padding: 0; }
|
||||
.profile-grid { gap: 0.85rem; }
|
||||
.card { padding: 1.1rem; }
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="profile-container">
|
||||
<div class="profile-header">
|
||||
<span class="profile-eyebrow">Konto & Einstellungen</span>
|
||||
<h1>Mein Profil</h1>
|
||||
<p style="color: #64748b;">Verwalten Sie Ihre persönlichen Informationen und Sicherheitseinstellungen.</p>
|
||||
<p>Verwalten Sie Ihre persönlichen Informationen, den Kontozugang und Ihre E-Mail-Einstellungen.</p>
|
||||
</div>
|
||||
|
||||
<!-- Flash-Nachrichten anzeigen -->
|
||||
|
||||
Reference in New Issue
Block a user