Bib-Arts/CSS/style.css
Karsten Tlotzek 6852923db0 Add login page styles and refactor authentication views
- Introduced new styles for the login page, enhancing layout and responsiveness.
- Updated the login view to utilize the new styles and improve user feedback for login errors and success messages.
- Removed unused controllers and views related to contact and login functionalities to streamline the codebase.
- Adjusted error message handling in the AuthController for better clarity on password requirements.
2025-06-30 14:01:08 +02:00

242 lines
4.4 KiB
CSS

body {
background-color: #DFF0F2;
color: black;
font-size: 15px;
margin: 0;
padding: 0;
}
#wrapper {
}
a {
color: black;
text-decoration: none;
}
#navigation {
display: flex;
justify-content: center;
}
.link-container {
display: grid;
width: 80%;
grid-template-columns: 20% 20% 56% 4%;
background-color: #BAC8D4;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
.links {
display: flex;
align-items: center;
font-size: 25px;
}
#logo {
height: 60px;
width: 170px;
background-image: url("../images/bibArts.png");
background-position: center;
background-size: contain;
}
#footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 240px;
background-color: #BAC8D4;
display: grid;
grid-template-columns: 6% 5% 43% 32% 14%;
grid-template-rows: 45% 10% 45%;
align-items: center;
}
.container-zahlungsmittel {
grid-column: 5;
justify-content: right;
}
.header-zahlungsarten {
padding-right: 15px;
text-align: right;
}
.inhalt {
display: flex;
height: 10px;
justify-content: center;
align-items: center;
width: 100%;
}
.zahlungsmittel-img {
height: 41px;
width: 284px;
background-image: url("../images/Zahlungsmittel.png");
background-position: center;
background-size: contain;
justify-self: right;
}
.line {
width: 97%;
height: 1px;
background-color: grey;
justify-self: center;
grid-column-start: 1;
grid-column-end: 6;
}
.container-rest {
grid-column-start: 1;
grid-column-end: 6;
padding-left: 50px;
}
.link-impressum {
padding-left: 30px;
}
.text-bib {
grid-column: 5;
justify-self: right;
padding-right: 30px;
}
.container-welcome-inhalt {
grid-template-columns: 39% 61%;
display: grid;
width: 110em;
min-height: 80%;
border-radius: 10px;
}
.beispiel-austellung1-img {
height: 480px;
width: 670px;
background-image: url("../images/beispiel-austellung1.png");
background-position: center;
background-size: contain;
justify-self: right;
border-radius: 10px;
}
.beispiel-austellung2-img {
background-image: url("../images/beispiel-austellung2.png");
background-position: center;
background-size: contain;
justify-self: right;
border-radius: 10px;
}
/* Login Page Styles */
.login-page-bg {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #DFF0F2 60%, #BAC8D4 100%);
}
.login-container {
background: #fff;
box-shadow: 0 4px 24px rgba(0,0,0,0.10);
border-radius: 16px;
padding: 40px 32px 32px 32px;
width: 100%;
max-width: 400px;
display: flex;
flex-direction: column;
align-items: center;
}
.login-title {
margin-bottom: 24px;
color: #4d4d4d;
font-size: 2rem;
font-weight: 600;
letter-spacing: 1px;
}
.login-form {
width: 100%;
display: flex;
flex-direction: column;
gap: 18px;
}
.login-field {
display: flex;
flex-direction: column;
gap: 6px;
}
.login-field label {
font-weight: 500;
color: #4d4d4d;
}
.login-field input {
padding: 10px 12px;
border: 1px solid #BAC8D4;
border-radius: 6px;
font-size: 1rem;
background: #F7FAFC;
transition: border 0.2s;
}
.login-field input:focus {
border: 1.5px solid #09add0;
outline: none;
}
.login-btn {
margin-top: 10px;
padding: 12px 0;
background: #09add0;
color: #fff;
border: none;
border-radius: 6px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
.login-btn:hover {
background: #007b9e;
}
.login-error {
background: #ffe0e0;
color: #b30000;
border: 1px solid #ffb3b3;
border-radius: 6px;
padding: 10px 16px;
margin-bottom: 18px;
width: 100%;
text-align: center;
}
.login-success {
background: #e0ffe6;
color: #006633;
border: 1px solid #b3ffd1;
border-radius: 6px;
padding: 10px 16px;
margin-bottom: 18px;
width: 100%;
text-align: center;
}
.login-link {
display: inline-block;
margin-top: 10px;
color: #09add0;
font-weight: 500;
text-decoration: underline;
}
@media (max-width: 600px) {
.login-container {
padding: 24px 8px;
max-width: 95vw;
}
}