main.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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;
  39. grid-template-columns: 100%;
  40. height: 100%;
  41. overflow-y: auto;
  42. #propertyTab {
  43. grid-row: 1;
  44. grid-column: 1;
  45. }
  46. #preview-mesh-bar {
  47. grid-row: 2;
  48. grid-column: 1;
  49. display: flex;
  50. color: white;
  51. align-items: center;
  52. font-size: 18px;
  53. .button {
  54. display: grid;
  55. justify-content: center;
  56. align-content: center;
  57. height: 30px;
  58. width: calc(100% / 4);
  59. cursor: pointer;
  60. &:hover {
  61. background: rgb(51, 122, 183);
  62. color: white;
  63. opacity: 0.8;
  64. }
  65. &.selected {
  66. background: rgb(51, 122, 183);
  67. color: white;
  68. }
  69. }
  70. }
  71. #preview {
  72. border-top: 1px solid rgb(85, 85, 85);
  73. grid-row: 3;
  74. grid-column: 1;
  75. width: 100%;
  76. display: grid;
  77. outline: 0 !important;
  78. #preview-canvas {
  79. width: 100%;
  80. height: 100%;
  81. outline: 0 !important;
  82. }
  83. }
  84. }
  85. #log-console {
  86. grid-row: 2;
  87. grid-column: 3;
  88. }
  89. .dialog-container {
  90. position: absolute;
  91. width: 100%;
  92. height: 100%;
  93. background: rgba(0.1, 0.1, 0.1, 0.6);
  94. display: grid;
  95. font-family: "acumin-pro";
  96. top:0;
  97. .dialog {
  98. align-self: center;
  99. justify-self: center;
  100. min-height: 140px;
  101. max-width: 400px;
  102. border-radius: 10px;
  103. background: white;
  104. display: grid;
  105. grid-template-columns: 100%;
  106. grid-template-rows: calc(100% - 50px) 50px;
  107. .dialog-message {
  108. grid-row: 1;
  109. grid-column: 1;
  110. margin-top: 20px;
  111. padding: 10px;
  112. font-size: 18px;
  113. color: black;
  114. }
  115. .dialog-buttons {
  116. grid-row: 2;
  117. grid-column: 1;
  118. display: grid;
  119. grid-template-rows: 100%;
  120. grid-template-columns: 100%;
  121. color: white;
  122. .dialog-button-ok {
  123. cursor: pointer;
  124. justify-self: center;
  125. background:green;
  126. min-width: 80px;
  127. justify-content: center;
  128. display: grid;
  129. align-content: center;
  130. align-self: center;
  131. height: 35px;
  132. border-radius: 10px;
  133. &:hover {
  134. opacity: 0.8;
  135. }
  136. &.error {
  137. background: red;
  138. }
  139. }
  140. }
  141. }
  142. }