auto_trade_sys/frontend/src/components/ConfigGuide.css
薇薇安 f716ea69d5 a
2026-01-24 16:09:39 +08:00

177 lines
2.6 KiB
CSS

.config-guide {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.guide-header {
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 2px solid #eee;
}
.back-link {
display: inline-block;
margin-bottom: 1rem;
color: #2196F3;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s;
}
.back-link:hover {
color: #1976D2;
text-decoration: underline;
}
.guide-header h1 {
margin: 0;
color: #2c3e50;
}
.guide-content {
line-height: 1.8;
}
.guide-section {
margin-bottom: 3rem;
}
.guide-section h2 {
color: #34495e;
border-left: 4px solid #2196F3;
padding-left: 1rem;
margin-bottom: 1.5rem;
}
.preset-card {
background: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 8px;
padding: 1.5rem;
margin-bottom: 1.5rem;
}
.preset-card.highlight-card {
background: linear-gradient(135deg, #fff9f9 0%, #fffaf5 100%);
border: 2px solid #ff6b6b;
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.15);
}
.preset-card.highlight-card h3 {
color: #ff4444;
font-size: 1.3rem;
font-weight: 800;
}
.preset-card h3 {
color: #2c3e50;
margin-top: 0;
margin-bottom: 0.5rem;
}
.preset-desc {
color: #666;
font-style: italic;
margin-bottom: 1rem;
}
.preset-params {
background: white;
padding: 1rem;
border-radius: 4px;
margin-bottom: 1rem;
}
.preset-params ul {
margin: 0;
padding-left: 1.5rem;
}
.preset-params li {
margin-bottom: 0.5rem;
}
.preset-effect {
background: #e7f3ff;
padding: 1rem;
border-radius: 4px;
border-left: 3px solid #2196F3;
color: #1976D2;
}
.preset-warning {
background: #fff3cd;
padding: 1rem;
border-radius: 4px;
border-left: 3px solid #ffc107;
color: #856404;
margin-top: 1rem;
}
.config-detail {
margin-bottom: 2rem;
}
.config-detail h3 {
color: #34495e;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #dee2e6;
}
.param-item {
background: #f8f9fa;
padding: 1.5rem;
border-radius: 8px;
margin-bottom: 1.5rem;
border-left: 4px solid #6c757d;
}
.param-item h4 {
color: #2c3e50;
margin-top: 0;
margin-bottom: 0.75rem;
}
.param-item p {
margin: 0.5rem 0;
}
.param-item ul,
.param-item ol {
margin: 0.5rem 0;
padding-left: 1.5rem;
}
.param-item li {
margin-bottom: 0.5rem;
}
.tips {
background: #f8f9fa;
padding: 1.5rem;
border-radius: 8px;
margin-bottom: 1.5rem;
border-left: 4px solid #28a745;
}
.tips h3 {
color: #2c3e50;
margin-top: 0;
margin-bottom: 1rem;
}
.tips ul,
.tips ol {
margin: 0.5rem 0;
padding-left: 1.5rem;
}
.tips li {
margin-bottom: 0.5rem;
}