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
75 lines (66 loc) · 1.32 KB
/
styles.ts
File metadata and controls
75 lines (66 loc) · 1.32 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
import { css } from 'emotion'
import { colors } from '../../theme'
export const separator = css({
height: 3,
backgroundColor: colors.foreground,
margin: '2px 0',
})
export const wrapper = css({
padding: '1rem',
height: '100%',
overflowY: 'scroll',
boxSizing: 'border-box',
})
export const clearItems = css({
display: 'flex',
alignItems: 'center',
justifyContent: 'flex-end',
padding: '0 1rem 1rem 1rem',
textDecoration: 'underline',
cursor: 'pointer',
opacity: 1,
':hover': {
opacity: 0.9,
},
})
export const actionItem = 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 errorIndication = css({
marginLeft: 'auto',
backgroundColor: colors.red,
borderRadius: 2,
width: 10,
height: 10,
marginRight: 10,
})
export const actionColor = css({
borderRadius: 2,
flex: '0 0 10px',
height: 10,
marginLeft: 10,
marginRight: 10,
})
export const actionSubItem = css({
padding: '0.1rem',
cursor: 'pointer',
textIndent: 15,
borderRadius: 3,
':hover': {
backgroundColor: colors.foreground,
},
marginBottom: 2,
})