2017-01-11 21:50:35 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor UserInterface MWLatexDialog styles.
|
|
|
|
*
|
|
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
2018-04-13 14:04:06 +00:00
|
|
|
* @license MIT
|
2017-01-11 21:50:35 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
.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;
|
2017-04-10 20:10:22 +00:00
|
|
|
box-shadow: 0 1px 0 0 rgba( 0, 0, 0, 0.05 );
|
2017-01-11 21:50:35 +00:00
|
|
|
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;
|
2018-06-07 23:11:59 +00:00
|
|
|
line-height: 8em;
|
|
|
|
height: 8em;
|
2017-01-11 21:50:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwLatexDialog-menuLayout-short .ve-ui-mwLatexDialog-preview {
|
2018-06-07 23:11:59 +00:00
|
|
|
line-height: 5em;
|
|
|
|
height: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Reset line height for error messages */
|
|
|
|
.ve-ui-mwLatexDialog-preview > p {
|
|
|
|
line-height: 1.6;
|
2017-01-11 21:50:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|