main.scss 8.3 KB

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