mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-24 02:52:17 +03:00
chore: update block card styles (#3290)
This commit is contained in:
parent
bf41b25988
commit
79227a1e7c
@ -5,21 +5,22 @@ export const blockCard = style({
|
||||
gap: '12px',
|
||||
padding: '8px 12px',
|
||||
color: 'var(--affine-text-primary-color)',
|
||||
backgroundColor: 'var(--affine-background-primary-color)',
|
||||
borderRadius: '4px',
|
||||
backgroundColor: 'var(--affine-white-80)',
|
||||
borderRadius: '8px',
|
||||
userSelect: 'none',
|
||||
cursor: 'pointer',
|
||||
textAlign: 'start',
|
||||
boxShadow: 'var(--affine-shadow-1)',
|
||||
selectors: {
|
||||
'&:hover': {
|
||||
boxShadow: 'var(--affine-shadow-1)',
|
||||
backgroundColor: 'var(--affine-hover-color)',
|
||||
},
|
||||
'&[aria-disabled]': {
|
||||
color: 'var(--affine-text-disable-color)',
|
||||
},
|
||||
'&[aria-disabled]:hover': {
|
||||
backgroundColor: 'var(--affine-white-80)',
|
||||
cursor: 'not-allowed',
|
||||
boxShadow: 'none',
|
||||
},
|
||||
// TODO active styles
|
||||
},
|
||||
|
@ -7,8 +7,10 @@ export const importPageContainerStyle = style({
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
borderRadius: '16px',
|
||||
boxShadow: 'var(--affine-shadow-1)',
|
||||
borderRadius: '12px',
|
||||
boxShadow: 'var(--affine-popover-shadow)',
|
||||
background: 'var(--affine-background-overlay-panel-color)',
|
||||
overflow: 'hidden',
|
||||
});
|
||||
|
||||
export const importPageBodyStyle = style({
|
||||
|
@ -66,7 +66,10 @@ export const NewPageButton = ({
|
||||
onClickAway={() => {
|
||||
setOpen(false);
|
||||
}}
|
||||
menuStyles={{ padding: '0px' }}
|
||||
menuStyles={{
|
||||
padding: '0px',
|
||||
background: 'var(--affine-background-overlay-panel-color)',
|
||||
}}
|
||||
content={
|
||||
<CreateNewPagePopup
|
||||
createNewPage={() => {
|
||||
|
Loading…
Reference in New Issue
Block a user