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
|
import { blueGrey as dark } from '@material-ui/core/colors';
const styles = theme => ({
root: {
flexGrow: 1,
},
rootSlider: {
display: 'flex',
flexDirection: 'column',
justifyContent: 'center'
},
item: {
textAlign: 'center',
'& img': {
margin: '10px auto'
}
},
appBar: {
position: 'relative',
},
flex: {
flex: 1,
},
detailContainer: {
margin: '-16px auto 0',
maxWidth: '100%',
[theme.breakpoints.up('lg')]: {
maxWidth: 1080,
},
[theme.breakpoints.up('md')]: {
maxWidth: 960,
paddingTop: 40,
marginTop: 0
},
[theme.breakpoints.down('sm')]: {
overflowX: 'hidden',
}
},
chipDiscount: {
background: theme.palette.primary.light,
color: theme.palette.primary.dark,
marginBottom: 10,
},
chipSold: {
background: dark[500],
color: theme.palette.getContrastText(dark[500]),
marginBottom: 10,
},
detailWrap: {
padding: 30
},
title: {
marginBottom: 30
},
price: {
display: 'flex',
alignItems: 'center',
marginTop: 30,
padding: '8px 12px',
'& > *': {
marginRight: 10
}
},
ratting: {
borderBottom: `1px solid ${theme.palette.grey[400]}`,
marginBottom: 20,
},
btnArea: {
display: 'flex',
alignItems: 'center',
marginTop: 20,
background: theme.palette.grey[100],
padding: '10px 20px'
},
quantity: {
width: 40,
marginRight: 40,
marginLeft: 10,
'& input': {
textAlign: 'right'
}
},
desc: {
padding: '10px 0'
}
});
export default styles;
|