238 lines
3.6 KiB
CSS
238 lines
3.6 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
height: 100%;
|
|
font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
.map-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Higher specificity than maplibre-gl.css's .maplibregl-map{position:relative},
|
|
which MapLibre adds to the same element and would otherwise win on sheet order. */
|
|
.map-wrap .map-container {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.app-header {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
padding: 8px 14px;
|
|
background: rgba(15, 23, 42, 0.75);
|
|
color: #f8fafc;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.app-header h1 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app-header small {
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
/* Style switcher — kept subtle, like the version tag. */
|
|
.style-switch {
|
|
font-size: 12px;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(148, 163, 184, 0.4);
|
|
background: rgba(30, 41, 59, 0.9);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.style-switch option {
|
|
background: #1e293b;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
[data-testid='airport-count'] {
|
|
font-size: 12px;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
/* v0.9.0 — single-screen 3-pane shell: left Assets / center map / right Jobs & Market */
|
|
.app-shell {
|
|
display: grid;
|
|
grid-template-columns: 300px minmax(0, 1fr) 320px;
|
|
height: 100%;
|
|
}
|
|
|
|
.pane {
|
|
background: #0f172a;
|
|
color: #e2e8f0;
|
|
padding: 14px;
|
|
font-size: 13px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.left-pane {
|
|
border-right: 1px solid rgba(148, 163, 184, 0.25);
|
|
}
|
|
|
|
.right-pane {
|
|
border-left: 1px solid rgba(148, 163, 184, 0.25);
|
|
}
|
|
|
|
.pane-title {
|
|
margin: 0 0 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.pane-heading {
|
|
margin: 0 0 8px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.pane-section {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.pane-muted {
|
|
color: #94a3b8;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.pane-error {
|
|
color: #fca5a5;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.stat-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.stat-row span {
|
|
color: #94a3b8;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.stat-row strong {
|
|
font-size: 13px;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.fleet-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.plane-row {
|
|
background: rgba(30, 41, 59, 0.6);
|
|
border-radius: 6px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.plane-main {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
}
|
|
|
|
.plane-model {
|
|
font-weight: 600;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.plane-status {
|
|
font-size: 11px;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
background: rgba(148, 163, 184, 0.2);
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.status-flying {
|
|
background: rgba(59, 130, 246, 0.25);
|
|
color: #bfdbfe;
|
|
}
|
|
|
|
.fuel-bar {
|
|
height: 4px;
|
|
border-radius: 2px;
|
|
background: rgba(148, 163, 184, 0.25);
|
|
margin: 6px 0 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.fuel-bar > div {
|
|
height: 100%;
|
|
border-radius: 2px;
|
|
background: #34d399;
|
|
}
|
|
|
|
.plane-sub {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
font-size: 11px;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.plane-loc {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sim-clock {
|
|
margin: 0 0 8px;
|
|
font-size: 12px;
|
|
color: #cbd5e1;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.time-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.time-controls button,
|
|
.time-controls select {
|
|
font-size: 12px;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(148, 163, 184, 0.4);
|
|
background: rgba(30, 41, 59, 0.9);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.time-controls button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.time-controls select {
|
|
flex: 1;
|
|
}
|