Initial commit

This commit is contained in:
jackyu66git
2025-04-22 10:04:30 +08:00
commit 626d3a6f26
43 changed files with 8607 additions and 0 deletions
+131
View File
@@ -0,0 +1,131 @@
/* 缠论分析系统样式 */
body {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
margin: 0;
padding: 20px;
background-color: #f8f9fa;
color: #333;
}
.container {
max-width: 1400px;
margin: 0 auto;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header {
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
.controls {
margin-bottom: 20px;
padding: 15px;
background-color: #f1f3f5;
border-radius: 6px;
}
.chart-container {
width: 100%;
height: 600px;
margin-top: 20px;
border: 1px solid #eee;
border-radius: 6px;
padding: 10px;
background-color: #fff;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.data-container {
margin-top: 30px;
}
.nav-tabs {
margin-bottom: 15px;
}
.table-container {
overflow-x: auto;
}
.refresh-btn {
background-color: #0d6efd;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s;
}
.refresh-btn:hover {
background-color: #0b5ed7;
}
#loadingIndicator {
display: none;
text-align: center;
padding: 20px;
font-size: 18px;
color: #666;
}
/* 表格样式定制 */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
margin-bottom: 15px;
}
table.dataTable {
border-collapse: collapse;
width: 100%;
}
table.dataTable thead th {
background-color: #f8f9fa;
border-bottom: 2px solid #dee2e6;
font-weight: 600;
}
table.dataTable tbody tr:hover {
background-color: #f1f3f5;
}
/* 方向列颜色 */
.direction-up {
color: #dc3545; /* 红色 */
font-weight: bold;
}
.direction-down {
color: #28a745; /* 绿色 */
font-weight: bold;
}
/* MACD列颜色 */
.positive {
color: #dc3545;
}
.negative {
color: #28a745;
}
/* 响应式调整 */
@media (max-width: 768px) {
.container {
padding: 10px;
}
.chart-container {
height: 400px;
}
.controls .row {
flex-direction: column;
}
}