gecko-dev/devtools/client/inspector/inspector.css
Julian Descottes b924602928 Bug 1245996 - inspector: fix xul scrollbars stealing focus;r=pbro
Apply -moz-user-focus: normal; only on direct descendants of inspector
tabpanels and not on tabpanels themselves. Avoids XUL scrollbars
from stealing the focus when clicked.

Test added, run only on windows and linux

MozReview-Commit-ID: KnZpJDxfzj2

--HG--
extra : transplant_source : %21%97%CC%13%9F%A9i%07%B7%26%01%D7%08%3B%2B%9Bq%D5%3A%5B
2016-02-05 10:33:17 +01:00

35 lines
822 B
CSS

/* 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/. */
#inspector-sidebar {
min-width: 250px;
}
#searchbox-panel-listbox {
width: 250px;
max-width: 250px;
overflow-x: hidden;
}
#searchbox-panel-listbox > richlistitem,
#searchbox-panel-listbox > richlistitem[selected] {
overflow-x: hidden;
}
#searchbox-panel-listbox > richlistitem > .initial-value {
max-width: 130px;
margin-left: 15px;
}
#searchbox-panel-listbox > richlistitem > .autocomplete-value {
max-width: 150px;
}
.inspector-tabpanel > * {
/*
* Override `-moz-user-focus:ignore;` from toolkit/content/minimal-xul.css
*/
-moz-user-focus: normal;
}