130 lines
2.3 KiB
CSS
130 lines
2.3 KiB
CSS
/* Allgemeine Einstellungen */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
body {
|
|
background: #f8f9fa;
|
|
color: #333;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Wrapper für das Formular */
|
|
.wrapper {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
margin: 50px auto;
|
|
padding: 20px;
|
|
background: #fff;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
/* Eingabefelder */
|
|
.input-box {
|
|
position: relative;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Textfelder */
|
|
.input-box input {
|
|
width: 100%;
|
|
padding: 12px 15px;
|
|
font-size: 16px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
outline: none;
|
|
padding-left: 40px; /* Platz für das Icon */
|
|
}
|
|
|
|
/* Positionierung der Icons */
|
|
.input-box i {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 10px;
|
|
transform: translateY(-50%);
|
|
font-size: 18px;
|
|
color: #888;
|
|
}
|
|
|
|
/* Passwortfeld */
|
|
.input-box input[type="password"] {
|
|
padding-right: 40px; /* Platz für das Passwort-Symbol rechts */
|
|
}
|
|
|
|
/* Positionierung des Passwort-Symbols */
|
|
#toggleRegPassword {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 10px;
|
|
transform: translateY(-50%);
|
|
font-size: 18px;
|
|
color: #888;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Passwort Sicherheitsbalken */
|
|
.password-strength-bar {
|
|
width: 100%;
|
|
height: 5px;
|
|
background-color: #ddd;
|
|
border-radius: 5px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* Sicherheitsstufen */
|
|
.password-strength-bar.weak {
|
|
background-color: #f44336; /* Rot für schwach */
|
|
}
|
|
|
|
.password-strength-bar.medium {
|
|
background-color: #ff9800; /* Orange für mittel */
|
|
}
|
|
|
|
.password-strength-bar.strong {
|
|
background-color: #4caf50; /* Grün für stark */
|
|
}
|
|
|
|
/* Button */
|
|
.btn {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background: #ff6600;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 25px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
background: #e95b00;
|
|
}
|
|
|
|
/* Registrierung-Link */
|
|
.register-link {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.register-link a {
|
|
text-decoration: none;
|
|
color: #ff6600;
|
|
}
|
|
|
|
.register-link a:hover {
|
|
color: #e95b00;
|
|
}
|