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

%include ../shared.inc
%filter substitution

#inspector-inspect-toolbutton {
  list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
  -moz-image-region: rect(0px 16px 16px 0px);
}

#inspector-inspect-toolbutton[checked=true] {
  -moz-image-region: rect(0px 32px 16px 16px);
}

#inspector-toolbar {
  padding-top: 4px;
  padding-bottom: 4px;
}

#inspector-toolbar:-moz-locale-dir(ltr) {
  padding-left: 2px;
  padding-right: 16px; /* use -moz-padding-end when/if bug 631729 gets fixed */
}

#inspector-toolbar:-moz-locale-dir(rtl) {
  padding-left: 4px;
  padding-right: 18px; /* use -moz-padding-end when/if bug 631729 gets fixed */
}

#inspector-searchbox {
  transition-property: max-width, -moz-padding-end, -moz-padding-start;
  transition-duration: 250ms;
  transition-timing-function: ease;
}

#inspector-searchbox:not([focused]):not([filled]) > .textbox-input-box {
  overflow: hidden;
}

#inspector-searchbox:not([focused]):not([filled]) {
  max-width: 20px !important;
  -moz-padding-end: 5px;
  -moz-padding-start: 22px;
  background-position: 8px center, top left, top left;
}

#inspector-searchbox[focused],
#inspector-searchbox[filled] {
  max-width: 200px !important;
}
