main.scss 5.3 KB

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