Vašek Šraier 4 years ago
parent
commit
37ebf73cab
  1. 2
      frontend/src/Graph.svelte
  2. 25
      frontend/src/GraphNode.svelte

2
frontend/src/Graph.svelte

@ -256,7 +256,7 @@
} }
.tooltip rect { .tooltip rect {
stroke: #ffb3a2; stroke: #daca20;
stroke-width: 2px; stroke-width: 2px;
fill: #000000bb; fill: #000000bb;
} }

25
frontend/src/GraphNode.svelte

@ -74,17 +74,26 @@
fill: transparent; fill: transparent;
stroke: transparent; stroke: transparent;
} }
g:hover > .taskNode {
fill: #ffb3a2;
}
.taskNode {
fill: #69b3a2;
}
.submitted .taskNode { .submitted .taskNode {
fill: red; /* TODO */ fill: #da8820; /* TODO */
}
g:hover.submitted > .taskNode {
fill: #ad6000;
} }
.solved .taskNode { .solved .taskNode {
fill: green; /* TODO */ fill: #58BF1C; /* TODO */
}
g:hover.solved > .taskNode {
fill: #389700;
}
.taskNode {
fill: #daca20;
}
g:hover > .taskNode {
fill: #ad9e00;
} }
.selected > ellipse, .selected > ellipse,