/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* ===== 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"] {
  width: 38px;
  height: 24px;
  border: 4px solid transparent;
  background-color: #C7D0D9;
  padding: 3px;
}

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

colorpicker[type="button"][open="true"] {
  border-color: #3B414F;
  background-color: #A6B3C0;
}

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

colorpicker[type="button"][open="true"]:focus {
  border-color: #98A5B2;
}

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

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

.colorpickertile[selected="true"] {
  border: 2px outset #C0C0C0;
}

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

.cp-light[hover="true"] {
  border : 2px dotted #909090;
}
