Download netflix-clone-using-react/src/components/form/styles/form.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/netflix-clone-using-react/src/components/form/styles/form.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/netflix-clone-using-react/src/components/form/styles/form.js
-
curl -L -o form.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/netflix-clone-using-react/src/components/form/styles/form.js
1.77 kB
| import styled from 'styled-components/macro'; | |
| import { Link as ReactRouterLink } from 'react-router-dom'; | |
| export const Container = styled.div` | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 660px; | |
| background-color: rgba(0,0,0,0.80); | |
| broder-radius: 5px; | |
| box-sizing: border-box; | |
| width: 100%; | |
| margin: auto; | |
| max-width: 450px; | |
| padding: 60px 68px 40px; | |
| margin-bottom: 100px; | |
| `; | |
| export const Error = styled.div` | |
| background: #e87c03; | |
| border-radius: 4px; | |
| font-size: 14px; | |
| margin: 00 16px; | |
| color: white; | |
| padding: 15px 20px; | |
| `; | |
| export const Base = styled.form` | |
| display: flex; | |
| flex-direction: column; | |
| max-width: 450px; | |
| width: 100%; | |
| `; | |
| export const Title = styled.h1` | |
| color: #fff; | |
| font-size: 32px; | |
| fonr-weight: bold; | |
| margin-bottom: 28px; | |
| `; | |
| export const Text = styled.p` | |
| color: #737373; | |
| font-size: 16px; | |
| font-weight: 500; | |
| `; | |
| export const TextSmall = styled.p` | |
| margin-top: 10px; | |
| font-size: 13px; | |
| line-height: normal; | |
| color: #8c8c8c; | |
| `; | |
| export const Link = styled(ReactRouterLink)` | |
| color: white; | |
| text-decoration: none; | |
| &: hover { | |
| text-decoration: underline; | |
| } | |
| `; | |
| export const Input = styled.input` | |
| background: #333; | |
| border-radius: 4px; | |
| border: 0; | |
| color: white; | |
| height: 50px; | |
| line-height: 50px; | |
| padding: 5px 20px; | |
| margin-bottom: 20px; | |
| &:last-of-type { | |
| margin-bottom: 30px; | |
| } | |
| `; | |
| export const Submit = styled.button` | |
| background: #e50914; | |
| border-radius: 4px; | |
| height: 50px; | |
| font-size: 16px; | |
| font-weight: bold; | |
| margin: 24px 0 13px; | |
| padding: 16px; | |
| border: 0; | |
| color: white; | |
| cursor: pointer; | |
| &: disabled { | |
| opacity: 0.5; | |
| } | |
| `; |