index.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. :root {
  2. --g-selection-background: #4d53e8;
  3. --g-editor-background: #f2f3f5;
  4. --g-playground-select: var(--g-selection-background);
  5. --g-playground-hover: var(--g-selection-background);
  6. --g-playground-line: var(--g-selection-background);
  7. --g-playground-blur: #999;
  8. --g-playground-selectBox-outline: var(--g-selection-background);
  9. --g-playground-selectBox-background: rgba(141, 144, 231, 0.1);
  10. --g-playground-select-hover-background: rgba(77, 83, 232, 0.1);
  11. --g-playground-select-control-size: 12px;
  12. }
  13. .gedit-playground {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. left: 0;
  18. top: 0;
  19. z-index: 10;
  20. overflow: hidden;
  21. user-select: none;
  22. outline: none;
  23. box-sizing: border-box;
  24. background-color: var(--g-editor-background);
  25. }
  26. .gedit-playground .flow-lines-container {
  27. overflow: visible;
  28. }
  29. .gedit-transition-ease {
  30. transition: left, top 0.3s ease;
  31. }
  32. .gedit-playground-scroll-right {
  33. position: absolute;
  34. right: 2px;
  35. height: 100vh;
  36. width: 7px;
  37. z-index: 10;
  38. }
  39. .gedit-playground-scroll-bottom {
  40. position: absolute;
  41. bottom: 2px;
  42. width: 100vw;
  43. height: 7px;
  44. z-index: 10;
  45. }
  46. .gedit-playground-scroll-right-block {
  47. position: absolute;
  48. opacity: 0.3;
  49. border-radius: 3.5px;
  50. }
  51. .gedit-playground-scroll-right-block:hover {
  52. opacity: 0.6;
  53. }
  54. .gedit-playground-scroll-bottom-block {
  55. position: absolute;
  56. opacity: 0.3;
  57. border-radius: 3.5px;
  58. }
  59. .gedit-playground-scroll-bottom-block:hover {
  60. opacity: 0.6;
  61. }
  62. .gedit-playground-scroll-hidden {
  63. opacity: 0;
  64. }
  65. .gedit-playground-loading {
  66. position: absolute;
  67. color: white;
  68. left: 50%;
  69. top: 50%;
  70. z-index: 100;
  71. display: flex;
  72. justify-content: center;
  73. align-items: center;
  74. transition: opacity 0.8s;
  75. flex-direction: column;
  76. text-align: center;
  77. opacity: 0.8;
  78. }
  79. .gedit-hidden {
  80. display: none;
  81. }
  82. .gedit-playground-pipeline {
  83. position: absolute;
  84. overflow: visible;
  85. width: 100%;
  86. height: 100%;
  87. left: 0;
  88. top: 0;
  89. }
  90. .gedit-playground-pipeline::before {
  91. content: '';
  92. position: absolute;
  93. width: 1px;
  94. height: 100%;
  95. left: 0;
  96. top: 0;
  97. }
  98. .gedit-playground-layer {
  99. position: absolute;
  100. overflow: visible;
  101. }
  102. .gedit-selector-box {
  103. position: absolute;
  104. left: 0;
  105. top: 0;
  106. width: 0;
  107. height: 0;
  108. z-index: 33;
  109. outline: 1px solid var(--g-playground-selectBox-outline);
  110. background-color: var(--g-playground-selectBox-background);
  111. }
  112. .gedit-selector-box-block {
  113. position: absolute;
  114. left: 0;
  115. top: 0;
  116. width: 0;
  117. height: 0;
  118. z-index: 9999;
  119. display: none;
  120. background-color: rgba(0, 0, 0, 0);
  121. }
  122. .gedit-selector-bounds-background {
  123. position: absolute;
  124. left: 0;
  125. top: 0;
  126. width: 0;
  127. height: 0;
  128. outline: 1px solid var(--g-playground-selectBox-outline);
  129. background-color: #f0f4ff;
  130. }
  131. .gedit-selector-bounds-foreground {
  132. position: absolute;
  133. left: 0;
  134. top: 0;
  135. width: 0;
  136. height: 0;
  137. z-index: 33;
  138. background: rgba(255, 255, 255, 0);
  139. }
  140. .gedit-flow-activity-node {
  141. position: absolute;
  142. }
  143. .gedit-grid-svg {
  144. display: block;
  145. position: absolute;
  146. left: 20px;
  147. top: 20px;
  148. width: 0;
  149. height: 0;
  150. }