/* ***** 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 Bespin.
*
* The Initial Developer of the Original Code is
* Mozilla.
* Portions created by the Initial Developer are Copyright (C) 2009
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* 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 ***** */

.cmd_line { background:#1e1916; }
.cmd_line .sc-view.sc-text-field-view { background: inherit; }

/* ::-moz-selection appears to only work on divs etc, and not input elements so
this rule doesn't work, but might in the future */
.cmd_line input::selection { color: #44A; background: #AA4; }
.cmd_line input::-moz-selection { color: #44A; background: #AA4; }

/* We're in this weird specificity battle with sproutcore, and our our CSS to
defeat sproutcore. This needs to defeat the sproutcore defeating css. */
body.sc-theme .cmd_line .cmd_prompt { color: #FF8E00; font-weight: bold; }
body.sc-theme .cmd_line .cmd_prompt .cmd_brackets { color: #FFF; }

#command.commandLineError { color: red; }

.cmd_line .sc-view .sc-text-field-view input {
  font-family: Arial,sans-serif; color: #FFF; font-size: 16px;
  font-weight: bold; background: transparent;
}
.cmd_line.error .sc-view .sc-text-field-view input { color: #F00; }
.cmd_line .sc-view label.sc-text-field-view .border {
  -moz-appearance: none; -webkit-appearance: none; border: 0;
}
.cmd_line .sc-view label.sc-text-field-view.focus {
  outline-width: 0px; outline: 0px;
}
div.cmd_line div.sc-view.sc-gray-border { border: 0; }

div.cmd_line div.cmd_completion { font-family: Arial,sans-serif;
  color: #443; font-size: 16px; font-weight: bold;
}
div.cmd_line div.cmd_completion span.cmd_existing { color: transparent; }
div.cmd_line span.cmd_char { letter-spacing: -0.2ex; font-weight: bold; }

div.cmd_line div.cmd_hints span.cmd_error { font-weight: bold; }
div.cmd_line div.cmd_hints span.cmd_incom { font-style: italic; }
div.cmd_line div.cmd_hints span.cmd_warn { color: #AAF; }
div.cmd_line div.cmd_hints span.cmd_info { }

/* Command Output */
div.cmd_line div.cmd_view div.sc-collection-view {
  overflow: auto; color: #aaa; font-family: Arial,sans-serif;
}
div.cmd_view { font-size: 14px; }


/* cmd_rowin */
div.cmd_view div.cmd_rowin {
  font-size: 14px; background-color: #1b1613; font-weight: bold; color: #fff;
}
div.cmd_view div.cmd_rowin img { cursor: pointer; }
div.cmd_view div.cmd_rowin:hover .cmd_hover { display: block; }


div.cmd_view div { border: 0; }

div.cmd_view .cmd_open { padding: 3px 3px 2px 5px; font-size:12px; color:#666; }
div.cmd_view .cmd_open_history { width: 20px; }
div.cmd_view .cmd_open_time { width: 40px; }
div.cmd_view .cmd_open_blank { width: 1px; }

div.cmd_view .cmd_typed { padding-left: 5px; }

div.cmd_view .cmd_hover {
  float: right; font-size: 12px; font-weight: normal; height: 100%; color: #666;
  text-align: right; display: none;
}
div.cmd_view .cmd_hover * {
  vertical-align: middle; padding-left: 3px; padding-right: 3px;
}
div.cmd_view .cmd_hover .cmd_duration {
  float: left; padding-top: 2px;
}


div.cmd_view div.cmd_rowout div.cmd_output { padding-left: 10px; }
div.cmd_view div.cmd_rowout div.cmd_error { color: #f99; }
div.cmd_view div.cmd_rowout th { text-align: right; vertical-align: top; }
div.cmd_view div.cmd_rowout td,
div.cmd_view div.cmd_rowout th,
div.cmd_view div.cmd_rowout table { border: 0; padding: 1px 4px; }

div.cmd_line a { font-weight: bold; color: inherit; text-decoration: none; }
div.cmd_line a:hover { text-decoration: underline; cursor: pointer; }

div.cmd_view input[type=password], div.cmd_view input[type=text],
div.cmd_view textarea {
  font-family: Arial,sans-serif; background: transparent;
  border: 1px solid #ff9600; color: #fff; font-size: 14px; border-radius: 5px;
  padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
}
