You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
869 B
37 lines
869 B
import { createStyles } from 'antd-style';
|
|
|
|
const useStyles = createStyles(({ token }) => {
|
|
return {
|
|
toolbar: {
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
':global': {
|
|
'command .anticon': {
|
|
display: 'inline-block',
|
|
width: '27px',
|
|
height: '27px',
|
|
margin: '0 6px',
|
|
paddingTop: '6px',
|
|
textAlign: 'center',
|
|
cursor: 'pointer',
|
|
'&:hover': { border: '1px solid @item-active-bg' },
|
|
},
|
|
'disable .anticon': {
|
|
color: token.textColorSecondary,
|
|
cursor: 'auto',
|
|
'&:hover': { border: '1px solid @border-color-base' },
|
|
},
|
|
},
|
|
},
|
|
tooltip: {
|
|
':global': {
|
|
'ant-tooltip-inner': {
|
|
fontSize: '12px',
|
|
borderRadius: '0',
|
|
},
|
|
},
|
|
},
|
|
};
|
|
});
|
|
|
|
export default useStyles;
|
|
|