projecteditor.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. /* vim:set ts=2 sw=2 sts=2 et: */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. .view-project-detail {
  6. overflow: auto;
  7. }
  8. .plugin-hidden {
  9. display: none;
  10. }
  11. .arrow {
  12. -moz-appearance: treetwisty;
  13. width: 20px;
  14. height: 20px;
  15. }
  16. .arrow[open] {
  17. -moz-appearance: treetwistyopen;
  18. }
  19. .arrow[invisible] {
  20. visibility: hidden;
  21. }
  22. #projecteditor-menubar {
  23. display: none;
  24. }
  25. #projecteditor-toolbar,
  26. #projecteditor-toolbar-bottom {
  27. display: none; /* For now don't show the status bars */
  28. min-height: 22px;
  29. height: 22px;
  30. background: rgb(237, 237, 237);
  31. }
  32. #sources {
  33. overflow: auto;
  34. }
  35. .sources-tree {
  36. overflow:auto;
  37. overflow-x: hidden;
  38. -moz-user-focus: normal;
  39. /* Allows this to expand inside of parent xul element, while
  40. still supporting child flexbox elements, including ellipses. */
  41. -moz-box-flex: 1;
  42. display: block;
  43. }
  44. .sources-tree input {
  45. margin: -1px;
  46. border: 1px solid gray;
  47. }
  48. #main-deck .sources-tree {
  49. background: rgb(225, 225, 225);
  50. min-width: 100px;
  51. }
  52. .entry {
  53. color: #18191A;
  54. display: flex;
  55. align-items: center;
  56. }
  57. .entry .file-label {
  58. display: flex;
  59. flex: 1;
  60. align-items: center;
  61. }
  62. .entry {
  63. border: none;
  64. box-shadow: none;
  65. white-space: nowrap;
  66. cursor: pointer;
  67. }
  68. .entry:hover:not(.entry-group-title):not(.selected) {
  69. background: rgba(0, 0, 0, .05);
  70. }
  71. .entry.selected {
  72. background: rgba(56, 117, 215, 1);
  73. color: #F5F7FA;
  74. outline: none;
  75. }
  76. .entry-group-title {
  77. background: rgba(56, 117, 215, 0.8);
  78. color: #F5F7FA;
  79. font-weight: bold;
  80. font-size: 1.05em;
  81. line-height: 35px;
  82. padding: 0 10px;
  83. }
  84. .sources-tree .entry-group-title .expander {
  85. display: none;
  86. }
  87. .entry .expander {
  88. width: 16px;
  89. padding: 0;
  90. }
  91. .tree-collapsed .children {
  92. display: none;
  93. }
  94. /* Plugins */
  95. #projecteditor-toolbar textbox {
  96. margin: 0;
  97. }
  98. .projecteditor-basic-display {
  99. padding: 0 3px;
  100. }
  101. /* App Manager */
  102. .project-name-label {
  103. font-weight: bold;
  104. padding-left: 10px;
  105. overflow: hidden;
  106. text-overflow: ellipsis;
  107. }
  108. .project-flex {
  109. flex: 1;
  110. }
  111. .project-image {
  112. max-height: 25px;
  113. margin-left: -10px;
  114. }
  115. .project-image,
  116. .project-status,
  117. .project-options {
  118. flex-shrink: 0;
  119. }
  120. .project-status {
  121. width: 10px;
  122. height: 10px;
  123. border-radius: 50%;
  124. border: solid 1px rgba(255, 255, 255, .5);
  125. margin-right: 10px;
  126. visibility: hidden;
  127. }
  128. .project-status[status=valid] {
  129. background: #70bf53;
  130. visibility: visible;
  131. }
  132. .project-status[status=warning] {
  133. background: #d99b28;
  134. visibility: visible;
  135. }
  136. .project-status[status=error] {
  137. background: #ed2655;
  138. visibility: visible;
  139. }
  140. /* Status Bar */
  141. .projecteditor-file-label {
  142. font-weight: bold;
  143. padding-left: 29px;
  144. padding-right: 10px;
  145. flex: 1;
  146. }
  147. /* Image View */
  148. .editor-image {
  149. padding: 10px;
  150. }