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
51 lines (45 loc) · 1.14 KB
/
elements.tsx
File metadata and controls
51 lines (45 loc) · 1.14 KB
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
43
44
45
46
47
48
49
50
51
import styled from '../../styled-components'
export const Wrapper = styled.div`
display: flex;
flex-direction: column;
padding: ${({ theme }) => theme.padding.normal};
height: 100%;
box-sizing: border-box;
overflow-y: scroll;
`
export const Panels = styled.div`
display: flex;
justify-content: space-around;
`
export const Panel = styled.div`
padding: ${({ theme }) => theme.padding.smaller};
`
export const FlushWrapper = styled.div`
margin: ${({ theme }) => `0 ${theme.padding.normal}`};
margin-bottom: ${({ theme }) => theme.padding.smaller};
border-top: 1px solid
${({ theme }) => theme.color.fade(theme.color.black, 0.9)};
`
export const Mutation = styled.div`
display: flex;
border: 1px solid ${({ theme }) => theme.color.fade(theme.color.black, 0.9)};
border-top: 0;
padding: ${({ theme }) => `0 ${theme.padding.smaller}`};
align-items: center;
> * {
margin-right: 10px;
}
> *:nth-child(1) {
flex: 0 0 150px;
}
> *:nth-child(2) {
flex: 1;
}
> *:nth-child(3) {
flex: 0 0 250px;
}
`
export const Method = styled.span`
color: ${({ theme }) => theme.color.primary};
font-weight: bold;
`