Spaces:
Sleeping
Sleeping
File size: 5,714 Bytes
6ef6359 5086de6 6ef6359 74460ff 6ef6359 74460ff 6ef6359 5086de6 6ef6359 5086de6 6ef6359 74460ff 6ef6359 74460ff 6ef6359 5086de6 6ef6359 74460ff 5086de6 6ef6359 74460ff 6ef6359 5086de6 e1e9687 5086de6 e1e9687 6ef6359 74460ff 6ef6359 5086de6 6ef6359 5086de6 6ef6359 5086de6 6ef6359 5086de6 6ef6359 5086de6 6ef6359 5086de6 6ef6359 87dbbc6 5086de6 87dbbc6 5086de6 08b99b2 97ef31f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | * {
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) !important;
box-shadow: none !important;
border-radius: 4px;
}
.dim-popup .leaflet-popup-tip {
background: rgba(255, 255, 255, 0.8) !important;
box-shadow: none !important;
}
/* 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) !important;
filter: brightness(1.1);
box-shadow: 0 0 15px rgba(255, 255, 255, 0.9) !important;
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); } }
|