init
This commit is contained in:
27
frontend/src/styles/global.css
Normal file
27
frontend/src/styles/global.css
Normal file
@ -0,0 +1,27 @@
|
||||
html,body,#root{height:100%}
|
||||
*{box-sizing:border-box}
|
||||
|
||||
/* 顶部多窗口 Tabs:去掉默认底部横线并去掉额外间距,避免影响右侧个人中心图标 */
|
||||
.top-tabs .ant-tabs-nav::before { border-bottom: 0 !important; }
|
||||
.top-tabs .ant-tabs-nav { margin: 0 !important; }
|
||||
|
||||
/* Enlarge action buttons in table action columns */
|
||||
.ant-table .ant-space .ant-btn,
|
||||
.ant-table .ant-btn {
|
||||
height: 32px; /* middle size height */
|
||||
padding: 4px 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* Ensure icon-only buttons are also larger */
|
||||
.ant-table .ant-btn .anticon { font-size: 16px; }
|
||||
|
||||
/* Slightly increase space gap in action columns */
|
||||
.ant-table .ant-space { gap: 8px !important; }
|
||||
|
||||
/* Icon + text action link styles in tables */
|
||||
.ant-table .action-link { display: inline-flex; align-items: center; gap: 6px; color: #1677ff; cursor: pointer; font-size: 14px; }
|
||||
.ant-table .action-link .anticon { font-size: 16px; }
|
||||
.ant-table .action-link:hover { color: #0958d9; }
|
||||
.ant-table .action-danger { color: #ff4d4f; }
|
||||
.ant-table .action-danger:hover { color: #d9363e; }
|
||||
Reference in New Issue
Block a user