light.css 3.7 KB

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