89 lines
2.3 KiB
CSS
89 lines
2.3 KiB
CSS
.login-container{
|
|
display: flex;
|
|
flex-direction: column; /* Stack the form groups vertically */
|
|
min-width: 300px; /* Set a width for the container */
|
|
max-width: 500px; /* Set a maximum width for the container */
|
|
margin: 0 auto; /* Center the container */
|
|
}
|
|
|
|
.login-group{
|
|
display: flex; /* Use flexbox for each form group */
|
|
align-items: center; /* Center items vertically */
|
|
justify-content: center;
|
|
margin-bottom: 8px; /* Space between form groups */
|
|
padding: 0 2px 0 2px; /* Add some padding */
|
|
}
|
|
|
|
.login-btn{
|
|
/*display: flex; /* Use flexbox for the button */
|
|
align-items: center; /* Center items vertically */
|
|
margin-top: 15px; /* Space above the button */
|
|
margin-left: 12px;
|
|
margin-right: 12px;
|
|
padding: 2px 4px;
|
|
border: 1px lightgray solid;
|
|
border-radius: 5px;
|
|
background-color: rgb(255, 255, 255); /* Light background */
|
|
color: rgb(5, 39, 103); /* Dark text */
|
|
}
|
|
|
|
.login-btn:hover, .login-btn:focus {
|
|
cursor: pointer;
|
|
background-color: rgb(230, 230, 230); /* Slightly darker on hover */
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
transition: ease-in-out;
|
|
transition-duration: 0.2s;
|
|
}
|
|
|
|
.login-href{
|
|
align-items: flex-start;
|
|
margin-left: 0;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.login-href:hover{
|
|
cursor: pointer;
|
|
color: rgb(174, 18, 213);
|
|
text-decoration: underline;
|
|
transition: ease-in-out;
|
|
transition-duration: 0.2s;
|
|
}
|
|
|
|
label{
|
|
flex: 1; /* Allow label to take up space */
|
|
margin-right: 10px; /* Space between label and input */
|
|
}
|
|
|
|
.login-lbl{
|
|
text-align-last: right;
|
|
}
|
|
|
|
input {
|
|
flex: 2; /* Allow input to take up more space */
|
|
padding: 8px; /* Add some padding for better appearance */
|
|
border-radius: 4px; /* Rounded corners */
|
|
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent */
|
|
color: rgb(5, 39, 103);
|
|
border: 1px solid rgb(174, 18, 213); /* Match the gradient */
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
input:hover, input:focus {
|
|
cursor: pointer;
|
|
border-color: rgb(5, 39, 103); /* Change border on focus */
|
|
outline: none;
|
|
box-shadow: 0 0 5px rgba(174, 18, 213, 0.5);
|
|
}
|
|
|
|
.login-failed {
|
|
background-color: darkred;
|
|
border: 1px solid red;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.login-failed-text {
|
|
color: white;
|
|
padding: 5px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
} |