added on hover, active effect (#25)
added hover effect on chapter, episode card
This commit is contained in:
@@ -44,6 +44,14 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
},
|
},
|
||||||
card: {
|
card: {
|
||||||
margin: '10px',
|
margin: '10px',
|
||||||
|
'&:hover': {
|
||||||
|
backgroundColor: 'rgba(255, 255, 255, 0.2)',
|
||||||
|
transition: 'background-color 0ms ease',
|
||||||
|
},
|
||||||
|
'&:active': {
|
||||||
|
backgroundColor: 'rgba(255, 255, 255, 0.1)',
|
||||||
|
transition: 'background-color 100ms ease-out',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,14 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
},
|
},
|
||||||
card: {
|
card: {
|
||||||
margin: '10px',
|
margin: '10px',
|
||||||
|
'&:hover': {
|
||||||
|
backgroundColor: 'rgba(255, 255, 255, 0.2)',
|
||||||
|
transition: 'background-color 0ms ease',
|
||||||
|
},
|
||||||
|
'&:active': {
|
||||||
|
backgroundColor: 'rgba(255, 255, 255, 0.1)',
|
||||||
|
transition: 'background-color 100ms ease-out',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user