index.less 812 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. @import '~antd/es/style/themes/default.less';
  2. .editor {
  3. display: flex;
  4. flex: 1;
  5. flex-direction: column;
  6. width: 100%;
  7. height: calc(100vh - 250px);
  8. background: @descriptions-bg;
  9. }
  10. .editorHd {
  11. padding: 8px;
  12. background: @descriptions-bg;
  13. border: 1px solid @item-active-bg;
  14. }
  15. .editorBd {
  16. flex: 1;
  17. }
  18. .editorSidebar,
  19. .editorContent {
  20. display: flex;
  21. flex-direction: column;
  22. }
  23. .editorContent {
  24. :global {
  25. .graph-container canvas {
  26. vertical-align: middle;
  27. }
  28. }
  29. }
  30. .editorSidebar {
  31. background: @descriptions-bg;
  32. :global {
  33. .g6-editor-minimap-container {
  34. background: none !important ;
  35. }
  36. }
  37. &:first-child {
  38. border-right: 1px solid @item-active-bg;
  39. }
  40. &:last-child {
  41. border-left: 1px solid @item-active-bg;
  42. }
  43. }
  44. .flow,
  45. .mind,
  46. .koni {
  47. flex: 1;
  48. }