112 lines
3.3 KiB
SCSS
112 lines
3.3 KiB
SCSS
@use "common";
|
|
@use "colors" as *; // Import the color scheme
|
|
|
|
// Hide the title
|
|
title {
|
|
display: none;
|
|
}
|
|
|
|
// Basic body styling with a new color theme
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
background: $login-page-background-color; // Use login background gradient
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100vh;
|
|
padding-right: 50px; // Space between the form and the right edge
|
|
|
|
.left-container {
|
|
flex: 1; // Take available space on the left
|
|
padding-left: 50px; // Space from the left edge
|
|
text-align: left; // Align text to the left
|
|
display: flex;
|
|
flex-direction: column; // Stack elements vertically
|
|
justify-content: center; // Center elements vertically
|
|
|
|
.logo {
|
|
height: 190px; // Set logo height to 250px
|
|
max-width: 100%; // Ensure the logo doesn't exceed the container's width
|
|
width: auto; // Maintain aspect ratio
|
|
margin-bottom: 20px; // Space below the logo
|
|
align-self: flex-start; // Align logo to the start (left) of the container
|
|
}
|
|
|
|
h1 {
|
|
font-size: 36px; // Adjust font size for application name
|
|
color: $login-page-appname-color; // Use login main text color
|
|
margin-bottom: 10px; // Space below the heading
|
|
}
|
|
|
|
p {
|
|
font-size: 18px; // Adjust font size for the description
|
|
color: $login-page-description-color; // Use login description color
|
|
}
|
|
}
|
|
|
|
.login-container {
|
|
background-color: $login-form-background;
|
|
padding: 40px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 8px 15px $login-form-shadow-color;
|
|
width: 350px;
|
|
text-align: center;
|
|
|
|
h2 {
|
|
display: block;
|
|
margin-bottom: 20px; // Add more space below the heading
|
|
color: $login-form-title-color; // Use login main text color
|
|
font-size: 26px;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center; // Center the form elements
|
|
|
|
input[type="text"],
|
|
input[type="password"] {
|
|
width: 100%; // Make the inputs full width of the form
|
|
padding: 12px;
|
|
margin-bottom: 15px;
|
|
border: 1px solid $login-form-input-border-color; // Use login input border color
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
background-color: $login-form-input-background; // Use login input background color
|
|
transition: border-color 0.3s, background-color 0.3s;
|
|
|
|
&:hover {
|
|
border-color: $login-form-input-hover-border-color;
|
|
}
|
|
&:focus {
|
|
border-color: $login-form-input-focus-border-color; // Use focus border color
|
|
background-color: #fff;
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
button {
|
|
width: 100%; // Make the button full width of the form
|
|
padding: 12px;
|
|
background-color: $login-button-color; // Use login button color
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s, transform 0.3s;
|
|
box-shadow: 0 4px 10px $login-button-shadow; // Use button shadow color
|
|
|
|
&:hover {
|
|
background-color: $login-button-hover-color; // Use login button hover
|
|
}
|
|
|
|
&:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 6px $login-button-active-shadow;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|