forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.ts
More file actions
59 lines (51 loc) · 1012 Bytes
/
styles.ts
File metadata and controls
59 lines (51 loc) · 1012 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import { css } from 'emotion'
import { colors } from '../../theme'
export const wrapper = css({
position: 'relative',
display: 'flex',
flexDirection: 'column',
height: '100%',
})
export const listWrapper = css({
padding: '1rem',
})
export const centerWrapper = css({
display: 'flex',
height: '100%',
alignItems: 'center',
justifyContent: 'center',
})
export const columns = css({
display: 'flex',
'> *:first-child': {
flex: '0 0 300px',
},
'> *:last-child': {
flex: 1,
},
flex: 1,
position: 'relative',
})
export const chartItem = css({
position: 'relative',
display: 'flex',
alignItems: 'center',
padding: '0.1rem',
borderRadius: 3,
cursor: 'pointer',
':hover': {
backgroundColor: colors.foreground,
},
marginBottom: 2,
})
export const selected = css({
backgroundColor: colors.foreground,
fontWeight: 'bold',
})
export const chartColor = css({
borderRadius: 2,
flex: '0 0 10px',
height: 10,
marginLeft: 10,
marginRight: 10,
})