summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki/mediawiki.searchSuggest.css
blob: df144ce91d2be6b652e16c6219246bbe7b04bcd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Make sure the links are not underlined or colored, ever. */
/* There is already a :focus / :hover indication on the <div>. */
.suggestions a.mw-searchSuggest-link,
.suggestions a.mw-searchSuggest-link:hover,
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus {
	color: black;
	text-decoration: none;
}

.suggestions-result-current a.mw-searchSuggest-link,
.suggestions-result-current a.mw-searchSuggest-link:hover,
.suggestions-result-current a.mw-searchSuggest-link:active,
.suggestions-result-current a.mw-searchSuggest-link:focus {
	color: white;
}

.suggestions a.mw-searchSuggest-link .special-query {
	/* Apply ellipsis to suggestions */
	overflow: hidden;
	-o-text-overflow: ellipsis; /* Opera 9 to 10 */
	text-overflow: ellipsis;
	white-space: nowrap;
}