/** * BTC 预测交易看板 - 自定义样式 */ /* 全局样式 */ body { background-color: #f8f9fa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } /* 导航栏 */ .navbar-brand { font-weight: 600; } .navbar-brand i { color: #f7931a; } /* Tab 样式 */ .nav-tabs .nav-link { color: #6c757d; border: none; padding: 0.75rem 1.5rem; } .nav-tabs .nav-link.active { color: #0d6efd; border-bottom: 3px solid #0d6efd; background: transparent; } .nav-tabs .nav-link:hover:not(.active) { border-bottom: 3px solid #dee2e6; } /* 卡片样式 */ .card { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); border-radius: 0.5rem; } .card-header { font-weight: 600; border-radius: 0.5rem 0.5rem 0 0 !important; } /* 统计卡片 */ .stat-card { padding: 1rem; text-align: center; background: #f8f9fa; border-radius: 0.5rem; height: 100%; } .stat-label { font-size: 0.75rem; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.25rem; } .stat-value { font-size: 1.25rem; font-weight: 600; } .stat-number { font-size: 1.75rem; font-weight: 700; } /* 表格样式 */ .table { margin-bottom: 0; } .table th { font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.5px; color: #6c757d; border-bottom: 2px solid #dee2e6; } .table td { vertical-align: middle; } .table-hover tbody tr:hover { background-color: rgba(13, 110, 253, 0.05); } /* 涨跌颜色 */ .text-success { color: #198754 !important; } .text-danger { color: #dc3545 !important; } /* 分页 */ .pagination { margin-bottom: 0; } .page-link { color: #0d6efd; } .page-item.disabled .page-link { color: #6c757d; } /* Loading 遮罩 */ .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; z-index: 9999; } /* 弹窗 */ .modal-content { border-radius: 0.5rem; } .modal-header { background: #f8f9fa; border-radius: 0.5rem 0.5rem 0 0; } /* 响应式调整 */ @media (max-width: 768px) { .stat-card { margin-bottom: 1rem; } .card-header .d-flex { flex-direction: column; gap: 0.5rem !important; } .nav-tabs .nav-link { padding: 0.5rem 1rem; font-size: 0.875rem; } } /* 准确率颜色 */ .accuracy-high { color: #198754; font-weight: 600; } .accuracy-medium { color: #fd7e14; font-weight: 600; } .accuracy-low { color: #dc3545; font-weight: 600; } /* 边框颜色增强 */ .border-primary { border-color: #0d6efd !important; border-width: 2px !important; } .border-success { border-color: #198754 !important; border-width: 2px !important; } /* 按钮样式 */ .btn-outline-primary:hover { color: #fff; } /* 截断文本 */ .text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 间距调整 */ .gap-2 { gap: 0.5rem !important; }