main.scss 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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 40px auto 40px;
  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: auto;
  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 40px 40px;
  90. align-items: center;
  91. font-size: 18px;
  92. background-color: #555555;
  93. #file-picker {
  94. display: none;
  95. }
  96. .listLine {
  97. grid-column: 1;
  98. height: 40px;
  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. .button{
  118. color: #ffffff;
  119. width: 40px;
  120. height: 40px;
  121. transform-origin: 50% 50%;
  122. &:active {
  123. transform: scale(0.90);
  124. }
  125. &:hover {
  126. background: #3f3461;
  127. }
  128. &.selected {
  129. background: #9379e6;
  130. }
  131. img{
  132. height: 40px;
  133. width: 100%;
  134. }
  135. }
  136. #play-button {
  137. grid-column: 3;
  138. }
  139. #color-picker-button {
  140. grid-column: 4;
  141. #color-picker {
  142. display: none;
  143. }
  144. #color-picker-label {
  145. width: 100%;
  146. background: transparent;
  147. cursor: pointer;
  148. }
  149. }
  150. #preview-new-window {
  151. grid-column: 5;
  152. }
  153. select {
  154. background-color: #a3a3a3;
  155. color: #333333;
  156. }
  157. }
  158. #preview-config-bar {
  159. grid-row: 4;
  160. grid-column: 1;
  161. display: grid;
  162. grid-template-columns: 40px 40px 40px 1fr 40px 40px;
  163. color: white;
  164. align-items: center;
  165. font-size: 18px;
  166. .button {
  167. width: 40px;
  168. grid-row: 1;
  169. height: 40px;
  170. transform-origin: 50% 50%;
  171. &:hover {
  172. background: #3f3461;
  173. }
  174. &.selected {
  175. background: #9379e6;
  176. }
  177. &:active {
  178. transform: scale(0.90);
  179. }
  180. img{
  181. height: auto;
  182. width: 100%;
  183. }
  184. &.back-face {
  185. grid-column: 6
  186. }
  187. &.depth-pass {
  188. grid-column: 5 / 6
  189. }
  190. &.hemispheric-light{
  191. grid-column: 3 / 4
  192. }
  193. &.direction-light-1{
  194. grid-column: 2 / 3
  195. }
  196. &.direction-light-0{
  197. grid-column: 1 / 2
  198. }
  199. }
  200. }
  201. #preview {
  202. border-top: 1px solid rgb(85, 85, 85);
  203. grid-row: 3;
  204. grid-column: 1;
  205. width: 100%;
  206. display: grid;
  207. outline: 0 !important;
  208. user-select: none;
  209. #preview-canvas {
  210. width: 100%;
  211. height: 100%;
  212. outline: 0 !important;
  213. grid-row: 1;
  214. grid-column: 1;
  215. }
  216. .waitPanel {
  217. width: 100%;
  218. height: 100%;
  219. grid-row: 1;
  220. grid-column: 1;
  221. color: white;
  222. font-size: 18px;
  223. align-content: center;
  224. justify-content: center;
  225. background: rgba(20, 20, 20, 0.95);
  226. z-index: 10;
  227. display: grid;
  228. transition: opacity 250ms;
  229. &.hidden {
  230. opacity: 0;
  231. pointer-events: none;
  232. }
  233. }
  234. }
  235. }
  236. .blocker {
  237. visibility: hidden;
  238. position: absolute;
  239. width: calc(100% - 40px);
  240. height: 100%;
  241. top: 0;
  242. left: 0;
  243. background: rgba(20, 20, 20, 0.95);
  244. font-family: "acumin-pro";
  245. color: white;
  246. font-size: 24px;
  247. display: grid;
  248. align-content: center;
  249. justify-content: center;
  250. user-select: none;
  251. padding: 20px;
  252. text-align: center;
  253. }
  254. #log-console {
  255. grid-row: 2;
  256. grid-column: 3;
  257. }
  258. .dialog-container {
  259. position: absolute;
  260. width: 100%;
  261. height: 100%;
  262. background: rgba(0.1, 0.1, 0.1, 0.6);
  263. display: grid;
  264. font-family: "acumin-pro";
  265. top:0;
  266. .dialog {
  267. align-self: center;
  268. justify-self: center;
  269. min-height: 140px;
  270. max-width: 400px;
  271. border-radius: 10px;
  272. background: white;
  273. display: grid;
  274. grid-template-columns: 100%;
  275. grid-template-rows: calc(100% - 50px) 50px;
  276. .dialog-message {
  277. grid-row: 1;
  278. grid-column: 1;
  279. margin-top: 20px;
  280. padding: 10px;
  281. font-size: 18px;
  282. color: black;
  283. }
  284. .dialog-buttons {
  285. grid-row: 2;
  286. grid-column: 1;
  287. display: grid;
  288. grid-template-rows: 100%;
  289. grid-template-columns: 100%;
  290. color: white;
  291. .dialog-button-ok {
  292. cursor: pointer;
  293. justify-self: center;
  294. background:green;
  295. min-width: 80px;
  296. justify-content: center;
  297. display: grid;
  298. align-content: center;
  299. align-self: center;
  300. height: 35px;
  301. border-radius: 10px;
  302. &:hover {
  303. opacity: 0.8;
  304. }
  305. &.error {
  306. background: red;
  307. }
  308. }
  309. }
  310. }
  311. }