Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 41 42 | 1x 1x 1x 1x 1x 5x 1x 5x 1x 1x | /* eslint-disable no-ternary */
import styled from "styled-components"
import { Theme } from "styles/theme"
import colors from "styles/colors"
import { rgba } from "polished"
const BACKDROP_ALPHA = 0.2
export const Wrapper = styled.div`
background: ${rgba(colors.black, BACKDROP_ALPHA)};
display: ${({ $isOpen }: { $isOpen: boolean }) =>
$isOpen ? "block" : "none"};
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
`
export const Container = styled.div`
background: ${({ theme }: { theme: Theme }) => theme.palette.text.contrast};
display: grid;
margin: 15% auto;
padding: 10px 10px 50px;
row-gap: 10px;
width: 80%;
`
export const Top = styled.div`
display: grid;
justify-items: end;
`
export const Content = styled.div`
align-items: center;
display: grid;
justify-items: center;
`
|