diff --git a/src/App.vue b/src/App.vue index e833e94..cacdae4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,7 @@ @select:font="setFont($event)" @select:theme="setTheme($event)" /> - +
line { stroke-width: .5; } .satellite { text-anchor: start; font-size: .7em; } .rings { stroke: var(--fg-graphic); fill: none; transform: skew(-45deg); transform-origin: 50%; } -.object:hover { fill: var(--hl-graphic); } -.object:hover > line, .object:hover .rings { stroke: var(--hl-graphic); } +.object:hover, .object.selected { fill: var(--hl-graphic); } +.object:hover > line, .object:hover .rings, +.object.selected > line, .object.selected .rings { stroke: var(--hl-graphic); } h1 { font-family: xolonium; diff --git a/src/components/SystemDiagram.vue b/src/components/SystemDiagram.vue index 64d527c..49aa4ed 100644 --- a/src/components/SystemDiagram.vue +++ b/src/components/SystemDiagram.vue @@ -3,7 +3,13 @@ - + @@ -25,16 +31,30 @@