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
70 lines (61 loc) · 1.28 KB
/
styles.ts
File metadata and controls
70 lines (61 loc) · 1.28 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
import { css } from 'emotion'
import { colors } from '../../theme'
export const wrapper = css({
padding: '1rem',
height: '100%',
overflowY: 'scroll',
boxSizing: 'border-box',
})
export const innerWrapper = css({
margin: '0.5rem 0',
padding: 0,
border: `1px solid ${colors.blue}`,
})
export const innerTitle = css({
color: colors.blue,
padding: '0.1rem 0.5rem',
})
export const innerContent = css({
padding: '0.5rem',
})
export const pipe = css({
display: 'flex',
alignItems: 'center',
})
export const breakStyle = css({
display: 'flex',
alignItems: 'center',
borderRadius: 3,
color: colors.foreground,
backgroundColor: colors.purple,
padding: '0 0.5rem',
marginBottom: '1rem',
})
export const operatorChildren = css({
display: 'flex',
paddingBottom: '1rem',
'> div:last-child': {
paddingBottom: 0,
},
})
export const path = css({
writingMode: 'vertical-rl',
display: 'flex',
textOrientation: 'upright',
fontSize: 10,
lineHeight: '14px',
padding: '0.25rem 0',
backgroundColor: colors.highlight,
borderRadius: 3,
color: colors.foreground,
marginRight: '0.5rem',
fontWeight: 'bold',
justifyContent: 'center',
})
export const pathOperators = css({
paddingBottom: '1rem',
flex: 1,
'> :last-child': {
paddingBottom: 0,
},
})