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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
import { deepOrange, deepPurple, pink, green } from '@material-ui/core/colors';
const styles = theme => ({
mobileStepper: {
margin: `0 auto ${theme.spacing(4)}px`,
textAlign: 'center'
},
avatar: {
marginRight: 15,
},
orangeAvatar: {
backgroundColor: deepOrange[500],
},
purpleAvatar: {
backgroundColor: deepPurple[500],
},
pinkAvatar: {
backgroundColor: pink[500],
},
greenAvatar: {
backgroundColor: green[500],
},
divider: {
margin: `${theme.spacing(2)}px 0`,
background: 'none'
},
link: {
color: theme.palette.primary.main
},
noPadding: {
padding: '5px',
marginLeft: -10
},
sliderWrap: {
height: 310,
overflow: 'hidden'
},
title: {
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
overflow: 'hidden',
fontSize: 18
},
profileList: {},
trendingList: {
'& li': {
display: 'block'
}
},
input: {},
commentContent: {
padding: 10
},
commentText: {
marginTop: 5
},
buttonClose: {
position: 'absolute',
top: 20,
right: 20
},
avatarMini: {
width: 30,
height: 30,
},
commentAction: {
background: theme.palette.grey[100],
margin: 0,
},
commentForm: {
display: 'flex',
alignItems: 'center',
[theme.breakpoints.up('md')]: {
minWidth: 600,
},
width: '100%',
padding: '15px 20px',
margin: 0,
'& $input': {
flex: 1,
margin: '0 10px'
}
},
commentHead: {
display: 'flex'
}
});
export default styles;
|