Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import styled from 'styled-components';
- import { Form, Input } from '@rocketseat/unform';
- import theme_primary from '~/styles/themes/theme_primary';
- export const Wrap = styled.div`
- position: absolute;
- right: 19%;
- z-index: 4;
- `;
- export const Container = styled.div`
- display: none;
- flex-direction: column;
- background-color: ${theme_primary.light};
- width: 380px;
- /* height: 414.97px; */
- position: relative;
- border: 1px solid ${theme_primary.light_gray};
- border-radius: 10px;
- margin-top: 11px;
- box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
- `;
- export const Triangle = styled.div`
- display: block;
- height: 24px;
- width: 24px;
- background-color: inherit;
- border: inherit;
- position: absolute;
- top: -12px;
- left: calc(90% - 10px);
- clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
- transform: rotate(135deg);
- border-radius: 0 0 0 0.25em;
- `;
- export const InputBox = styled.div`
- display: flex;
- flex-direction: column;
- padding: 30px 39px 21px 40px;
- `;
- export const FormCustom = styled(Form)`
- span {
- font-size: 15px;
- font-family: 'Lato', sans-serif;
- color: red;
- display: flex;
- flex-wrap: wrap;
- margin-top: 20px;
- max-width: 301px;
- }
- `;
- export const Label = styled.label`
- display: flex;
- flex-direction: column;
- font: 20px 'Lato', sans-serif;
- font-weight: 700;
- margin-bottom: ${props => (props.position === 'top' ? '16px' : '10px')};
- `;
- export const InputLogin = styled(Input)`
- padding: 10px;
- width: 301px;
- height: 40px;
- border: 1px solid ${theme_primary.dark_content_1};
- border-radius: 6px;
- font-family: 'Lato', sans-serif;
- font-size: 18px;
- margin-top: 8px;
- `;
- export const ButtonsLoginContainer = styled.div`
- display: flex;
- justify-content: space-between;
- width: 301px;
- button {
- -webkit-appearance: none;
- background-color: transparent;
- border: none;
- font-family: 'Lato', sans-serif;
- font-size: 20px;
- font-weight: 500;
- font-style: medium;
- }
- `;
- export const SubmitButtonLogin = styled.button`
- display: flex;
- align-items: center;
- -webkit-appearance: none;
- background-color: ${theme_primary.vine};
- color: ${theme_primary.light};
- border-radius: 10px;
- width: 300px;
- height: 49px;
- margin: 20px 0 16px;
- font-weight: 700;
- justify-content: center;
- font: 21px 'Lato', sans-serif;
- `;
- export const Division = styled.div`
- display: flex;
- align-items: center;
- margin-bottom: 27px;
- width: 301px;
- p {
- color: ${theme_primary.dark_content_1};
- font: 15px 'Lato', sans-serif;
- margin: 0 12px;
- }
- span {
- /* display: flex; */
- background-color: ${theme_primary.dark_content_1};
- height: 1px;
- opacity: 0.3;
- width: 129px;
- margin: 0;
- }
- `;
- export const SocialContainer = styled.div`
- display: flex;
- justify-content: center;
- align-items: center;
- button {
- -webkit-appearance: none;
- background-color: transparent;
- width: 56px;
- height: 32px;
- border-radius: 6px;
- border: 1px solid ${theme_primary.dark_content_3};
- display: flex;
- justify-content: center;
- align-items: center;
- margin-left: ${props => (props.position === 'left' ? '15px' : '0px')};
- margin-right: ${props => (props.position === 'left' ? '0px' : '15px')};
- }
- img {
- width: 24px;
- height: 24px;
- }
- `;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement