Files
bpq_gui/public/aprs-activity.css
T
alberto 33f1294405 Polish dashboard layout and stabilize live map refreshes
Preserve map markers, zoom and open details during polling; consolidate technical notes and align interface spacing. Fix empty English translations inserting undefined text and add regression coverage.
2026-10-18 21:14:35 +02:00

27 lines
7.6 KiB
CSS

.aprs-view-tabs{display:flex;gap:6px;margin:0 0 23px;border-bottom:1px solid #2c3e53}.aprs-view-tabs button{padding:12px 24px;background:transparent;color:#8da7bf;border:0;border-bottom:2px solid transparent;cursor:pointer;font-weight:600;font-size:13px}.aprs-view-tabs button[aria-selected=true]{color:#c4e8dc;border-bottom-color:#8bd2b8;background:#91cdb30a}.aprs-activity-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:15px}.aprs-activity-toolbar input,.aprs-activity-toolbar select{padding:9px 12px;background:#121f2e;color:#c3d4e6;border:1px solid #30465c;border-radius:7px;font-size:11px}.aprs-activity-toolbar input{flex:1;min-width:160px}.aprs-activity-toolbar .secondary{font-size:11px}.aprs-activity-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}.aprs-activity-kpis article{padding:14px 18px;border:1px solid #2d4258;border-radius:9px;background:linear-gradient(135deg,#17283a,#111d2b)}.aprs-activity-kpis span{display:block;color:#8ca6be;font-size:10px}.aprs-activity-kpis strong{display:block;font:26px Consolas,monospace;color:#d6e7f5;margin-top:7px}.aprs-map-layout{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(230px,1fr);gap:16px;margin-bottom:20px}.aprs-map-card header,.aprs-stations-card header,.aprs-traffic-card>header{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #2b4055}.aprs-map-card h2,.aprs-stations-card h2,.aprs-traffic-card h2{font-size:14px;margin:0;color:#d8e6f3}.aprs-map-card header span,.aprs-traffic-card header>span{font-size:10px;color:#8ba6bd}.aprs-map-card header span{display:block;margin-top:5px}.aprs-map-card .secondary{font-size:10px}.aprs-map-card{overflow:hidden}#aprs-station-map{height:390px;z-index:0;background:#111d2b}.aprs-map-card footer{display:flex;gap:14px;flex-wrap:wrap;padding:11px 18px;color:#8ba4bc;font-size:9px}.aprs-map-card footer>span:last-child{margin-left:auto}.aprs-legend:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#6fd4b1}.aprs-legend.internet:before{background:#81b9f4}.aprs-legend.own:before{background:#efcf89}.aprs-stations-card{display:flex;flex-direction:column;min-width:0;max-height:492px}.aprs-stations-card>div{overflow:auto;flex:1;min-height:0}.aprs-received-station{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #2c3f53;padding:14px 17px;cursor:pointer;color:#cadae9}.aprs-received-station:hover,.aprs-received-station.selected{background:#29435644}.aprs-received-station>span{display:flex;justify-content:space-between;align-items:center}.aprs-received-station b{font:13px Consolas,monospace}.aprs-received-station small{display:block;font-size:9px;color:#819ab1;margin-top:5px}.aprs-received-station p{font-size:10px;line-height:1.5;color:#9eb4c7;margin:7px 0 0;overflow:hidden;max-height:3em}.aprs-source-dot{height:6px;width:6px;background:#6fd4b1;border-radius:50%}.aprs-source-dot.internet{background:#81b9f4}.aprs-traffic-scroll{max-height:380px;overflow:auto}.aprs-traffic-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:740px}.aprs-traffic-table th{position:sticky;top:0;background:#142337;z-index:1;text-align:left;font-size:10px;color:#8ca7c0;padding:12px 15px}.aprs-traffic-table td{padding:12px 15px;border-top:1px solid #2a3d50;vertical-align:top;font-size:11px;color:#b4c9dc}.aprs-traffic-table th:nth-child(1){width:150px}.aprs-traffic-table th:nth-child(2){width:80px}.aprs-traffic-table th:nth-child(3){width:100px}.aprs-traffic-table th:nth-child(4){width:155px}.aprs-traffic-table td small{display:block;font-size:10px;color:#7f9bb2;margin-top:4px}.aprs-traffic-table tr[data-aprs-event]{cursor:pointer}.aprs-traffic-table tr[data-aprs-event]:hover{background:#233e5244}.aprs-packet-direction{font:11px Consolas,monospace;padding:3px 7px;border-radius:4px;background:#26384b}.aprs-packet-direction.rx{color:#9edcbe}.aprs-packet-direction.tx{color:#9ac9f3}.aprs-packet-type{display:block;color:#789bb6;font-size:9px;margin-bottom:5px}.aprs-packet-preview{display:block;font:10px/1.5 Consolas,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aprs-packet-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#c4dfed;font:11px/1.7 Consolas,monospace}.aprs-traffic-card>footer,.aprs-activity-status{padding:12px 18px;font-size:10px;line-height:1.6;color:#819cb3}.aprs-map-popup{display:grid;gap:5px;min-width:160px;max-width:280px;color:#c6dce9}.aprs-map-popup b{font:17px Consolas,monospace;color:#d5ecf6}.aprs-map-popup span,.aprs-map-popup small{font-size:10px;color:#9bb9cd}.aprs-map-popup p{margin:5px 0;overflow-wrap:anywhere;font-size:11px;line-height:1.5}.aprs-map-card .leaflet-popup-content-wrapper,.aprs-map-card .leaflet-popup-tip{background:#162738;box-shadow:0 6px 24px #0006}.aprs-map-card .leaflet-control-zoom a{background:#172a3b;color:#d8e9f5;border-color:#3e5369}.aprs-map-card .leaflet-control-attribution{background:#172737dd;color:#a8bccf}.aprs-map-card .leaflet-control-attribution a{color:#a8d2e7}.aprs-map-card .leaflet-tooltip{background:#142535;border:1px solid #506a7f;color:#c8dce9;font:11px Consolas,monospace}.aprs-map-card .leaflet-tile-pane{filter:saturate(.5) brightness(.8)}@media(max-width:1050px){.aprs-map-layout{grid-template-columns:1fr}.aprs-stations-card{max-height:220px}.aprs-stations-card>div{display:grid;grid-template-columns:1fr 1fr}.aprs-activity-kpis{gap:7px}.aprs-activity-kpis article{padding:12px}}@media(max-width:650px){.aprs-activity-kpis{grid-template-columns:repeat(2,1fr)}.aprs-stations-card>div{grid-template-columns:1fr}#aprs-station-map{height:330px}.aprs-activity-toolbar{gap:7px}.aprs-map-card footer>span:last-child{margin-left:0}.aprs-activity-kpis article:last-child{grid-column:1/-1}.aprs-view-tabs button{flex:1;padding:12px}}
.aprs-view-tabs{margin-bottom:20px}
.aprs-map-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:stretch}
#aprs-station-map{height:clamp(340px,calc(100dvh - 415px),500px)}
.aprs-stations-card{height:calc(clamp(340px,calc(100dvh - 415px),500px) + 112px);max-height:none}
.aprs-map-card header,.aprs-stations-card header,.aprs-traffic-card>header{padding:16px 18px;min-height:64px}
.aprs-map-card h2,.aprs-stations-card h2,.aprs-traffic-card h2{font-size:15px}
.aprs-map-card header span,.aprs-traffic-card header>span{font-size:12px}
.aprs-map-card footer{padding:12px 18px;font-size:11px}
.aprs-map-card footer>span:last-child{margin-left:0}
.aprs-received-station b{font-size:15px}
.aprs-received-station small,.aprs-received-station p{font-size:12px;line-height:1.5}
.aprs-traffic-table th,.aprs-packet-preview,.aprs-packet-type{font-size:11px}
.aprs-traffic-table td{font-size:12px}
.aprs-traffic-table th:nth-child(1){width:160px}
.aprs-traffic-card>footer,.aprs-activity-status{font-size:11px;padding:12px 18px}
.aprs-activity-status{padding-left:0}
.aprs-map-popup span,.aprs-map-popup small{font-size:12px}
.aprs-map-popup p{font-size:13px}
.aprs-map-card .leaflet-container{font-family:'Segoe UI',sans-serif}
@media(max-width:1050px){.aprs-map-layout{grid-template-columns:1fr}.aprs-stations-card{height:250px}.aprs-stations-card>div{display:block}.aprs-received-station{padding:12px 16px}}
@media(max-width:650px){#aprs-station-map{height:330px}.aprs-activity-toolbar input{order:1;flex-basis:100%}.aprs-map-card header{flex-wrap:wrap}.aprs-map-card footer{gap:12px}.aprs-stations-card{height:230px}}
.aprs-traffic-card>footer summary{cursor:pointer;width:fit-content;color:#a9bfd6;font-size:12px}.aprs-traffic-card>footer p{margin-top:8px;line-height:1.65}
.aprs-map-card .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) saturate(.4) brightness(.9) contrast(.85)}