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
62 lines (56 loc) · 1.23 KB
/
styles.ts
File metadata and controls
62 lines (56 loc) · 1.23 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
import { css } from 'emotion'
import { colors } from '../../theme'
export const wrapper = css({
position: 'relative',
display: 'flex',
backgroundColor: colors.dark,
height: 50,
justifyContent: 'center',
alignItems: 'center',
zIndex: 99999,
})
export const app = css({
outline: 'none',
border: 0,
width: '100%',
cursor: 'pointer',
backgroundColor: colors.white,
display: 'flex',
alignItems: 'center',
color: colors.black,
padding: '0.5rem 1rem',
whiteSpace: 'nowrap',
})
export const appSelected = css({
backgroundColor: colors.white2,
})
export const currentApp = (color: string) =>
css({
border: `2px solid ${color}`,
borderRadius: '50%',
color: colors.black,
backgroundColor: colors.white,
width: 30,
height: 30,
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
cursor: 'pointer',
fontSize: 14,
fontWeight: 'bold',
})
export const overlay = css({
position: 'fixed',
top: 0,
left: 0,
width: '100vw',
height: '100vh',
})
export const appsList = css({
position: 'absolute',
left: 'calc(100% + 1px)',
top: 0,
backgroundColor: colors.white,
borderRight: `1px solid ${colors.dark2}`,
borderBottom: `1px solid ${colors.dark2}`,
})