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

.tabs-alltabs-button > .toolbarbutton-icon {
  display: -moz-box;
  margin: 2px 0 2px;
  list-style-image: url(allTabs.png) !important;
  -moz-image-region: auto !important;
}

/* ::::: Keyboard UI Panel ::::: */

.KUI-panel-closebutton {
  list-style-image: url(close.png);
}

.KUI-panel-closebutton > .toolbarbutton-icon {
  margin: 0;
}

/* ::::: Ctrl-Tab and All Tabs Panels ::::: */

.ctrlTab-thumbnail ,
.allTabs-thumbnail {
  -moz-appearance: toolbarbutton;
}

.tabPreview-canvas {
  -moz-box-shadow: 0 0 5px ThreeDShadow;
}

.ctrlTab-thumbnail:focus .tabPreview-canvas ,
.ctrlTab-thumbnail:hover .tabPreview-canvas ,
.allTabs-thumbnail:focus .tabPreview-canvas ,
.allTabs-thumbnail:hover .tabPreview-canvas {
  -moz-box-shadow: none;
}

.ctrlTab-favicon[src] ,
.allTabs-favicon[src] {
  background-color: white;
  padding: 2px;
/* XXX: Upscaling images is ugly on Linux (bug 422179)
  width: 24px;
  height: 24px;
  opacity: .7;
*/
  width: 20px;
  height: 20px;
  opacity: .8;
}

/* Ctrl-Tab */

#ctrlTab-panel {
  padding: 10px;
}

.ctrlTab-thumbnail:not(#ctrlTab-showAll) .tabPreview-canvas {
  margin-bottom: 2px;
}

#ctrlTab-showAll {
  -moz-appearance: button;
  color: ButtonText;
  padding: 0 3px;
  margin-top: 10px;
}

/* All Tabs */

#allTabs-panel {
  /* compensate the widget border and padding to center the panel correctly */
  margin-left: -13px;
}

#allTabs-tab-close-button {
  /*XXX without this, the closebutton can cause the panel to expand horizontally */
  margin-right: -16px;
}

#allTabs-meta {
  padding: 5px;
}

#allTabs-filter {
  -moz-margin-start: 36px;
  -moz-margin-end: 0;
}

#allTabs-stack {
  margin: 10px;
}

.allTabs-thumbnail-label {
  -moz-transform: translate(0, -1px);
}
