MediaWiki:Gadget-WikitextAutocompleter.css: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
m (Edited comments, added missing tab)
m (KokoroSenshi moved page MediaWiki:Gadget-TextComplete.css to MediaWiki:Gadget-WikitextAutocompleter.css without leaving a redirect: Better name)
 
(No difference)

Latest revision as of 02:08, 7 May 2018

/** 
 * Autocomplete/Dropdown list 
 * Uses https://yuku-t.com/textcomplete/
 * Modified from https://github.com/yuku-t/textcomplete/blob/1bf0ce8cf72652563aa20fe6801505a694c3c488/src/doc/main.css
 */

.dropdown-menu {
	background-color: white;
	border: 1px solid #ddd;
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 180px;
	overflow-y: scroll;
}

.dropdown-menu li {
	border-top: 1px solid #ddd;
	padding: 2px 5px;
	margin: 0;
}

.dropdown-menu li:first-child {
	border-top: none;
}

.dropdown-menu li:hover,
.dropdown-menu .active {
	background-color: rgb(110, 183, 219);
}

.dropdown-menu a {
	height: 18px;
	text-decoration: none;
	color: #555;
}

.dropdown-menu a:hover {
	cursor: pointer;
}

.dropdown-menu img {
	vertical-align: text-top;
	height: 18px;
}