move devtools to separate directory, make HTML-based inspector work
[themes.git] / LCARStrek / devtools / commandline.css
diff --git a/LCARStrek/devtools/commandline.css b/LCARStrek/devtools/commandline.css
new file mode 100644 (file)
index 0000000..22dfac8
--- /dev/null
@@ -0,0 +1,168 @@
+/* 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/. */
+
+/* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
+   We are copy/pasting variables from light-theme and dark-theme,
+   since they aren't loaded in this context (within commandlineoutput.xhtml
+   and commandlinetooltip.xhtml). */
+:root {
+  --gcli-background-color: #000000; /* --theme-tab-toolbar-background */
+  --gcli-input-focused-background: #FFCF00; /* --theme-sidebar-background */
+  --gcli-input-focused-color: #000000;
+  --gcli-input-color: #FF9F00; /* --theme-body-color */
+  --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
+  --gcli-edittext-color: #E7ADE7;
+}
+
+.gcli-body {
+  margin: 0;
+  font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
+  color: var(--gcli-input-color);
+}
+
+#gcli-output-root,
+#gcli-tooltip-root {
+  border: 1px solid var(--gcli-border-color);
+  border-radius: 3px;
+  background-color: var(--gcli-background-color);
+}
+
+#gcli-output-root {
+  padding: 5px 10px;
+  border-bottom-left-radius: 0;
+  border-bottom-right-radius: 0;
+  border-bottom: 0;
+}
+
+#gcli-tooltip-root {
+  padding: 5px 0px;
+}
+
+#gcli-tooltip-connector {
+  margin-top: -1px;
+  margin-left: 8px;
+  width: 20px;
+  height: 10px;
+  border-left: 1px solid var(--gcli-border-color);
+  border-right: 1px solid var(--gcli-border-color);
+  background-color: var(--gcli-background-color);
+}
+
+.gcli-tt-description,
+.gcli-tt-error {
+  padding: 0 10px;
+}
+
+.gcli-row-out {
+  padding: 0 5px;
+  line-height: 1.2em;
+  border-top: none;
+  border-bottom: none;
+  color: var(--gcli-input-color);
+}
+
+.gcli-row-out p,
+.gcli-row-out h1,
+.gcli-row-out h2,
+.gcli-row-out h3 {
+  margin: 5px 0;
+}
+
+.gcli-row-out h1,
+.gcli-row-out h2,
+.gcli-row-out h3,
+.gcli-row-out h4,
+.gcli-row-out h5,
+.gcli-row-out th,
+.gcli-row-out strong,
+.gcli-row-out pre {
+  color: var(--gcli-input-color);
+}
+
+.gcli-row-out pre {
+  font-size: 80%;
+}
+
+.gcli-row-out td {
+  white-space: nowrap;
+}
+
+.gcli-out-shortcut,
+.gcli-help-synopsis {
+  padding: 0 3px;
+  margin: 0 4px;
+  font-weight: normal;
+  font-size: 90%;
+  border-radius: 3px;
+  background-color: var(--gcli-background-color);
+  color: var(--gcli-edittext-color);
+  border: 1px solid var(--gcli-border-color);
+}
+
+.gcli-out-shortcut:before,
+.gcli-help-synopsis:before {
+  color: var(--gcli-input-color);
+  -moz-padding-end: 2px;
+}
+
+.gcli-help-arrow {
+  color: #008484;
+}
+
+.gcli-help-description {
+  margin: 0 20px;
+  padding: 0;
+}
+
+.gcli-help-parameter {
+  margin: 0 30px;
+  padding: 0;
+}
+
+.gcli-help-header {
+  margin: 10px 0 6px;
+}
+
+.gcli-menu-name {
+  -moz-padding-start: 8px;
+}
+
+.gcli-menu-desc {
+  -moz-padding-end: 8px;
+  color: var(--gcli-input-color);
+}
+
+.gcli-menu-name:hover,
+.gcli-menu-desc:hover {
+  background-color: var(--gcli-input-focused-background);
+  color: var(--gcli-input-focused-color);
+}
+
+.gcli-menu-highlight,
+.gcli-menu-highlight:hover {
+  background-color: #795900;
+}
+
+.gcli-menu-typed {
+  color: #008484;
+}
+
+.gcli-menu-more {
+  font-size: 80%;
+  text-align: end;
+  -moz-padding-end: 8px;
+}
+
+.gcli-addon-disabled {
+  opacity: 0.6;
+  text-decoration: line-through;
+}
+
+.gcli-breakpoint-label {
+  font-weight: bold;
+}
+
+.gcli-breakpoint-lineText {
+  font-family: "Liberation Mono", Consolas, "Courier New", monospace;
+}