main.scss 3.4 KB

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