main.scss 8.2 KB

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