index.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. html, body {
  2. overflow: hidden;
  3. width: 100%;
  4. height: 100%;
  5. background-color: #272822;
  6. }
  7. x-splitbox {
  8. position: absolute;
  9. left: 0px;
  10. top: 50px;
  11. width: 100%;
  12. bottom: 40px;
  13. height: auto;
  14. }
  15. x-splitbox > [splitter]:after {
  16. display: none;
  17. }
  18. #jsEditor {
  19. min-width: 250px;
  20. }
  21. #canvasZone {
  22. min-width: 250px;
  23. height: 100%;
  24. }
  25. #renderCanvas {
  26. width: 100%;
  27. height: 100%;
  28. touch-action: none;
  29. }
  30. ul#scriptsList {
  31. overflow-y: auto;
  32. height: 600px;
  33. -webkit-column-count: 3;
  34. -moz-column-count: 3;
  35. column-count: 3;
  36. padding: 10px
  37. }
  38. #fpsLabel {
  39. position: absolute;
  40. right: 10px;
  41. top: 70px;
  42. cursor: default;
  43. }
  44. #topbar {
  45. padding: 5px;
  46. }
  47. .navbar .brand {
  48. margin-left: 0px;
  49. }
  50. #errorZone {
  51. position: absolute;
  52. width: 50%;
  53. left: 25%;
  54. bottom: 40px;
  55. }
  56. #statusBar {
  57. padding: 10px 15px 10px;
  58. color: #999;
  59. }
  60. @media (max-width: 800px) {
  61. .desktopOnly {
  62. display: none !important;
  63. }
  64. }
  65. @media (max-width: 1100px) {
  66. .largeOnly {
  67. display: none !important;
  68. }
  69. }
  70. @media (max-width: 550px) {
  71. .btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
  72. font-size: 12px !important;
  73. }
  74. }
  75. /* MONACO */
  76. .monaco-editor .container:before, .monaco-editor .row:before {
  77. content: "";
  78. display: inherit;
  79. }
  80. .monaco-editor .container:after, .monaco-editor .row:after {
  81. clear: inherit;
  82. }
  83. .monaco-editor .container {
  84. width: auto;
  85. margin: inherit;
  86. padding: inherit;
  87. }
  88. .monaco-editor .close {
  89. float: none;
  90. font-size: inherit;
  91. font-weight: inherit;
  92. line-height: inherit;
  93. color: inherit;
  94. text-shadow: inherit;
  95. opacity: inherit;
  96. filter: inherit;
  97. }
  98. .monaco-editor .row {
  99. margin: inherit;
  100. }
  101. .monaco-editor .invisible {
  102. visibility: visible;
  103. }
  104. /* Save form & co */
  105. .save-message {
  106. display: none;
  107. float: left;
  108. width: 100%;
  109. background-color: rgba(0,0,0,.5);
  110. text-align: center;
  111. color: white;
  112. font-size: 1.1em;
  113. line-height: 2em;
  114. }
  115. .save-layer {
  116. display: none;
  117. position: absolute;
  118. top: 0;
  119. left: 0;
  120. width: 100%;
  121. height: 100%;
  122. background-color: rgba(120,120,120,.5);
  123. text-align: center;
  124. }
  125. .save-layer .save-form {
  126. position: absolute;
  127. top: 150px;
  128. left: calc(50% - 205px);
  129. width: 410px;
  130. height: 390px;
  131. padding-top: 15px;
  132. -webkit-border-radius: 6px;
  133. -moz-border-radius: 6px;
  134. border-radius: 6px;
  135. background-color: rgba(27,27,27,0.75);/*#1b1b1b;*/
  136. background-image: -moz-linear-gradient(top,rgba(34,34,34,.75),rgba(17,17,17,.75));
  137. background-image: -webkit-gradient(linear,0 0,0 100%,from(rgba(34,34,34,.75)),to(rgba(17,17,17,.75)));
  138. background-image: -webkit-linear-gradient(top,rgba(34,34,34,.75),rgba(17,17,17,.75));
  139. background-image: -o-linear-gradient(top,rgba(34,34,34,.75),rgba(17,17,17,.75));
  140. background-image: linear-gradient(to bottom,rgba(34,34,34,.75),rgba(17,17,17,.75));
  141. background-repeat: repeat-x;
  142. border-color: #252525;
  143. color: white;
  144. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  145. font-size: 14px;
  146. }
  147. .save-layer .save-form .separator {
  148. width: 350px;
  149. border-bottom: 1px solid #999;
  150. margin: auto;
  151. margin-top: -6px;
  152. margin-bottom: 10px;
  153. }
  154. .save-layer .save-form .save-form-buttons {
  155. margin-top: 10px;
  156. }
  157. .save-layer .save-form input, .save-layer .save-form textarea {
  158. width: 350px;
  159. }