mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-24 11:24:08 +03:00
style: adjust settings style (#3083)
This commit is contained in:
parent
80ee33fd3e
commit
5756bdf8d7
@ -51,11 +51,13 @@ globalStyle(`${urlButton} span`, {
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
whiteSpace: 'nowrap',
|
||||
color: 'var(--affine-placeholder-color)',
|
||||
fontWeight: '500',
|
||||
});
|
||||
|
||||
export const fakeWrapper = style({
|
||||
position: 'relative',
|
||||
opacity: 0.4,
|
||||
selectors: {
|
||||
'&::after': {
|
||||
content: '""',
|
||||
@ -64,7 +66,7 @@ export const fakeWrapper = style({
|
||||
position: 'absolute',
|
||||
left: 0,
|
||||
top: 0,
|
||||
background: 'var(--affine-white-60)',
|
||||
cursor: 'not-allowed',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
@ -174,7 +174,6 @@ export const StyledButton = styled('button', {
|
||||
color: 'var(--affine-text-disable-color)',
|
||||
}
|
||||
: {}),
|
||||
transition: 'background .15s',
|
||||
// TODO: Implement circle shape
|
||||
borderRadius: shape === 'default' ? borderRadius : height / 2,
|
||||
fontSize,
|
||||
|
@ -50,9 +50,14 @@ export const getButtonColors = (
|
||||
background: 'var(--affine-primary-color)',
|
||||
color: 'var(--affine-white)',
|
||||
borderColor: 'var(--affine-primary-color)',
|
||||
backgroundBlendMode: 'overlay',
|
||||
'.affine-button-icon': {
|
||||
color: 'var(--affine-white)',
|
||||
},
|
||||
':hover': {
|
||||
background:
|
||||
'linear-gradient(var(--affine-primary-color),var(--affine-primary-color)),var(--affine-hover-color)',
|
||||
},
|
||||
};
|
||||
case 'light':
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user