63 lines
1.8 KiB
SCSS
63 lines
1.8 KiB
SCSS
@import "theme.scss";
|
|
|
|
.login-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 27rem;
|
|
height: 30rem; /* Slightly adjusted height for better layout */
|
|
transform: translate(-50%, -50%);
|
|
background: $auth-containers;
|
|
z-index: 10; /* Increased z-index for better stacking context */
|
|
border-radius: 0.5rem; /* Adjusted unit */
|
|
overflow: hidden;
|
|
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
|
|
}
|
|
|
|
.login-container .header h1 {
|
|
margin-top: 2.5rem; /* Adjusted margin for alignment */
|
|
font-size: 2.4rem; /* Slightly smaller for consistency */
|
|
color: $accent-color;
|
|
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2); /* Added slight text shadow */
|
|
}
|
|
|
|
.login-container .login-form {
|
|
width: 80%; /* Adjusted width for responsiveness */
|
|
}
|
|
|
|
.login-form .input-box {
|
|
position: relative;
|
|
margin-top: 2.5rem; /* Adjusted spacing */
|
|
}
|
|
|
|
.login-form .input-box input {
|
|
width: 100%;
|
|
padding: 1.1rem 0 0.6rem; /* Adjusted padding */
|
|
border: 1px solid rgba(255, 255, 255, 0.2); /* Added subtle border */
|
|
border-radius: 0.3rem; /* Added border radius */
|
|
}
|
|
|
|
.login-form .input-box span {
|
|
padding: 0.8rem 0 0.5rem; /* Adjusted padding */
|
|
}
|
|
|
|
.login-form .input-box i {
|
|
height: 0.2rem; /* Adjusted height for better visual hierarchy */
|
|
}
|
|
|
|
.login-form input[type="submit"] {
|
|
margin-top: 2.5rem; /* Adjusted spacing */
|
|
height: 3rem;
|
|
background-color: $accent-color;
|
|
border: 1px solid rgba(255, 255, 255, 0.3); /* Added border for consistency */
|
|
}
|
|
|
|
.login-container .return {
|
|
top: 15px; /* Adjusted position for better alignment */
|
|
left: 15px; /* Adjusted position for better alignment */
|
|
padding: 0.4rem; /* Adjusted padding */
|
|
background-color: rgba(255, 255, 255, 0.1); /* Added subtle background */
|
|
} |