summaryrefslogtreecommitdiff
path: root/www/wiki/resources/src/mediawiki/mediawiki.searchSuggest.css
blob: 8d56906fcd7a447f61b38d2f774a24afc2cfb18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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: #000;
	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: #fff;
}

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