light.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. * {
  2. vertical-align: middle;
  3. }
  4. body {
  5. font-family: Arial, sans-serif;
  6. font-size: 14px;
  7. margin: 0;
  8. overflow: hidden;
  9. }
  10. hr {
  11. border: 0px;
  12. border-top: 1px solid #ccc;
  13. }
  14. button {
  15. position: relative;
  16. }
  17. .Panel {
  18. -moz-user-select: none;
  19. -webkit-user-select: none;
  20. -ms-user-select: none;
  21. /* No support for these yet */
  22. -o-user-select: none;
  23. user-select: none;
  24. }
  25. .FancySelect {
  26. background: #fff;
  27. border: 1px solid #ccc;
  28. padding: 0;
  29. cursor: default;
  30. overflow: auto;
  31. outline: none;
  32. }
  33. .FancySelect .option {
  34. padding: 4px;
  35. color: #666;
  36. white-space: nowrap;
  37. }
  38. .FancySelect .option.active {
  39. background-color: #f8f8f8;
  40. }
  41. input.Number {
  42. color: #0080f0;
  43. font-size: 12px; /** TODO: Use of !imporant is not ideal **/
  44. background-color: transparent!important; /* For now this is a quick fix a rendering issue due to inherited background */
  45. border: 1px solid transparent;
  46. padding: 2px;
  47. cursor: col-resize;
  48. }
  49. #viewport {
  50. position: absolute;
  51. top: 32px;
  52. left: 0px;
  53. right: 300px;
  54. bottom: 32px;
  55. background-color: #aaaaaa;
  56. }
  57. #menubar {
  58. position: absolute;
  59. width: 100%;
  60. height: 32px;
  61. background: #eee;
  62. padding: 0px;
  63. margin: 0px;
  64. }
  65. #menubar .menu {
  66. float: left;
  67. width: 50px;
  68. cursor: pointer;
  69. }
  70. #menubar .Panel {
  71. color: #888;
  72. }
  73. #menubar .menu .options {
  74. display: none;
  75. padding: 5px 0px;
  76. background: #eee;
  77. width: 140px;
  78. }
  79. #menubar .menu:hover .options {
  80. display: block;
  81. }
  82. #menubar .menu .options hr {
  83. border-color: #ddd;
  84. }
  85. #menubar .menu .options .option {
  86. color: #666;
  87. background-color: transparent;
  88. padding: 5px 10px;
  89. margin: 0px !important;
  90. }
  91. #menubar .menu .options .option:hover {
  92. color: #fff;
  93. background-color: #08f;
  94. }
  95. #sidebar {
  96. position: absolute;
  97. right: 0px;
  98. top: 32px;
  99. bottom: 0px;
  100. width: 300px;
  101. background: #eee;
  102. overflow: auto;
  103. }
  104. #sidebar input,
  105. #sidebar textarea,
  106. #sidebar select {
  107. /* background: #ccc; */
  108. }
  109. #sidebar .Panel {
  110. margin-bottom: 10px;
  111. }
  112. #sidebar > .Panel {
  113. color: #888;
  114. padding: 10px;
  115. border-top: 1px solid #ccc;
  116. }
  117. #sidebar #outliner {
  118. width: 100%;
  119. height: 140px;
  120. color: #444;
  121. font-size: 12px;
  122. }
  123. #toolbar {
  124. position: absolute;
  125. left: 0px;
  126. right: 300px;
  127. bottom: 0px;
  128. height: 32px;
  129. background: #eee;
  130. color: #333;
  131. }
  132. #toolbar .Panel {
  133. padding: 4px;
  134. color: #888;
  135. }
  136. #toolbar button {
  137. margin-right: 6px;
  138. }