main.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. text-transform: uppercase;
  55. }
  56. .TabbedPanel .Tabs .Panels {
  57. position: relative;
  58. display: block;
  59. width: 100%;
  60. height: 100%;
  61. }
  62. /* Listbox */
  63. .Listbox {
  64. color: #444;
  65. background-color: #fff;
  66. padding: 0;
  67. width: 100%;
  68. min-height: 140px;
  69. font-size: 12px;
  70. cursor: default;
  71. overflow: auto;
  72. }
  73. .Listbox .ListboxItem {
  74. padding: 6px;
  75. color: #666;
  76. white-space: nowrap;
  77. }
  78. .Listbox .ListboxItem.active {
  79. background-color: rgba(0, 0, 0, 0.04);
  80. }
  81. /* CodeMirror */
  82. .CodeMirror {
  83. position: absolute !important;
  84. top: 37px;
  85. width: 100% !important;
  86. height: calc(100% - 37px) !important;
  87. }
  88. .CodeMirror .errorLine {
  89. background: rgba(255,0,0,0.25);
  90. }
  91. .CodeMirror .esprima-error {
  92. color: #f00;
  93. text-align: right;
  94. padding: 0 20px;
  95. }
  96. /* outliner */
  97. #outliner .option {
  98. border: 1px solid transparent;
  99. }
  100. #outliner .option.drag {
  101. border: 1px dashed #999;
  102. }
  103. #outliner .option.dragTop {
  104. border-top: 1px dashed #999;
  105. }
  106. #outliner .option.dragBottom {
  107. border-bottom: 1px dashed #999;
  108. }
  109. #outliner .type {
  110. position:relative;
  111. top:-2px;
  112. padding: 0 2px;
  113. color: #ddd;
  114. }
  115. #outliner .type:after {
  116. content: '■';
  117. }
  118. #outliner .Scene {
  119. color: #ccccff;
  120. }
  121. #outliner .Object3D {
  122. color: #aaaaee;
  123. }
  124. #outliner .Mesh {
  125. color: #8888ee;
  126. }
  127. #outliner .Line {
  128. color: #88ee88;
  129. }
  130. #outliner .LineSegments {
  131. color: #88ee88;
  132. }
  133. #outliner .Points {
  134. color: #ee8888;
  135. }
  136. /* */
  137. #outliner .PointLight {
  138. color: #dddd00;
  139. }
  140. /* */
  141. #outliner .Geometry {
  142. color: #88ff88;
  143. }
  144. #outliner .BoxGeometry {
  145. color: #bbeebb;
  146. }
  147. #outliner .TorusGeometry {
  148. color: #aaeeaa;
  149. }
  150. /* */
  151. #outliner .Material {
  152. color: #ff8888;
  153. }
  154. #outliner .MeshPhongMaterial {
  155. color: #ffaa88;
  156. }
  157. /* */
  158. #outliner .Script:after {
  159. content: '{...}' /* ❮/❯ */
  160. }