/* vim:set ts=2 sw=2 sts=2 et: */
/* 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/. */

/* Toolbar and Toolbar items */

.devtools-toolbar {
  -moz-appearance: none;
  padding: 4px 3px;
  box-shadow: 0 1px 0 hsla(209,29%,72%,.25) inset;
  background-image: -moz-linear-gradient(top, hsl(209,18%,34%), hsl(210,24%,16%));
  color: hsl(210,30%,85%);
}

.devtools-menulist,
.devtools-toolbarbutton {
  -moz-appearance: none;
  min-width: 78px;
  min-height: 22px;
  text-shadow: 0 -1px 0 hsla(210,8%,5%,.45);
  border: 1px solid hsla(211,68%,6%,.5);
  border-radius: 3px;
  background: -moz-linear-gradient(hsla(209,13%,54%,.35), hsla(209,13%,54%,.1) 85%, hsla(209,13%,54%,.2)) padding-box;
  box-shadow: 0 1px 0 hsla(209,29%,72%,.15) inset, 0 0 0 1px hsla(209,29%,72%,.1) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1);
  margin: 0;
  -moz-margin-end: 3px;
  color: inherit;
}

.devtools-menulist:-moz-focusring,
.devtools-toolbarbutton:-moz-focusring {
  outline: 1px dotted hsla(210,30%,85%,0.4);
  outline-offset: -4px;
}

.devtools-toolbarbutton > .toolbarbutton-icon {
  margin: 0;
}

.devtools-toolbarbutton:not([label]) {
  min-width: 32px;
}

.devtools-toolbarbutton:not([checked=true]):hover:active {
  background-color: hsla(210,18%,9%,.1);
  background-image: -moz-linear-gradient(hsla(209,13%,54%,.35), hsla(209,13%,54%,.1) 85%, hsla(209,13%,54%,.2));
  box-shadow: 0 1px 3px hsla(211,68%,6%,.5) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1);
}

.devtools-menulist[open=true],
.devtools-toolbarbutton[checked=true] {
  border-color: hsla(211,68%,6%,.6);
  background: -moz-linear-gradient(hsla(211,68%,6%,.1), hsla(211,68%,6%,.2));
  box-shadow: 0 1px 3px hsla(211,68%,6%,.5) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1);
  color: hsl(200,100%,60%) !important;
}

.devtools-toolbarbutton[checked=true]:hover:active {
  background-color: hsla(211,68%,6%,.2);
}

.devtools-menulist > .menulist-label-box {
  text-align: center;
}

.devtools-menulist > .menulist-dropmarker {
  -moz-appearance: none;
  list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
  border-width: 0;
  background-color: transparent;
}

.devtools-menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
  color: hsl(210,30%,85%) !important;
  background-color: transparent;
}

/* Search input */

.devtools-searchinput {
  -moz-appearance: none;
  margin: 0 3px;
  border: 1px solid hsla(211,68%,6%,.6);
  box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05), 0 0 0 1px hsla(210,40%,83%,.1);
  border-radius: 2px;
  background-color: transparent;
  background-image: url(magnifying-glass.png), -moz-linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35));
  background-repeat: no-repeat;
  background-position: 4px center, top left, top left;
  padding-top: 0;
  padding-bottom: 0;
  -moz-padding-start: 18px;
  -moz-padding-end: 12px;
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease;
  color: inherit;
}

.devtools-searchinput[focused] {
  border-color: hsl(200,70%,40%) hsl(200,75%,37%) hsl(200,80%,35%);
  background-origin: padding-box;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px hsla(211,68%,6%,.1);
}

.devtools-searchinput:-moz-locale-dir(rtl) {
  background-position: -moz-calc(100% - 4px) 3px, top left, top left;
}

.devtools-searchinput > .textbox-input-box > .textbox-search-icons {
  display: none;
}

.devtools-searchinput > .textbox-input-box > .textbox-input:-moz-placeholder {
  color: hsl(208,10%,66%);
}

/* Close button */

.devtools-closebutton {
  list-style-image: url("chrome://browser/skin/devtools/toolbarbutton-close.png");
  -moz-image-region: rect(0, 16px, 16px, 0);
  min-width: 16px;
  width: 16px;
  -moz-appearance: none;
  border-style: none;
}

.devtools-closebutton > .toolbarbutton-text {
  display: none;
}

.devtools-closebutton:hover {
  -moz-image-region: rect(0, 32px, 16px, 16px);
}

.devtools-closebutton:hover:active {
  -moz-image-region: rect(0, 48px, 16px, 32px);
}

/* Splitters */

.devtools-horizontal-splitter {
  -moz-appearance: none;
  border-width: 1px 0 0 0;
  -moz-border-top-colors: black;
  background-color: transparent;
  min-height: 3px;
  height: 3px;
  margin-bottom: -3px;
  position: relative;
}

.devtools-side-splitter {
  border: 0;
  -moz-border-start: 1px solid #242b33;
  min-width: 0;
  width: 3px;
  background-color: transparent;
  -moz-margin-end: -3px;
  position: relative;
}
