main.scss 6.2 KB

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