/**
 * @license GNU GPL v2+
 * @author H. Snater < mediawiki@snater.com >
 */
@import 'mediawiki.skin.variables.less';

.wikibase-aliasesview {
	float: left; /* necessary for highlighting in edit mode */
	width: 100%;
}

.wikibase-aliasesview ul {
	overflow: auto;
}

.wikibase-aliasesview div {
	display: inline;
}

.wikibase-aliasesview ul {
	margin: 0;
	padding: 0;
	line-height: inherit;
}

.wikibase-aliasesview li {
	float: left;
	margin: 0.2em 12px 0.2em 0;
	display: inline;
	list-style-type: none;
	border: 1px solid @border-color-subtle;
	padding: 0 12px 0 7px;
	line-height: 136%;
	background-color: #f8f9fa;
}

.wikibase-aliasesview ul.tagadata li {
	margin: 0.2em 4px 0.2em 0;
}

.wikibase-aliasesview ul.tagadata li.tagadata-choice {
	line-height: 136%;
}

.wikibase-aliasesview .tagadata-choice input {
	/* stylelint-disable-next-line declaration-no-important */
	padding-top: 0 !important;
	/* stylelint-disable-next-line declaration-no-important */
	padding-bottom: 0 !important;
}

.wikibase-aliasesview.wb-edit ul {
	/* since the aliases ul list is cloned in JS, its stashed pendant will be visible as box on the
	edit mode highlight colour in non-Webkit browsers without making the bg colour transparent */
	background: transparent;
	font-size: 1em;
}
