Files
Checkmate/Client/src/Pages/Auth/index.css
T

122 lines
2.5 KiB
CSS
Raw Normal View History

2024-08-10 17:13:31 -04:00
/* AUTH */
.auth {
height: 100vh;
}
2024-08-10 17:13:31 -04:00
.auth h1 {
font-size: var(--env-var-font-size-xlarge);
font-weight: 600;
}
2024-08-10 17:46:35 -04:00
.auth button:not(.MuiIconButton-root),
2024-08-10 17:13:31 -04:00
.auth p,
.auth .field input,
2024-08-10 17:13:31 -04:00
.auth span {
2024-08-09 16:16:21 -04:00
font-size: var(--env-var-font-size-medium-plus);
}
2024-08-10 17:13:31 -04:00
.auth p + span {
opacity: 0.8;
cursor: pointer;
transition: opacity 300ms ease-in;
}
2024-08-12 14:55:24 -04:00
.auth p > span:not(.email-sent-to) {
text-decoration: underline;
text-underline-offset: 2px;
cursor: pointer;
transition: all 200ms;
}
2024-08-12 14:55:24 -04:00
.auth p > span:not(.email-sent-to):hover {
text-underline-offset: 4px;
}
2024-08-10 17:13:31 -04:00
.auth p + span:hover {
opacity: 1;
}
2024-08-10 17:13:31 -04:00
.auth button:not(.MuiIconButton-root) {
2024-08-09 16:16:21 -04:00
user-select: none;
border-radius: var(--env-var-radius-2);
2024-08-09 14:34:59 -04:00
line-height: 1;
}
2024-08-10 17:13:31 -04:00
.auth button:not(.MuiIconButton-root),
.auth .field .MuiInputBase-root:has(input) {
2024-08-09 16:16:21 -04:00
height: 38px;
}
2024-08-10 17:13:31 -04:00
.auth .field svg {
2024-08-09 15:36:18 -04:00
width: 24px;
height: 24px;
}
.auth .field h3.MuiTypography-root,
.auth .field .input-error,
2024-08-10 18:54:17 -04:00
.auth .check span.MuiTypography-root {
font-size: var(--env-var-font-size-medium);
}
.auth form + form {
margin: var(--env-var-spacing-1-plus) 0;
}
2024-08-12 14:55:24 -04:00
.auth .email-sent-to {
font-weight: 600;
cursor: default;
}
.auth > .MuiStack-root:nth-of-type(2) {
height: var(--env-var-nav-bar-height);
}
2024-08-10 17:13:31 -04:00
.auth .background-pattern-svg {
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -30%);
z-index: -1;
width: 100%;
max-width: 800px;
height: 100%;
max-height: 800px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
2024-08-12 14:37:44 -04:00
.forgot-password-page h1,
2024-08-12 15:35:36 -04:00
.check-email-page h1,
.password-confirmed-page h1,
.set-new-password-page h1 {
font-size: 22px;
}
@media (max-width: 800px) {
.auth h1 {
font-size: var(--env-var-font-size-large-plus);
}
.auth button:not(.MuiIconButton-root),
.auth .field input,
.auth p,
.auth span {
font-size: var(--env-var-font-size-medium);
}
.auth button:not(.MuiIconButton-root),
.auth .field .MuiInputBase-root:has(input) {
height: 36px;
}
.auth .check span.MuiTypography-root,
.auth .field .input-error,
.auth .field h3.MuiTypography-root {
font-size: var(--env-var-font-size-small-plus);
}
.auth .check span > span {
display: none;
}
.auth form + form {
margin: var(--env-var-spacing-1-plus) 0;
}
.auth .background-pattern-svg {
max-width: 750px;
max-height: 750px;
}
.forgot-password-page h1,
.check-email-page h1,
.password-confirmed-page h1,
.set-new-password-page h1 {
font-size: 18px;
}
2024-08-12 15:35:36 -04:00
}