main.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. body {
  2. font-family: Helvetica, Arial, sans-serif;
  3. font-size: 14px;
  4. margin: 0;
  5. overflow: hidden;
  6. }
  7. hr {
  8. border: 0;
  9. border-top: 1px solid #ccc;
  10. }
  11. button {
  12. position: relative;
  13. }
  14. textarea {
  15. tab-size: 4;
  16. white-space: pre;
  17. word-wrap: normal;
  18. }
  19. textarea.success {
  20. border-color: #8b8 !important;
  21. }
  22. textarea.fail {
  23. border-color: #f00 !important;
  24. background-color: rgba(255,0,0,0.05);
  25. }
  26. textarea, input { outline: none; } /* osx */
  27. .Panel {
  28. -moz-user-select: none;
  29. -webkit-user-select: none;
  30. -ms-user-select: none;
  31. /* No support for these yet */
  32. -o-user-select: none;
  33. user-select: none;
  34. }
  35. .TabbedPanel {
  36. -moz-user-select: none;
  37. -webkit-user-select: none;
  38. -ms-user-select: none;
  39. /* No support for these yet */
  40. -o-user-select: none;
  41. user-select: none;
  42. position: relative;
  43. display: block;
  44. width: 100%;
  45. }
  46. .TabbedPanel .Tabs {
  47. position: relative;
  48. display: block;
  49. width: 100%;
  50. }
  51. .TabbedPanel .Tabs .Tab {
  52. padding: 10px;
  53. vertical-align: middle;
  54. }
  55. .TabbedPanel .Tabs .Panels {
  56. position: relative;
  57. display: block;
  58. width: 100%;
  59. height: 100%;
  60. }
  61. /* Listbox */
  62. .Listbox {
  63. color: #444;
  64. background-color: #fff;
  65. padding: 0;
  66. width: 100%;
  67. min-height: 140px;
  68. font-size: 12px;
  69. cursor: default;
  70. overflow: auto;
  71. }
  72. .Listbox .ListboxItem {
  73. padding: 6px;
  74. color: #666;
  75. white-space: nowrap;
  76. }
  77. .Listbox .ListboxItem.active {
  78. background-color: rgba(0, 0, 0, 0.04);
  79. }
  80. /* CodeMirror */
  81. .CodeMirror {
  82. position: absolute !important;
  83. top: 37px;
  84. width: 100% !important;
  85. height: calc(100% - 37px) !important;
  86. }
  87. .CodeMirror .errorLine {
  88. background: rgba(255,0,0,0.25);
  89. }
  90. .CodeMirror .esprima-error {
  91. color: #f00;
  92. text-align: right;
  93. padding: 0 20px;
  94. }
  95. /* outliner */
  96. #outliner .option {
  97. border: 1px solid transparent;
  98. }
  99. #outliner .option.drag {
  100. border: 1px dashed #999;
  101. }
  102. #outliner .option.dragTop {
  103. border-top: 1px dashed #999;
  104. }
  105. #outliner .option.dragBottom {
  106. border-bottom: 1px dashed #999;
  107. }
  108. #outliner .type {
  109. position:relative;
  110. top:-2px;
  111. padding: 0 2px;
  112. color: #ddd;
  113. }
  114. #outliner .type:after {
  115. content: '■';
  116. }
  117. #outliner .Scene {
  118. color: #ccccff;
  119. }
  120. #outliner .Object3D {
  121. color: #aaaaee;
  122. }
  123. #outliner .Mesh {
  124. color: #8888ee;
  125. }
  126. #outliner .Line {
  127. color: #88ee88;
  128. }
  129. #outliner .LineSegments {
  130. color: #88ee88;
  131. }
  132. #outliner .Points {
  133. color: #ee8888;
  134. }
  135. /* */
  136. #outliner .PointLight {
  137. color: #dddd00;
  138. }
  139. /* */
  140. #outliner .Geometry {
  141. color: #88ff88;
  142. }
  143. #outliner .BoxGeometry {
  144. color: #bbeebb;
  145. }
  146. #outliner .TorusGeometry {
  147. color: #aaeeaa;
  148. }
  149. /* */
  150. #outliner .Material {
  151. color: #ff8888;
  152. }
  153. #outliner .MeshPhongMaterial {
  154. color: #ffaa88;
  155. }
  156. /* */
  157. #outliner .Script:after {
  158. content: '{...}' /* ❮/❯ */
  159. }