This commit is contained in:
+8
-7
@@ -34,7 +34,7 @@
|
||||
|
||||
<!-- Wireframe toggle -->
|
||||
<button id="wireframe-btn" title="Toggle wireframe"
|
||||
class="flex items-center justify-center w-8 h-8 bg-surface-900/90 backdrop-blur-sm border border-gray-700 hover:border-gray-600 text-gray-400 hover:text-white rounded-xl transition-all">
|
||||
class="flex items-center justify-center w-10 h-10 md:w-8 md:h-8 bg-surface-900/90 backdrop-blur-sm border border-gray-700 hover:border-gray-600 text-gray-400 hover:text-white rounded-xl transition-all">
|
||||
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.75">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M21 7.5l-9-5.25L3 7.5m18 0l-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9" />
|
||||
</svg>
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<!-- Reset camera -->
|
||||
<button id="reset-camera-btn" title="Reset camera"
|
||||
class="flex items-center justify-center w-8 h-8 bg-surface-900/90 backdrop-blur-sm border border-gray-700 hover:border-gray-600 text-gray-400 hover:text-white rounded-xl transition-all">
|
||||
class="flex items-center justify-center w-10 h-10 md:w-8 md:h-8 bg-surface-900/90 backdrop-blur-sm border border-gray-700 hover:border-gray-600 text-gray-400 hover:text-white rounded-xl transition-all">
|
||||
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.75">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99" />
|
||||
</svg>
|
||||
@@ -51,7 +51,7 @@
|
||||
<!-- Copy link -->
|
||||
<button id="copy-link-btn"
|
||||
data-url="<%= shareUrl %>"
|
||||
class="flex items-center gap-2 bg-surface-900/90 backdrop-blur-sm border border-gray-700 hover:border-gray-600 text-gray-300 hover:text-white rounded-xl px-3.5 py-2 text-xs font-medium transition-all">
|
||||
class="flex items-center gap-2 bg-surface-900/90 backdrop-blur-sm border border-gray-700 hover:border-gray-600 text-gray-300 hover:text-white rounded-xl px-3.5 py-2.5 md:py-2 text-xs font-medium transition-all">
|
||||
<svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244" />
|
||||
</svg>
|
||||
@@ -61,7 +61,7 @@
|
||||
<!-- PDF toggle (only shown if PDFs exist) -->
|
||||
<% if (pdfs.length > 0) { %>
|
||||
<button id="pdf-toggle-btn"
|
||||
class="flex items-center gap-2 bg-surface-900/90 backdrop-blur-sm border border-gray-700 hover:border-gray-600 text-gray-300 hover:text-white rounded-xl px-3.5 py-2 text-xs font-medium transition-all">
|
||||
class="flex items-center gap-2 bg-surface-900/90 backdrop-blur-sm border border-gray-700 hover:border-gray-600 text-gray-300 hover:text-white rounded-xl px-3.5 py-2.5 md:py-2 text-xs font-medium transition-all">
|
||||
<svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z" />
|
||||
</svg>
|
||||
@@ -85,8 +85,9 @@
|
||||
</div>
|
||||
|
||||
<!-- Bottom-right orbit hint -->
|
||||
<div class="fixed bottom-6 right-6 z-20 text-right hidden md:block">
|
||||
<p class="text-xs text-gray-700">Left drag — rotate · Right drag — pan · Scroll — zoom</p>
|
||||
<div class="fixed bottom-6 right-6 z-20 text-right">
|
||||
<p class="text-xs text-gray-700 hidden md:block">Left drag — rotate · Right drag — pan · Scroll — zoom</p>
|
||||
<p class="text-xs text-gray-700 md:hidden">1 finger — rotate · 2 fingers — pan/zoom</p>
|
||||
</div>
|
||||
|
||||
<!-- PDF slide-in panel -->
|
||||
@@ -98,7 +99,7 @@
|
||||
<h2 class="text-sm font-semibold text-white">Shop Diagrams</h2>
|
||||
<p class="text-xs text-gray-500 mt-0.5"><%= model.name %></p>
|
||||
</div>
|
||||
<button id="pdf-close-btn" class="p-1.5 rounded-lg text-gray-500 hover:text-white hover:bg-surface-800 transition-colors">
|
||||
<button id="pdf-close-btn" class="p-2 rounded-lg text-gray-500 hover:text-white hover:bg-surface-800 transition-colors">
|
||||
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
|
||||
</svg>
|
||||
|
||||
Reference in New Issue
Block a user