index.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. .nz-graph {
  4. position: relative;
  5. display: block;
  6. width: 100%;
  7. height: 100%;
  8. background-color: #fff;
  9. }
  10. .nz-graph-nodes .nz-graph-node-rect {
  11. fill: transparent;
  12. stroke: #91d5ff;
  13. stroke-width: 1px;
  14. }
  15. .nz-graph-nodes .nz-graph-node-rect:hover {
  16. stroke: #1890ff;
  17. }
  18. .nz-graph-edges .nz-graph-edge path {
  19. fill: none;
  20. stroke: #91d5ff;
  21. stroke-linecap: butt;
  22. stroke-width: 1px;
  23. }
  24. .nz-graph-edges .nz-graph-edge path:hover {
  25. stroke: #1890ff;
  26. }
  27. .nz-graph-edges .nz-graph-edge-text {
  28. font-size: 12px;
  29. fill: rgba(0, 0, 0, 0.85);
  30. }
  31. .nz-graph-edge-marker {
  32. color: #91d5ff;
  33. fill: #91d5ff;
  34. }
  35. .nz-graph-minimap {
  36. position: absolute;
  37. right: 0;
  38. bottom: 0;
  39. z-index: 99;
  40. background-color: #fff;
  41. border: 1px solid #d9d9d9;
  42. transition: opacity 0.3s linear;
  43. pointer-events: auto;
  44. }
  45. .nz-graph-minimap.hidden {
  46. opacity: 0;
  47. pointer-events: none;
  48. }
  49. .nz-graph-minimap canvas {
  50. border: 1px solid #999;
  51. }
  52. .nz-graph-minimap rect {
  53. cursor: move;
  54. filter: url('#minimapDropShadow');
  55. fill: #fff;
  56. stroke: rgba(0, 0, 0, 0.45);
  57. stroke-width: 1px;
  58. fill-opacity: 0;
  59. }
  60. .nz-graph-minimap svg {
  61. position: absolute;
  62. width: 100%;
  63. height: 100%;
  64. }
  65. .nz-graph-minimap .buffer,
  66. .nz-graph-minimap .viewport {
  67. display: block;
  68. height: 100%;
  69. }