main.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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. }
  115. }
  116. }
  117. .blocker {
  118. visibility: hidden;
  119. position: absolute;
  120. width: calc(100% - 40px);
  121. height: 100%;
  122. top: 0;
  123. left: 0;
  124. background: rgba(20, 20, 20, 0.95);
  125. font-family: "acumin-pro";
  126. color: white;
  127. font-size: 24px;
  128. display: grid;
  129. align-content: center;
  130. justify-content: center;
  131. user-select: none;
  132. padding: 20px;
  133. text-align: center;
  134. }
  135. #log-console {
  136. grid-row: 2;
  137. grid-column: 3;
  138. }
  139. .dialog-container {
  140. position: absolute;
  141. width: 100%;
  142. height: 100%;
  143. background: rgba(0.1, 0.1, 0.1, 0.6);
  144. display: grid;
  145. font-family: "acumin-pro";
  146. top:0;
  147. .dialog {
  148. align-self: center;
  149. justify-self: center;
  150. min-height: 140px;
  151. max-width: 400px;
  152. border-radius: 10px;
  153. background: white;
  154. display: grid;
  155. grid-template-columns: 100%;
  156. grid-template-rows: calc(100% - 50px) 50px;
  157. .dialog-message {
  158. grid-row: 1;
  159. grid-column: 1;
  160. margin-top: 20px;
  161. padding: 10px;
  162. font-size: 18px;
  163. color: black;
  164. }
  165. .dialog-buttons {
  166. grid-row: 2;
  167. grid-column: 1;
  168. display: grid;
  169. grid-template-rows: 100%;
  170. grid-template-columns: 100%;
  171. color: white;
  172. .dialog-button-ok {
  173. cursor: pointer;
  174. justify-self: center;
  175. background:green;
  176. min-width: 80px;
  177. justify-content: center;
  178. display: grid;
  179. align-content: center;
  180. align-self: center;
  181. height: 35px;
  182. border-radius: 10px;
  183. &:hover {
  184. opacity: 0.8;
  185. }
  186. &.error {
  187. background: red;
  188. }
  189. }
  190. }
  191. }
  192. }