summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/components/SocialMedia/jss/cover-jss.js
blob: 695512d53ebf97f794166f42d6d37e5f9b88a210 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { fade } from '@material-ui/core/styles/colorManipulator';
const styles = theme => ({
  root: {
    flexGrow: 1,
  },
  cover: {
    '& $name, & $subheading': {
      color: theme.palette.common.white
    },
    position: 'relative',
    width: '100%',
    overflow: 'hidden',
    height: 360,
    backgroundColor: theme.palette.primary.main,
    display: 'flex',
    justifyContent: 'center',
    alignItems: 'flex-end',
    borderRadius: 2,
    backgroundSize: 'cover',
    textAlign: 'center',
    boxShadow: theme.shadows[7]
  },
  content: {
    background: fade(theme.palette.secondary.main, 0.3),
    height: '100%',
    width: '100%',
    padding: `70px ${theme.spacing(3)}px 30px`
  },
  name: {},
  subheading: {},
  avatar: {
    margin: '0 auto',
    width: 120,
    height: 120,
    border: '3px solid rgba(255, 255, 255, .5)'
  },
  opt: {
    position: 'absolute',
    top: 10,
    right: 10,
    '& button': {
      color: theme.palette.common.white
    }
  },
  verified: {
    margin: theme.spacing(1),
    top: 10,
    position: 'relative'
  },
  button: {
    marginTop: theme.spacing(1)
  }
});

export default styles;