Anpassung css login_Signup

This commit is contained in:
«schmona» 2026-03-29 23:40:20 +02:00
parent 8e1d591d5c
commit 56ed78b4f7

View File

@ -1,87 +1,7 @@
/* Grundlegende Resets */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Header Styles */
.header {
background-color: white;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
padding: 15px 30px;
display: flex;
justify-content: space-between;
align-items: center;
}
.header-logo {
font-size: 24px;
font-weight: bold;
color: #0084ff;
text-decoration: none;
letter-spacing: 1px;
}
.header-buttons {
display: flex;
gap: 15px;
align-items: center;
}
.header-btn {
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}
.header-btn-secondary {
background-color: transparent;
color: #0084ff;
border: 2px solid #0084ff;
}
.header-btn-secondary:hover {
background-color: #0084ff;
color: white;
}
.header-btn-primary {
background-color: #0084ff;
color: white;
}
.header-btn-primary:hover {
background-color: #0073e6;
}
/* Main content wrapper */
.main-content {
display: flex;
justify-content: center;
align-items: center;
flex: 1;
padding: 20px;
}
.container { .container {
background-color: white; margin-top: 5rem;
border-radius: 8px; background-color: var(--white);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); border-radius: var(--radius-lg);
max-width: 1000px; max-width: 1000px;
width: 100%; width: 100%;
display: flex; display: flex;
@ -91,7 +11,7 @@ body {
.image-section { .image-section {
flex: 1; flex: 1;
background-color: #e8f4f8; background-color: var(--white);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -113,21 +33,14 @@ body {
} }
/* Formularelemente */ /* Formularelemente */
h1 {
color: #333;
margin-bottom: 20px;
text-align: center;
}
.info-box { .info-box {
background-color: #e8f4f8; background-color: var(--olive-light);
border-left: 4px solid #0084ff;
padding: 15px; padding: 15px;
margin-bottom: 30px; margin-bottom: 30px;
border-radius: 4px; border-radius: 8px;
font-size: 14px; font-size: 16px;
color: #333; color: var(--black);
line-height: 1.5; line-height: 1.4;
} }
.form-group { .form-group {
@ -137,8 +50,8 @@ h1 {
label { label {
display: block; display: block;
margin-bottom: 6px; margin-bottom: 6px;
color: #333; color: var(--black);
font-weight: bold; font-weight: 500;
font-size: 14px; font-size: 14px;
} }
@ -151,66 +64,46 @@ input[type="password"] {
border-radius: 4px; border-radius: 4px;
font-size: 14px; font-size: 14px;
transition: border-color 0.3s ease; transition: border-color 0.3s ease;
font-family: Arial, sans-serif;
} }
input:focus { input:focus {
outline: none; outline: none;
border-color: #0084ff; border-color: var(--olive-dark);
box-shadow: 0 0 5px rgba(0, 132, 255, 0.3);
} }
button {
width: 100%;
padding: 12px;
background-color: #0084ff;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease;
margin-top: 10px;
}
button:hover {
background-color: #0073e6;
}
button:active {
background-color: #0063cc;
}
/* Hilfstexte & Fehler */ /* Hilfstexte & Fehler */
.signup-hint, .login-hint { .signup-hint, .login-hint {
text-align: center; text-align: left;
margin-top: 20px; margin-top: 20px;
color: #666; color: var(--black);
font-size: 14px; font-size: 1rem;
line-height: 130%;
} }
.signup-hint a, .login-hint a { .signup-hint a, .login-hint a {
color: #0084ff; color: var(--blue);
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: 500;
transition: color 0.3s ease; transition: color 0.3s ease;
} }
.signup-hint a:hover, .login-hint a:hover { .signup-hint a:hover, .login-hint a:hover {
text-decoration: underline; text-decoration: underline;
text-underline-offset: 2px;
color: var(--blue);
} }
.error-message { .error-message {
color: #d32f2f; color: var(--error);
font-size: 13px; font-size: 13px;
margin-top: 5px; margin-top: 5px;
display: none; display: none;
} }
.form-group.has-error input { .form-group.has-error input {
border-color: #d32f2f; border-color: var(--error);
box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
} }
.form-group.has-error .error-message { .form-group.has-error .error-message {