style: add hover style to the setting button in workspace card (#4193)
This commit is contained in:
@@ -62,6 +62,12 @@ export const StyledCard = styled('div')<{
|
|||||||
'.setting-entry': {
|
'.setting-entry': {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
pointerEvents: 'auto',
|
pointerEvents: 'auto',
|
||||||
|
backgroundColor: 'var(--affine-white-30)',
|
||||||
|
boxShadow: 'var(--affine-shadow-1)',
|
||||||
|
':hover': {
|
||||||
|
background:
|
||||||
|
'linear-gradient(0deg, var(--affine-hover-color) 0%, var(--affine-hover-color) 100%), var(--affine-white-30)',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'@media (max-width: 720px)': {
|
'@media (max-width: 720px)': {
|
||||||
|
|||||||
Reference in New Issue
Block a user