feat(receiver): 持久化接收机发现端点并支持位置备注信息
This commit is contained in:
@@ -0,0 +1,704 @@
|
||||
.nav button:focus-visible,
|
||||
.moduleNav button:focus-visible,
|
||||
.tool[role="button"]:focus-visible {
|
||||
outline: 2px solid #65d8ff;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
#app .top { z-index: 2300; }
|
||||
body { color-scheme: dark; }
|
||||
#app .top .nav { align-items: center; flex-wrap: nowrap; }
|
||||
#app .top .nav .btn { margin: 0; flex: 0 0 auto; }
|
||||
.overview-totals { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
|
||||
.overview-totals span { color: #b9d6e8; font-size: 12px; padding: 4px 8px; border: 1px solid #294a60; border-radius: 5px; background: #102639; }
|
||||
.overview-totals strong { margin-inline-start: 3px; color: #f0f9ff; font-variant-numeric: tabular-nums; }
|
||||
.mapDisplayOptions {
|
||||
grid-column: 1 / -1;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px 12px;
|
||||
padding-top: 5px;
|
||||
border-top: 1px solid #36546a;
|
||||
color: #e1f2ff;
|
||||
}
|
||||
.mapDisplayOptions label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
min-height: 22px;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.mapDisplayOptions input {
|
||||
flex: none;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin: 0;
|
||||
accent-color: #74bfff;
|
||||
cursor: pointer;
|
||||
}
|
||||
.mapDisplayOptions input:focus-visible {
|
||||
outline: 2px solid #7ddcff;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.nav-account {
|
||||
flex: 0 0 auto;
|
||||
max-width: 130px;
|
||||
margin-inline: 4px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 12px;
|
||||
color: #a5c9de;
|
||||
}
|
||||
#workbenchNav button[aria-current="page"] {
|
||||
border-color: #67bdff;
|
||||
background: #123c60;
|
||||
color: #e7f7ff;
|
||||
}
|
||||
.moduleNav {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
flex-wrap: wrap;
|
||||
gap: 3px 12px;
|
||||
padding: 6px 14px 0;
|
||||
border-bottom: 1px solid #28455b;
|
||||
background: #0a1b2d;
|
||||
}
|
||||
.moduleNav[hidden] { display: none; }
|
||||
.moduleNav button {
|
||||
margin: 0;
|
||||
padding: 7px 8px;
|
||||
min-height: 34px;
|
||||
border: 0;
|
||||
border-bottom: 2px solid transparent;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
color: #b2cbdd;
|
||||
font-size: 13px;
|
||||
}
|
||||
.moduleNav button:hover { color: #e9f6ff; }
|
||||
.moduleNav button[aria-current="page"] { color: #e9f6ff; border-bottom-color: #69c2ff; }
|
||||
@media (max-width: 2240px) {
|
||||
#app .top .nav { gap: 5px !important; }
|
||||
#app .top .nav .btn { padding-inline: 7px !important; font-size: 12px !important; }
|
||||
.nav-account { max-width: 110px; }
|
||||
}
|
||||
|
||||
@media (max-width: 1700px) {
|
||||
#app .top { height: 102px; align-items: flex-start; padding-top: 13px !important; }
|
||||
#app .top .titleBox {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 31px;
|
||||
margin: 0;
|
||||
transform: translate(-50%, -50%);
|
||||
max-width: calc(100% - 32px);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
#app .top .title { overflow: hidden; text-overflow: ellipsis; }
|
||||
#app .top .nav {
|
||||
position: absolute;
|
||||
inset: auto 14px 8px;
|
||||
max-width: none;
|
||||
justify-content: safe center;
|
||||
overflow-x: auto;
|
||||
padding: 3px;
|
||||
}
|
||||
#app .main { top: 102px; }
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
#app .top { height: 122px; }
|
||||
#app .top .brand { display: flex; position: absolute; left: 50%; top: 49px; transform: translateX(-50%); }
|
||||
#app .top .brandLogo { display: none; }
|
||||
#app .main { top: 122px; }
|
||||
}
|
||||
|
||||
#rid-workbench-status {
|
||||
position: fixed;
|
||||
z-index: 4000;
|
||||
inset: auto 1rem 1rem auto;
|
||||
max-width: min(420px, calc(100vw - 2rem));
|
||||
margin: 0;
|
||||
padding: 0.75rem 1rem;
|
||||
border: 1px solid #2b6894;
|
||||
border-radius: 10px;
|
||||
background: #0b2035;
|
||||
color: #e6f6ff;
|
||||
}
|
||||
|
||||
.rid-module-toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px 12px;
|
||||
margin-bottom: 14px;
|
||||
color: #b2cada;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.rid-module-editor:empty { display: none; }
|
||||
.rid-module-feedback { padding: 9px 12px; margin-bottom: 10px; color: #9ff3d9; border: 1px solid #266977; border-radius: 8px; }
|
||||
.rid-module-feedback.dangerText { color: #ffc4cb; border-color: #864555; }
|
||||
.moduleBody :focus-visible,
|
||||
.mapWrap :is(button, select):focus-visible,
|
||||
.centerLoginPanel button:focus-visible { outline: 2px solid #7ddcff; outline-offset: 2px; }
|
||||
.rid-admin-form, .rid-admin-form fieldset, .rid-admin-fields {
|
||||
display: flex; flex-wrap: wrap; align-items: end; gap: 10px;
|
||||
}
|
||||
.rid-admin-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
|
||||
.rid-admin-form label, .rid-period label { display: grid; gap: 5px; color: #c7e5f6; font-size: 13px; }
|
||||
.rid-admin-form .rid-check { display: flex; flex-direction: row; align-items: center; min-height: 34px; }
|
||||
.rid-module-page [hidden] { display: none !important; }
|
||||
.rid-module-page button:disabled { opacity: .55; cursor: default; }
|
||||
|
||||
.moduleBody {
|
||||
padding: clamp(12px, 1.5vw, 24px);
|
||||
background: #0b1d2e;
|
||||
}
|
||||
.moduleBody .rid-period {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: end;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
border-color: #29465c;
|
||||
background: #102438;
|
||||
}
|
||||
.rid-period label { min-width: 0; flex: 0 1 190px; }
|
||||
.rid-period label:first-child:has(input:not([type])) { flex: 1 1 220px; max-width: 380px; }
|
||||
#alarmFilters label:has(select) { flex-basis: 135px; }
|
||||
.moduleBody :is(input:not([type=checkbox]), select) { min-width: 0; min-height: 36px; }
|
||||
.moduleBody input::placeholder { color: #8ea9bd; }
|
||||
.moduleBody button:not(.red):not(:disabled) { background: #1b63a6; }
|
||||
.moduleBody button:not(.red):not(:disabled):hover { background: #2376be; }
|
||||
.moduleBody :is(.rid-period, .rid-module-toolbar, .rid-admin-form) button { min-height: 36px; padding-inline: 14px; }
|
||||
.moduleBody .rid-module-toolbar button[data-action="refresh-rx"],
|
||||
.moduleBody .rid-admin-form button[data-action="cancel-edit"],
|
||||
.moduleBody .dataTable button:not(.red):not(:disabled) {
|
||||
box-shadow: inset 0 0 0 1px #365973;
|
||||
background: #18324a;
|
||||
}
|
||||
.moduleBody .dataTable :is(th, td) { vertical-align: middle; }
|
||||
.moduleBody .dataTable td { overflow-wrap: anywhere; }
|
||||
.moduleBody .dataTable th { background: #132d43; }
|
||||
.moduleBody .dataTable tbody tr:last-child td { border-bottom: 0; }
|
||||
.moduleBody .dataTable td .smallBtn { margin: 2px; padding: 5px 8px; }
|
||||
.moduleBody .resultCount { font-size: 13px; color: #bed3e1; font-variant-numeric: tabular-nums; }
|
||||
.moduleBody .moduleEmpty {
|
||||
min-height: 116px;
|
||||
padding: 16px;
|
||||
text-align: center;
|
||||
color: #aac2d4;
|
||||
}
|
||||
.moduleBody .moduleSplit {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
.moduleBody .moduleSplit .dataTable { min-width: 0; }
|
||||
.moduleBody .moduleSplit .dataTable :is(th, td) { white-space: normal; }
|
||||
.moduleBody .moduleSplit .dataTable :is(th, td):last-child {
|
||||
text-align: end;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.moduleBody .stateTag.neutral { background: #223b51; color: #c1d4e3; }
|
||||
.moduleBody .stateTag { white-space: normal; max-width: 240px; }
|
||||
.moduleBody .dataTableWrap { max-height: max(180px, calc(100dvh - 350px)); }
|
||||
.moduleBody:not([hidden]):has(#alarmResult), #alarmResult {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
}
|
||||
#alarmResult { flex: 1 1 auto; }
|
||||
#alarmFilters, #alarmResult > :is(.resultCount, .rid-pager) { flex: none; }
|
||||
#alarmResult > .dataTableWrap { min-height: 0; }
|
||||
@media (max-width: 560px), (max-height: 620px) {
|
||||
#alarmResult { flex: none; }
|
||||
#alarmResult > .dataTableWrap { max-height: 52dvh; }
|
||||
}
|
||||
.moduleBody .rid-pager .rid-pager-actions button:not(:disabled) { background: #18344c; }
|
||||
.moduleBody .rid-pager .rid-pager-actions button:hover:not(:disabled) { background: #254f70; }
|
||||
[data-module="configs"] { max-width: 780px; }
|
||||
.rid-config-form fieldset { display: grid; width: 100%; gap: 14px; }
|
||||
.rid-config-form input[name="name"] { max-width: 410px; }
|
||||
.rid-config-form button { justify-self: start; }
|
||||
.rid-config-options { display: flex; flex-wrap: wrap; column-gap: 20px; }
|
||||
.rid-admin-form :is(label, .rid-admin-fields) { max-width: 100%; }
|
||||
.rid-admin-form input[type="checkbox"] { width: 16px; height: 16px; accent-color: #489be5; }
|
||||
.rid-admin-form .btnrow { flex-wrap: wrap; }
|
||||
@media (max-width: 760px) {
|
||||
.moduleBody .moduleSplit { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (max-width: 560px) {
|
||||
#app .top .nav { inset-inline: 8px; }
|
||||
.nav-account { max-width: 64px; }
|
||||
#app .moduleBody .rid-period {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
.rid-period label:has(input:not([type])),
|
||||
.rid-period label:has(select),
|
||||
.rid-period button { grid-column: 1 / -1; }
|
||||
.rid-period label:has(input:not([type])) { max-width: none; }
|
||||
.rid-period button { justify-self: end; }
|
||||
}
|
||||
@media (max-width: 410px) {
|
||||
.nav-account { display: none; }
|
||||
#app .moduleBody .rid-period { grid-template-columns: 1fr !important; }
|
||||
}
|
||||
|
||||
.loginCenterMountain .centerLoginScene {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
gap: 24px;
|
||||
min-height: 100dvh;
|
||||
padding: clamp(18px, 3vw, 42px);
|
||||
}
|
||||
.loginCenterMountain .centerLoginHeader,
|
||||
.loginCenterMountain .centerLoginPanel,
|
||||
.loginCenterMountain .centerLoginFooter { position: relative; inset: auto; }
|
||||
.loginCenterMountain .centerLoginBg { animation: none; }
|
||||
.loginCenterMountain .centerLoginPanel {
|
||||
place-self: center;
|
||||
transform: none;
|
||||
width: min(100%, 410px);
|
||||
padding: clamp(20px, 3vw, 36px);
|
||||
border-radius: 14px;
|
||||
border-color: #365976;
|
||||
box-shadow: 0 16px 50px #0006;
|
||||
background: #0b2035f2;
|
||||
}
|
||||
.centerLoginPanel::before,
|
||||
.centerLoginSubmit::before { display: none; }
|
||||
.centerPanelHeading h1 { margin: 0 0 24px; font-size: 24px; color: #f4f9ff; }
|
||||
.centerLoginPanel .centerField input { padding-inline: 13px; }
|
||||
.centerLoginPanel .centerLoginSubmit {
|
||||
height: 44px;
|
||||
letter-spacing: 0;
|
||||
font-size: 15px;
|
||||
background: #1a69ad;
|
||||
border: 1px solid #3d8ac8;
|
||||
box-shadow: none;
|
||||
}
|
||||
.centerLoginPanel .centerLoginSubmit:hover { transform: none; }
|
||||
.centerLoginPanel .centerLoginState { text-align: center; color: #b0c9dc; }
|
||||
.centerLoginFooter { color: #b0c5d7; }
|
||||
|
||||
#moduleTitle {
|
||||
position: absolute;
|
||||
inset: 0 auto auto 0;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
#moduleBody[hidden], #moduleEmbed [hidden], #moduleEmbed[hidden] { display: none; }
|
||||
.moduleEmbed { flex: 1; min-height: 0; display: flex; flex-direction: column; }
|
||||
.moduleEmbed iframe { flex: 1; min-height: 0; width: 100%; border: 0; }
|
||||
#moduleEmbedStatus { margin: 18px 20px; color: #bfddf2; }
|
||||
#moduleEmbedRetry { align-self: start; margin: 0 20px; }
|
||||
|
||||
#app .left { overflow: hidden; }
|
||||
#app .left .deviceListPanel,
|
||||
#app .left .targetListPanel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 1 0;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
#app .left .p-title { flex: 0 0 auto; }
|
||||
#app .left #stationList,
|
||||
#app .left #droneList {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
max-height: none;
|
||||
overflow: auto;
|
||||
padding-inline-end: 3px;
|
||||
}
|
||||
#app .right { overflow: hidden; }
|
||||
#app .right > :is(.zonePanel, .alertPanel) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 1 0;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
#app .right .p-title { flex: 0 0 auto; }
|
||||
#app .right :is(.zonePanelContent, #alertList) {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
max-height: none;
|
||||
overflow: auto;
|
||||
padding-inline-end: 3px;
|
||||
}
|
||||
#app .main > :is(.left, .right) { max-width: 100%; }
|
||||
@media (max-width: 1100px) {
|
||||
#app .main { grid-template-columns: minmax(0, 1fr) !important; }
|
||||
#app .main > :is(.left, .right) { top: 62px; bottom: 12px; max-height: none; }
|
||||
#app .sideToggle { top: 12px; transform: none; height: 36px; border-radius: 7px; }
|
||||
#app .main .sideToggle.leftToggle { left: 9px; }
|
||||
#app .main .sideToggle.rightToggle { right: 9px; }
|
||||
}
|
||||
.zonePanelContent [hidden] { display: none; }
|
||||
.zoneCoordinateEntry {
|
||||
border: 1px solid #284a61;
|
||||
border-radius: 6px;
|
||||
background: #0c2136;
|
||||
}
|
||||
.zoneCoordinateEntry > summary {
|
||||
padding: 8px 10px;
|
||||
color: #cae7f6;
|
||||
cursor: pointer;
|
||||
}
|
||||
.zoneCoordinateEntry > summary:hover { background: #132c42; }
|
||||
.zoneCoordinateEntry form,
|
||||
.zoneCoordinateEntry form label { display: grid; gap: 5px; min-width: 0; }
|
||||
.zoneCoordinateEntry form { gap: 8px; border-top: 1px solid #284a61; padding: 9px; font-size: 12px; }
|
||||
.zoneFormFields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(86px, .64fr); gap: 7px; }
|
||||
.zoneCoordinateEntry :is(input, select, textarea) { width: 100%; min-width: 0; }
|
||||
.zoneCoordinateEntry textarea {
|
||||
border: 1px solid #325671;
|
||||
border-radius: 5px;
|
||||
padding: 7px 8px;
|
||||
background: #091a2d;
|
||||
color: #dcecf6;
|
||||
resize: vertical;
|
||||
font: 12px/1.5 ui-monospace, monospace;
|
||||
}
|
||||
.zoneCoordinateEntry form button { justify-self: end; }
|
||||
#zoneCoordinateHelp, .zoneDrawEditor p { margin: 0; color: #a8c7dc; font-size: 12px; }
|
||||
.zoneDrawEditor {
|
||||
margin-top: 8px;
|
||||
padding: 8px;
|
||||
border: 1px solid #284a61;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.zoneDrawActions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 7px; }
|
||||
.zoneDrawActions input { width: 100%; }
|
||||
.zoneDrawActions button { white-space: nowrap; }
|
||||
.zoneFeedback { flex: 0 0 auto; margin: 0 0 8px; color: #a3dfca; font-size: 12px; }
|
||||
.zoneFeedback.error { color: #ffadb7; }
|
||||
.zoneList { list-style: none; margin: 10px 0 0; padding: 0; }
|
||||
.zoneListItem, .workbenchAlert { padding: 9px 10px; border: 1px solid #244359; border-radius: 6px; background: #0c2032; }
|
||||
.zoneListItem + .zoneListItem, .workbenchAlert + .workbenchAlert { margin-top: 7px; }
|
||||
.zoneListHead, .workbenchAlertHead, .workbenchAlertTarget {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 3px 8px;
|
||||
}
|
||||
.zoneListHead b, .workbenchAlertHead b, .workbenchAlertId { overflow-wrap: anywhere; }
|
||||
.zoneListMeta { margin: 4px 0; color: #a8c7dc; font-size: 12px; }
|
||||
.zoneListItem .zoneActions { margin-top: 7px; }
|
||||
#zoneList .zoneFocus {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
color: inherit;
|
||||
text-align: start;
|
||||
}
|
||||
#zoneList .zoneFocus:hover b { text-decoration: underline; color: #98d7ff; }
|
||||
#zoneList .zoneFocus:focus-visible { outline: 2px solid #65d8ff; outline-offset: 3px; }
|
||||
#zoneList .zoneFocus .zoneListMeta { display: block; font-weight: 400; }
|
||||
.workbenchAlert { border-width: 2px; }
|
||||
.workbenchAlertHead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
|
||||
.workbenchAlertHead b { font-size: 14px; }
|
||||
.workbenchAlertMeta { position: relative; display: inline-flex; align-items: center; padding-inline-end: 13px; }
|
||||
.workbenchAlertHead time { color: #a8c7dc; font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||
.workbenchAlertId { display: block; margin-top: 5px; color: #cfe5f3; font-size: 12px; }
|
||||
.workbenchAlertTarget { margin-top: 5px; }
|
||||
.workbenchAlertPosition { color: #a8c7dc; font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
.panel .panelCount { margin-inline-start: auto; color: #b5d4e5; font-size: 12px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||
.alert-unread-dot { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: #ff5b74; }
|
||||
.rid-station-marker { position: relative; box-sizing: border-box; display: grid; place-items: center; width: 31px; height: 31px; border: 2px solid #bcdfff; border-radius: 7px; background: #28639f; color: white; box-shadow: 0 1px 6px #081725b0; }
|
||||
.rid-station-marker.waiting { background: #6b4b26; border-color: #f4cc8c; }
|
||||
.rid-station-marker.offline { background: #344453; border-color: #acbcc8; }
|
||||
.alertPanel .alarmSettingRow {
|
||||
flex: 0 0 auto;
|
||||
margin-top: 8px;
|
||||
padding: 8px 0 0;
|
||||
border-top: 1px solid #244359;
|
||||
}
|
||||
|
||||
#stationList .stationCard {
|
||||
margin: 0 0 8px;
|
||||
border: 1px solid #22435d;
|
||||
border-radius: 8px;
|
||||
background: #0c2136;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
#stationList .stationCard.offline { background: #0a1b2d; }
|
||||
.stationCardHead {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 2px 9px;
|
||||
padding: 8px 10px;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
.stationCardHead::-webkit-details-marker { display: none; }
|
||||
.stationCardHead::before {
|
||||
content: "";
|
||||
grid-column: 1;
|
||||
grid-row: 1 / 3;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-right: 1px solid #a8c7dc;
|
||||
border-bottom: 1px solid #a8c7dc;
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
.stationCard[open] .stationCardHead::before { transform: rotate(45deg); }
|
||||
.stationCardHead:hover { background: #142c41; }
|
||||
.stationCardHead:focus-visible { outline: 2px solid #65d8ff; outline-offset: -2px; }
|
||||
.stationName { grid-column: 2; grid-row: 1; overflow-wrap: anywhere; font-size: 13px; }
|
||||
.stationTransport { grid-column: 2; grid-row: 2; color: #a8c7dc; }
|
||||
.stationCardHead .tag { grid-column: 3; grid-row: 1 / 3; white-space: nowrap; }
|
||||
.stationCardBody { padding: 6px 10px 9px; border-top: 1px solid #22435d; }
|
||||
.stationAddress {
|
||||
overflow-wrap: anywhere;
|
||||
margin-top: 3px;
|
||||
color: #9dc1d9;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.stationFix, .stationExtra { margin: 5px 0 0; color: #a8c7dc; }
|
||||
.stationFix.fixed { color: #92e6be; }
|
||||
.stationMetrics {
|
||||
display: grid;
|
||||
grid-template-columns: 1.3fr 1fr 1fr;
|
||||
gap: 5px;
|
||||
margin: 6px 0 0;
|
||||
}
|
||||
.stationMetrics div {
|
||||
min-width: 0;
|
||||
background: #102942;
|
||||
border-radius: 5px;
|
||||
padding: 4px 6px;
|
||||
}
|
||||
.stationMetrics dt { font-size: 11px; color: #a8c7dc; }
|
||||
.stationMetrics dd { color: #e4f5ff; font-variant-numeric: tabular-nums; margin: 1px 0 0; }
|
||||
.stationPosition { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
|
||||
.stationPosition span { flex-basis: 100%; font-variant-numeric: tabular-nums; }
|
||||
.stationPosition .smallBtn:focus-visible { outline: 2px solid #65d8ff; outline-offset: 2px; }
|
||||
|
||||
.targetCard button:focus-visible { outline: 2px solid #65d8ff; outline-offset: 2px; }
|
||||
.targetCard {
|
||||
background: #0c2136; border: 1px solid #22435d; border-left: 3px solid var(--target-accent);
|
||||
border-radius: 8px; padding: 9px 10px; margin: 0 0 8px; font-size: 12px; line-height: 1.4;
|
||||
}
|
||||
.targetCard.active { border-color: #5ecbff; border-left-color: var(--target-accent); }
|
||||
.targetCardHead, .targetIdentity, .targetTelemetry {
|
||||
display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px;
|
||||
}
|
||||
.targetCardHead strong { font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
|
||||
.targetIdentity { color: #b4d4e9; margin-top: 3px; }
|
||||
.targetIdentity code { min-width: 0; overflow-wrap: anywhere; }
|
||||
.targetIdentity .tag, .targetCardHead .tag { flex: none; }
|
||||
.targetTelemetry { margin-top: 8px; padding: 5px 7px; border-radius: 5px; background: #102942; }
|
||||
.targetSecondary { margin: 4px 0 0; color: #a8c7dc; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
|
||||
.targetActions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
|
||||
|
||||
/* Shared flight classification across live cards, records and filings. */
|
||||
.flightTag { display:inline-flex; align-items:center; gap:5px; padding:2px 7px; border:1px solid; border-radius:4px; font-size:12px; line-height:1.5; font-weight:600; white-space:nowrap; }
|
||||
.flightTag.warning { color:#ffe29a; background:#554016; border-color:#b88624; }
|
||||
.flightTag.danger { color:#ffd0d4; background:#531f2a; border-color:#b83d4b; }
|
||||
.flightTag.ok { color:#9ce9c7; background:#153e32; border-color:#287757; }
|
||||
.flightTag.white { color:#a6e4fa; background:#163a4c; border-color:#3085a3; }
|
||||
.flightTag.muted { color:#c3ccd5; background:#263540; border-color:#536575; }
|
||||
.workbenchAlert.warning { border-color:#a67720; background:#2d291c; }
|
||||
.workbenchAlert.danger { border-color:#ab3948; background:#311e28; }
|
||||
.workbenchAlert.warning .alert-unread-dot { background:#efbd49; }
|
||||
.workbenchAlert.danger .alert-unread-dot { background:#ff6172; }
|
||||
.alertClassification { margin:6px 0 2px; }
|
||||
.workbenchAlertTarget { flex-wrap:wrap; gap:6px; }
|
||||
.workbenchAlertPosition { flex:1 1 100%; }
|
||||
.panelCount { display:inline-flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; font-size:11px; }
|
||||
.countOk { color:#6bd5a5; } .countWarning { color:#ecc66a; } .countMuted { color:#a2b2bf; }
|
||||
.dot.flightWarning { background:#ca921e; } .dot.flightDanger { background:#cc3c48; }
|
||||
/* Reserve the Leaflet zoom column and attribution strip. The remaining controls share one grid. */
|
||||
.mapWrap { container: live-map / size; }
|
||||
.mapDock {
|
||||
position: absolute;
|
||||
inset: auto 14px 24px 60px;
|
||||
z-index: 4;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
||||
align-items: end;
|
||||
gap: 8px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.mapDock > :is(.legend, .toolbar, .mapSourceBox) {
|
||||
position: static;
|
||||
inset: auto !important;
|
||||
transform: none !important;
|
||||
min-width: 0;
|
||||
max-width: 100% !important;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.mapDock > .legend {
|
||||
justify-self: start;
|
||||
display: block !important;
|
||||
width: min(328px, 100%) !important;
|
||||
}
|
||||
.mapLegendToggle { display: none; }
|
||||
.mapLegendContent { display: grid; gap: 8px; }
|
||||
.mapDock > .toolbar {
|
||||
justify-self: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 4px !important;
|
||||
padding: 5px 7px !important;
|
||||
width: min(292px, 100%);
|
||||
}
|
||||
.mapDock .toolbar .tool {
|
||||
flex: 1 1 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-width: 0 !important;
|
||||
min-height: 32px;
|
||||
padding: 2px !important;
|
||||
}
|
||||
.mapDock > .mapSourceBox {
|
||||
justify-self: end;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.mapWrap .leaflet-bottom.leaflet-left {
|
||||
left: 12px !important;
|
||||
bottom: 24px !important;
|
||||
}
|
||||
|
||||
@container live-map (max-width: 1060px) or (max-height: 370px) {
|
||||
.mapDock > .legend {
|
||||
width: fit-content !important;
|
||||
padding: 4px 7px !important;
|
||||
}
|
||||
.mapDock > .legend:has(> .mapLegendToggle[aria-expanded="true"]) {
|
||||
width: min(328px, 100%) !important;
|
||||
}
|
||||
.mapLegendToggle {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
min-height: 30px;
|
||||
padding: 3px 6px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
line-height: 1.35;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.mapLegendArrow {
|
||||
flex: 0 0 auto;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border: solid currentColor;
|
||||
border-width: 0 1px 1px 0;
|
||||
transform: translateY(1px) rotate(225deg);
|
||||
}
|
||||
.mapLegendToggle[aria-expanded="true"] .mapLegendArrow { transform: translateY(-2px) rotate(45deg); }
|
||||
.mapLegendToggle[aria-expanded="false"] + .mapLegendContent { display: none; }
|
||||
.mapLegendContent {
|
||||
max-height: clamp(58px, 32cqh, 180px);
|
||||
overflow: auto;
|
||||
padding: 6px 4px 3px;
|
||||
}
|
||||
}
|
||||
@container live-map (max-width: 810px) {
|
||||
.mapDock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.mapDock > .legend { grid-column: 1 / -1; }
|
||||
.mapDock > .toolbar { justify-self: start; }
|
||||
.mapLegendContent { max-height: clamp(36px, calc(100cqh - 148px), 180px); }
|
||||
}
|
||||
@container live-map (max-width: 430px) {
|
||||
.mapDock { grid-template-columns: minmax(0, 1fr); inset-inline: 52px 10px; }
|
||||
.mapLegendContent { max-height: clamp(24px, calc(100cqh - 168px), 180px); }
|
||||
.mapDock > :is(.toolbar, .mapSourceBox) { justify-self: start; }
|
||||
.mapDock > .legend { max-width: calc(100% - 40px) !important; }
|
||||
}
|
||||
@container live-map (max-height: 320px) {
|
||||
#app .main .mapWrap > .sideToggle {
|
||||
top: 12px;
|
||||
transform: none;
|
||||
height: 36px;
|
||||
}
|
||||
}
|
||||
.legendStatus { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 12px; }
|
||||
.legend .legendStatus span { min-width:0; align-items:flex-start !important; white-space:normal !important; line-height:1.5 !important; }
|
||||
.legend .legendStatus .dot { margin-top:4px; }
|
||||
.legendStatus em { min-width:0; overflow-wrap:anywhere; }
|
||||
.legendSymbols { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; }
|
||||
.legend .mapDisplayOptions { gap:6px 12px; padding-top:8px; }
|
||||
.legend .mapDisplayOptions label { white-space:nowrap; min-height:24px; }
|
||||
/* Fill the workspace; keep pagination below the independently scrolling list. */
|
||||
.moduleBody:has(> [data-module="flight-plans"]) { display:flex; flex-direction:column; overflow:hidden; }
|
||||
[data-module="flight-plans"] { width:100%; max-width:none; flex:1; min-height:0; display:flex; flex-direction:column; }
|
||||
[data-module="flight-plans"] > .rid-module-feedback { flex:none; }
|
||||
[data-module="flight-plans"] > .rid-module-content { flex:1; min-height:0; display:flex; flex-direction:column; gap:12px; }
|
||||
[data-module="flight-plans"] .rid-module-toolbar { flex:none; margin:0; }
|
||||
[data-module="flight-plans"] .rid-module-editor:empty { display:none; }
|
||||
[data-module="flight-plans"] .rid-module-editor { flex:0 1 auto; min-height:0; max-height:65%; overflow:auto; }
|
||||
[data-module="flight-plans"] .rid-module-editor > :last-child { margin-bottom:0; }
|
||||
[data-module="flight-plans"] .planResults { flex:1; min-height:120px; display:flex; flex-direction:column; gap:10px; }
|
||||
.moduleBody [data-module="flight-plans"] .planResults > .dataTableWrap { flex:1; min-height:0; max-height:none; overflow:auto; }
|
||||
.moduleBody [data-module="flight-plans"] .planResults > .moduleEmpty { flex:1; min-height:0; display:grid; place-items:center; margin:0; }
|
||||
[data-module="flight-plans"] .planResults > .rid-pager { flex:none; margin:0; }
|
||||
[data-module="flight-plans"] .dataTable th { position:sticky; top:0; z-index:1; }
|
||||
@media (max-height:540px) {
|
||||
.moduleBody:has(> [data-module="flight-plans"]) { overflow:auto; }
|
||||
[data-module="flight-plans"] { flex:none; min-height:100%; }
|
||||
[data-module="flight-plans"] .rid-module-editor { flex:none; max-height:none; overflow:visible; }
|
||||
[data-module="flight-plans"] .planResults { flex:none; min-height:220px; }
|
||||
.moduleBody [data-module="flight-plans"] .planResults > .dataTableWrap { flex:none; max-height:50dvh; }
|
||||
}
|
||||
[data-module="flight-plans"] .rid-module-toolbar { padding:12px 14px; border:1px solid #29465c; border-radius:8px; background:#102438; }
|
||||
.flightPlanForm { width:100%; max-width:none; box-sizing:border-box; }
|
||||
[data-module="flight-plans"] .planSearch { flex:1 1 260px; width:auto; max-width:520px; }
|
||||
[data-module="flight-plans"] .rid-module-toolbar > label { display:flex; align-items:center; gap:8px; }
|
||||
[data-module="flight-plans"] .rid-module-toolbar select { width:auto; min-width:150px; }
|
||||
.planFormHeader { margin-bottom:18px; border-bottom:1px solid #29465c; padding-bottom:14px; }
|
||||
.planFormHeader h3 { margin:0 0 6px; font-size:16px; }
|
||||
.planFormHeader p,.planFieldGroup p { margin:0; font-size:12px; line-height:1.7; }
|
||||
.planEditorColumns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
|
||||
.planFieldGroup { min-width:0; }
|
||||
.planFieldGroup h4 { margin:0 0 14px; font-size:13px; font-weight:600; color:#c7e5f6; }
|
||||
.planFormGrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 14px; }
|
||||
.flightPlanForm label,.planReviewForm label { display:flex; min-width:0; flex-direction:column; gap:6px; margin-bottom:12px; font-size:13px; line-height:1.5; }
|
||||
.flightPlanForm :is(input,select),.planReviewForm select { width:100%; box-sizing:border-box; min-width:0; }
|
||||
.flightPlanForm textarea,.planReviewForm textarea { width:100%; box-sizing:border-box; padding:10px; border:1px solid #35566c; border-radius:6px; color:#d9e9f3; background:#091b2a; font:inherit; resize:vertical; }
|
||||
.flightPlanForm .btnrow,.planReviewForm .btnrow { display:flex; justify-content:flex-end; gap:8px; margin-top:18px; padding-top:14px; border-top:1px solid #29465c; }
|
||||
.moduleBody [data-module="flight-plans"] button[data-action="cancel-edit"],.moduleBody [data-module="flight-plans"] button[data-action="refresh-plans"] { background:#18324a; border:1px solid #365973; }
|
||||
.planDetails { display:grid; grid-template-columns:100px minmax(0,1fr); gap:12px; }
|
||||
.planDetails dd { margin:0; } .planDetails pre,[data-module="flight-plans"] pre { white-space:pre-wrap; overflow-wrap:anywhere; }
|
||||
[data-module="flight-plans"] .dataTable td:last-child { min-width:170px; }
|
||||
[data-module="flight-plans"] .smallBtn { margin:2px; }
|
||||
@media(max-width:1000px) { .planEditorColumns {grid-template-columns:1fr; gap:8px;} }
|
||||
@media(max-width:600px) { .planFormGrid {grid-template-columns:1fr; gap:0;} .planDetails {grid-template-columns:1fr;} [data-module="flight-plans"] .planSearch {max-width:none; flex-basis:100%; order:1;} }
|
||||
|
||||
/* The create/edit form lives in the browser top layer, without resizing the list. */
|
||||
.flightPlanDialog { width:min(1040px,calc(100vw - 40px)); max-width:none; max-height:calc(100dvh - 40px); box-sizing:border-box; margin:auto; padding:0; border:1px solid #365973; border-radius:12px; background:#0b1d2e; color:#d9e9f3; box-shadow:0 20px 70px #0008; overflow:auto; color-scheme:dark; }
|
||||
.flightPlanDialog::backdrop { background:rgba(2,10,18,.7); }
|
||||
.flightPlanDialog .flightPlanForm { margin:0; padding:24px; border:0; border-radius:0; background:none; }
|
||||
.flightPlanDialog .planFormHeader { position:relative; padding-right:42px; }
|
||||
.flightPlanDialog .planFormHeader h3 { font-size:18px; }
|
||||
.moduleBody .flightPlanDialog .planDialogClose { position:absolute; top:-6px; right:-6px; display:grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid transparent; border-radius:6px; background:transparent; color:#bcd1e0; font-size:24px; font-weight:400; line-height:1; }
|
||||
.moduleBody .flightPlanDialog .planDialogClose:hover { background:#1a344a; color:#fff; }
|
||||
.flightPlanDialog .planDialogFeedback { margin-bottom:16px; }
|
||||
.flightPlanDialog:has(button[type="submit"]:disabled) :is(.planDialogClose,[data-action="cancel-edit"]) { opacity:.5; cursor:wait; }
|
||||
@media(max-width:600px) { .flightPlanDialog { width:calc(100vw - 24px); max-height:calc(100dvh - 24px); } .flightPlanDialog .flightPlanForm { padding:18px; } }
|
||||
Reference in New Issue
Block a user