2015-10-21 15:30:57 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWAceEditorWidget styles.
|
|
|
|
*
|
2016-01-03 22:56:59 +00:00
|
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
2015-10-21 15:30:57 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
.ve-ui-mwAceEditorWidget .ace_editor {
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
margin: 1px;
|
2016-05-16 14:38:57 +00:00
|
|
|
font-family: monospace, 'Courier';
|
2015-10-21 15:30:57 +00:00
|
|
|
font-size: inherit;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwAceEditorWidget .ace_focus {
|
|
|
|
/* TODO: Move to mediawiki theme only */
|
2016-09-19 22:25:45 +00:00
|
|
|
border-color: #36c;
|
2015-10-21 15:30:57 +00:00
|
|
|
/* HACK: Make border grow out as inset doesn't overlap absolute positioned children */
|
|
|
|
border-width: 2px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2015-10-27 19:02:17 +00:00
|
|
|
|
|
|
|
.ve-ui-mwAceEditorWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid .ace_editor {
|
2016-05-16 14:38:57 +00:00
|
|
|
border-color: #f00;
|
|
|
|
}
|