Spaces:
Running on Zero
Running on Zero
Deploy Karate Wiener (kimodo kata maker)
Browse files
app.py
CHANGED
|
@@ -295,12 +295,11 @@ html, body, gradio-app, .gradio-container { height: 100%; margin: 0; overflow: h
|
|
| 295 |
}
|
| 296 |
#kimodo-drawer-resizer .grip {
|
| 297 |
position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
|
| 298 |
-
width: 4px; height:
|
| 299 |
-
|
| 300 |
-
transition: background .15s ease, box-shadow .15s ease;
|
| 301 |
}
|
| 302 |
#kimodo-drawer-resizer:hover .grip,
|
| 303 |
-
#kimodo-drawer-resizer.dragging .grip { background: #6fd0a0;
|
| 304 |
.kimodo-drawer h2 {
|
| 305 |
margin: 0 0 6px;
|
| 306 |
font-size: 14px;
|
|
@@ -4926,8 +4925,10 @@ _COMPOSE_JS = r"""
|
|
| 4926 |
hintHTML = '<b style="color:#c79bff">Move #' + activeIdx + '</b> created. Keep adding stances with <b style="color:#c79bff">+ Add a stance</b> or keep editing.';
|
| 4927 |
}
|
| 4928 |
else if (activeIdx >= 1) {
|
| 4929 |
-
|
| 4930 |
-
|
|
|
|
|
|
|
| 4931 |
}
|
| 4932 |
else hintHTML = 'Tap a move to edit it, or + add the next stance below.';
|
| 4933 |
if (hintHTML) { const hint = document.createElement('div'); hint.className = 'kimodo-cz-hint' + (hintHTML !== _czLastHint ? ' pulse' : ''); hint.innerHTML = hintHTML; topbar.appendChild(hint); _czLastHint = hintHTML; }
|
|
|
|
| 295 |
}
|
| 296 |
#kimodo-drawer-resizer .grip {
|
| 297 |
position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
|
| 298 |
+
width: 4px; height: 30px; border-radius: 3px; background: #c9b6ea; /* plain bar (NOT dots) so it isn't confused with the duration handle */
|
| 299 |
+
transition: background .15s ease;
|
|
|
|
| 300 |
}
|
| 301 |
#kimodo-drawer-resizer:hover .grip,
|
| 302 |
+
#kimodo-drawer-resizer.dragging .grip { background: #6fd0a0; }
|
| 303 |
.kimodo-drawer h2 {
|
| 304 |
margin: 0 0 6px;
|
| 305 |
font-size: 14px;
|
|
|
|
| 4925 |
hintHTML = '<b style="color:#c79bff">Move #' + activeIdx + '</b> created. Keep adding stances with <b style="color:#c79bff">+ Add a stance</b> or keep editing.';
|
| 4926 |
}
|
| 4927 |
else if (activeIdx >= 1) {
|
| 4928 |
+
hintHTML = '<span style="color:#9a9aa3">Editing pose on 3d viewer</span><br>'
|
| 4929 |
+
+ 'drag <b style="color:#6fd0a0">ring</b> to move • <b style="color:#e8736a">knob</b> to rotate<br>'
|
| 4930 |
+
+ '<span style="color:#9a9aa3">changing duration</span><br>'
|
| 4931 |
+
+ 'drag <b style="color:#c79bff">…</b> up/down';
|
| 4932 |
}
|
| 4933 |
else hintHTML = 'Tap a move to edit it, or + add the next stance below.';
|
| 4934 |
if (hintHTML) { const hint = document.createElement('div'); hint.className = 'kimodo-cz-hint' + (hintHTML !== _czLastHint ? ' pulse' : ''); hint.innerHTML = hintHTML; topbar.appendChild(hint); _czLastHint = hintHTML; }
|