feat: 3d模型
This commit is contained in:
@@ -83,3 +83,49 @@ html, body, #root { height: 100%; }
|
||||
background-color: rgba(0, 0, 0, 0.75) !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
/* 全局 Tooltip 样式优化 - 解决深色主题下文字看不清的问题 */
|
||||
.ant-tooltip {
|
||||
.ant-tooltip-inner {
|
||||
background-color: rgba(40, 40, 40, 0.95) !important;
|
||||
color: #fff !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
.ant-tooltip-arrow-content {
|
||||
background-color: rgba(40, 40, 40, 0.95) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 按钮 Tooltip 确保清晰可见 */
|
||||
.ant-btn + .ant-tooltip,
|
||||
.ant-tooltip {
|
||||
.ant-tooltip-inner {
|
||||
background-color: rgba(30, 30, 30, 0.95) !important;
|
||||
color: #ffffff !important;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
/* Popover 和 Popconfirm 样式优化 */
|
||||
.ant-popover {
|
||||
.ant-popover-inner {
|
||||
background-color: rgba(40, 40, 40, 0.98) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
.ant-popover-inner-content {
|
||||
color: #fff !important;
|
||||
}
|
||||
.ant-popover-title {
|
||||
color: #fff !important;
|
||||
border-bottom-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
.ant-popover-arrow-content {
|
||||
background-color: rgba(40, 40, 40, 0.98) !important;
|
||||
}
|
||||
.ant-popconfirm-message-title {
|
||||
color: #fff !important;
|
||||
}
|
||||
.ant-popconfirm-description {
|
||||
color: rgba(255, 255, 255, 0.85) !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user