main.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. .Panel.Collapsible .Static {
  36. margin: 0;
  37. }
  38. .Panel.Collapsible .Static .Button {
  39. float: left;
  40. margin-right: 6px;
  41. width: 0;
  42. height: 0;
  43. border: 6px solid transparent;
  44. }
  45. .Panel.Collapsible.collapsed .Static .Button {
  46. margin-top: 2px;
  47. border-left-color: #bbb;
  48. }
  49. .Panel.Collapsible:not(.collapsed) .Static .Button {
  50. margin-top: 6px;
  51. border-top-color: #bbb;
  52. }
  53. .Panel.Collapsible.collapsed .Content {
  54. display: none;
  55. }
  56. /* CodeMirror */
  57. .CodeMirror {
  58. position: absolute !important;
  59. top: 37px;
  60. width: 100% !important;
  61. height: calc(100% - 37px) !important;
  62. }
  63. .CodeMirror .errorLine {
  64. background: rgba(255,0,0,0.25);
  65. }
  66. .CodeMirror .esprima-error {
  67. color: #f00;
  68. text-align: right;
  69. padding: 0 20px;
  70. }
  71. /* outliner */
  72. #outliner .option {
  73. border: 1px solid transparent;
  74. }
  75. #outliner .option.drag {
  76. border: 1px dashed #999;
  77. }
  78. #outliner .option.dragTop {
  79. border-top: 1px dashed #999;
  80. }
  81. #outliner .option.dragBottom {
  82. border-bottom: 1px dashed #999;
  83. }
  84. #outliner .type {
  85. position:relative;
  86. top:-2px;
  87. padding: 0 2px;
  88. color: #ddd;
  89. }
  90. #outliner .type:after {
  91. content: '■';
  92. }
  93. #outliner .Scene {
  94. color: #ccccff;
  95. }
  96. #outliner .Object3D {
  97. color: #aaaaee;
  98. }
  99. #outliner .Mesh {
  100. color: #8888ee;
  101. }
  102. #outliner .Line {
  103. color: #88ee88;
  104. }
  105. #outliner .LineSegments {
  106. color: #88ee88;
  107. }
  108. #outliner .Points {
  109. color: #ee8888;
  110. }
  111. /* */
  112. #outliner .PointLight {
  113. color: #dddd00;
  114. }
  115. /* */
  116. #outliner .Geometry {
  117. color: #88ff88;
  118. }
  119. #outliner .BoxGeometry {
  120. color: #bbeebb;
  121. }
  122. #outliner .TorusGeometry {
  123. color: #aaeeaa;
  124. }
  125. /* */
  126. #outliner .Material {
  127. color: #ff8888;
  128. }
  129. #outliner .MeshPhongMaterial {
  130. color: #ffaa88;
  131. }
  132. /* */
  133. #outliner .Script:after {
  134. content: '{...}' /* ❮/❯ */
  135. }