main.scss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. #gui-editor-workbench-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. #leftGrab {
  27. grid-row: 1 / span 2;
  28. grid-column: 2;
  29. cursor: ew-resize;
  30. }
  31. #rightGrab {
  32. grid-row: 1 / span 2;
  33. grid-column: 4;
  34. cursor: ew-resize;
  35. }
  36. .diagram-container {
  37. grid-row: 1;
  38. grid-column: 3;
  39. background: #5f5b60;
  40. width: 100%;
  41. height: 100%;
  42. .diagram {
  43. display: none;
  44. width: 100%;
  45. height: 100%;
  46. }
  47. }
  48. .right-panel {
  49. grid-row: 1 / span 2;
  50. grid-column: 5;
  51. display: grid;
  52. grid-template-rows: 1fr 40px auto 40px;
  53. grid-template-columns: 100%;
  54. height: 100%;
  55. overflow-y: auto;
  56. #propertyTab {
  57. grid-row: 1;
  58. grid-column: 1;
  59. }
  60. .button {
  61. display: grid;
  62. justify-content: center;
  63. align-content: center;
  64. height: auto;
  65. width: calc(100% / 7);
  66. cursor: pointer;
  67. &:hover {
  68. background: rgb(51, 122, 183);
  69. color: white;
  70. opacity: 0.8;
  71. }
  72. &.selected {
  73. background: rgb(51, 122, 183);
  74. color: white;
  75. }
  76. &.align {
  77. justify-content: stretch;
  78. text-align: center;
  79. }
  80. }
  81. #preview-mesh-bar {
  82. grid-row: 2;
  83. grid-column: 1;
  84. display: grid;
  85. grid-template-columns: auto 1fr 40px 40px 40px;
  86. align-items: center;
  87. font-size: 18px;
  88. background-color: #555555;
  89. #file-picker {
  90. display: none;
  91. }
  92. .listLine {
  93. grid-column: 1;
  94. height: 40px;
  95. display: grid;
  96. grid-template-columns: 0px 1fr;
  97. .label {
  98. grid-column: 1;
  99. display: flex;
  100. align-items: center;
  101. font-size: 14px;
  102. }
  103. .options {
  104. grid-column: 2;
  105. display: flex;
  106. align-items: center;
  107. margin-left: 5px;
  108. select {
  109. width: 115px;
  110. }
  111. }
  112. }
  113. .button{
  114. color: #ffffff;
  115. width: 40px;
  116. height: 40px;
  117. transform-origin: 50% 50%;
  118. &:active {
  119. transform: scale(0.90);
  120. }
  121. &:hover {
  122. background: #3f3461;
  123. }
  124. &.selected {
  125. background: #9379e6;
  126. }
  127. img{
  128. height: 40px;
  129. width: 100%;
  130. }
  131. }
  132. #play-button {
  133. grid-column: 3;
  134. }
  135. #color-picker-button {
  136. grid-column: 4;
  137. display: grid;
  138. grid-template-columns: 100%;
  139. grid-template-rows: 100%;
  140. img {
  141. height: 40px;
  142. width: 30px;
  143. }
  144. #color-picker-image {
  145. padding-left: 5px;
  146. padding-bottom: 38px;
  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. }
  211. .blocker {
  212. visibility: hidden;
  213. position: absolute;
  214. width: calc(100% - 40px);
  215. height: 100%;
  216. top: 0;
  217. left: 0;
  218. background: rgba(20, 20, 20, 0.95);
  219. font-family: "acumin-pro";
  220. color: white;
  221. font-size: 24px;
  222. display: grid;
  223. align-content: center;
  224. justify-content: center;
  225. user-select: none;
  226. padding: 20px;
  227. text-align: center;
  228. }
  229. #log-console {
  230. grid-row: 2;
  231. grid-column: 3;
  232. }
  233. .dialog-container {
  234. position: absolute;
  235. width: 100%;
  236. height: 100%;
  237. background: rgba(0.1, 0.1, 0.1, 0.6);
  238. display: grid;
  239. font-family: "acumin-pro";
  240. top:0;
  241. .dialog {
  242. align-self: center;
  243. justify-self: center;
  244. min-height: 140px;
  245. max-width: 400px;
  246. border-radius: 10px;
  247. background: white;
  248. display: grid;
  249. grid-template-columns: 100%;
  250. grid-template-rows: calc(100% - 50px) 50px;
  251. .dialog-message {
  252. grid-row: 1;
  253. grid-column: 1;
  254. margin-top: 20px;
  255. padding: 10px;
  256. font-size: 18px;
  257. color: black;
  258. }
  259. .dialog-buttons {
  260. grid-row: 2;
  261. grid-column: 1;
  262. display: grid;
  263. grid-template-rows: 100%;
  264. grid-template-columns: 100%;
  265. color: white;
  266. .dialog-button-ok {
  267. cursor: pointer;
  268. justify-self: center;
  269. background:green;
  270. min-width: 80px;
  271. justify-content: center;
  272. display: grid;
  273. align-content: center;
  274. align-self: center;
  275. height: 35px;
  276. border-radius: 10px;
  277. &:hover {
  278. opacity: 0.8;
  279. }
  280. &.error {
  281. background: red;
  282. }
  283. }
  284. }
  285. }
  286. }