Skip to content

Commit

Permalink
CSS transition for hover colors in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Aug 13, 2017
1 parent ee8c944 commit 4951d6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/repl/src/ReplOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,11 @@ const styles = {
alignItems: 'center',
margin: '0 -1rem',
padding: '0 1rem',
transition: 'background-color 250ms ease-in-out, color 250ms ease-in-out',

'&:hover': {
backgroundColor: colors.inverseBackgroundDark
backgroundColor: colors.inverseBackgroundDark,
color: colors.inverseForeground
}
}),
envPresetColumn: css({
Expand Down

0 comments on commit 4951d6f

Please sign in to comment.