move devtools to separate directory, make HTML-based inspector work
[themes.git] / LCARStrek / devtools / projecteditor / projecteditor.css
diff --git a/LCARStrek/devtools/projecteditor/projecteditor.css b/LCARStrek/devtools/projecteditor/projecteditor.css
new file mode 100644 (file)
index 0000000..8dd736a
--- /dev/null
@@ -0,0 +1,189 @@
+/* vim:set ts=2 sw=2 sts=2 et: */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+ :root {
+  color: #FF9F00;
+}
+
+.view-project-detail {
+  overflow: auto;
+}
+
+.plugin-hidden {
+  display: none;
+}
+
+.arrow {
+  list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
+  width: 20px;
+  height: 20px;
+}
+
+.arrow[open] {
+  list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
+}
+
+.arrow[invisible] {
+  visibility: hidden;
+}
+
+#projecteditor-menubar {
+  display: none;
+}
+
+#projecteditor-toolbar,
+#projecteditor-toolbar-bottom {
+  display: none; /* For now don't show the status bars */
+  min-height: 22px;
+  height: 22px;
+  background: #9C9CFF;
+}
+
+#sources {
+  overflow: auto;
+}
+
+.sources-tree {
+  overflow:auto;
+  overflow-x: hidden;
+  -moz-user-focus: normal;
+
+  /* Allows this to expand inside of parent xul element, while
+     still supporting child flexbox elements, including ellipses. */
+  -moz-box-flex: 1;
+  display: block;
+}
+
+.sources-tree input {
+  margin: 2px;
+  border: 1px solid #A09090;
+}
+
+#main-deck .sources-tree {
+  background: #000000;
+  min-width: 100px;
+}
+
+.entry {
+  color: #FF9F00;
+  display: flex;
+  align-items: center;
+}
+
+.entry .file-label {
+  display: flex;
+  flex: 1;
+  align-items: center;
+}
+
+.entry {
+  border: none;
+  box-shadow: none;
+  white-space: nowrap;
+  cursor: pointer;
+}
+
+.entry:hover:not(.entry-group-title):not(.selected) {
+  background: #404000;
+}
+
+.entry.selected {
+  background: #008484;
+  color: #000000;
+  outline: none;
+}
+
+.entry-group-title {
+  background: #A09090;
+  color: #000000;
+  font-weight: bold;
+  font-size: 1.05em;
+  line-height: 35px;
+  padding: 0 10px;
+}
+
+.sources-tree .entry-group-title .expander {
+  display: none;
+}
+
+.entry .expander {
+  width: 16px;
+  padding: 0;
+}
+
+.tree-collapsed .children {
+  display: none;
+}
+
+/* Plugins */
+
+#projecteditor-toolbar textbox {
+  margin: 0;
+}
+
+.projecteditor-basic-display {
+  padding: 0 3px;
+}
+
+/* App Manager */
+.project-name-label {
+  font-weight: bold;
+  padding-left: 10px;
+  overflow: hidden;
+  text-overflow: ellipsis;
+}
+
+.project-flex {
+  flex: 1;
+}
+
+.project-image {
+  max-height: 25px;
+  margin-left: -10px;
+}
+
+.project-image,
+.project-status,
+.project-options {
+  flex-shrink: 0;
+}
+
+.project-status {
+  width: 10px;
+  height: 10px;
+  border-radius: 50%;
+  border: solid 1px #9C9CFF;
+  margin-right: 10px;
+  color: #000000;
+  visibility: hidden;
+}
+
+.project-status[status=valid] {
+  background: #008484;
+  visibility: visible;
+}
+
+.project-status[status=warning] {
+  background: #FF9F00;
+  visibility: visible;
+}
+
+.project-status[status=error] {
+  background: #FF0000;
+  visibility: visible;
+}
+
+/* Status Bar */
+.projecteditor-file-label {
+  font-weight: bold;
+  padding-left: 29px;
+  padding-right: 10px;
+  flex: 1;
+}
+
+/* Image View */
+.editor-image {
+  padding: 10px;
+}