/*!
 * VisualEditor UserInterface MWLatexDialog styles.
 *
 * @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
 * @license MIT
 */

.ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout {
	padding: 0.5em;
}

.ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout h3 {
	margin: 0 0 0.5em 0;
	color: #888;
	font-weight: normal;
	font-size: 1em;
}

.ve-ui-mwLatexDialog-content .oo-ui-textInputWidget {
	max-width: none;
}

.ve-ui-mwLatexDialog-menuLayout > .oo-ui-menuLayout-content {
	border-bottom: 1px solid #e6e6e6;
	box-shadow: 0 1px 0 0 rgba( 0, 0, 0, 0.05 );
	overflow: auto;
}

.ve-ui-mwLatexDialog-menuLayout-short .oo-ui-menuLayout-menu {
	height: 10em;
}

.ve-ui-mwLatexDialog-menuLayout-short .oo-ui-menuLayout-content {
	bottom: 10em;
}

.ve-ui-mwLatexDialog-preview {
	text-align: center;
	line-height: 10em;
	height: 10em;
}

.ve-ui-mwLatexDialog-menuLayout-short .ve-ui-mwLatexDialog-preview {
	line-height: 6em;
	height: 6em;
}

/* Ensures the preview image is vertically centred */
.ve-ui-mwLatexDialog-preview .mwe-math-fallback-image-display {
	display: inline-block;
}

.ve-ui-mwLatexDialog-symbols .oo-ui-outlineOptionWidget {
	padding-left: 0.75em;
}
