forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.tsx
More file actions
35 lines (32 loc) · 724 Bytes
/
elements.tsx
File metadata and controls
35 lines (32 loc) · 724 Bytes
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
import styled from '../../styled-components'
export const Wrapper = styled.div`
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
background-color: ${(props) => props.theme.color.dark};
flex-direction: column;
`
export const Container = styled.div`
position: relative;
max-width: 500px;
`
export const Cancel = styled.span`
position: absolute;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: 1px solid ${({ theme }) => theme.color.white};
cursor: pointer;
color: ${({ theme }) => theme.color.white};
border-radius: 50%;
top: 10px;
right: 10px;
opacity: 0.8;
:hover {
opacity: 1;
}
`