-
Notifications
You must be signed in to change notification settings - Fork 12
/
HtmlToolTipRaw.jsx
54 lines (48 loc) · 1.17 KB
/
HtmlToolTipRaw.jsx
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
import { Tooltip } from '@mui/material';
import withStyles from '@mui/styles/withStyles';
const HtmlToolTipRaw = withStyles(theme => ({
tooltip: {
backgroundColor: '#FFF',
color: 'rgba(0, 0, 0, 0.87)',
maxWidth: 255,
fontSize: theme.typography.pxToRem(12),
border: '1px solid rgba(0, 0, 0, 0.25)',
left: '-5px',
display: 'flex',
alignItems: 'center',
},
arrow: {
color: '#FFF',
"&::before": {
border: '1px solid rgb(0, 0, 0, 0.25)',
}
}
}))(Tooltip);
export default HtmlToolTipRaw;
export const HtmlToolTipClone = withStyles(theme => ({
tooltip: {
maxWidth: 255,
fontSize: theme.typography.pxToRem(12),
left: '-5px',
display: 'flex',
alignItems: 'center',
},
}))(Tooltip);
export const HtmlToolTipNormalRaw = withStyles(theme => ({
tooltip: {
backgroundColor: '#FFF',
color: 'rgba(0, 0, 0, 0.87)',
maxWidth: 300,
fontSize: theme.typography.pxToRem(12),
border: '1px solid rgba(0, 0, 0, 0.25)',
left: '-5px',
display: 'flex',
alignItems: 'center',
},
arrow: {
color: '#FFF',
"&::before": {
border: '1px solid rgb(0, 0, 0, 0.25)',
}
}
}))(Tooltip);