gecko-dev/toolkit/content/autocomplete.css
Paolo Amadini 2967d1be2f Bug 1434877 - Rework default styles for richlistbox autocomplete. r=mak
The default styles of richlistbox autocomplete were originally created to support the location bar popup, but now every autocomplete field uses the richlistbox version. This reworks the styles so that the number of overrides is minimized.

MozReview-Commit-ID: BwagKpMR5Dt

--HG--
extra : rebase_source : 52eda7f9d561dd23f279a3d15659e84f6c46eec6
2018-02-14 15:04:11 +00:00

28 lines
707 B
CSS

/* 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;
}