Skip to content

Commit

Permalink
#148 added hover styling for selected molecule options
Browse files Browse the repository at this point in the history
  • Loading branch information
matej-vavrek authored and tibor-postek-m2ms committed Mar 10, 2020
1 parent 2aad5a9 commit 56acf44
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions js/components/preview/molecule/moleculeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,19 @@ const useStyles = makeStyles(theme => ({
},
contColButtonSelected: {
backgroundColor: theme.palette.primary.main,
color: theme.palette.primary.contrastText
color: theme.palette.primary.contrastText,
'&:hover': {
backgroundColor: theme.palette.primary.light,
color: theme.palette.black
}
},
contColButtonHalfSelected: {
backgroundColor: theme.palette.primary.semidark
backgroundColor: theme.palette.primary.semidark,
color: theme.palette.primary.contrastText,
'&:hover': {
backgroundColor: theme.palette.primary.light,
color: theme.palette.black
}
},
detailsCol: {
border: 'solid 1px',
Expand Down

0 comments on commit 56acf44

Please sign in to comment.