mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 23:49:27 +08:00
* fix: add license code * fix: bug * fix: bug * fix: upgrade * fix: improve * chore: add copyright information to the file header * fix: d.ts bug * fix: bug * fix: e2e bug * fix: merge main --------- Co-authored-by: chenos <chenlinxh@gmail.com>
69 lines
1.6 KiB
TypeScript
69 lines
1.6 KiB
TypeScript
/**
|
|
* This file is part of the NocoBase (R) project.
|
|
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
* Authors: NocoBase Team.
|
|
*
|
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
*/
|
|
|
|
import { createStyles } from 'antd-style';
|
|
|
|
export const useStyles = createStyles(({ token }) => {
|
|
return {
|
|
cardActionDisabled: {
|
|
color: token.colorTextDisabled,
|
|
cursor: 'not-allowed',
|
|
},
|
|
pageHeader: {
|
|
backgroundColor: token.colorBgContainer,
|
|
paddingTop: token.paddingSM,
|
|
paddingBottom: 0,
|
|
paddingInline: token.paddingLG,
|
|
'.ant-page-header-footer': { marginBlockStart: '0' },
|
|
'& .ant-tabs-nav': {
|
|
marginBottom: 0,
|
|
},
|
|
'.ant-page-header-heading-title': {
|
|
color: token.colorText,
|
|
},
|
|
},
|
|
pageContent: {
|
|
margin: token.marginLG,
|
|
},
|
|
// pageContent: {
|
|
// marginTop: token.margin,
|
|
// marginBottom: token.marginLG,
|
|
// background: 'transparent',
|
|
// minHeight: '80vh',
|
|
// },
|
|
|
|
PluginDetailBaseInfo: {
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
marginBottom: token.margin,
|
|
},
|
|
|
|
PluginDocument: {
|
|
background: token.colorBgContainer,
|
|
padding: token.paddingLG,
|
|
height: '60vh',
|
|
overflowY: 'auto',
|
|
},
|
|
|
|
avatar: {
|
|
'.ant-card-meta-avatar': {
|
|
marginTop: '8px',
|
|
'.ant-avatar': { borderRadius: '2px' },
|
|
},
|
|
},
|
|
|
|
version: {
|
|
display: 'block',
|
|
color: token.colorTextDescription,
|
|
fontWeight: 'normal',
|
|
fontSize: token.fontSize,
|
|
},
|
|
};
|
|
});
|