Files
web-bak/src/index.css

79 lines
1.4 KiB
CSS
Raw Normal View History

2026-02-09 16:33:52 +08:00
* {
box-sizing: border-box;
}
2026-02-11 22:15:16 +08:00
html, body {
2026-02-09 16:33:52 +08:00
width: 100%;
2026-02-11 22:15:16 +08:00
height: 100%;
2026-02-09 16:33:52 +08:00
margin: 0;
padding: 0;
2026-02-11 22:15:16 +08:00
overflow-x: hidden;
2026-02-09 16:33:52 +08:00
}
:root {
2026-02-11 22:15:16 +08:00
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
2026-02-09 16:33:52 +08:00
line-height: 1.5;
font-weight: 400;
2026-02-11 22:15:16 +08:00
color: #1f1f1f;
background-color: #f0f2f5;
2026-02-09 16:33:52 +08:00
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2026-02-11 22:15:16 +08:00
#root {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
2026-02-09 16:33:52 +08:00
a {
font-weight: 500;
2026-02-11 22:15:16 +08:00
color: #1890ff;
text-decoration: none;
2026-02-09 16:33:52 +08:00
}
a:hover {
2026-02-11 22:15:16 +08:00
color: #40a9ff;
2026-02-09 16:33:52 +08:00
}
2026-02-11 22:15:16 +08:00
/* 滚动条美化 */
::-webkit-scrollbar {
width: 6px;
height: 6px;
2026-02-09 16:33:52 +08:00
}
2026-02-11 22:15:16 +08:00
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #d9d9d9;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #bfbfbf;
2026-02-09 16:33:52 +08:00
}
2026-02-11 22:15:16 +08:00
/* Ant Design 表格行悬停效果增强 */
.ant-table-tbody > tr:hover > td {
background: #e6f7ff !important;
2026-02-09 16:33:52 +08:00
}
2026-02-11 22:15:16 +08:00
/* 动画 */
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
2026-02-09 16:33:52 +08:00
}
2026-02-11 22:15:16 +08:00
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
2026-02-09 16:33:52 +08:00
}
2026-02-11 22:15:16 +08:00
@keyframes slideInLeft {
from { transform: translateX(-100%); }
to { transform: translateX(0); }
2026-02-09 16:33:52 +08:00
}