Files
firefox/devtools/client/shared/widgets/widgets.css
T
Nicolas Chevobbe 78c8fde8c1 Bug 1896652 - [devtools] Fix layout glitch in storage table and variable view. r=devtools-reviewers,ochameau.
The plain class that was removed in Bug 1896330 was set
on a few elements in the variable view, the table and
the chart widgets, as well as in the inspector breadcrumb.
This patch removes the plain class and adjust styling
where it's needed.

Differential Revision: https://phabricator.services.mozilla.com/D210316
2024-05-15 15:56:15 +00:00

89 lines
2.3 KiB
CSS

/* 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;
}
/* VariablesView */
.variables-view-container {
overflow-x: hidden;
overflow-y: auto;
direction: ltr;
label {
margin: 0;
}
}
.variables-view-element-details:not([open]) {
display: none;
}
.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 label {
margin: 0;
}
.table-widget-body > .devtools-side-splitter:last-child {
display: none;
}