/*!
 * VisualEditor UserInterface SpecialCharacterDialog styles.
 *
 * @copyright 2011-2015 VisualEditor Team and others; see http://ve.mit-license.org
 */

.ve-ui-specialCharacterDialog .oo-ui-outlineOptionWidget {
	padding: 0.25em 0.5em;
}

.ve-ui-specialCharacterDialog-spinner {
	/* There might be a better place for a spinner? */
	/* @embed */
	background-image: url(../images/spinner.gif);
	width: 31px;
	height: 31px;
	margin-left: auto;
	margin-right: auto;
}

.ve-ui-specialCharacterDialog .oo-ui-bookletLayout {
	height: 150px;
}

/* When displaying inside another dialog, make the menu narrower */
.oo-ui-dialog .ve-ui-specialCharacterDialog .oo-ui-bookletLayout .oo-ui-menuLayout-menu {
	width: 10em;
}

.oo-ui-dialog .ve-ui-specialCharacterDialog .oo-ui-bookletLayout .oo-ui-menuLayout-content {
	left: 10em;
}

.oo-ui-bookletLayout-stackLayout > .ve-ui-specialCharacterPage {
	padding: 0.5em;
}

.ve-ui-specialCharacterPage h3 {
	margin: 0 0 0.5em 0;
	color: #888;
	font-weight: normal;
	font-size: 1em;
}

.ve-ui-specialCharacterPage-characters {
	white-space: normal;
}

.ve-ui-specialCharacterPage-character {
	cursor: pointer;
	font-size: 1.5em;
	line-height: 1.8em;
	min-width: 1.8em;
	height: 1.8em;
	text-align: center;
	display: inline-block;
	margin: 0 3px 3px 0;
	border: 1px solid #e6e6e6;
	-webkit-transition: border-color 200ms;
	-moz-transition: border-color 200ms;
	-o-transition: border-color 200ms;
	transition: border-color 200ms;
}

.ve-ui-specialCharacterPage-character:hover {
	border-color: #ccc;
}
