/*!
 * VisualEditor MediaWiki UserInterface MWCategoryPopupWidget styles.
 *
 * @copyright See AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */

.ve-ui-mwCategoryPopupWidget {
	position: absolute;

	&-content {
		padding: 0.75em 0.5em;
	}

	.oo-ui-buttonElement-frameless {
		display: block;
		float: left;
	}

	label {
		opacity: 0.8;
		display: block;
	}

	&-title {
		background-position: left center;
		background-repeat: no-repeat;
		padding: 0.5em 0.5em 0.5em 2.25em;
		margin: -0.4em 0 1em 0.125em;
	}

	&-removeButton {
		position: absolute;
		margin-right: 2px;
		padding: 0.5em;
		right: 0;
		top: 0;
	}

	&-sortKeyForm {
		padding: 0.5em;
		display: block;
	}

	&-sortKeyForm .oo-ui-labelWidget {
		padding: 0 0.125em 0.5em 0.125em;
	}
}
