darabos commited on
Commit
9d53329
·
1 Parent(s): b6d30cb

Selection indicators.

Browse files
Files changed (2) hide show
  1. web/src/LynxKiteNode.svelte +1 -0
  2. web/src/app.css +7 -2
web/src/LynxKiteNode.svelte CHANGED
@@ -64,6 +64,7 @@
64
  max-width: 300px;
65
  max-height: 400px;
66
  overflow-y: auto;
 
67
  }
68
  .title {
69
  background: #ff8800;
 
64
  max-width: 300px;
65
  max-height: 400px;
66
  overflow-y: auto;
67
+ border-radius: 1px;
68
  }
69
  .title {
70
  background: #ff8800;
web/src/app.css CHANGED
@@ -11,8 +11,9 @@ path.svelte-flow__edge-path {
11
  stroke: black;
12
  }
13
  .svelte-flow__edge.selected path.svelte-flow__edge-path {
14
- stroke-width: 5;
15
- stroke: black;
 
16
  }
17
  .svelte-flow__handle {
18
  border-color: black;
@@ -24,3 +25,7 @@ path.svelte-flow__edge-path {
24
  stroke: none;
25
  fill: black;
26
  }
 
 
 
 
 
11
  stroke: black;
12
  }
13
  .svelte-flow__edge.selected path.svelte-flow__edge-path {
14
+ outline: var(--xy-selection-border, var(--xy-selection-border-default));
15
+ outline-offset: 10px;
16
+ border-radius: 1px;
17
  }
18
  .svelte-flow__handle {
19
  border-color: black;
 
25
  stroke: none;
26
  fill: black;
27
  }
28
+ .selected .lynxkite-node {
29
+ outline: var(--xy-selection-border, var(--xy-selection-border-default));
30
+ outline-offset: 5px;
31
+ }