mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-01 02:36:47 +00:00
848d762e24
The chemical and mathematical formula inspectors and dialogs have a lot of similar functionality, and the common parts are now moved to the common MWLatex class. MWMath* classes now inherit from MWLatex*, and so do the new MWChem* classes. Bug: T153365 Change-Id: I4452ceca55197fda5f1e1293a5741c6f5fb7c245
56 lines
1.3 KiB
CSS
56 lines
1.3 KiB
CSS
/*!
|
|
* VisualEditor UserInterface MWLatexDialog styles.
|
|
*
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.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 ); /* stylelint-disable-line no-unsupported-browser-features */
|
|
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;
|
|
}
|