[feat](trx-frontend-http): color radio paths by band or mode
Radio paths and decode contact paths now use the same color as the marker they belong to, respecting the active filter mode: - Band mode: color follows the band (golden-angle HSL hue) - Mode/source mode: color follows the source type (FT8/WSPR/bookmark) APRS, AIS, and VDES paths use their fixed source colors unchanged. Decode contact paths sync color when the filter mode is switched. CSS stroke/stroke-opacity removed from path classes so Leaflet's color option takes effect; dasharray and flow animation are retained. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -1816,13 +1816,11 @@ body.map-fake-fullscreen-active {
|
||||
color: var(--text);
|
||||
word-break: break-word;
|
||||
}
|
||||
.aprs-radio-path { stroke: var(--accent-green) !important; stroke-opacity: 0.8 !important; stroke-dasharray: 10 5 !important; animation: aprs-radio-path-flow 0.7s linear infinite; }
|
||||
.locator-radio-path { stroke: var(--accent-green) !important; stroke-opacity: 0.9 !important; stroke-dasharray: 12 6 !important; animation: aprs-radio-path-flow 0.7s linear infinite; }
|
||||
.aprs-radio-path { stroke-dasharray: 10 5 !important; animation: aprs-radio-path-flow 0.7s linear infinite; }
|
||||
.locator-radio-path { stroke-dasharray: 12 6 !important; animation: aprs-radio-path-flow 0.7s linear infinite; }
|
||||
.decode-contact-path {
|
||||
stroke: color-mix(in srgb, var(--accent-green) 72%, var(--accent-yellow)) !important;
|
||||
stroke-opacity: 0.78 !important;
|
||||
stroke-dasharray: 9 6 !important;
|
||||
filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent-green) 34%, transparent));
|
||||
filter: drop-shadow(0 0 3px color-mix(in srgb, currentColor 34%, transparent));
|
||||
animation: aprs-radio-path-flow 0.85s linear infinite;
|
||||
}
|
||||
.decode-contact-distance-label {
|
||||
|
||||
Reference in New Issue
Block a user