Sync LCARStrek with browser winstripe changes in Firefox 16 cycle
[themes.git] / LCARStrek / browser / devtools / gcli.css
index 629246e8868e0a25fce5255725a8c367072d93ee..46cc02a5ae994aadced3fddf488e3d3ddc66db85 100644 (file)
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is the GCLI.
- *
- * The Initial Developer of the Original Code is
- * The Mozilla Foundation.
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   Joe Walker <jwalker@mozilla.com> (original author)
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* 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/. */
 
-/* From: $GCLI/mozilla/gcli/ui/gcliterm.css */
-
-/* Bug 678152 calls for UX review which will fix the color names */
-
-.gcliterm-input-node,
-.gcliterm-complete-node {
-  border: none;
-  -moz-appearance: none;
-  height: 100%;
-  vertical-align: middle;
-  background-color: transparent;
-}
-
-.gcliterm-input-node {
-  padding-top: 2px;
-  padding-bottom: 0;
-  -moz-padding-start: 16px;
-  -moz-padding-end: 0;
-}
-
-.gcliterm-complete-node {
-  color: #E7ADE7;
-  padding-top: 4px;
-  padding-bottom: 2px;
-  -moz-padding-start: 21px;
-  -moz-padding-end: 4px;
-}
-
-.gcliterm-stack-node {
-  background: url("chrome://global/skin/icons/commandline.png") 4px center no-repeat;
-  width: 100%;
-}
-
-.gcliterm-argfetcher {
-  display: -moz-box;
-  -moz-box-flex: 1;
-}
-
-.gcliterm-hint-node {
-  border-top: 1px solid #9C9CFF;
-  border-bottom: 1px solid #E7ADE7;
-  border-left: 1px solid #9C9CFF;
-  border-right: 1px solid #9C9CFF;
-  border-top-right-radius: 5px;
-  border-top-left-radius: 5px;
-  margin-bottom: -1px;
-}
-
-.gcliterm-hint-parent {
-  width: 300px;
-  padding: 10px 10px 0;
-  border-top: 1px solid #9C9CFF;
-  border-bottom: 1px solid #9C9CFF;
-}
-
-.gcliterm-menu {
-  display: -moz-box;
-  -moz-box-flex: 1;
-  border-bottom-color: #E7ADE7;
-}
-
-.gcliterm-hint-scroll {
-  overflow-y: scroll;
-  border-bottom-color: #9C9CFF;
-}
-
-.gcliterm-hint-nospace {
-  display: none;
-}
-
-.gcliterm-msg-body {
-  margin-top: 0;
-  margin-bottom: 3px;
-  -moz-margin-start: 3px;
-  -moz-margin-end: 6px;
-  list-style-image: none;
-}
-
-/* Extract from display.css, we only want these 2 rules */
-
-.gcli-out-shortcut {
-  border: 1px solid #8050B0;
-  border-radius: 3px;
-  padding: 0 4px;
-  margin: 0 4px;
-  font-size: 70%;
+.gcli-body {
+  margin: 0;
+  font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
   color: #FF9F00;
-  cursor: pointer;
-  vertical-align: bottom;
-}
-
-.gcli-out-shortcut:before {
-  color: #FFCF00;
-  content: '\bb';
-  padding: 0 2px;
 }
 
-/*
- * The language of a console is not en_US or any other common language
- * (i.e we don't attempt to translate 'console.log(x)')
- * So we fix .gcliterm-input-node/.gcliterm-complete-node elements to be ltr.
- * As a result we also want the hints to pop up on the left (above the prompt)
- */
-.gcliterm-input-node,
-.gcliterm-complete-node,
-.gcliterm-display {
-  direction: ltr;
-}
-
-/*
- * We want the stuff under .gcliterm-display to obey normal direction rules
- * so we need to swap back when the document is in rtl mode.
- * The selectors below are faster, but equivalent to:
- * .gcliterm-display > *:-moz-locale-dir(rtl) {
- *   direction: rtl;
- * }
- * In non-performance critical situations the above is preferred due to it's
- * greater resilience to refactoring
- */
-.gcliterm-hint-parent:-moz-locale-dir(rtl),
-.hud-output-node:-moz-locale-dir(rtl) {
-  direction: rtl;
-}
-
-/* From: $GCLI/mozilla/gcli/ui/gcliterm-winstripe.css */
-
-.gcliterm-input-node,
-.gcliterm-complete-node {
-  font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
+#gcli-output-root,
+#gcli-tooltip-root {
+  border: 1px solid #008484;
+  background-color: #000000;
+  border-radius: 3px;
 }
 
-.gcli-out-shortcut {
-  font-family: "Liberation Mono", Consolas, "Courier New", monospace;
+#gcli-output-root {
+  padding: 5px 10px;
+  border-bottom-left-radius: 0;
+  border-bottom-right-radius: 0;
+  border-bottom: 0;
 }
 
-/* From: $GCLI/lib/gcli/ui/arg_fetch.css */
-
-.gcli-argfetch {
-  width: 100%;
-  -moz-box-sizing: border-box;
+#gcli-tooltip-root {
+  padding: 5px 0px;
 }
 
-.gcli-af-cmddesc {
-  font-weight: bold;
-  text-align: center;
-  margin-bottom: 5px;
-  padding: 3px 10px 0;
+#gcli-tooltip-connector {
+  margin-top: -1px;
+  margin-left: 8px;
+  width: 20px;
+  height: 10px;
+  border-left: 1px solid #008484;
+  border-right: 1px solid #008484;
+  background-color: #000000;
 }
 
-.gcli-af-params {
+.gcli-tt-description,
+.gcli-tt-error {
   padding: 0 10px;
-  width: 100%;
-  -moz-box-sizing: border-box;
-}
-
-.gcli-af-paramname {
-  text-align: right;
-  font-size: 90%;
 }
 
-.gcli-af-required {
-  font-size: 90%;
-  color: #FF0000;
-  -moz-padding-start: 5px;
+.gcli-row-out {
+  padding: 0 5px;
+  line-height: 1.2em;
+  border-top: none;
+  border-bottom: none;
+  color: #9C9CFF;
 }
 
-.gcli-af-error {
-  font-size: 80%;
-  color: #FF9F00;
+.gcli-row-out p,
+.gcli-row-out h1,
+.gcli-row-out h2,
+.gcli-row-out h3 {
+  margin: 5px 0;
 }
 
-.gcli-af-submit {
-  text-align: right;
+.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 {
+  color: #FFCF00;
 }
 
-.gcli-field {
-  width: 100%;
+.gcli-out-shortcut,
+.gcli-help-synopsis {
+  padding: 0 3px;
+  margin: 0 4px;
+  font-weight: normal;
+  font-size: 90%;
+  border-radius: 3px;
+  background-color: #000000;
+  color: #E7ADE7;
+  border: 1px solid #8050B0;
 }
 
-.gcli-field-javascript {
-  margin-bottom: 0;
+.gcli-out-shortcut:before,
+.gcli-help-synopsis:before {
+  color: #FFCF00;
+  -moz-padding-end: 2px;
 }
 
-/* From: $GCLI/lib/gcli/ui/menu.css */
-
-.gcli-menu {
-  width: 100%;
-  overflow: hidden;
+.gcli-help-arrow {
+  color: #008484;
 }
 
-.gcli-menu-field {
-  border: 1px solid #9C9CFF;
-  border-top: 0;
-  border-bottom-right-radius: 5px;
-  border-bottom-left-radius: 5px;
-  max-height: 300px;
-  margin: 0 3px;
+.gcli-help-description {
+  margin: 0 20px;
   padding: 0;
 }
 
-.gcli-menu-template {
-  border-collapse: collapse;
-  width: 100%;
-  margin: 10px 0;
-}
-
-.gcli-menu-option {
-  overflow: hidden;
-  white-space: nowrap;
-  cursor: pointer;
-  padding: 2px;
+.gcli-help-parameter {
+  margin: 0 30px;
+  padding: 0;
 }
 
-.gcli-menu-option:hover {
-  background-color: #FFCF00;
-  color: #000000;
+.gcli-help-header {
+  margin: 10px 0 6px;
 }
 
 .gcli-menu-name {
-  padding-top: 0;
-  padding-bottom: 0;
-  -moz-padding-start: 10px;
-  -moz-padding-end: 2px;
+  -moz-padding-start: 8px;
 }
 
 .gcli-menu-desc {
-  font-size: 80%;
+  -moz-padding-end: 8px;
   color: #FF9F00;
 }
 
-.gcli-menu-error {
-  overflow: hidden;
-  white-space: nowrap;
-  padding-top: 8px;
-  padding-bottom: 2px;
-  -moz-padding-start: 10px;
-  -moz-padding-end: 2px;
-  font-size: 80%;
-  color: #FF0000;
-}
-
-/* From: $GCLI/lib/gcli/ui/inputter.css */
-
-.gcli-in-complete {
-  position: absolute;
-  z-index: -1000;
-  border: 1px transparent solid;
-  padding: 1px 1px 1px 2px;
-  color: #008484;
-}
-
-.gcli-in-incomplete {
-  border-bottom: 2px dotted #9C9CFF;
-}
-
-.gcli-in-error {
-  border-bottom: 2px dotted #FF0000;
-}
-
-.gcli-in-ontab {
-  color: #9C9CFF;
-}
-
-.gcli-in-closebrace {
-  color: #9C9CFF;
-}
-
-.gcli-prompt {
-  color: #E7ADE7;
-  font-weight: bold;
-}
-
-.gcli-in-scratchlink {
-  float: right;
-  font-size: 85%;
-  color: #9C9CFF;
-  padding-right: 10px;
+.gcli-menu-option:hover,
+.gcli-menu-highlight.gcli-menu-option:hover {
+  background-color: #FFCF00;
+  color: #000000;
 }
 
-/* From: $GCLI/lib/gcli/commands/help.css */
-
-.gcli-help-name {
-  text-align: end;
+.gcli-menu-highlight {
+  background-color: #795900;
 }
 
-.gcli-help-arrow {
-  font-size: 70%;
+.gcli-menu-typed {
   color: #008484;
 }
 
-.gcli-help-synopsis {
-  font-family: "Liberation Mono", Consolas, "Courier New", monospace;
-  font-weight: normal;
-  padding: 0 3px;
-  margin: 0 10px;
-  border: 1px solid #9C9CFF;
-  border-radius: 3px;
-  color: #FF9F00;
-  cursor: pointer;
-  display: inline-block;
-}
-
-.gcli-help-synopsis:before {
-  color: #FFCF00;
-  content: '\bb';
-}
-
-.gcli-help-description {
-  margin: 0 20px;
-  padding: 0;
-}
-
-.gcli-help-parameter {
-  margin: 0 30px;
-  padding: 0;
+.gcli-menu-more {
+  font-size: 80%;
+  text-align: right;
+  -moz-padding-end: 8px;
 }
 
-.gcli-help-header {
-  margin: 10px 0 6px;
+.gcli-addon-disabled {
+  opacity: 0.6;
+  text-decoration: line-through;
 }