dark.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. button {
  2. color: #aaa;
  3. background-color: #222;
  4. border: 0px;
  5. padding: 5px 8px;
  6. text-transform: uppercase;
  7. cursor: pointer;
  8. outline: none;
  9. }
  10. button:hover {
  11. color: #ccc;
  12. background-color: #444;
  13. }
  14. button.selected {
  15. color: #fff;
  16. background-color: #08f;
  17. }
  18. input, textarea {
  19. background-color: #222;
  20. border: 1px solid transparent;
  21. color: #888;
  22. }
  23. input.Number {
  24. color: #08f!important;
  25. font-size: 12px;
  26. border: 0px;
  27. padding: 2px;
  28. cursor: col-resize;
  29. }
  30. select {
  31. color: #aaa;
  32. background-color: #222;
  33. border: 0px;
  34. text-transform: uppercase;
  35. cursor: pointer;
  36. outline: none;
  37. }
  38. select:hover {
  39. color: #ccc;
  40. background-color: #444;
  41. }
  42. /* UI */
  43. #viewport {
  44. position: absolute;
  45. top: 32px;
  46. left: 0;
  47. right: 300px;
  48. bottom: 0;
  49. }
  50. #viewport #info {
  51. text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
  52. pointer-events: none;
  53. }
  54. #script {
  55. position: absolute;
  56. top: 32px;
  57. left: 0;
  58. right: 300px;
  59. bottom: 0;
  60. opacity: 0.9;
  61. }
  62. #player {
  63. position: absolute;
  64. top: 32px;
  65. left: 0;
  66. right: 300px;
  67. bottom: 0;
  68. }
  69. #menubar {
  70. position: absolute;
  71. width: 100%;
  72. height: 32px;
  73. background: #111;
  74. padding: 0;
  75. margin: 0;
  76. right: 0;
  77. top: 0;
  78. }
  79. #menubar .menu {
  80. float: left;
  81. cursor: pointer;
  82. padding-right: 8px;
  83. }
  84. #menubar .menu.right {
  85. float: right;
  86. cursor: auto;
  87. padding-right: 0;
  88. text-align: right;
  89. }
  90. #menubar .menu .title {
  91. display: inline-block;
  92. color: #888;
  93. margin: 0;
  94. padding: 8px;
  95. line-height: 16px;
  96. }
  97. #menubar .menu .options {
  98. position: fixed;
  99. display: none;
  100. padding: 5px 0;
  101. background: #111;
  102. width: 150px;
  103. max-height: calc(100% - 80px);
  104. overflow: auto;
  105. }
  106. #menubar .menu:hover .options {
  107. display: block;
  108. }
  109. #menubar .menu .options hr {
  110. border-color: #222;
  111. }
  112. #menubar .menu .options .option {
  113. color: #888;
  114. background-color: transparent;
  115. padding: 5px 10px;
  116. margin: 0 !important;
  117. }
  118. #menubar .menu .options .option:hover {
  119. color: #fff;
  120. background-color: #08f;
  121. }
  122. #menubar .menu .options .option:active {
  123. background: transparent;
  124. }
  125. #menubar .menu .options .inactive {
  126. color: #444;
  127. background-color: transparent;
  128. padding: 5px 10px;
  129. margin: 0 !important;
  130. }
  131. #sidebar {
  132. position: absolute;
  133. right: 0;
  134. top: 32px;
  135. bottom: 0;
  136. width: 300px;
  137. background-color: #111;
  138. overflow: auto;
  139. }
  140. #sidebar * {
  141. vertical-align: middle;
  142. }
  143. #sidebar .Panel {
  144. color: #888;
  145. padding: 10px;
  146. border-top: 1px solid #222;
  147. }
  148. #sidebar .Panel.collapsed {
  149. margin-bottom: 0;
  150. }
  151. #sidebar .Panel.Material canvas {
  152. border: solid 1px #5A5A5A;
  153. }
  154. #sidebar .Row {
  155. min-height: 20px;
  156. margin-bottom: 10px;
  157. }
  158. #tabs {
  159. background-color: #1b1b1b;
  160. border-top: 1px solid #222;
  161. }
  162. #tabs span {
  163. color: #555;
  164. border-right: 1px solid #222;
  165. padding: 10px;
  166. }
  167. #tabs span.selected {
  168. color: #888;
  169. background-color: #111;
  170. }
  171. #toolbar {
  172. position: absolute;
  173. left: calc(50% - 290px); /* ( ( 100% - 300px ) / 2.0 ) - 140px */
  174. width: 280px;
  175. bottom: 16px;
  176. height: 32px;
  177. background-color: #111;
  178. color: #333;
  179. }
  180. #toolbar * {
  181. vertical-align: middle;
  182. }
  183. #toolbar .Panel {
  184. padding: 4px;
  185. color: #888;
  186. }
  187. #toolbar button {
  188. margin-right: 6px;
  189. line-height: 14px;
  190. height: 24px;
  191. }
  192. .Outliner {
  193. color: #888;
  194. background: #222;
  195. padding: 0;
  196. width: 100%;
  197. height: 140px;
  198. font-size: 12px;
  199. cursor: default;
  200. overflow: auto;
  201. outline: none;
  202. }
  203. .Outliner .option {
  204. padding: 4px;
  205. white-space: nowrap;
  206. }
  207. .Outliner .option:hover {
  208. background-color: rgba(21,60,94,0.5);
  209. }
  210. .Outliner .option.active {
  211. background-color: rgba(21,60,94,1);
  212. }
  213. /* */
  214. @media all and ( max-width: 600px ) {
  215. #menubar .menu .options {
  216. max-height: calc(100% - 372px);
  217. }
  218. #menubar .menu.right {
  219. display: none;
  220. }
  221. #viewport {
  222. left: 0;
  223. right: 0;
  224. top: 32px;
  225. height: calc(100% - 352px);
  226. }
  227. #script {
  228. left: 0;
  229. right: 0;
  230. top: 32px;
  231. height: calc(100% - 352px);
  232. }
  233. #player {
  234. left: 0;
  235. right: 0;
  236. top: 32px;
  237. height: calc(100% - 352px);
  238. }
  239. #sidebar {
  240. left: 0;
  241. width: 100%;
  242. top: calc(100% - 320px);
  243. bottom: 0;
  244. }
  245. #toolbar {
  246. left: calc(50% - 140px);
  247. width: 280px;
  248. top: 52px;
  249. }
  250. }