improvement: 1.left toolbar hover style#148;

This commit is contained in:
mitsuha
2022-08-11 16:17:02 +08:00
parent b4724f3ae0
commit 2d18e8f558
12 changed files with 72 additions and 63 deletions
@@ -20,7 +20,6 @@ const Container = styled('div')(({ theme }) => {
return {
width: '64px',
height: '32px',
backgroundColor: theme.affine.palette.textHover,
border: '1px solid #ECF1FB',
borderRadius: '8px',
cursor: 'pointer',
@@ -31,6 +31,7 @@ export const LayoutHeader = () => {
size="large"
hoverColor={'transparent'}
disabled={true}
style={{ cursor: 'not-allowed' }}
>
<SearchIcon />
</IconButton>
@@ -124,11 +125,11 @@ const StyledHelper = styled('div')({
alignItems: 'center',
});
const StyledShare = styled(MuiButton)<{ disabled?: boolean }>({
const StyledShare = styled('div')<{ disabled?: boolean }>({
padding: '10px 12px',
fontWeight: 600,
fontSize: '14px',
cursor: 'pointer',
cursor: 'not-allowed',
color: '#98ACBD',
textTransform: 'none',
/* disabled for current time */