main.css 1.9 KB

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