mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
60c1ee7d56
The widget attempts to load the ext.codeEditor.ace.modes module and if it fails, will fall back to regular TextWidget behaviour. Bug: T49742 Change-Id: Ie483f6eba25e3732a396c18decc0e1844b806b23
23 lines
580 B
CSS
23 lines
580 B
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWAceEditorWidget styles.
|
|
*
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwAceEditorWidget .ace_editor {
|
|
border: 1px solid #ccc;
|
|
margin: 1px;
|
|
font-family: monospace, Courier;
|
|
font-size: inherit;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.ve-ui-mwAceEditorWidget .ace_focus {
|
|
/* TODO: Move to mediawiki theme only */
|
|
border-color: #347bff;
|
|
/* HACK: Make border grow out as inset doesn't overlap absolute positioned children */
|
|
border-width: 2px;
|
|
margin: 0;
|
|
}
|