File size: 842 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
// @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;
`;
|