Skip to content

Commit

Permalink
Bug 1266456 - part8: move HTML search autocomplete css to tooltips.cs…
Browse files Browse the repository at this point in the history
…s;r=bgrins

MozReview-Commit-ID: 56QVG5IPS97

--HG--
extra : rebase_source : 5e04aacd9d441ed19115805b7d4a7aff77816c2e
  • Loading branch information
juliandescottes committed Jun 20, 2016
1 parent bc94fc8 commit 74d5a93
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
20 changes: 0 additions & 20 deletions devtools/client/inspector/inspector.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions devtools/client/themes/tooltips.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 74d5a93

Please sign in to comment.