diff --git a/index.html b/index.html index 008a796..217f964 100644 --- a/index.html +++ b/index.html @@ -123,8 +123,15 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color: width: 22px; height: 22px; border-radius: 50%; background: #e2e8f0; color: #4a5568; display: flex; align-items: center; justify-content: center; - font-size: 11px; font-weight: 700; flex-shrink: 0; + font-size: 11px; font-weight: 700; flex-shrink: 0; cursor: pointer; + position: relative; } +.flag-header .idx::after { + content: ''; position: absolute; + inset: -6px; border-radius: 50%; +} +.flag-header .idx:hover { background: #cbd5e0; } +.flag-header .idx.has-marker { background: #2b6cb0; color: #fff; } .flag-header .status-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; } @@ -145,6 +152,8 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color: border: none; border-radius: 4px; cursor: pointer; font-size: 11px; padding: 4px 8px; } +.flag-header .actions .edit-btn { background: #e2e8f0; color: #4a5568; } +.flag-header .actions .edit-btn:hover { background: #cbd5e0; } .flag-header .actions .place-btn { background: #2b6cb0; color: #fff; } .flag-header .actions .place-btn:hover { background: #1a4f8b; } .flag-header .actions .remove-btn { background: #e53e3e; color: #fff; } @@ -164,8 +173,9 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color: .photo-preview { margin-bottom: 6px; max-width: 100%; border-radius: 6px; overflow: hidden; } .photo-preview img { max-width: 100%; max-height: 140px; display: block; border-radius: 6px; - border: 1px solid #e2e8f0; + border: 1px solid #e2e8f0; cursor: pointer; } +.photo-preview img:hover { opacity: 0.85; } .photo-actions { display: flex; gap: 6px; align-items: center; } .photo-actions .photo-btn { padding: 4px 10px; border: 1px solid #ccc; border-radius: 4px; @@ -186,6 +196,40 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color: .help-text { font-size: 12px; color: #718096; margin-top: 6px; } .flag-marker-tooltip { font-size: 1.2em !important; padding: 6px 12px !important; white-space: nowrap; } + +.modal-overlay { + display: none; position: fixed; inset: 0; z-index: 9999; + background: rgba(0,0,0,0.4); align-items: center; justify-content: center; +} +.modal-overlay.open { display: flex; } +.modal-box { + background: #fff; border-radius: 10px; padding: 20px 24px; + min-width: 320px; max-width: 420px; box-shadow: 0 8px 30px rgba(0,0,0,0.2); +} +.modal-box h3 { margin-bottom: 12px; font-size: 16px; } +.modal-box input { + width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; + font-size: 14px; margin-bottom: 16px; box-sizing: border-box; +} +.modal-actions { display: flex; gap: 8px; justify-content: flex-end; } +.modal-actions button { + padding: 6px 16px; border: 1px solid #aaa; border-radius: 6px; + background: #fff; cursor: pointer; font-size: 13px; +} +.modal-actions button:hover { background: #e9ecef; } +.modal-actions .btn-apply { background: #2b6cb0; color: #fff; border-color: #2b6cb0; } +.modal-actions .btn-apply:hover { background: #1a4f8b !important; } + +.photo-overlay { + display: none; position: fixed; inset: 0; z-index: 99999; + background: rgba(0,0,0,0.85); align-items: center; justify-content: center; + cursor: zoom-out; +} +.photo-overlay.open { display: flex; } +.photo-overlay img { + max-width: 90vw; max-height: 90vh; border-radius: 8px; + box-shadow: 0 4px 40px rgba(0,0,0,0.5); cursor: default; +} @@ -242,6 +286,21 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color:
+ + +
+ Photo +
+