style: use green cable highlights in light mode

This commit is contained in:
2026-07-28 14:43:20 +02:00
parent 1f80ae5099
commit cff9282a60
2 changed files with 10 additions and 3 deletions
@@ -100,12 +100,18 @@ html[data-netbox-color-mode="dark"] .rack-device {
transition: opacity .12s, stroke .12s, filter .12s, stroke-width .12s;
}
.rack-topology-edge.is-highlighted {
stroke: #fff !important;
stroke: #22c55e !important;
stroke-width: 5;
opacity: 1;
filter: drop-shadow(0 0 5px #fff);
filter: drop-shadow(0 0 5px #22c55e);
}
.rack-topology-edge.is-dimmed { opacity: .12; }
html[data-bs-theme="dark"] .rack-topology-edge.is-highlighted,
body[data-bs-theme="dark"] .rack-topology-edge.is-highlighted,
html[data-netbox-color-mode="dark"] .rack-topology-edge.is-highlighted {
stroke: #fff !important;
filter: drop-shadow(0 0 5px #fff);
}
.rack-topology-edge.is-wireless {
stroke-dasharray: 7 7;
stroke-linecap: round;