mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
52 lines
1.1 KiB
TypeScript
52 lines
1.1 KiB
TypeScript
import { displayFlex, styled } from '@affine/component';
|
|
import { TableRow } from '@affine/component';
|
|
|
|
export const StyledTableContainer = styled.div(() => {
|
|
return {
|
|
height: 'calc(100vh - 60px)',
|
|
padding: '78px 72px',
|
|
overflowY: 'auto',
|
|
};
|
|
});
|
|
export const StyledTitleWrapper = styled.div(({ theme }) => {
|
|
return {
|
|
...displayFlex('flex-start', 'center'),
|
|
a: {
|
|
color: 'inherit',
|
|
},
|
|
'a:visited': {
|
|
color: 'unset',
|
|
},
|
|
'a:hover': {
|
|
color: theme.colors.primaryColor,
|
|
},
|
|
};
|
|
});
|
|
export const StyledTitleLink = styled.div(({ theme }) => {
|
|
return {
|
|
maxWidth: '80%',
|
|
marginRight: '18px',
|
|
...displayFlex('flex-start', 'center'),
|
|
color: theme.colors.textColor,
|
|
'>svg': {
|
|
fontSize: '24px',
|
|
marginRight: '12px',
|
|
color: theme.colors.iconColor,
|
|
},
|
|
};
|
|
});
|
|
|
|
export const StyledTableRow = styled(TableRow)(() => {
|
|
return {
|
|
cursor: 'pointer',
|
|
'.favorite-button': {
|
|
display: 'none',
|
|
},
|
|
'&:hover': {
|
|
'.favorite-button': {
|
|
display: 'flex',
|
|
},
|
|
},
|
|
};
|
|
});
|