feat: 可视化大屏展示
This commit is contained in:
@@ -0,0 +1,140 @@
|
||||
/* 鹰眼管控平台 - 全局样式 */
|
||||
/* 深色科技主题 */
|
||||
|
||||
:root {
|
||||
--bg-primary: #0a0e27;
|
||||
--bg-secondary: #131a3d;
|
||||
--bg-card: rgba(19, 26, 61, 0.85);
|
||||
--border-color: #1e3a5f;
|
||||
--text-primary: #ffffff;
|
||||
--text-secondary: #8b9dc3;
|
||||
--accent-blue: #00d4ff;
|
||||
--accent-green: #00ff88;
|
||||
--accent-yellow: #ffb800;
|
||||
--accent-red: #ff4757;
|
||||
--shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body, #root {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* 滚动条样式 */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--border-color);
|
||||
border-radius: 4px;
|
||||
&:hover {
|
||||
background: var(--accent-blue);
|
||||
}
|
||||
}
|
||||
|
||||
/* Ant Design 覆盖 */
|
||||
.ant-layout {
|
||||
background: var(--bg-primary) !important;
|
||||
}
|
||||
|
||||
.ant-layout-header {
|
||||
background: var(--bg-secondary) !important;
|
||||
}
|
||||
|
||||
.ant-card {
|
||||
background: var(--bg-card) !important;
|
||||
border-color: var(--border-color) !important;
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.ant-card-head {
|
||||
color: var(--text-primary) !important;
|
||||
border-color: var(--border-color) !important;
|
||||
}
|
||||
|
||||
.ant-statistic-title {
|
||||
color: var(--text-secondary) !important;
|
||||
}
|
||||
|
||||
.ant-statistic-content {
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.ant-select-selector {
|
||||
background: var(--bg-secondary) !important;
|
||||
border-color: var(--border-color) !important;
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.ant-select-arrow {
|
||||
color: var(--text-secondary) !important;
|
||||
}
|
||||
|
||||
.ant-select-dropdown {
|
||||
background: var(--bg-secondary) !important;
|
||||
border-color: var(--border-color) !important;
|
||||
}
|
||||
|
||||
.ant-select-item {
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
||||
background: rgba(0, 212, 255, 0.1) !important;
|
||||
}
|
||||
|
||||
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
||||
background: rgba(0, 212, 255, 0.2) !important;
|
||||
}
|
||||
|
||||
.ant-btn-primary {
|
||||
background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%) !important;
|
||||
border: none !important;
|
||||
&:hover {
|
||||
background: linear-gradient(135deg, #00e5ff 0%, #00aadd 100%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-checkbox-wrapper {
|
||||
color: var(--text-secondary) !important;
|
||||
}
|
||||
|
||||
/* 树选择器 */
|
||||
.ant-tree-select-dropdown {
|
||||
background: var(--bg-secondary) !important;
|
||||
}
|
||||
|
||||
.ant-select-tree {
|
||||
background: transparent !important;
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.ant-select-tree-node-content-wrapper:hover {
|
||||
background: rgba(0, 212, 255, 0.1) !important;
|
||||
}
|
||||
|
||||
.ant-select-tree-node-selected {
|
||||
background: rgba(0, 212, 255, 0.2) !important;
|
||||
}
|
||||
Reference in New Issue
Block a user