mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
chore: update all page style (#2638)
This commit is contained in:
@@ -29,11 +29,21 @@ export const TitleCell = React.forwardRef<HTMLTableCellElement, TitleCellProps>(
|
|||||||
<StyledTitleLink>
|
<StyledTitleLink>
|
||||||
{icon}
|
{icon}
|
||||||
<StyledTitleContentWrapper>
|
<StyledTitleContentWrapper>
|
||||||
<Content ellipsis={true} maxWidth="100%" color="inherit">
|
<Content
|
||||||
|
ellipsis={true}
|
||||||
|
maxWidth="100%"
|
||||||
|
color="inherit"
|
||||||
|
fontSize="var(--affine-font-sm)"
|
||||||
|
weight="600"
|
||||||
|
lineHeight="18px"
|
||||||
|
>
|
||||||
{text}
|
{text}
|
||||||
</Content>
|
</Content>
|
||||||
{desc && (
|
{desc && (
|
||||||
<StyledTitlePreview ellipsis={true} color="inherit">
|
<StyledTitlePreview
|
||||||
|
ellipsis={true}
|
||||||
|
color="var(--affine-text-secondary-color)"
|
||||||
|
>
|
||||||
{desc}
|
{desc}
|
||||||
</StyledTitlePreview>
|
</StyledTitlePreview>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -5,12 +5,13 @@ export const filterButton = style({
|
|||||||
height: '100%',
|
height: '100%',
|
||||||
padding: '4px 8px',
|
padding: '4px 8px',
|
||||||
fontSize: 'var(--affine-font-xs)',
|
fontSize: 'var(--affine-font-xs)',
|
||||||
background: 'var(--affine-hover-color)',
|
background: 'var(--affine-white)',
|
||||||
color: 'var(--affine-text-secondary-color)',
|
color: 'var(--affine-text-secondary-color)',
|
||||||
border: '1px solid var(--affine-border-color)',
|
border: '1px solid var(--affine-border-color)',
|
||||||
transition: 'margin-left 0.2s ease-in-out',
|
transition: 'margin-left 0.2s ease-in-out',
|
||||||
':hover': {
|
':hover': {
|
||||||
borderColor: 'var(--affine-border-color)',
|
borderColor: 'var(--affine-border-color)',
|
||||||
|
background: 'var(--affine-hover-color)',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
export const filterButtonCollapse = style({
|
export const filterButtonCollapse = style({
|
||||||
|
|||||||
Reference in New Issue
Block a user