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
93 lines (80 loc) · 1.61 KB
/
styles.ts
File metadata and controls
93 lines (80 loc) · 1.61 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import { css } from 'emotion'
import { colors } from '../../theme'
export const wrapper = css({
padding: '2rem',
height: '100vh',
boxSizing: 'border-box',
overflowY: 'scroll',
fontSize: 14,
})
export const label = css({
padding: '0 0.5rem',
color: colors.blue,
opacity: 0.25,
display: 'flex',
alignItems: 'center',
})
export const addComponent = css({
color: colors.green,
padding: '0 0.5rem',
})
export const updateComponent = css({
color: colors.highlight,
padding: '0 0.5rem',
})
export const removeComponent = css({
color: colors.red,
padding: '0 0.5rem',
})
export const recordWrapper = css({
display: 'flex',
alignItems: 'center',
marginBottom: '0.25rem',
})
export const mutationType = css({
padding: '0 0.5rem',
color: colors.yellow,
})
export const effectPath = css({
padding: '0 0.5rem',
color: colors.purple,
})
export const mutationPath = css({
padding: '0 0.5rem',
color: colors.text,
})
export const arg = css({
padding: '0 0.5rem',
})
export const flushDetail = css({
position: 'relative',
display: 'flex',
margin: '0 0.5rem',
fontSize: 12,
alignItems: 'center',
color: colors.text,
cursor: 'default',
'> svg': {
marginLeft: '0.25rem',
},
':hover > div': {
display: 'block',
},
})
export const actionName = css({
padding: '0 0.5rem',
})
export const flushPopup = css({
position: 'absolute',
boxShadow: '0px 10px 13px 0px rgba(0,0,0,0.1)',
display: 'none',
width: 300,
zIndex: 2,
borderRadius: 3,
fontSize: 14,
top: '100%',
left: 0,
backgroundColor: colors.foreground,
color: colors.text,
padding: '0.5rem',
})