dark.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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. #cameraSelect {
  193. position: absolute;
  194. z-index: 1;
  195. padding: 10px;
  196. }
  197. #cameraSelect * {
  198. width: 100%;
  199. }
  200. #cameraSelect{
  201. margin-top: 32px;
  202. margin-right: 300px;
  203. right: 0;
  204. top : 0;
  205. }
  206. .Outliner {
  207. color: #888;
  208. background: #222;
  209. padding: 0;
  210. width: 100%;
  211. height: 140px;
  212. font-size: 12px;
  213. cursor: default;
  214. overflow: auto;
  215. outline: none;
  216. }
  217. .Outliner .option {
  218. padding: 4px;
  219. white-space: nowrap;
  220. }
  221. .Outliner .option:hover {
  222. background-color: rgba(21,60,94,0.5);
  223. }
  224. .Outliner .option.active {
  225. background-color: rgba(21,60,94,1);
  226. }
  227. /* */
  228. @media all and ( max-width: 600px ) {
  229. #menubar .menu .options {
  230. max-height: calc(100% - 372px);
  231. }
  232. #menubar .menu.right {
  233. display: none;
  234. }
  235. #viewport {
  236. left: 0;
  237. right: 0;
  238. top: 32px;
  239. height: calc(100% - 352px);
  240. }
  241. #script {
  242. left: 0;
  243. right: 0;
  244. top: 32px;
  245. height: calc(100% - 352px);
  246. }
  247. #player {
  248. left: 0;
  249. right: 0;
  250. top: 32px;
  251. height: calc(100% - 352px);
  252. }
  253. #sidebar {
  254. left: 0;
  255. width: 100%;
  256. top: calc(100% - 320px);
  257. bottom: 0;
  258. }
  259. #toolbar {
  260. left: calc(50% - 140px);
  261. width: 280px;
  262. top: 52px;
  263. }
  264. }