152 lines
3.6 KiB
CSS
152 lines
3.6 KiB
CSS
body, html {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
font-family: "Pridi", sans-serif; /* Use sans-serif fallback */
|
|
background-color: #4A628A;
|
|
}
|
|
|
|
h4, h2, h1{
|
|
margin: 0;
|
|
}
|
|
|
|
.page{
|
|
height: 100vh;
|
|
width: 100vw;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.container {
|
|
border-radius: 10px;
|
|
background: linear-gradient(to bottom, rgba(74, 98, 138, 0.0) 30%, rgba(186, 237, 255, 0.7));
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 90%;
|
|
width: 35%;
|
|
}
|
|
|
|
.header{
|
|
display: flex;
|
|
width: 80%;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 20%;
|
|
text-align: center;
|
|
padding-bottom: 16px;
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.title{
|
|
font-size: 48px;
|
|
font-weight: 500;
|
|
letter-spacing: -1px;
|
|
color: white;
|
|
}
|
|
|
|
.subheading{
|
|
font-size: 16px;
|
|
letter-spacing: -0.5px;
|
|
padding-top: 8px;
|
|
color: rgba(255,255,255, 0.8);
|
|
}
|
|
|
|
.login-form{
|
|
height: 80%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
width: 80%;
|
|
}
|
|
|
|
.login-title {
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
color: white;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.login-form-content input {
|
|
width: 100%;
|
|
padding: 15px;
|
|
margin: 10px 0;
|
|
border: 1px solid #ccc; /* Light gray border */
|
|
border-radius: 8px; /* Rounded corners */
|
|
font-size: 1em;
|
|
font-family: inherit;
|
|
box-sizing: border-box;
|
|
background-color: #f9f9f9; /* Light background */
|
|
color: #333; /* Dark text color */
|
|
transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for interaction */
|
|
}
|
|
|
|
/* Placeholder Text Styling */
|
|
.login-form-content input::placeholder {
|
|
color: #aaa; /* Lighter color for placeholders */
|
|
}
|
|
|
|
/* Focus State Styling */
|
|
.login-form-content input:focus {
|
|
outline: none; /* Remove default focus outline */
|
|
border-color: #4A628A; /* Blue border on focus */
|
|
box-shadow: 0 0 5px rgba(74, 98, 138, 0.5); /* Subtle shadow for focus */
|
|
background-color: #fff; /* Slightly brighter background on focus */
|
|
}
|
|
|
|
/* Input Field Hover Effect */
|
|
.login-form-content input:hover {
|
|
border-color: #888; /* Darker gray border on hover */
|
|
}
|
|
|
|
/* Disabled Input Styling */
|
|
.login-form-content input:disabled {
|
|
background-color: #e0e0e0; /* Light gray background for disabled input */
|
|
cursor: not-allowed; /* Show "not allowed" cursor */
|
|
opacity: 0.7; /* Slight transparency */
|
|
}
|
|
|
|
.login-form-footer {
|
|
display: flex;
|
|
width: 100%;
|
|
flex-direction: column;
|
|
justify-content: space-between; /* Align buttons next to each other */
|
|
align-items: center;
|
|
gap: 10px; /* Space between buttons */
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Styling for buttons */
|
|
.login-form-footer button {
|
|
flex: 1; /* Ensure buttons are equal width */
|
|
padding: 16px;
|
|
font-weight: 300;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease, transform 0.2s ease;
|
|
}
|
|
|
|
button[name="underline"] {
|
|
background-color: transparent; /* No background */
|
|
border: none; /* Remove default button border */
|
|
color: #4A628A; /* Set text color */
|
|
font-size: 1em; /* Set font size */
|
|
cursor: pointer; /* Add pointer cursor for interactivity */
|
|
text-decoration: underline; /* Underline text */
|
|
padding: 0; /* Remove default padding */
|
|
}
|
|
|
|
button[name="submit"] {
|
|
width: 100%;
|
|
background-color: #4A628A; /* Blue background */
|
|
color: white; /* White text color */
|
|
}
|