71 lines
1.9 KiB
SCSS
71 lines
1.9 KiB
SCSS
@use "sass:color";
|
|
|
|
// Variables for consistent styling
|
|
$primary-color: #2563eb; // Blue-600 equivalent
|
|
$primary-hover-color: #1d4ed8; // Blue-700 equivalent
|
|
$success-color: #16a34a; // Green-600 equivalent
|
|
$error-color: #dc2626; // Red-600 equivalent
|
|
$text-color-dark: #1f2937; // Gray-800 equivalent
|
|
$text-color-medium: #4b5563; // Gray-700 equivalent
|
|
$text-color-light: #6b7280; // Gray-600 equivalent
|
|
$border-color: #d1d5db; // Gray-300 equivalent
|
|
$bg-color-light: #f3f4f6; // Gray-100 equivalent
|
|
$bg-color-white: #ffffff;
|
|
|
|
.page-container {
|
|
min-height: 100vh;
|
|
background-color: $bg-color-light;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: "Inter", sans-serif; // Assuming Inter font is used
|
|
padding: 1rem;
|
|
}
|
|
|
|
.page-container__content {
|
|
width: 100%;
|
|
max-width: 56rem; // max-w-4xl
|
|
background-color: $bg-color-white;
|
|
border-radius: 0.75rem; // rounded-xl
|
|
box-shadow:
|
|
0 10px 15px -3px rgba(0, 0, 0, 0.1),
|
|
0 4px 6px -2px rgba(0, 0, 0, 0.05); // shadow-lg
|
|
padding: 2rem; // p-8
|
|
text-align: center;
|
|
}
|
|
|
|
.page-container__title {
|
|
font-size: 2.25rem; // text-4xl
|
|
font-weight: 700; // font-bold
|
|
color: $text-color-dark;
|
|
margin-bottom: 1.5rem; // mb-6
|
|
}
|
|
|
|
.page-container__message--logged-in {
|
|
font-size: 1.25rem; // text-xl
|
|
color: $success-color;
|
|
margin-bottom: 1rem; // mb-4
|
|
}
|
|
|
|
.page-container__text {
|
|
color: $text-color-medium;
|
|
margin-bottom: 1.5rem; // mb-6
|
|
}
|
|
|
|
.page-container__button--logout {
|
|
padding: 0.75rem 1.5rem; // px-6 py-3
|
|
background-color: $error-color;
|
|
color: $bg-color-white;
|
|
font-weight: 600; // font-semibold
|
|
border-radius: 0.5rem; // rounded-lg
|
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); // shadow-md
|
|
transition: background-color 0.3s ease-in-out;
|
|
&:hover {
|
|
background-color: color.adjust(
|
|
$error-color,
|
|
$lightness: -5%
|
|
); // red-700 equivalent
|
|
}
|
|
}
|