Bug 1266456 - part8: move HTML search autocomplete css to tooltips.css;r=bgrins draft
authorJulian Descottes <jdescottes@mozilla.com>
Mon, 20 Jun 2016 15:18:47 +0200
changeset 385564 5e04aacd9d441ed19115805b7d4a7aff77816c2e
parent 385176 8be08b36d5d8ba576aca59a1994ddbdaed116d74
child 385565 d38da891efc2eb2ba49c82c1f8dbcd3861a49b75
push id22536
push userjdescottes@mozilla.com
push dateFri, 08 Jul 2016 16:44:25 +0000
reviewersbgrins
bugs1266456
milestone50.0a1
Bug 1266456 - part8: move HTML search autocomplete css to tooltips.css;r=bgrins MozReview-Commit-ID: 56QVG5IPS97
devtools/client/inspector/inspector.css
devtools/client/themes/tooltips.css
--- 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;
+}