mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
0e47032839
This changed after the OOUI font-size change. Also reduce the preview height which is measure in em's so that it is closer to its original pixel value. Also fix line height for error messages. Change-Id: I3537d33dc1889e0154f4574bb33b22b3c006fe9c
61 lines
1.3 KiB
CSS
61 lines
1.3 KiB
CSS
/*!
|
|
* 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: 8em;
|
|
height: 8em;
|
|
}
|
|
|
|
.ve-ui-mwLatexDialog-menuLayout-short .ve-ui-mwLatexDialog-preview {
|
|
line-height: 5em;
|
|
height: 5em;
|
|
}
|
|
|
|
/* Reset line height for error messages */
|
|
.ve-ui-mwLatexDialog-preview > p {
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* 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;
|
|
}
|