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

/* ===== colorpicker.css ================================================
  == Styles used by the XUL colorpicker element.
  ======================================================================= */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ::::: colorpicker button ::::: */

colorpicker[type="button"] {
  border: 2px solid transparent;
  width: 38px;
  height: 24px;
}

.colorpicker-button-internal-box {
  border: 1px outset #B4C3D4;
  padding: 3px;
}

.colorpicker-button-colorbox {
  border: 1px solid #000000;
}

colorpicker[type="button"][open="true"] > .colorpicker-button-internal-box {
  border-style: inset;
}

colorpicker[type="button"]:focus {
  border-color: #96A7BD;
}

/* ::::: colorpicker tiles ::::: */

.colorpickertile {
  margin: 1px;
  border: 1px inset #B4C3D4;
  width: 20px;
  height: 20px;
}

.colorpickertile[hover="true"] {
  border: 1px solid #FFFFFF;
}

.colorpickertile[selected="true"] {
  border: 1px solid #000000;
}

