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 committed Mar 5, 2020
1 parent a050365 commit 204b1be
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 204b1be

Please sign in to comment.