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

/* BreacrumbsWidget */

.breadcrumbs-widget-item {
  direction: ltr;
}

.breadcrumbs-widget-item {
  -moz-user-focus: normal;
}

/* SimpleListWidget */

.simple-list-widget-container {
  overflow-x: hidden;
  overflow-y: auto;
}

/* FastListWidget */

.fast-list-widget-container {
  overflow: auto;
}

/* SideMenuWidget */

.side-menu-widget-container {
  overflow-x: hidden;
  overflow-y: auto;
}

.side-menu-widget-item-contents {
  -moz-user-focus: normal;
}

.side-menu-widget-group-checkbox .checkbox-label-box,
.side-menu-widget-item-checkbox .checkbox-label-box {
  display: none; /* See bug 669507 */
}

/* VariablesView */

.variables-view-container {
  overflow-x: hidden;
  overflow-y: auto;
}

.variables-view-element-details:not([open]) {
  display: none;
}

.variables-view-scope,
.variable-or-property {
  -moz-user-focus: normal;
}

.variables-view-scope > .title,
.variable-or-property > .title {
  overflow: hidden;
}

.variables-view-scope[untitled] > .title,
.variable-or-property[untitled] > .title,
.variable-or-property[unmatched] > .title {
  display: none;
}

.variable-or-property:not([safe-getter]) > tooltip > label.WebIDL,
.variable-or-property:not([overridden]) > tooltip > label.overridden,
.variable-or-property:not([non-extensible]) > tooltip > label.extensible,
.variable-or-property:not([frozen]) > tooltip > label.frozen,
.variable-or-property:not([sealed]) > tooltip > label.sealed {
  display: none;
}

.variable-or-property[pseudo-item] > tooltip,
.variable-or-property[pseudo-item] > .title > .variables-view-edit,
.variable-or-property[pseudo-item] > .title > .variables-view-delete,
.variable-or-property[pseudo-item] > .title > .variables-view-add-property,
.variable-or-property[pseudo-item] > .title > .variables-view-open-inspector,
.variable-or-property[pseudo-item] > .title > .variable-or-property-frozen-label,
.variable-or-property[pseudo-item] > .title > .variable-or-property-sealed-label,
.variable-or-property[pseudo-item] > .title > .variable-or-property-non-extensible-label,
.variable-or-property[pseudo-item] > .title > .variable-or-property-non-writable-icon {
  display: none;
}

.variable-or-property > .title .toolbarbutton-text {
  display: none;
}

*:not(:hover) .variables-view-delete,
*:not(:hover) .variables-view-add-property,
*:not(:hover) .variables-view-open-inspector {
  visibility: hidden;
}

.variables-view-container[aligned-values] [optional-visibility] {
  display: none;
}

/* Table Widget */
.table-widget-body > .devtools-side-splitter:last-child {
  display: none;
}
