light.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. }
  56. #menubar {
  57. position: absolute;
  58. width: 100%;
  59. height: 32px;
  60. background: #eee;
  61. padding: 0px;
  62. margin: 0px;
  63. }
  64. #menubar .menu {
  65. float: left;
  66. width: 50px;
  67. cursor: pointer;
  68. }
  69. #menubar .Panel {
  70. color: #888;
  71. }
  72. #menubar .menu .options {
  73. display: none;
  74. padding: 5px 0px;
  75. background: #eee;
  76. width: 140px;
  77. }
  78. #menubar .menu:hover .options {
  79. display: block;
  80. }
  81. #menubar .menu .options hr {
  82. border-color: #ddd;
  83. }
  84. #menubar .menu .options .option {
  85. color: #666;
  86. background-color: transparent;
  87. padding: 5px 10px;
  88. margin: 0px !important;
  89. }
  90. #menubar .menu .options .option:hover {
  91. color: #fff;
  92. background-color: #08f;
  93. }
  94. #sidebar {
  95. position: absolute;
  96. right: 0px;
  97. top: 32px;
  98. bottom: 0px;
  99. width: 300px;
  100. background: #eee;
  101. overflow: auto;
  102. }
  103. #sidebar input,
  104. #sidebar textarea,
  105. #sidebar select {
  106. /* background: #ccc; */
  107. }
  108. #sidebar .Panel {
  109. margin-bottom: 10px;
  110. }
  111. #sidebar > .Panel {
  112. color: #888;
  113. padding: 10px;
  114. border-top: 1px solid #ccc;
  115. }
  116. #sidebar #outliner {
  117. width: 100%;
  118. height: 140px;
  119. color: #444;
  120. font-size: 12px;
  121. }
  122. #toolbar {
  123. position: absolute;
  124. left: 0px;
  125. right: 300px;
  126. bottom: 0px;
  127. height: 32px;
  128. background: #eee;
  129. color: #333;
  130. }
  131. #toolbar .Panel {
  132. padding: 4px;
  133. color: #888;
  134. }
  135. #toolbar button {
  136. margin-right: 6px;
  137. }