/* ***** 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:rgb(30,25,22); }
.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; }

.cmd_line .cmd_prompt,
.cmd_line .cmd_prompt label { color: #FF8E00; font-weight: bold; }
.cmd_line .cmd_prompt .cmd_brackets { color: #FFF; }

#command.commandLineError { color: red; }

.cmd_line label.cmd_input input {
  font-family: Arial,sans-serif;
  color: #FFF;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  -webkit-box-shadow: none;
  outline: none;
  width: 100%;
}

.cmd_line label.cmd_input input:focus { color: #FFF; }
.cmd_line.error label.cmd_input input { color: #F00; }
.cmd_line label.cmd_input .border {
  -moz-appearance: none; -webkit-appearance: none; border: 0;
}
.cmd_line label.cmd_input.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: rgb(27,22,19);
  text-shadow: none;
}
div.cmd_line span.cmd_char { letter-spacing: -0.2ex; font-weight: bold; }

/* 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: rgb(27,22,19); 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;
  line-height: 1.2em;
}
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;
}

/*
div.cmd_line div.cmd_hints {
    position: relative;
    width: 100%;
    height: 100%;
}
*/

div.cmd_line div.cmd_ex {
    position: absolute;
    bottom: 0px;
    z-index: 1;
    line-height:1.2em;
}


/*
div.cmd_line div.cmd_ex samp {
    color:#666;
    z-index:10;
    font-family:Arial, sans-serif;
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    display:block;
    padding-bottom:6px;
}
*/

div.cmd_line kbd {
    border-top:2px solid #000;
    -moz-border-top-colors:#000 rgb(30,25,22);
    background:rgb(27,22,19);
    background:-moz-linear-gradient(top, rgb(27,22,19), rgb(25,20,16));
    background:-webkit-gradient(linear, left top, left bottom, from(rgb(27,22,19)), to(rgb(25,20,16)));
}

/*
div.cmd_line div.cmd_ex .cmd_prompt { color:#FF8E00; font-weight:bold; }
div.cmd_line div.cmd_ex input { background-color:transparent; margin-bottom:3px;
  font-family:inherit; border:0; font-size:100%; color:#FFF;
  height:18px; width:90%
}
*/

