Spaces:
Running
on
Zero
Running
on
Zero
xiaoyuxi
commited on
Commit
·
1b4cfe7
1
Parent(s):
590e8f9
vggt_da
Browse files- _viz/viz_template.html +37 -34
_viz/viz_template.html
CHANGED
|
@@ -76,10 +76,10 @@
|
|
| 76 |
left: 50%;
|
| 77 |
transform: translateX(-50%);
|
| 78 |
background: rgba(44, 44, 44, 0.95);
|
| 79 |
-
padding:
|
| 80 |
-
border-radius:
|
| 81 |
display: flex;
|
| 82 |
-
gap:
|
| 83 |
align-items: center;
|
| 84 |
pointer-events: auto;
|
| 85 |
box-shadow: 0 4px 10px var(--shadow);
|
|
@@ -88,10 +88,10 @@
|
|
| 88 |
}
|
| 89 |
|
| 90 |
#timeline {
|
| 91 |
-
width:
|
| 92 |
-
height:
|
| 93 |
background: rgba(255, 255, 255, 0.1);
|
| 94 |
-
border-radius:
|
| 95 |
position: relative;
|
| 96 |
cursor: pointer;
|
| 97 |
}
|
|
@@ -100,13 +100,13 @@
|
|
| 100 |
position: absolute;
|
| 101 |
height: 100%;
|
| 102 |
background: var(--primary);
|
| 103 |
-
border-radius:
|
| 104 |
width: 0%;
|
| 105 |
}
|
| 106 |
|
| 107 |
#playback-controls {
|
| 108 |
display: flex;
|
| 109 |
-
gap:
|
| 110 |
align-items: center;
|
| 111 |
}
|
| 112 |
|
|
@@ -114,8 +114,8 @@
|
|
| 114 |
background: rgba(255, 255, 255, 0.08);
|
| 115 |
border: 1px solid var(--border);
|
| 116 |
color: var(--text);
|
| 117 |
-
padding:
|
| 118 |
-
border-radius:
|
| 119 |
cursor: pointer;
|
| 120 |
display: flex;
|
| 121 |
align-items: center;
|
|
@@ -123,6 +123,7 @@
|
|
| 123 |
transition: background 0.2s, transform 0.2s;
|
| 124 |
font-family: 'Inter', sans-serif;
|
| 125 |
font-weight: 500;
|
|
|
|
| 126 |
}
|
| 127 |
|
| 128 |
button:hover {
|
|
@@ -140,15 +141,16 @@
|
|
| 140 |
background: rgba(255, 255, 255, 0.08);
|
| 141 |
border: 1px solid var(--border);
|
| 142 |
color: var(--text);
|
| 143 |
-
padding:
|
| 144 |
-
border-radius:
|
| 145 |
cursor: pointer;
|
| 146 |
font-family: 'Inter', sans-serif;
|
|
|
|
| 147 |
}
|
| 148 |
|
| 149 |
.icon {
|
| 150 |
-
width:
|
| 151 |
-
height:
|
| 152 |
fill: currentColor;
|
| 153 |
}
|
| 154 |
|
|
@@ -159,11 +161,11 @@
|
|
| 159 |
transform: translateX(-50%);
|
| 160 |
background: var(--surface);
|
| 161 |
color: var(--text);
|
| 162 |
-
padding: 6px
|
| 163 |
-
border-radius:
|
| 164 |
-
font-size:
|
| 165 |
white-space: nowrap;
|
| 166 |
-
margin-bottom:
|
| 167 |
opacity: 0;
|
| 168 |
transition: opacity 0.2s;
|
| 169 |
pointer-events: none;
|
|
@@ -203,7 +205,7 @@
|
|
| 203 |
}
|
| 204 |
|
| 205 |
#settings-panel::-webkit-scrollbar {
|
| 206 |
-
width:
|
| 207 |
}
|
| 208 |
|
| 209 |
#settings-panel::-webkit-scrollbar-track {
|
|
@@ -212,7 +214,7 @@
|
|
| 212 |
|
| 213 |
#settings-panel::-webkit-scrollbar-thumb {
|
| 214 |
background-color: var(--primary-light);
|
| 215 |
-
border-radius:
|
| 216 |
}
|
| 217 |
|
| 218 |
@media (max-height: 700px) {
|
|
@@ -374,31 +376,32 @@
|
|
| 374 |
}
|
| 375 |
|
| 376 |
#loading-text {
|
| 377 |
-
margin-top:
|
| 378 |
-
font-size:
|
| 379 |
color: var(--text);
|
| 380 |
font-weight: 500;
|
| 381 |
}
|
| 382 |
|
| 383 |
#frame-counter {
|
| 384 |
color: var(--text-secondary);
|
| 385 |
-
font-size:
|
| 386 |
font-weight: 500;
|
| 387 |
-
min-width:
|
| 388 |
text-align: center;
|
| 389 |
-
padding: 0
|
| 390 |
}
|
| 391 |
|
| 392 |
.control-btn {
|
| 393 |
background: rgba(255, 255, 255, 0.08);
|
| 394 |
border: 1px solid var(--border);
|
| 395 |
-
padding:
|
| 396 |
-
border-radius:
|
| 397 |
cursor: pointer;
|
| 398 |
display: flex;
|
| 399 |
align-items: center;
|
| 400 |
justify-content: center;
|
| 401 |
transition: all 0.2s ease;
|
|
|
|
| 402 |
}
|
| 403 |
|
| 404 |
.control-btn:hover {
|
|
@@ -460,9 +463,9 @@
|
|
| 460 |
}
|
| 461 |
|
| 462 |
.loading-subtitle {
|
| 463 |
-
font-size:
|
| 464 |
color: var(--text-secondary);
|
| 465 |
-
margin-top:
|
| 466 |
}
|
| 467 |
|
| 468 |
#reset-view-btn {
|
|
@@ -512,15 +515,15 @@
|
|
| 512 |
transform: translateX(-50%);
|
| 513 |
background: var(--primary);
|
| 514 |
color: white;
|
| 515 |
-
font-size:
|
| 516 |
-
padding: 4px
|
| 517 |
-
border-radius:
|
| 518 |
opacity: 0;
|
| 519 |
pointer-events: none;
|
| 520 |
transition: opacity 0.3s;
|
| 521 |
white-space: nowrap;
|
| 522 |
bottom: 100%;
|
| 523 |
-
margin-bottom:
|
| 524 |
}
|
| 525 |
|
| 526 |
h2:hover .tooltip-drag {
|
|
@@ -682,7 +685,7 @@
|
|
| 682 |
<div id="loading-overlay">
|
| 683 |
<!-- <div class="spinner"></div> -->
|
| 684 |
<div id="loading-text"></div>
|
| 685 |
-
<div class="loading-subtitle" style="font-size:
|
| 686 |
</div>
|
| 687 |
|
| 688 |
<!-- Libraries -->
|
|
|
|
| 76 |
left: 50%;
|
| 77 |
transform: translateX(-50%);
|
| 78 |
background: rgba(44, 44, 44, 0.95);
|
| 79 |
+
padding: 6px 8px;
|
| 80 |
+
border-radius: 6px;
|
| 81 |
display: flex;
|
| 82 |
+
gap: 8px;
|
| 83 |
align-items: center;
|
| 84 |
pointer-events: auto;
|
| 85 |
box-shadow: 0 4px 10px var(--shadow);
|
|
|
|
| 88 |
}
|
| 89 |
|
| 90 |
#timeline {
|
| 91 |
+
width: 200px;
|
| 92 |
+
height: 4px;
|
| 93 |
background: rgba(255, 255, 255, 0.1);
|
| 94 |
+
border-radius: 2px;
|
| 95 |
position: relative;
|
| 96 |
cursor: pointer;
|
| 97 |
}
|
|
|
|
| 100 |
position: absolute;
|
| 101 |
height: 100%;
|
| 102 |
background: var(--primary);
|
| 103 |
+
border-radius: 2px;
|
| 104 |
width: 0%;
|
| 105 |
}
|
| 106 |
|
| 107 |
#playback-controls {
|
| 108 |
display: flex;
|
| 109 |
+
gap: 4px;
|
| 110 |
align-items: center;
|
| 111 |
}
|
| 112 |
|
|
|
|
| 114 |
background: rgba(255, 255, 255, 0.08);
|
| 115 |
border: 1px solid var(--border);
|
| 116 |
color: var(--text);
|
| 117 |
+
padding: 4px 6px;
|
| 118 |
+
border-radius: 3px;
|
| 119 |
cursor: pointer;
|
| 120 |
display: flex;
|
| 121 |
align-items: center;
|
|
|
|
| 123 |
transition: background 0.2s, transform 0.2s;
|
| 124 |
font-family: 'Inter', sans-serif;
|
| 125 |
font-weight: 500;
|
| 126 |
+
font-size: 6px;
|
| 127 |
}
|
| 128 |
|
| 129 |
button:hover {
|
|
|
|
| 141 |
background: rgba(255, 255, 255, 0.08);
|
| 142 |
border: 1px solid var(--border);
|
| 143 |
color: var(--text);
|
| 144 |
+
padding: 4px 6px;
|
| 145 |
+
border-radius: 3px;
|
| 146 |
cursor: pointer;
|
| 147 |
font-family: 'Inter', sans-serif;
|
| 148 |
+
font-size: 6px;
|
| 149 |
}
|
| 150 |
|
| 151 |
.icon {
|
| 152 |
+
width: 10px;
|
| 153 |
+
height: 10px;
|
| 154 |
fill: currentColor;
|
| 155 |
}
|
| 156 |
|
|
|
|
| 161 |
transform: translateX(-50%);
|
| 162 |
background: var(--surface);
|
| 163 |
color: var(--text);
|
| 164 |
+
padding: 3px 6px;
|
| 165 |
+
border-radius: 3px;
|
| 166 |
+
font-size: 7px;
|
| 167 |
white-space: nowrap;
|
| 168 |
+
margin-bottom: 4px;
|
| 169 |
opacity: 0;
|
| 170 |
transition: opacity 0.2s;
|
| 171 |
pointer-events: none;
|
|
|
|
| 205 |
}
|
| 206 |
|
| 207 |
#settings-panel::-webkit-scrollbar {
|
| 208 |
+
width: 3px;
|
| 209 |
}
|
| 210 |
|
| 211 |
#settings-panel::-webkit-scrollbar-track {
|
|
|
|
| 214 |
|
| 215 |
#settings-panel::-webkit-scrollbar-thumb {
|
| 216 |
background-color: var(--primary-light);
|
| 217 |
+
border-radius: 3px;
|
| 218 |
}
|
| 219 |
|
| 220 |
@media (max-height: 700px) {
|
|
|
|
| 376 |
}
|
| 377 |
|
| 378 |
#loading-text {
|
| 379 |
+
margin-top: 8px;
|
| 380 |
+
font-size: 9px;
|
| 381 |
color: var(--text);
|
| 382 |
font-weight: 500;
|
| 383 |
}
|
| 384 |
|
| 385 |
#frame-counter {
|
| 386 |
color: var(--text-secondary);
|
| 387 |
+
font-size: 7px;
|
| 388 |
font-weight: 500;
|
| 389 |
+
min-width: 60px;
|
| 390 |
text-align: center;
|
| 391 |
+
padding: 0 4px;
|
| 392 |
}
|
| 393 |
|
| 394 |
.control-btn {
|
| 395 |
background: rgba(255, 255, 255, 0.08);
|
| 396 |
border: 1px solid var(--border);
|
| 397 |
+
padding: 4px 6px;
|
| 398 |
+
border-radius: 3px;
|
| 399 |
cursor: pointer;
|
| 400 |
display: flex;
|
| 401 |
align-items: center;
|
| 402 |
justify-content: center;
|
| 403 |
transition: all 0.2s ease;
|
| 404 |
+
font-size: 6px;
|
| 405 |
}
|
| 406 |
|
| 407 |
.control-btn:hover {
|
|
|
|
| 463 |
}
|
| 464 |
|
| 465 |
.loading-subtitle {
|
| 466 |
+
font-size: 7px;
|
| 467 |
color: var(--text-secondary);
|
| 468 |
+
margin-top: 4px;
|
| 469 |
}
|
| 470 |
|
| 471 |
#reset-view-btn {
|
|
|
|
| 515 |
transform: translateX(-50%);
|
| 516 |
background: var(--primary);
|
| 517 |
color: white;
|
| 518 |
+
font-size: 6px;
|
| 519 |
+
padding: 2px 4px;
|
| 520 |
+
border-radius: 2px;
|
| 521 |
opacity: 0;
|
| 522 |
pointer-events: none;
|
| 523 |
transition: opacity 0.3s;
|
| 524 |
white-space: nowrap;
|
| 525 |
bottom: 100%;
|
| 526 |
+
margin-bottom: 4px;
|
| 527 |
}
|
| 528 |
|
| 529 |
h2:hover .tooltip-drag {
|
|
|
|
| 685 |
<div id="loading-overlay">
|
| 686 |
<!-- <div class="spinner"></div> -->
|
| 687 |
<div id="loading-text"></div>
|
| 688 |
+
<div class="loading-subtitle" style="font-size: medium;">Interactive Viewer of 3D Tracking</div>
|
| 689 |
</div>
|
| 690 |
|
| 691 |
<!-- Libraries -->
|