mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
99d3320573
For now just use the rules file in lib/ve, but eventually this will be a preset. Change-Id: I7fd79d3e1dce37aef066d416cd969e5fff1e962f Depends-On: I17e0d23ddfedf64985495ab35d113ea08c03b1df
27 lines
695 B
CSS
27 lines
695 B
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWAceEditorWidget styles.
|
|
*
|
|
* @copyright 2011-2016 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;
|
|
}
|
|
|
|
.ve-ui-mwAceEditorWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid .ace_editor {
|
|
border-color: #f00;
|
|
}
|