openreplay/frontend/app/components/Signup/SignupForm/signup.css
2021-05-01 15:12:01 +05:30

143 lines
No EOL
2.3 KiB
CSS

@import "icons.css";
.form {
/* position: absolute; */
/* top: 50%; */
/* margin-top: -300px; */
/* width: 520px; */
/* left: 50%; */
/* margin-left: -260px; */
& form {
padding: 10px 0;
border: solid 2px $gray-light;
border-radius: 2px;
background-color: white;
}
& h2 {
text-align: center;
font-size: 20px;
color: #555555;
margin: 35px 0;
font-weight: 500;
}
}
.formFooter {
text-align: center;
padding: 15px 0;
}
.links {
display: flex;
align-items: center;
justify-content: center;
padding: 10px 0;
margin-top: 20px;
& .divider {
width: 1px;
height: 12px;
background-color: $gray-medium;
margin: 0 5px;
}
}
.logo {
background-image: svg-load('logo.svg');
background-repeat: no-repeat;
background-size: contain;
background-position: center center;
height: 40px;
margin-bottom: 20px;
}
.email, .password {
display: block;
/* margin: 10px auto; */
width: 100%;
height: 38px;
line-height: 45px;
border: $gray-light solid 1px;
border-radius: 3px;
font-size: 14px;
padding: 0 10px;
transition: all 0.2s;
&::placeholder {
color: #AAA;
}
&:focus {
border-color: $teal;
transition: all 0.2s;
}
}
.errors {
border-radius: 5px;
width: 400px;
margin: auto;
/* border: 1px solid $red; */
padding: 15px;
background-color: rgba(204, 0, 0, 0.1);
& .errorItem {
display: flex;
align-items: center;
justify-content: center;
}
}
.submit {
display: block;
border-radius: 5px;
background: $teal;
width: 135px;
height: 45px;
margin: 20px auto;
color: $white;
font-size: 16px;
cursor: pointer;
}
.inputWithIcon {
position: relative;
margin: 10px auto;
/* & input {
padding-left: 45px;
} */
}
@define-mixin inputIcon $name {
position: absolute;
left: 15px;
top: calc(50% - 8px);
@mixin icon $name, $gray-medium, 15px;
}
.inputIconUser {
@mixin inputIcon user-alt;
}
.inputIconPassword {
@mixin inputIcon lock-alt;
}
.left {
background: rgb(57,78,255);
background: linear-gradient(135deg, rgba(57,78,255,1) 0%, rgba(58,89,245,1) 21%, rgba(62,161,183,1) 69%, rgba(62,170,175,1) 100%);
position: relative;
& .bottom {
background-color: black;
}
}
.formField {
margin-bottom: 20px;
> & label {
margin-bottom: 10px !important;
}
}