font-size: 16px;
display: flex;
align-items: center;
gap: 8px;
}
.voice-grid, .instrument-grid {
display: grid;
gap: 8px;
}
.voice-option, .instrument-option {
display: flex;
align-items: center;
gap: 12px;
padding: 10px;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.voice-option:hover, .instrument-option:hover {
background: rgba(102, 126, 234, 0.1);
}
.voice-option.active, .instrument-option.active {
background: rgba(102, 126, 234, 0.15);
border-color: var(--primary);
}
.voice-preview {
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--primary);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 12px;
}
/* 情感控制 */
.emotion-controls {
display: grid;
gap: 12px;
}
.emotion-slider {
display: flex;
flex-direction: column;
gap: 6px;
}
.emotion-slider label {
font-size: 12px;
color: var(--primary);
display: flex;
justify-content: between;
}
.emotion-value {
font-weight: bold;
color: var(--secondary);
}
/* 主内容区 */
.main-content {
display: grid;
grid-template-rows: auto 1fr auto;
gap: 20px;
}
.editor-container {
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
padding: 25px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
}
.editor-tabs {
display: flex;
gap: 8px;
margin-bottom: 15px;
border-bottom: 2px solid #e2e8f0;
padding-bottom: 10px;
}
.tab {
padding: 10px 20px;
background: var(--light);
border-radius: 8px 8px 0 0;
cursor: pointer;
font-size: 14px;
transition: all 0.3s ease;
border: 1px solid transparent;
}
.tab.active {
background: var(--primary);
color: white;
border-color: var(--primary);
}
.editor {
flex: 1;
min-height: 300px;
padding: 20px;
border: 1px solid #e2e8f0;
border-radius: 10px;
font-family: 'Consolas', monospace;
font-size: 14px;
line-height: 1.6;
resize: vertical;
background: var(--light);
}
/* 高级控制面板 */
.advanced-panel {
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
padding: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
gap: 20px;
}
.effect-controls {
display: grid;
gap: 15px;
}
.effect-slider {
display: flex;
flex-direction: column;
gap: 6px;
}
.effect-slider label {
font-size: 12px;
color: var(--primary);
display: flex;
justify-content: space-between;
}
/* 可视化区域 */
.visualization {
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
padding: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.waveform, .spectrum {
height: 120px;
background: var(--light);
border-radius: 10px;
position: relative;
overflow: hidden;
border: 1px solid #e2e8f0;
}
.timeline {
grid-column: 1 / -1;
height: 100px;
background: var(--light);
border-radius: 10px;
position: relative;
overflow: hidden;
border: 1px solid #e2e8f0;
}
/* 底部控制栏 */
.footer {
grid-column: 1 / -1;
background: rgba(255, 255, 255, 0.95);
padding: 15px 20px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
display: grid;
grid-template-columns: auto 1fr auto;
gap: 20px;
align-items: center;
}
.transport-controls {
display: flex;
gap: 10px;
}
.transport-btn {
padding: 12px 24px;
border-radius: 8px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
}
.play-btn {
background: var(--success);
}
.play-btn:hover {
background: #38a169;
}
.stop-btn {
background: var(--danger);
}
.stop-btn:hover {
background: #e53e3e;
}
.progress-container {
display: flex;
flex-direction: column;
gap: 8px;
}
.progress-bar {
width: 100%;
height: 6px;
background: #e2e8f0;
border-radius: 3px;
overflow: hidden;
position: relative;
}
.progress {
height: 100%;
background: var(--primary);
Back to home |
File page
Subscribe |
Register |
Login
| N