From 74d5a93a8fd03ebe564183ad854aa15ee071a1d6 Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Mon, 20 Jun 2016 15:18:47 +0200 Subject: [PATCH] Bug 1266456 - part8: move HTML search autocomplete css to tooltips.css;r=bgrins MozReview-Commit-ID: 56QVG5IPS97 --HG-- extra : rebase_source : 5e04aacd9d441ed19115805b7d4a7aff77816c2e --- devtools/client/inspector/inspector.css | 20 -------------------- devtools/client/themes/tooltips.css | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/devtools/client/inspector/inspector.css b/devtools/client/inspector/inspector.css index e8e8a787d19bb..26fb128406ca8 100644 --- a/devtools/client/inspector/inspector.css +++ b/devtools/client/inspector/inspector.css @@ -7,26 +7,6 @@ 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 diff --git a/devtools/client/themes/tooltips.css b/devtools/client/themes/tooltips.css index 693a4eaa8d6c6..bef7f664edf9b 100644 --- a/devtools/client/themes/tooltips.css +++ b/devtools/client/themes/tooltips.css @@ -390,3 +390,25 @@ .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; +}