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

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

prefwindow {
  padding: 0;
  font: -moz-dialog !important;
}

prefpane {
  padding: 12px 12px 0 12px;
}

prefwindow[type="child"] > prefpane {
  padding: 0;
}

.prefWindow-dlgbuttons {
  margin: 0 12px 8px; /* bug 970079 */
  padding-top: 0 !important;
}

.paneSelector {
  font: message-box;
  padding: 1px 4px;
  -moz-appearance: toolbar;
  margin: 0;
}

radio[pane] {
  border: solid transparent;
  border-width: 0 2px;
  padding: 5px 4px 3px;
  margin: 0;
  -moz-appearance: none;
  text-shadow: rgba(255, 255, 255, 0.4) 0 1px;
}

radio[pane]:active:hover {
  text-shadow: none;
}

radio[pane] > .paneButtonIcon {
  /* preload external filter file */
  background-image: url("chrome://global/skin/filters.svg");
}

radio[pane]:active:hover > .paneButtonIcon {
  filter: url("chrome://global/skin/filters.svg#iconPressed");
}

radio[pane][selected="true"] {
  -moz-border-image: url("chrome://global/skin/icons/panebutton-active.png") 0 2 fill repeat stretch;
}

radio[pane][selected="true"]:-moz-window-inactive {
  -moz-border-image: url("chrome://global/skin/icons/panebutton-inactive.png") 0 2 fill repeat stretch;
}

.paneButtonLabel {
  margin: 0 !important;
}
