diff options
Diffstat (limited to 'toolkit/content/autocomplete.css')
-rw-r--r-- | toolkit/content/autocomplete.css | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/toolkit/content/autocomplete.css b/toolkit/content/autocomplete.css new file mode 100644 index 000000000..11b36ddac --- /dev/null +++ b/toolkit/content/autocomplete.css @@ -0,0 +1,40 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* Apply crisp rendering for favicons at exactly 2dppx resolution */ +@media (resolution: 2dppx) { + .ac-site-icon { + image-rendering: -moz-crisp-edges; + } +} + +richlistitem { + -moz-box-orient: horizontal; + overflow: hidden; +} + +.ac-title-text, +.ac-tags-text, +.ac-url-text, +.ac-action-text { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.ac-tags[empty] { + display: none; +} + +.ac-action[actiontype=searchengine]:not([selected]), +.ac-separator[actiontype=searchengine]:not([selected]) { + display: none; +} + +.ac-separator[type=keyword] { + display: none; +} |