Download spectrum/src/components/fullscreenView/style.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 842 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/src/components/fullscreenView/style.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/src/components/fullscreenView/style.js
-
curl -L -o style.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/src/components/fullscreenView/style.js
842 Bytes
| // @flow | |
| import theme from 'shared/theme'; | |
| import styled from 'styled-components'; | |
| import { zIndex } from 'src/components/globals'; | |
| import { MEDIA_BREAK } from 'src/components/layout'; | |
| export const FullscreenViewContainer = styled.div` | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: #fff; | |
| display: flex; | |
| align-items: center; | |
| justify-content: flex-start; | |
| flex-direction: column; | |
| z-index: ${zIndex.fullscreen}; | |
| overflow-y: auto; | |
| -webkit-transform: translate3d(0, 0, 0); | |
| `; | |
| export const Illustrations = styled.span` | |
| z-index: ${zIndex.background}; | |
| @media screen and (max-width: ${MEDIA_BREAK}px) { | |
| display: none; | |
| } | |
| `; | |
| export const CloseLink = styled.a` | |
| color: ${theme.text.default}; | |
| position: absolute; | |
| top: 8px; | |
| right: 8px; | |
| cursor: pointer; | |
| `; | |