Spaces:
Sleeping
Sleeping
File size: 5,939 Bytes
cfc429a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | * { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; font-size: 13px; background: #1a1a2e; color: #e0e0e0; display: flex; flex-direction: column; height: 100vh; }
/* Feedback Banner */
#feedback-bar {
display: flex; justify-content: center; padding: 6px 12px;
background: #1a0a2e; border-bottom: 1px solid #444;
}
#feedback-btn {
display: inline-block; padding: 8px 40px;
background: #e94560; color: #fff; font-size: 22px; font-weight: bold;
text-decoration: none; border-radius: 6px; letter-spacing: 1px;
}
#feedback-btn:hover { background: #ff6b6b; }
/* Upload Bar */
#upload-bar {
display: flex; align-items: center; gap: 15px; padding: 8px 12px;
background: #16213e; border-bottom: 1px solid #333;
font-size: 24px; flex-wrap: wrap;
}
#upload-bar label { display: flex; align-items: center; gap: 6px; font-size: 24px; }
#upload-bar input[type="file"] { width: 340px; font-size: 21px; }
#upload-bar input[type="number"] { width: 75px; background: #0f3460; border: 1px solid #555; color: #fff; padding: 4px 5px; border-radius: 4px; font-size: 24px; }
#load-btn { padding: 8px 22px; background: #e94560; color: #fff; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 24px; }
#load-btn:hover { background: #ff6b6b; }
#load-status { color: #aaa; font-size: 19px; }
#page-nav { display: inline-flex; align-items: center; gap: 6px; }
#page-nav button { padding: 4px 12px; background: #0f3460; color: #e0e0e0; border: 1px solid #555; border-radius: 4px; cursor: pointer; font-size: 24px; }
#page-nav button:hover { background: #1a1a5e; }
#page-indicator { font-size: 22px; color: #e0e0e0; min-width: 60px; text-align: center; }
/* Toolbar */
#toolbar {
display: flex; align-items: center; gap: 8px; padding: 6px 12px;
background: #0f3460; border-bottom: 1px solid #333; flex-wrap: wrap;
font-size: 24px;
}
.tool-group { display: flex; align-items: center; gap: 4px; padding: 0 6px; border-right: 1px solid #333; }
.tool-group:last-child { border-right: none; }
.tool-group.right { margin-left: auto; }
#toolbar button {
padding: 6px 11px; background: #16213e; color: #e0e0e0; border: 1px solid #555;
border-radius: 3px; cursor: pointer; font-size: 24px;
}
#toolbar button:hover { background: #1a1a5e; border-color: #888; }
#toolbar button:active { background: #e94560; }
#btn-download { background: #1b6b1b; border-color: #2a2; }
#btn-download:hover { background: #2a8a2a; }
#toolbar label { font-size: 24px; }
#toolbar input[type="number"] { font-size: 24px; width: 68px; }
#toolbar input[type="range"] { width: 112px; height: 12px; }
#zoom-slider { width: 112px; vertical-align: middle; }
#zoom-label { font-size: 21px; color: #aaa; min-width: 38px; display: inline-block; }
/* Shortcut Reference Bar */
#shortcut-bar {
display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 6px 12px;
background: #12122a; border-bottom: 1px solid #2a2a4a;
font-size: 20px; color: #888;
}
#shortcut-bar b { color: #bbb; }
/* Progress Bar */
#progress-bar-container {
position: relative; height: 38px; background: #0a0a1a; border-bottom: 1px solid #333;
cursor: pointer; user-select: none;
}
#progress-bar-fill {
height: 100%; width: 0%; background: linear-gradient(90deg, #e94560, #ff6b6b);
transition: none; pointer-events: none;
}
#progress-time {
position: absolute; top: 0; right: 8px; line-height: 38px;
font-size: 15px; color: #aaa; pointer-events: none;
}
/* Main Canvas */
#canvas-wrapper {
flex: 1; overflow: auto; background: #111; position: relative;
}
#canvas-container {
position: relative; display: inline-block;
transform-origin: top left;
}
#score-image {
display: block; user-select: none; -webkit-user-drag: none;
}
#marker-svg {
position: absolute; top: 0; left: 0; pointer-events: none;
}
/* Markers */
.marker {
pointer-events: all; cursor: pointer;
transition: r 0.1s, stroke-width 0.1s;
}
.marker:hover { r: 10; }
.marker.selected { stroke: #ffd700; stroke-width: 3; r: 10; }
.marker.playback-highlight { stroke: #ff3333; stroke-width: 3; r: 11; fill: rgba(255,50,50,0.9); }
.marker.modified { stroke: #00ff88; stroke-width: 2.5; filter: drop-shadow(0 0 3px #00ff88); }
.marker.modified.selected { stroke: #ffd700; stroke-width: 3; filter: drop-shadow(0 0 4px #00ff88); }
.marker.voice1 { fill: rgba(68, 136, 255, 0.7); stroke: #4488ff; stroke-width: 1; }
.marker.voice2 { fill: rgba(255, 68, 68, 0.7); stroke: #ff4444; stroke-width: 1; }
.marker.voice3 { fill: rgba(68, 170, 68, 0.7); stroke: #44aa44; stroke-width: 1; }
.marker.voice4 { fill: rgba(255, 170, 0, 0.7); stroke: #ffaa00; stroke-width: 1; }
.marker.rest-marker { fill: rgba(150, 150, 150, 0.4); stroke: #888; stroke-width: 1; r: 6; }
/* Accidental label next to marker */
.acc-label {
pointer-events: none; font-size: 10px; fill: #ffd700; font-weight: bold;
}
/* Ghost marker for add mode */
.ghost-marker {
fill: rgba(255, 50, 50, 0.5); stroke: #ff3333; stroke-width: 2.5;
stroke-dasharray: 4 2;
}
.ghost-label {
fill: #ff3333; font-size: 14px; font-weight: bold; opacity: 0.9;
}
/* Chord Popup */
#chord-popup {
position: absolute; background: #16213e; border: 1px solid #e94560;
border-radius: 6px; padding: 6px 0; z-index: 100; min-width: 140px;
box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
#chord-popup.hidden { display: none; }
#chord-popup-title { padding: 4px 12px; font-size: 11px; color: #aaa; border-bottom: 1px solid #333; }
#chord-popup-list { list-style: none; }
#chord-popup-list li {
padding: 6px 12px; cursor: pointer; font-size: 13px;
}
#chord-popup-list li:hover { background: #0f3460; }
#chord-popup-list li .voice-dot {
display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px;
}
/* Status Bar */
#status-bar {
display: flex; justify-content: space-between; padding: 5px 12px;
background: #16213e; border-top: 1px solid #333; font-size: 19px; color: #aaa;
}
|