style.css 2.8 KB

1234567891011121314151617181920212223242526272829
  1. html, body { height: 100%; margin: 0; }
  2. body { display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #0f172a; color: #e2e8f0; }
  3. #toolbar { padding: 10px 16px; background: #1e293b; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid #334155; }
  4. #toolbar button { padding: 6px 12px; border: none; border-radius: 4px; background: #3b82f6; color: #fff; cursor: pointer; }
  5. #toolbar button:hover { background: #2563eb; }
  6. #toolbar button:disabled { background: #64748b; cursor: not-allowed; }
  7. #status { margin-left: auto; color: #94a3b8; }
  8. #video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; padding: 12px; max-height: 220px; overflow: hidden; }
  9. .video-box { background: #1e293b; border-radius: 8px; overflow: hidden; }
  10. .video-box .title { padding: 8px 12px; font-size: 13px; color: #cbd5e1; }
  11. .video-box img { width: 100%; display: block; background: #000; }
  12. #panorama-panel { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 280px; grid-template-rows: minmax(0, 1fr); gap: 12px; padding: 12px; overflow: hidden; }
  13. #sample-header { padding: 8px 12px; background: #1e293b; border-radius: 8px 8px 0 0; font-size: 14px; color: #cbd5e1; display: flex; justify-content: space-between; align-items: center; }
  14. #zoom-controls { display: flex; align-items: center; gap: 6px; }
  15. #zoom-controls button { padding: 2px 8px; font-size: 13px; background: #334155; border: none; border-radius: 4px; color: #fff; cursor: pointer; }
  16. #zoom-controls button:hover { background: #475569; }
  17. #sample-grid-wrapper { height: 100%; background: #111; border-radius: 0 0 8px 8px; overflow: hidden; position: relative; cursor: grab; }
  18. #sample-grid-wrapper:active { cursor: grabbing; }
  19. #sample-canvas { display: block; width: 100%; height: 100%; }
  20. #point-list { background: #1e293b; border-radius: 8px; padding: 12px; height: 100%; overflow-y: auto; }
  21. #point-list h3 { margin-top: 0; }
  22. #point-list label { display: block; margin-bottom: 8px; font-size: 13px; }
  23. #point-list input { width: 80px; padding: 4px; border-radius: 4px; border: 1px solid #475569; background: #0f172a; color: #fff; }
  24. #point-list button { margin-top: 8px; margin-right: 8px; padding: 6px 10px; border: none; border-radius: 4px; background: #22c55e; color: #fff; cursor: pointer; }
  25. button:disabled { background: #64748b; cursor: not-allowed; }
  26. #points { list-style: none; padding: 0; margin: 0; }
  27. #point-list h4 { margin: 10px 0 6px 0; font-size: 13px; color: #94a3b8; }
  28. #points li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #334155; font-size: 13px; }
  29. #log-panel { padding: 12px; background: #1e293b; font-family: monospace; font-size: 12px; max-height: 160px; overflow: auto; border-top: 1px solid #334155; }