diff --git a/index.html b/index.html index ef17bf0..2422267 100644 --- a/index.html +++ b/index.html @@ -189,6 +189,104 @@ #sidebar:not(.collapsed) #sidebar-toggle-icon { transform: rotate(180deg); } + + /* Lock Annotation Styles */ + #lock-annotation { + position: absolute; + background: rgba(255, 255, 255, 0.95); + padding: 12px 20px; + border-radius: 12px; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); + display: none; + pointer-events: auto; + font-size: 16px; + font-weight: 400; + z-index: 100; + border-left: 4px solid var(--primary); + backdrop-filter: blur(10px); + color: var(--text); + max-width: 250px; + } + + #leader-line { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + pointer-events: none; + z-index: 99; + display: none; + } + + #leader-line path { + fill: none; + stroke: #444444; /* Dark gray */ + stroke-width: 2; + opacity: 0.8; + } + + /* Debug Overlay */ + #camera-debug { + position: absolute; + top: 20px; + left: 20px; + background: rgba(0, 0, 0, 0.8); + color: #00ff00; + padding: 15px; + border-radius: 10px; + font-family: 'Courier New', Courier, monospace; + font-size: 12px; + pointer-events: none; + z-index: 1000; + display: none; + border: 1px solid #00ff00; + box-shadow: 0 0 10px rgba(0, 255, 0, 0.3); + pointer-events: auto; /* Enable interaction for the button */ + } + + #camera-debug h3 { + margin: 0 0 10px 0; + font-size: 14px; + border-bottom: 1px solid #00ff00; + padding-bottom: 5px; + display: flex; + justify-content: space-between; + align-items: center; + } + + #btn-copy-debug { + background: #00ff00; + color: black; + border: none; + padding: 2px 8px; + border-radius: 4px; + font-size: 10px; + font-weight: bold; + cursor: pointer; + transition: all 0.2s; + } + + #btn-copy-debug:hover { + background: #00cc00; + transform: scale(1.05); + } + + #btn-copy-debug:active { + transform: scale(0.95); + } + + #debug-toggle-hint { + position: absolute; + bottom: 80px; + left: 20px; + background: rgba(255, 255, 255, 0.2); + padding: 5px 10px; + border-radius: 5px; + font-size: 10px; + color: #666; + pointer-events: none; + } @@ -237,12 +335,26 @@
Click to interact
+
Abiri con llave
+ + +
🖱️ Click to interact | Right-click to pan | Simulator on the right
+
+

+ Camera Debug + +

+
POS: 0, 0, 0
+
TGT: 0, 0, 0
+
+
Press 'D' for Camera Coordinates
+