_forcegraph.scss 934 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .graph {
  2. height: 100%;
  3. width: 100%;
  4. background: url(img/gplaypattern.png);
  5. svg {
  6. display: block;
  7. width: 100%;
  8. height: 100%;
  9. }
  10. .link {
  11. stroke-opacity: 0.8;
  12. line {
  13. stroke-width: 2.5px;
  14. cursor: pointer;
  15. }
  16. &.highlight line {
  17. stroke-width: 7px;
  18. stroke-dasharray: 10, 10;
  19. opacity: 1;
  20. }
  21. }
  22. .node {
  23. fill: #fff;
  24. stroke-width: 2.5px;
  25. stroke: #AEC7E8;
  26. &:not(.unknown) {
  27. cursor: pointer;
  28. }
  29. &.highlight {
  30. stroke: #FFD486;
  31. stroke-width: 6px;
  32. fill: orange;
  33. point-order: stroke;
  34. }
  35. &.unknown {
  36. stroke: #d00000;
  37. }
  38. }
  39. .labels {
  40. text {
  41. font-size: 7pt;
  42. font-family: Roboto;
  43. alignment-baseline: central;
  44. text-anchor: middle;
  45. fill: rgba(0, 0, 0, 0.6);
  46. paint-order: stroke;
  47. stroke-width: 3pt;
  48. stroke: rgba(255, 255, 255, 0.5);
  49. }
  50. }
  51. }