MediaWiki:Common.css/src/interface/mainBox/navBar/search/suggestions.scss

From Terraria Wiki
Jump to navigation Jump to search

This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.

Ancestors: / src / interface / mainBox / navBar / search / suggestions.scss

Sibling:suggestions.scss

Children: (none)

/*** search result suggestions ***/
.suggestions{
	border-width: var(--theme-dropdown-border-width);
	border-style: var(--theme-dropdown-border-style);
	border-color: var(--theme-dropdown-border-color);
	border-radius: var(--theme-dropdown-border-radius);
	background: var(--theme-dropdown-background);
	box-shadow: var(--theme-dropdown-shadow);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	.suggestions-results,
	.suggestions-special {
		background: none;
	}
	.suggestions-results {
		border: 0;
		border-bottom: 1px solid var(--theme-border-color);
		&:empty{
			border-bottom: 0;
		}
	}
	.suggestions-result,
	.suggestions-special .special-label,
	.suggestions-special .special-query{
		color: var(--theme-text-color);
	}
	.suggestions-result{
		padding: 1px 4px;
		line-height: unset;
	}
	.suggestions-special{
		margin: 0;
		border: 0;
		line-height: unset;
		padding: 2px 4px 4px;
	}
	a.mw-searchSuggest-link,
	a.mw-searchSuggest-link:hover,
	a.mw-searchSuggest-link:active,
	a.mw-searchSuggest-link:focus{
		color: var(--theme-text-color);
	}
	.suggestions-result-current {
		background: var(--theme-highlight-background);
	}
}