microduck-reachy-simulator / src /ui /simulator.css
laureen
Withdraw Code Training from published main pending fixes
99e34b4
Raw
History Blame Contribute Delete
5.33 kB
.sim-panel { position: fixed; top: 88px; bottom: 100px; width: 238px; z-index: 13; color: #faf8f2; background: rgba(8,8,12,.88); border: 2px solid #faf8f2; height: fit-content; max-height: calc(100dvh - 190px); overflow-y: auto; font: 12px/1.45 ui-monospace, monospace; scrollbar-width: thin; }
.sim-panel-left { left: 18px; } .sim-panel-right { right: 18px; }
.sim-panel .sim-panel-title { display: flex; justify-content: space-between; width: 100%; background: #faf8f2; color: #101018; font: 19px Anton, Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; border: 0; }
.sim-panel-content { padding: 10px; }
.sim-panel fieldset { border: 0; min-width: 0; margin: 0 0 12px; padding: 0; }
.sim-panel legend { color: #ffb366; font-weight: bold; margin: 12px 0 6px; width: 100%; }
.sim-panel button, .sim-panel select, .sim-panel input { font: inherit; color: inherit; }
.sim-panel button { border: 1px solid #716f70; background: #242329; padding: 7px 6px; min-height: 36px; cursor: pointer; touch-action: none; }
.sim-panel button:hover:not(:disabled) { background: #ff7a2f; color: #08080c; }
.sim-panel button:focus-visible, .sim-panel input:focus-visible, .sim-panel select:focus-visible { outline: 2px solid #ffb366; outline-offset: 2px; }
.sim-panel button:disabled { opacity: .35; cursor: default; }
.sim-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.sim-field { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 5px 0; }
.sim-field input, .sim-field select { background: #17171e; border: 1px solid #716f70; width: 85px; min-width: 0; padding: 5px; }
.sim-field input[type=range] { padding: 0; accent-color: #ff7a2f; }
.sim-help { margin-top: 12px; color: #c4c2bd; } .sim-help p { margin-top: 8px; }
.sim-queue { padding-left: 20px; max-height: 70px; overflow-y: auto; }
.sim-error { color: #ffaaa0; overflow-wrap: anywhere; margin-top: 8px; }
.emotion-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 14; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(8,8,12,.9); border: 2px solid #faf8f2; }
.emotion-bar button { min-width: 126px; min-height: 48px; border: 1px solid #ffb366; background: #242329; color: #faf8f2; font: 22px Anton, Impact, sans-serif; letter-spacing: .04em; cursor: pointer; }
.emotion-bar button:hover:not(:disabled) { background: #ff7a2f; color: #08080c; }
.emotion-bar button:disabled { opacity: .35; cursor: default; }
.emotion-status { color: #ffb366; font: 12px ui-monospace, monospace; }
.emotion-error { color: #ffaaa0; max-width: 180px; font: 11px ui-monospace, monospace; }
.script-editor { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(560px, 90vw); max-height: 42vh; overflow: auto; padding: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: rgba(8,8,12,.96); border: 2px solid #faf8f2; color: #faf8f2; font: 12px ui-monospace, monospace; }
.script-editor ol { flex: 1 1 100%; max-height: 22vh; overflow: auto; margin: 0; padding-left: 24px; text-align: left; }
.script-editor li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.script-editor input, .script-editor select { min-width: 120px; padding: 6px; background: #17171e; border: 1px solid #716f70; color: #fff; font: inherit; }
.script-editor button { min-height: 30px; padding: 4px 8px; background: #242329; color: #faf8f2; border: 1px solid #716f70; cursor: pointer; font: inherit; }
.script-editor button:hover:not(:disabled) { background: #ff7a2f; color: #08080c; }
.script-editor.is-collapsed { width: auto; min-width: 190px; justify-content: flex-start; }
.script-collapse { min-width: 28px !important; width: 28px; padding: 0 !important; font-size: 12px !important; }
.script-editor li { align-items: center; }
.script-parallel-check { display: inline-flex; align-items: center; gap: 3px; color: #aaa; font-size: 10px; }
.script-parallel-check input { width: 13px; min-width: 13px; }
.script-actor { display: inline-flex; min-width: 78px; justify-content: center; font-weight: 800; letter-spacing: .04em; text-transform: lowercase; }
.script-delay { display: inline-flex; align-items: center; gap: 3px; color: #bbb; white-space: nowrap; font-size: 10px; }
.script-delay input { width: 42px; min-width: 42px !important; padding: 3px !important; }
.actor-orange { color: #ff9a45; }
.actor-blue { color: #63c5ff; }
.script-remove { min-width: 22px !important; width: 22px; height: 22px; padding: 0 !important; border: 0 !important; font-size: 16px !important; line-height: 1; }
.script-parallel.active { background: #63c5ff; color: #091522; }
.script-ai { flex: 1 1 100%; min-height: 52px; resize: vertical; padding: 6px; background: #17171e; border: 1px solid #716f70; color: #fff; font: 11px ui-monospace, monospace; }
.sim-speech { width: 100%; min-height: 36px; padding: 7px; background: #17171e; border: 1px solid #716f70; color: #fff; font: inherit; }
@media (max-width: 900px) { .sim-panel { width: min(238px, 45vw); max-height: calc(100dvh - 260px); top: 78px; } .sim-panel-left { left: 8px; } .sim-panel-right { right: 8px; } .sim-panel button { min-height: 44px; } .sim-panel .sim-panel-title { font-size: 16px; } .sim-buttons { grid-template-columns: 1fr; } }