summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/components/Cart/cart-jss.js
blob: aef71cdf672f1856a283ec2eb4b7fb53434c234b (plain)
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
const styles = theme => ({
  totalPrice: {
    background: theme.palette.grey[200],
    textAlign: 'right',
    display: 'block'
  },
  cartWrap: {
    [theme.breakpoints.up('sm')]: {
      width: 400,
    },
    '&:focus': {
      outline: 'none'
    }
  },
  itemText: {
    marginRight: 30,
    overflow: 'hidden',
    whiteSpace: 'nowrap',
    textOverflow: 'ellipsis',
    width: 220
  },
  cartPanel: {
    '& figure': {
      width: 120,
      height: 70,
      overflow: 'hidden',
      '& img': {
        maxWidth: '100%'
      }
    }
  },
  empty: {
    textAlign: 'center',
    padding: 20
  }
});

export default styles;