初始化卷积测试

This commit is contained in:
bql
2026-05-26 10:14:12 +08:00
commit 36c82f953e
16 changed files with 4519 additions and 0 deletions

View File

@@ -0,0 +1,150 @@
.control-panel {
padding: 16px;
background: #16213e;
border-bottom: 2px solid #333;
max-height: 40vh;
overflow-y: auto;
}
.panel-header h2 {
color: #e94560;
margin-bottom: 16px;
font-size: 18px;
}
.control-section {
margin-bottom: 16px;
padding: 12px;
background: #1a1a2e;
border-radius: 8px;
}
.control-section h3 {
color: #fff;
font-size: 14px;
margin-bottom: 8px;
}
.btn {
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
margin-right: 8px;
margin-bottom: 8px;
transition: opacity 0.2s;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.btn-primary {
background: #0f3460;
color: #fff;
}
.btn-primary:hover:not(:disabled) {
background: #1a4a7a;
}
.btn-success {
background: #16c79a;
color: #fff;
}
.btn-success:hover:not(:disabled) {
background: #19a87f;
}
.btn-warning {
background: #f5a623;
color: #fff;
}
.btn-warning:hover:not(:disabled) {
background: #d4891a;
}
.info-text {
color: #aaa;
font-size: 12px;
margin-top: 8px;
}
.compute-mode-selector {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
.compute-mode-selector .toggle-btn {
padding: 6px 14px;
border: 2px solid #444;
background: #1a1a2e;
color: #aaa;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
transition: all 0.2s;
}
.compute-mode-selector .toggle-btn.active {
border-color: #4a90d9;
background: #1a4a7a;
color: #fff;
}
.compute-mode-selector .toggle-btn:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.tool-selector {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 12px;
}
.tool-selector label {
color: #fff;
font-size: 13px;
cursor: pointer;
}
.tool-selector input {
margin-right: 8px;
}
.progress-container {
margin-top: 12px;
display: flex;
align-items: center;
gap: 12px;
}
.progress-bar {
flex: 1;
height: 8px;
background: #333;
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #f5a623, #16c79a);
border-radius: 4px;
transition: width 0.1s ease;
}
.progress-text {
color: #aaa;
font-size: 12px;
white-space: nowrap;
min-width: 100px;
text-align: right;
}