Alex Santos b8d75d436b Add login
2022-05-10 15:28:16 -03:00

146 lines
2.4 KiB
TypeScript

import styled from 'styled-components';
export const LoginView = styled.main<{auth: string}>`
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
width: 100%;
min-height: fit-content;
height: 100vh;
background-color: #f9f9f9;
padding: 0;
overflow: hidden;
display: ${props => props.auth == '/'? null : 'none'};
.container{
display: flex;
align-items: center;
flex-direction: column;
background-color: #FFFFFF;
height: 33rem;
text-align: center;
border-radius: 4px;
width: 100%;
max-width: 34rem;
margin-left: 13rem;
}
@media screen and (max-width: 1008px) {
justify-content: center;
.container {
margin: 0;
}
}
h1{
margin-bottom:5px;
color: #092C4C;
}
h2{
font-weight: 5;
font-size: 21px;
margin-bottom: 3rem;
color: #092C4C;
}
input{
font-size: 1rem;
width: 90%;
height: 18rem;
border-radius: 5px;
margin-bottom: 10px;
border-style: none;
border: solid #D0D0D0 1px;
padding: 9px 20px;
}
input::placeholder {
color: #ABB3BB;
font-size: 12px;
padding: 10px;
}
input:hover
{
border: 1px solid #254F7F;
}
.IconButton{
width: 10px;
}
.button{
width: 90%;
height: 24rem;
background-image: linear-gradient(to right, #254F7F 10%, #888888 100%);
color: white;
font-size: 15px;
border-radius: 5px;
border: 0;
margin-top: 2.5rem;
cursor: pointer;
}
span {
font-size: 12px;
color: #254F7F;
margin-left: 23rem;
cursor: pointer;
}
p {
color:#8B8B8B;
font-size: 12px;
margin-top: 3px;
}
fieldset {
border-top: 0.7px solid #E1E1E1;
border-bottom: none;
border-left: none;
border-right: none;
display: block;
text-align: center;
width: 90%;
}
fieldset legend {
padding: 19px 56px;
color: #ABB3BB;
font-size: 14px;
}
.input-element-wrapper{
display:flex;
margin-top: 5px;
}
.password-field{
padding: 0.5rem 1rem;
font-size: 1rem;
}
.btnInput{
color: #ABB3BB;
font-size: 20px;
background-color: transparent;
border: none;
display: flex;
position: absolute;
justify-content: center;
height: 64px;
margin-left: 26rem;
margin-top: 16rem;
cursor: pointer;
}
`;