linting + effect for ptt
This commit is contained in:
@@ -93,10 +93,11 @@ const styles = (theme) =>
|
|||||||
fontSize : '7em',
|
fontSize : '7em',
|
||||||
margin : 0,
|
margin : 0,
|
||||||
opacity : 0,
|
opacity : 0,
|
||||||
|
transition : 'opacity 0.1s ease-in-out',
|
||||||
'&.hover' :
|
'&.hover' :
|
||||||
{
|
{
|
||||||
opacity : 1
|
opacity : 1
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ptt :
|
ptt :
|
||||||
@@ -114,8 +115,10 @@ const styles = (theme) =>
|
|||||||
borderRadius : '20px',
|
borderRadius : '20px',
|
||||||
textAlign : 'center',
|
textAlign : 'center',
|
||||||
opacity : 0,
|
opacity : 0,
|
||||||
|
transition : 'opacity 1s ease',
|
||||||
'&.enabled' :
|
'&.enabled' :
|
||||||
{
|
{
|
||||||
|
transition : 'opacity 0.1s',
|
||||||
opacity : 1
|
opacity : 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user