webapp/src/components/Nav/AuthModal/AuthModal.module.scss

223 lines
3.0 KiB
SCSS
Raw Normal View History

2022-09-09 11:53:35 +00:00
.view {
background: #fff;
2023-05-13 20:48:56 +00:00
min-height: 550px;
2022-09-09 11:53:35 +00:00
position: relative;
2023-05-13 20:48:56 +00:00
@include media-breakpoint-up(md) {
min-height: 710px;
}
2022-09-09 11:53:35 +00:00
input {
font-size: 1.7rem;
}
h4 {
margin-bottom: 0.6em;
text-align: left;
}
}
2022-10-25 16:25:42 +00:00
.signUp {
.authImage {
2022-09-09 11:53:35 +00:00
order: 2;
}
2022-10-25 16:25:42 +00:00
.authImage::before {
2022-09-09 11:53:35 +00:00
background: linear-gradient(0deg, rgb(20 20 20 / 80%), rgb(20 20 20 / 80%));
content: '';
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
2022-10-25 16:25:42 +00:00
& ~ :global(.close-control) {
2022-09-09 11:53:35 +00:00
filter: invert(1);
}
}
2022-10-25 16:25:42 +00:00
.authImage {
2023-05-01 18:32:32 +00:00
@include font-size(1.5rem);
2022-09-09 11:53:35 +00:00
background: #141414 url('/auth-page.jpg') center no-repeat;
background-size: cover;
color: #fff;
display: flex;
padding: 3em;
position: relative;
@include media-breakpoint-down(sm) {
display: none;
}
h2 {
text-transform: uppercase;
}
h4 {
font-weight: normal;
}
}
2022-10-25 16:25:42 +00:00
.authImageText {
display: flex;
2022-09-09 11:53:35 +00:00
flex-direction: column;
justify-content: space-between;
position: relative;
text-align: left;
z-index: 1;
a {
color: #fff;
&:hover {
color: rgb(255 255 255 / 70%);
}
}
2022-10-25 16:25:42 +00:00
&.hidden {
display: none;
}
2022-09-09 11:53:35 +00:00
}
2022-10-25 16:25:42 +00:00
.authBenefits {
2022-09-09 11:53:35 +00:00
flex: 1;
}
2022-10-25 16:25:42 +00:00
.disclaimer {
2022-09-09 11:53:35 +00:00
@include font-size(1.2rem);
2023-05-01 18:32:32 +00:00
color: #9fa1a7;
2023-05-15 21:35:07 +00:00
margin-bottom: 0;
2022-09-09 11:53:35 +00:00
}
2022-10-25 16:25:42 +00:00
.authActions {
2022-09-09 11:53:35 +00:00
@include font-size(1.5rem);
margin-top: 1.6rem;
text-align: center;
a {
color: #9fa1a7;
}
}
.auth {
display: flex;
flex-direction: column;
padding: $container-padding-x;
@include media-breakpoint-up(lg) {
2023-05-18 20:02:19 +00:00
padding: 4rem !important;
2022-09-09 11:53:35 +00:00
}
}
2022-10-25 16:25:42 +00:00
.submitButton {
2022-09-09 11:53:35 +00:00
display: block;
font-weight: 700;
2023-05-18 20:02:19 +00:00
margin-top: 32px;
2023-03-10 17:42:48 +00:00
padding: 1.6rem !important;
2022-09-09 11:53:35 +00:00
width: 100%;
}
2022-10-25 16:25:42 +00:00
.authControl {
2022-09-09 11:53:35 +00:00
color: $link-color;
margin-top: 1em;
text-align: center;
}
2022-10-25 16:25:42 +00:00
.authLink {
2022-09-09 11:53:35 +00:00
cursor: pointer;
2023-05-18 20:02:19 +00:00
@include font-size(1.6rem);
2023-05-20 13:14:42 +00:00
font-weight: 500;
2022-09-09 11:53:35 +00:00
}
2022-10-25 16:25:42 +00:00
.authSubtitle {
2022-09-09 11:53:35 +00:00
@include font-size(1.5rem);
2023-05-18 20:02:19 +00:00
margin-bottom: 1em;
2022-09-09 11:53:35 +00:00
}
2022-10-25 16:25:42 +00:00
.authInfo {
2022-09-09 11:53:35 +00:00
min-height: 5em;
font-weight: 400;
font-size: smaller;
.warn {
color: #a00;
}
2022-10-25 16:25:42 +00:00
}
2023-05-18 20:02:19 +00:00
.authForm {
display: flex;
flex: 1;
flex-direction: column;
justify-content: space-between;
h4 {
font-weight: bold;
}
}
.authFormForgetPassword {
justify-content: center;
}
2022-10-25 16:25:42 +00:00
.validationError {
position: relative;
top: -8px;
font-size: 12px;
line-height: 16px;
margin-bottom: 8px;
2022-09-09 11:53:35 +00:00
&.registerPassword {
margin-bottom: -32px;
}
2022-10-25 16:25:42 +00:00
/* Red/500 */
color: #d00820;
a {
color: #d00820;
border-color: #d00820;
&:hover {
color: white;
border-color: black;
}
2022-09-09 11:53:35 +00:00
}
}
2022-10-25 16:25:42 +00:00
.passwordToggle {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
cursor: pointer;
}
.passwordToggleIcon {
height: 1.6em;
display: inline-block;
margin-right: 0.2em;
max-width: 1.4em;
max-height: 1.4em;
transition: filter 0.2s;
vertical-align: middle;
}
2022-10-25 16:25:42 +00:00
.title {
font-size: 26px;
line-height: 32px;
font-weight: 700;
color: #141414;
margin-bottom: 16px;
}
.text {
font-size: 15px;
line-height: 24px;
margin-bottom: 52px;
}