/* ***** 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 ***** */

div.cmd_menu {
  margin-bottom: -2px;
  color: @hi_text;
  padding: 8px;
  border: 2px @border_bg solid;
  border-bottom: 0;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: -moz-linear-gradient(top, @input_bg_light, @input_bg);
  background: -webkit-gradient(linear, left top, left bottom, from(@input_bg_light), to(@input_bg));
  -moz-border-top-colors: @border_bg @border_fg;
  -moz-border-left-colors: @border_bg @border_fg;
  -moz-border-right-colors: @border_bg @border_fg2;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 10px 3px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 10px 3px; -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 10px 3px;
}

div.cmd_menu .cmd_title {
  margin-bottom: 2px;
  border-bottom: 2px @border_bg solid;
  -moz-border-bottom-colors: @border_fg @border_bg;
}

div.cmd_menu .cmd_error { color: @error_text; }
div.cmd_menu ul { margin: 0; padding: 0; }

div.cmd_menu li {
  padding: 0;
  list-style: none;
}

div.cmd_menu li:hover,
div.cmd_menu .cmd_hi {
  color: @li_hover_color;
  background: @theme_text -moz-linear-gradient(top, @theme_text, @theme_text_dark);
  background: -webkit-gradient(linear, left top, left bottom, from(@theme_text), to(@theme_text_dark));
  cursor: pointer;
}

div.cmd_menu dfn {
  font-size: 80%;
  color: @lo_text;
  padding: 0 5px;
  font-style: inherit;
}

div.cmd_menu em {
  color: @theme_text;
  font-style: inherit;
}

div.cmd_menu li:hover em,
div.cmd_menu li:hover dfn { color: @li_hint_hover_color; }

div.cmd_menu .cmd_sub:after {
  padding-left: 5px;
  content: "\u27a4";
  float: right;
  color: @input_submenu;
  font-size: 80%;
}

div.cmd_menu li:hover.cmd_sub:after { color: @theme_text_light; }

div.cmd_menu .cmd_sep {
  margin-top: 2px;
  border-top: 2px @border_bg solid;
  -moz-border-top-colors: @border_bg @border_fg;
}

div.cmd_menu .cmd_error { color: @error_text; }

div.cmd_menu abbr {
  display: block;
  float: right;
  color: @theme_text_dark2;
  cursor: pointer;
  font-size: 75%;
  margin-left: 5px;
  border: 0;
  text-decoration: none;
  transform: scaleX(0.8); -moz-transform: scaleX(0.8); -webkit-transform: scaleX(0.8);
}

div.cmd_menu  li:hover abbr {
    color: @li_accelerator_hover_color;
}
