MediaWiki:Common.css/src/extension/CodeEditor.scss

From Terraria Wiki
Jump to navigation Jump to search

This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.

/********* Extension:CodeEditor *********/

/* overwriting styles from here:
 * https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/CodeEditor/+/refs/heads/master/modules/jquery.codeEditor.less */

/* Unify text color in status bar */
/* (the "status-message" and "status-line" divs use the current theme's text
 * color, which might be hard to read on the hard-coded white background */
.codeEditor-status {
	color: rgb(114, 119, 125); /* same color as div.ace_gutter-cell */
}

/* The placeholder text in the search/replace field uses the standard
 * var(--theme-text-color-placeholder), which is in most themes hard to read on
 * the white background */
.wikiEditor-ui .ace_editor .ace_search_field::placeholder {
	color: unset;
}

/* The caret in the search/replace field uses the current theme's text color,
 * which is in most themes hard to read on the hard-coded white background */
.wikiEditor-ui .ace_editor .ace_search_field {
	caret-color: unset;
}