/*
 * The contents of this file are subject to the Netscape 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/NPL/
 *
 * 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 Mozilla Communicator client code, released
 * March 31, 1998.
 *
 * The Initial Developer of the Original Code is Netscape
 * Communications Corporation. Portions created by Netscape are
 * Copyright (C) 1998-2001 Netscape Communications Corporation. All
 * Rights Reserved.
 *
 * Contributor(s):
 *   Joe Hewitt (hewitt@netscape.com)
 */

/* ===== autocomplete.css =================================================
  == Styles used by the autocomplete widget.
  ======================================================================= */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */

/* ::::: autocomplete ::::: */

textbox[type="autocomplete"] {
  cursor: default !important;
}

html|*.textbox-input {
  cursor: text;
  margin: 0px;
  border: none;
  padding: 0px;
  background-color: inherit;
  color: inherit;
  font: inherit;
}

/* ::::: history button ::::: */

.autocomplete-history-button {
  -moz-box-align: center;
  margin: 1px 3px 3px 0px;
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}

.autocomplete-history-button[open="true"] {
  margin: 2px 2px 2px 1px;
}

/* ::::: popups ::::: */

.autocomplete-history-popup,
.autocomplete-result-popup {
  border: 1px solid #6B747E;
  background-color: #FFFFFF !important;
}

.autocomplete-history-popup {
  max-height: 180px;
}

/* ::::: outliner ::::: */

.autocomplete-outliner {
  background-color: transparent !important;
}

.autocomplete-outlinercol {
  margin: 0px !important;
  border: none !important;
  padding: 0px !important;
}

.autocomplete-outlinerbody:-moz-outliner-cell-text {
  padding-left: 8px;
  color: #000000;
}

.autocomplete-outlinerbody:-moz-outliner-row(menuactive) {
  background-color: #9499AC;
}

.autocomplete-outlinerbody:-moz-outliner-cell-text(menuactive) {
  color: #FFFFFF !important;
}
