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

177 lines
2.3 KiB
SCSS
Raw Normal View History

2022-09-09 11:53:35 +00:00
.view {
background: #fff;
position: relative;
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 {
2022-09-09 11:53:35 +00:00
background: #141414 url('/auth-page.jpg') center no-repeat;
background-size: cover;
color: #fff;
display: flex;
@include font-size(1.5rem);
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
color: #9fa1a7;
@include font-size(1.2rem);
}
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;
justify-content: center;
padding: $container-padding-x;
@include media-breakpoint-up(lg) {
padding: 10rem 6rem;
}
}
2022-10-25 16:25:42 +00:00
.submitButton {
2022-09-09 11:53:35 +00:00
display: block;
font-weight: 700;
padding: 1.6rem;
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;
}
2022-10-25 16:25:42 +00:00
.authSubtitle {
2022-09-09 11:53:35 +00:00
@include font-size(1.5rem);
margin: 1em;
}
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
}
.validationError {
position: relative;
top: -8px;
font-size: 12px;
line-height: 16px;
margin-bottom: 8px;
2022-09-09 11:53:35 +00:00
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
.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;
}