Changed units to be more responsive and removed unnecessary properties
This commit is contained in:
parent
71d410bc0a
commit
622b79f79b
@ -21,141 +21,150 @@
|
|||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
background: $auth-containers;
|
background: $auth-containers;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
border-radius: 8px;
|
border-radius: 0.5rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-container .header h1 {
|
.signup-container .header h1 {
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
color: $accent-color;
|
color: $accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-container .signup-form {
|
.signup-container .signup-form {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .input-box {
|
.signup-form .input-box {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .input-box:first-child {
|
.signup-form .input-box:first-child {
|
||||||
margin-top: 0.7rem;
|
margin-top: 0.7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .input-box input {
|
.signup-form .input-box input {
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 34vw;
|
padding: 1.0625rem 0 0.625rem;
|
||||||
padding: 17px 0px 10px;
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
outline: none;
|
outline: none;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
color: #fff;
|
||||||
color: #23242a;
|
font-size: 1.1rem;
|
||||||
font-size: 1.1em;
|
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: "Roboto", sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: 0px;
|
text-indent: 0.625rem;
|
||||||
text-indent: 10px;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
z-index: 10;
|
|
||||||
color: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .input-box span {
|
.signup-form .input-box span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: 15px 0px 10px;
|
padding: 0.9375rem 0 0.625rem;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
color: black;
|
color: black;
|
||||||
font-size: 1.19em;
|
font-size: 1.19rem;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
transition: 0.5s;
|
transition: 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .input-box input:valid ~ span,
|
.signup-form .input-box input:valid ~ span,
|
||||||
.signup-form .input-box input:focus ~ span {
|
.signup-form .input-box input:focus ~ span {
|
||||||
color: rgb(94, 93, 93);
|
color: rgb(94, 93, 93);
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
transform: translateY(-30px);
|
transform: translateY(-1.875rem);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .input-box i {
|
.signup-form .input-box i {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2px;
|
height: 0.125rem;
|
||||||
background: $auth-inputs;
|
background: $auth-inputs;
|
||||||
border-radius: 4px;
|
border-radius: 0.25rem;
|
||||||
overflow: hidden;
|
|
||||||
transition: 0.5s;
|
transition: 0.5s;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .input-box input:valid ~ i,
|
.signup-form .input-box input:valid ~ i,
|
||||||
.signup-form .input-box input:focus ~ i {
|
.signup-form .input-box input:focus ~ i {
|
||||||
height: 2.6rem;
|
height: 1.625rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .error-msg {
|
.signup-form .error-msg {
|
||||||
color: $error-color;
|
color: $error-color;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .loading {
|
.signup-form .loading {
|
||||||
margin-top: 4.5rem;
|
margin-top: 4.5rem;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-bottom: calc(1.5rem - 10px);
|
margin-bottom: calc(1.5rem - 10px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form input[type="submit"] {
|
.signup-form input[type="submit"] {
|
||||||
margin-top: 3.5rem;
|
margin-top: 3.5rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 45px;
|
height: 2.8125rem;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 8px;
|
border-radius: 0.5rem;
|
||||||
color: white;
|
color: white;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
background-color: $accent-color;
|
background-color: $accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .go-to-login {
|
.signup-form .go-to-login {
|
||||||
color: #8f8f8f;
|
color: #8f8f8f;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .go-to-login a {
|
.signup-form .go-to-login a {
|
||||||
cursor: pointer;
|
|
||||||
color: #8f8f8f;
|
color: #8f8f8f;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-form .go-to-login a:hover {
|
.signup-form .go-to-login a:hover {
|
||||||
color: black;
|
color: black;
|
||||||
transition: all 0.2s;
|
transition: color 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-container .return {
|
.signup-container .return {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 10px;
|
left: 0.625rem;
|
||||||
top: 10px;
|
top: 0.625rem;
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
color: white;
|
color: white;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s;
|
border-radius: 0.5rem;
|
||||||
border-radius: 8px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 0.3rem;
|
padding: 0.3rem;
|
||||||
|
transition: background-color 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-container .return:hover {
|
.signup-container .return:hover {
|
||||||
background-color: rgba(0, 0, 0, 0.4);
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.password-visibility {
|
.password-visibility {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 1.7rem;
|
font-size: 1.7rem;
|
||||||
top: 28%;
|
top: 28%;
|
||||||
right: 5px;
|
right: 0.3125rem;
|
||||||
z-index: 5;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pw-requirements {
|
.pw-requirements {
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user