main.scss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. #node-editor-graph-root {
  2. display: grid;
  3. grid-template-rows: calc(100% - 120px) 120px;
  4. height: 100%;
  5. width: 100%;
  6. background: #464646;
  7. font: 14px "acumin-pro";
  8. }
  9. #nodeList {
  10. grid-row: 1 / span 2;
  11. grid-column: 1;
  12. }
  13. #leftGrab {
  14. grid-row: 1 / span 2;
  15. grid-column: 2;
  16. cursor: ew-resize;
  17. }
  18. #rightGrab {
  19. grid-row: 1 / span 2;
  20. grid-column: 4;
  21. cursor: ew-resize;
  22. }
  23. .diagram-container {
  24. grid-row: 1;
  25. grid-column: 3;
  26. background: #5f5b60;
  27. width: 100%;
  28. height: 100%;
  29. .diagram {
  30. width: 100%;
  31. height: 100%;
  32. }
  33. }
  34. .right-panel {
  35. grid-row: 1 / span 2;
  36. grid-column: 5;
  37. display: grid;
  38. grid-template-rows: 1fr 30px auto 30px;
  39. grid-template-columns: 100%;
  40. height: 100%;
  41. overflow-y: auto;
  42. #propertyTab {
  43. grid-row: 1;
  44. grid-column: 1;
  45. }
  46. .button {
  47. display: grid;
  48. justify-content: center;
  49. align-content: center;
  50. height: 30px;
  51. width: calc(100% / 7);
  52. cursor: pointer;
  53. &:hover {
  54. background: rgb(51, 122, 183);
  55. color: white;
  56. opacity: 0.8;
  57. }
  58. &.selected {
  59. background: rgb(51, 122, 183);
  60. color: white;
  61. }
  62. &.align {
  63. justify-content: stretch;
  64. text-align: center;
  65. }
  66. }
  67. #preview-mesh-bar {
  68. grid-row: 2;
  69. grid-column: 1;
  70. display: flex;
  71. color: white;
  72. align-items: center;
  73. font-size: 18px;
  74. #file-picker {
  75. display: none;
  76. }
  77. #file-picker-label {
  78. width: 100%;
  79. background: transparent;
  80. cursor: pointer;
  81. }
  82. }
  83. #preview-config-bar {
  84. grid-row: 4;
  85. grid-column: 1;
  86. display: flex;
  87. flex-direction: row-reverse;
  88. color: white;
  89. align-items: center;
  90. font-size: 18px;
  91. .button {
  92. width: 60px;
  93. }
  94. #color-picker {
  95. display: none;
  96. }
  97. #color-picker-label {
  98. width: 100%;
  99. background: transparent;
  100. cursor: pointer;
  101. }
  102. }
  103. #preview {
  104. border-top: 1px solid rgb(85, 85, 85);
  105. grid-row: 3;
  106. grid-column: 1;
  107. width: 100%;
  108. display: grid;
  109. outline: 0 !important;
  110. #preview-canvas {
  111. width: 100%;
  112. height: 100%;
  113. outline: 0 !important;
  114. grid-row: 1;
  115. grid-column: 1;
  116. }
  117. .waitPanel {
  118. width: 100%;
  119. height: 100%;
  120. grid-row: 1;
  121. grid-column: 1;
  122. color: white;
  123. font-size: 18px;
  124. align-content: center;
  125. justify-content: center;
  126. background: rgba(20, 20, 20, 0.95);
  127. z-index: 10;
  128. display: grid;
  129. transition: opacity 250ms;
  130. &.hidden {
  131. opacity: 0;
  132. pointer-events: none;
  133. }
  134. }
  135. }
  136. }
  137. .blocker {
  138. visibility: hidden;
  139. position: absolute;
  140. width: calc(100% - 40px);
  141. height: 100%;
  142. top: 0;
  143. left: 0;
  144. background: rgba(20, 20, 20, 0.95);
  145. font-family: "acumin-pro";
  146. color: white;
  147. font-size: 24px;
  148. display: grid;
  149. align-content: center;
  150. justify-content: center;
  151. user-select: none;
  152. padding: 20px;
  153. text-align: center;
  154. }
  155. #log-console {
  156. grid-row: 2;
  157. grid-column: 3;
  158. }
  159. .dialog-container {
  160. position: absolute;
  161. width: 100%;
  162. height: 100%;
  163. background: rgba(0.1, 0.1, 0.1, 0.6);
  164. display: grid;
  165. font-family: "acumin-pro";
  166. top:0;
  167. .dialog {
  168. align-self: center;
  169. justify-self: center;
  170. min-height: 140px;
  171. max-width: 400px;
  172. border-radius: 10px;
  173. background: white;
  174. display: grid;
  175. grid-template-columns: 100%;
  176. grid-template-rows: calc(100% - 50px) 50px;
  177. .dialog-message {
  178. grid-row: 1;
  179. grid-column: 1;
  180. margin-top: 20px;
  181. padding: 10px;
  182. font-size: 18px;
  183. color: black;
  184. }
  185. .dialog-buttons {
  186. grid-row: 2;
  187. grid-column: 1;
  188. display: grid;
  189. grid-template-rows: 100%;
  190. grid-template-columns: 100%;
  191. color: white;
  192. .dialog-button-ok {
  193. cursor: pointer;
  194. justify-self: center;
  195. background:green;
  196. min-width: 80px;
  197. justify-content: center;
  198. display: grid;
  199. align-content: center;
  200. align-self: center;
  201. height: 35px;
  202. border-radius: 10px;
  203. &:hover {
  204. opacity: 0.8;
  205. }
  206. &.error {
  207. background: red;
  208. }
  209. }
  210. }
  211. }
  212. }