Bug 1266456 - part8: move HTML search autocomplete css to tooltips.css;r=bgrins
MozReview-Commit-ID: 56QVG5IPS97
--- a/devtools/client/inspector/inspector.css
+++ b/devtools/client/inspector/inspector.css
@@ -2,36 +2,16 @@
/* 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;
}
#inspector-sidebar-toggle-box {
--- a/devtools/client/themes/tooltips.css
+++ b/devtools/client/themes/tooltips.css
@@ -385,8 +385,30 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.stack-frame-line {
color: var(--theme-highlight-orange);
}
+
+/* Tooltip: HTML Search */
+
+#searchbox-panel-listbox {
+ width: 250px;
+ max-width: 250px;
+ overflow-x: hidden;
+}
+
+#searchbox-panel-listbox .autocomplete-item,
+#searchbox-panel-listbox .autocomplete-item[selected] {
+ overflow-x: hidden;
+}
+
+#searchbox-panel-listbox .autocomplete-item > .initial-value {
+ max-width: 130px;
+ margin-left: 15px;
+}
+
+#searchbox-panel-listbox .autocomplete-item > .autocomplete-value {
+ max-width: 150px;
+}