diff options
Diffstat (limited to 'tools/mq_editor/style.css')
| -rw-r--r-- | tools/mq_editor/style.css | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/tools/mq_editor/style.css b/tools/mq_editor/style.css index ed518f5..399746c 100644 --- a/tools/mq_editor/style.css +++ b/tools/mq_editor/style.css @@ -12,6 +12,7 @@ input[type="file"] { display: none; } .main-area { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; } .canvas-col { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; } .canvas-wrap { position: relative; } +.right-col { display: flex; flex-direction: column; gap: 6px; } /* === Toolbar === */ .toolbar { margin-bottom: 10px; padding: 10px; background: #2a2a2a; border-radius: 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; } @@ -36,6 +37,14 @@ button.contour-active { background: #145; border-color: #0cc; color: #aff; } .param-group:last-child { border-bottom: none; } .group-label { grid-column: 1 / -1; font-size: 9px; color: #666; text-transform: uppercase; letter-spacing: 1px; } +/* Synthesis param group (column layout) */ +.param-synth { display: block; padding: 8px 14px; border-bottom: 1px solid #333; } +.param-synth:last-child { border-bottom: none; } +.param-synth .group-label { display: block; margin-bottom: 4px; } +.param-synth label { display: flex; align-items: center; gap: 6px; font-size: 12px; margin: 2px 0; cursor: pointer; white-space: nowrap; } +.param-synth label input[type="range"] { flex: 1; min-width: 80px; max-width: 120px; } +.param-synth #globalResParams { margin-top: 4px; padding: 4px 0 2px 12px; border-left: 2px solid #555; } + /* === Canvas & overlays === */ #canvas { border: 1px solid #555; background: #000; cursor: crosshair; display: block; flex-shrink: 0; } #cursorCanvas, #playheadCanvas { position: absolute; top: 0; left: 0; pointer-events: none; } @@ -43,6 +52,10 @@ button.contour-active { background: #145; border-color: #0cc; color: #aff; } #keepOverlay { position: absolute; bottom: 10px; left: 10px; background: rgba(30,30,30,.88); border: 1px solid #555; border-radius: 3px; padding: 4px 8px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #aaa; user-select: none; } #keepOverlay input[type="range"] { width: 90px; } +/* Partial spectrum (below right panel) */ +#partialSpectrumViewer { width: 260px; box-sizing: border-box; background: rgba(30,30,30,.9); border: 1px solid #555; border-radius: 3px; overflow: hidden; } +#partialSpectrumCanvas { display: block; } + /* === Amp edit panel === */ #ampEditPanel { display: none; } .amp-edit-header { font-size: 10px; color: #555; padding: 2px 0 3px 1px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .5px; } @@ -58,7 +71,7 @@ button.contour-active { background: #145; border-color: #0cc; color: #aff; } #noSelMsg { color: #555; font-size: 13px; padding: 2px 0; } /* === Partial properties === */ -.prop-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; padding: 2px 0; } +.prop-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 2px 0; } .prop-label { color: #777; font-size: 12px; } #propSwatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; } .partial-actions { display: flex; gap: 4px; margin-top: 8px; } @@ -77,12 +90,10 @@ kbd { font-size: 10px; opacity: 0.55; } .synth-field-wrap input[type="number"]:focus, .synth-grid input[type="number"]:focus { border-color: #666; outline: none; } -/* === Synth section === */ -.synth-section { border-top: 1px solid #444; padding-top: 8px; margin-top: auto; } +/* === Synth grid (per-partial synth tab) === */ .synth-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: center; } .synth-grid span { color: #888; font-size: 12px; } .synth-field-wrap { display: flex; align-items: center; gap: 4px; } -#globalResParams { margin-top: 4px; padding: 4px 0 2px 12px; border-left: 2px solid #555; } .slider-val { width: 44px; text-align: right; } /* === Jog slider === */ @@ -93,11 +104,12 @@ kbd { font-size: 10px; opacity: 0.55; } /* === Resonator badge === */ .res-badge { font-size: 9px; color: #8cf; border: 1px solid #8cf; border-radius: 2px; padding: 0 3px; vertical-align: middle; margin-left: 4px; opacity: .8; } +.sine-badge { color: #aaa; border-color: #aaa; } /* === Status & tooltip === */ #fileLabel { font-size: 13px; color: #8af; opacity: .8; } -#status { margin-top: 10px; padding: 8px; background: #2a2a2a; border-radius: 4px; min-height: 20px; } -.info { color: #4af; } +#status { margin-top: 10px; padding: 8px; background: #2a2a2a; border-radius: 4px; min-height: 20px; color: #ccc; } +.info { color: #ccc; } .warn { color: #fa4; } .error { color: #f44; } #tooltip { position: fixed; display: none; background: #2a2a2a; padding: 4px 8px; border: 1px solid #555; border-radius: 3px; pointer-events: none; font-size: 11px; z-index: 1000; } |
