index.css 2.9 KB

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