Spaces:
Sleeping
Sleeping
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | |
| background-color: #f8f9fa; | |
| color: #1a1a1a; | |
| line-height: 1.5; | |
| } | |
| #root { | |
| width: 100vw; | |
| height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .dashboard-container { | |
| display: grid; | |
| grid-template-columns: 280px 1fr 320px; | |
| grid-template-rows: 1fr 200px; | |
| gap: 12px; | |
| padding: 12px; | |
| height: 100vh; | |
| width: 100%; | |
| overflow: hidden; | |
| } | |
| .header-panel { | |
| grid-column: 1 / -1; | |
| background: #ffffff; | |
| padding: 12px 24px; | |
| border-bottom: 1px solid #dee2e6; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); | |
| } | |
| .admin-panel { | |
| grid-column: 1 / 2; | |
| grid-row: 1 / 3; | |
| border: 1px solid #dee2e6; | |
| background: #ffffff; | |
| padding: 16px; | |
| overflow-y: auto; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .map-panel { | |
| grid-column: 2 / 3; | |
| grid-row: 1 / 2; | |
| border: 1px solid #dee2e6; | |
| background: #f0f0f0; | |
| position: relative; | |
| min-height: 0; /* Important for flex/grid overflow */ | |
| border-radius: 8px; | |
| overflow: hidden; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); | |
| } | |
| .sidebar-panel { | |
| grid-column: 3 / 4; | |
| grid-row: 1 / 3; | |
| border: 1px solid #dee2e6; | |
| background: #ffffff; | |
| padding: 0; | |
| overflow: hidden; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .sidebar-roster-section { | |
| flex: 1; | |
| overflow-y: auto; | |
| border-bottom: 1px solid #eee; | |
| } | |
| .sidebar-routes-section { | |
| flex: 1; | |
| overflow-y: auto; | |
| background: #fcfcfc; | |
| } | |
| .console-panel { | |
| grid-column: 2 / 3; | |
| grid-row: 2 / 3; | |
| border: 1px solid #dee2e6; | |
| background: #fdfdfd; | |
| padding: 16px; | |
| overflow-y: auto; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); | |
| } | |
| /* Modal Styling */ | |
| .modal-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: rgba(0, 0, 0, 0.5); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| z-index: 9999; | |
| } | |
| .modal-content { | |
| background: white; | |
| padding: 24px; | |
| border: 1px solid #333; | |
| width: 400px; | |
| max-width: 90%; | |
| } | |
| .modal-header { | |
| font-size: 1.2rem; | |
| font-weight: bold; | |
| margin-bottom: 16px; | |
| border-bottom: 1px solid #ccc; | |
| padding-bottom: 8px; | |
| display: flex; | |
| justify-content: space-between; | |
| } | |
| .modal-body p { | |
| margin-bottom: 8px; | |
| } | |
| .btn-close { | |
| background: none; | |
| border: none; | |
| font-size: 1.5rem; | |
| cursor: pointer; | |
| } | |
| .flight-item { | |
| padding: 12px; | |
| border: 1px solid #eee; | |
| margin-bottom: 8px; | |
| cursor: pointer; | |
| background: #fafafa; | |
| } | |
| .flight-item:hover { | |
| background: #e0e0e0; | |
| } | |
| .dev-actions { | |
| display: flex; | |
| gap: 8px; | |
| margin-top: 12px; | |
| } | |
| .btn { | |
| padding: 8px 16px; | |
| border: 1px solid #ced4da; | |
| background: #e9ecef; | |
| color: #212529; | |
| font-weight: 500; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .btn:hover { | |
| background: #dee2e6; | |
| border-color: #adb5bd; | |
| } | |
| /* Dim popup styling */ | |
| .dim-popup .leaflet-popup-content-wrapper { | |
| background: rgba(255, 255, 255, 0.8) ; | |
| box-shadow: none ; | |
| border-radius: 4px; | |
| } | |
| .dim-popup .leaflet-popup-tip { | |
| background: rgba(255, 255, 255, 0.8) ; | |
| box-shadow: none ; | |
| } | |
| /* Bottom-left coordinate toast */ | |
| .coordinate-toast { | |
| position: absolute; | |
| bottom: 20px; | |
| left: 20px; | |
| z-index: 1100; | |
| background: rgba(0, 0, 0, 0.7); | |
| color: white; | |
| padding: 8px 12px; | |
| border-radius: 4px; | |
| font-size: 0.75rem; | |
| pointer-events: none; | |
| animation: fadeOut 2s forwards; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| @keyframes fadeOut { | |
| 0% { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| 70% { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| 100% { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| } | |
| /* Waypoint Hover Animations */ | |
| .waypoint-visual-marker { | |
| transition: all 0.2s ease-in-out; | |
| } | |
| .custom-waypoint-icon:hover .waypoint-visual-marker { | |
| transform: scale(1.3) ; | |
| filter: brightness(1.1); | |
| box-shadow: 0 0 15px rgba(255, 255, 255, 0.9) ; | |
| z-index: 1000; | |
| } | |
| /* Radar Intel Styles */ | |
| .intel-toggle { width: 100%; margin-top: 12px; background: #f0f7ff; border: 1px dashed #007bff; color: #007bff; padding: 8px; font-size: 0.8rem; font-weight: bold; cursor: pointer; border-radius: 4px; } | |
| .intel-toggle:hover { background: #e1efff; } | |
| .intel-section { margin-top: 12px; padding-top: 12px; border-top: 2px solid #eee; background: #fffcf0; padding: 12px; border-radius: 4px; border: 1px solid #ffeeba; } | |
| .intel-header { font-size: 0.85rem; font-weight: bold; color: #856404; margin-bottom: 8px; display: flex; justify-content: space-between; } | |
| .severity-gauge-container { height: 8px; background: #e9ecef; border-radius: 4px; overflow: hidden; margin-bottom: 12px; } | |
| .severity-gauge-fill { height: 100%; transition: width 0.3s ease, background-color 0.3s ease; } | |
| .rejection-log { font-size: 0.75rem; background: #fff; border: 1px solid #ddd; padding: 6px; max-height: 80px; overflow-y: auto; border-radius: 2px; } | |
| .rejection-item { color: #c82333; margin-bottom: 2px; border-left: 2px solid #dc3545; padding-left: 5px; } | |
| .proximity-warning { color: #dc3545; font-weight: bold; font-size: 0.8rem; } | |
| .pulse-red { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); animation: pulse-red-effect 1.5s infinite; border-radius: 50%; } | |
| @keyframes pulse-red-effect { 0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(220, 53, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); } } | |