light.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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: 0px;
  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: 32px;
  56. opacity: 0.9;
  57. }
  58. #player {
  59. position: absolute;
  60. top: 32px;
  61. left: 0;
  62. right: 300px;
  63. bottom: 32px;
  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.right {
  81. float: right;
  82. cursor: auto;
  83. padding-right: 0;
  84. text-align: right;
  85. }
  86. #menubar .menu .title {
  87. display: inline-block;
  88. color: #888;
  89. margin: 0;
  90. padding: 8px;
  91. }
  92. #menubar .menu .options {
  93. position: fixed;
  94. display: none;
  95. padding: 5px 0;
  96. background: #eee;
  97. width: 150px;
  98. max-height: calc(100% - 80px);
  99. overflow: auto;
  100. }
  101. #menubar .menu:hover .options {
  102. display: block;
  103. }
  104. #menubar .menu .options hr {
  105. border-color: #ddd;
  106. }
  107. #menubar .menu .options .option {
  108. color: #666;
  109. background-color: transparent;
  110. padding: 5px 10px;
  111. margin: 0 !important;
  112. }
  113. #menubar .menu .options .option:hover {
  114. color: #fff;
  115. background-color: #08f;
  116. }
  117. #menubar .menu .options .option:active {
  118. color: #666;
  119. background: transparent;
  120. }
  121. #menubar .menu .options .inactive {
  122. color: #bbb;
  123. background-color: transparent;
  124. padding: 5px 10px;
  125. margin: 0 !important;
  126. }
  127. #sidebar {
  128. position: absolute;
  129. right: 0;
  130. top: 32px;
  131. bottom: 0;
  132. width: 300px;
  133. background: #eee;
  134. overflow: auto;
  135. }
  136. #sidebar * {
  137. vertical-align: middle;
  138. }
  139. #sidebar .Panel {
  140. color: #888;
  141. padding: 10px;
  142. border-top: 1px solid #ccc;
  143. }
  144. #sidebar .Panel.collapsed {
  145. margin-bottom: 0;
  146. }
  147. #sidebar .Row {
  148. min-height: 20px;
  149. margin-bottom: 10px;
  150. }
  151. #tabs {
  152. background-color: #ddd;
  153. border-top: 1px solid #ccc;
  154. }
  155. #tabs span {
  156. color: #aaa;
  157. border-right: 1px solid #ccc;
  158. padding: 10px;
  159. }
  160. #tabs span.selected {
  161. color: #888;
  162. background-color: #eee;
  163. }
  164. #toolbar {
  165. position: absolute;
  166. left: calc(50% - 290px); /* ( ( 100% - 300px ) / 2.0 ) - 140px */
  167. width: 280px;
  168. bottom: 16px;
  169. height: 32px;
  170. background: #eee;
  171. color: #333;
  172. }
  173. #toolbar * {
  174. vertical-align: middle;
  175. }
  176. #toolbar .Panel {
  177. padding: 4px;
  178. color: #888;
  179. }
  180. #toolbar button {
  181. margin-right: 6px;
  182. }
  183. .Outliner {
  184. color: #444;
  185. background-color: #fff;
  186. padding: 0;
  187. width: 100%;
  188. height: 140px;
  189. font-size: 12px;
  190. cursor: default;
  191. overflow: auto;
  192. outline: none !important;
  193. }
  194. .Outliner .option {
  195. padding: 4px;
  196. color: #666;
  197. white-space: nowrap;
  198. }
  199. .Outliner .option:hover {
  200. background-color: rgba(0,0,0,0.02);
  201. }
  202. .Outliner .option.active {
  203. background-color: rgba(0,0,0,0.04);
  204. }