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
31 lines (28 loc) · 640 Bytes
/
styles.ts
File metadata and controls
31 lines (28 loc) · 640 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
import { css } from 'emotion'
import { colors } from '../../../theme'
export const tooltipWrapper = css({
position: 'relative',
display: 'inline-block',
':hover > span': {
display: 'flex',
},
zIndex: 9999999,
})
export const tooltipElement = css({
position: 'absolute',
left: 'calc(100% - 5px)',
top: 0,
boxSizing: 'border-box',
height: '100%',
display: 'none',
alignItems: 'center',
justifyContent: 'center',
})
export const tooltipText = css({
backgroundColor: colors.highlight,
color: colors.background,
borderRadius: 2,
padding: '0.1rem 0.5rem',
fontSize: 10,
textTransform: 'uppercase',
})