mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-15 15:31:42 +00:00
d51ef3cc2a
Url: - https://github.com/codemirror/CodeMirror/tree/5.8.0 Change-Id: I1634b34f47386dbb55951b7679bac3a197b17484
54 lines
2.4 KiB
CSS
54 lines
2.4 KiB
CSS
/**
|
|
* Pastel On Dark theme ported from ACE editor
|
|
* @license MIT
|
|
* @copyright AtomicPages LLC 2014
|
|
* @author Dennis Thompson, AtomicPages LLC
|
|
* @version 1.1
|
|
* @source https://github.com/atomicpages/codemirror-pastel-on-dark-theme
|
|
*/
|
|
|
|
.cm-s-pastel-on-dark.CodeMirror {
|
|
background: #2c2827;
|
|
color: #8F938F;
|
|
line-height: 1.5;
|
|
font-size: 14px;
|
|
}
|
|
.cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2); }
|
|
.cm-s-pastel-on-dark .CodeMirror-line::selection, .cm-s-pastel-on-dark .CodeMirror-line > span::selection, .cm-s-pastel-on-dark .CodeMirror-line > span > span::selection { background: rgba(221,240,255,0.2); }
|
|
.cm-s-pastel-on-dark .CodeMirror-line::-moz-selection, .cm-s-pastel-on-dark .CodeMirror-line > span::-moz-selection, .cm-s-pastel-on-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(221,240,255,0.2); }
|
|
|
|
.cm-s-pastel-on-dark .CodeMirror-gutters {
|
|
background: #34302f;
|
|
border-right: 0px;
|
|
padding: 0 3px;
|
|
}
|
|
.cm-s-pastel-on-dark .CodeMirror-guttermarker { color: white; }
|
|
.cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle { color: #8F938F; }
|
|
.cm-s-pastel-on-dark .CodeMirror-linenumber { color: #8F938F; }
|
|
.cm-s-pastel-on-dark .CodeMirror-cursor { border-left: 1px solid #A7A7A7; }
|
|
.cm-s-pastel-on-dark span.cm-comment { color: #A6C6FF; }
|
|
.cm-s-pastel-on-dark span.cm-atom { color: #DE8E30; }
|
|
.cm-s-pastel-on-dark span.cm-number { color: #CCCCCC; }
|
|
.cm-s-pastel-on-dark span.cm-property { color: #8F938F; }
|
|
.cm-s-pastel-on-dark span.cm-attribute { color: #a6e22e; }
|
|
.cm-s-pastel-on-dark span.cm-keyword { color: #AEB2F8; }
|
|
.cm-s-pastel-on-dark span.cm-string { color: #66A968; }
|
|
.cm-s-pastel-on-dark span.cm-variable { color: #AEB2F8; }
|
|
.cm-s-pastel-on-dark span.cm-variable-2 { color: #BEBF55; }
|
|
.cm-s-pastel-on-dark span.cm-variable-3 { color: #DE8E30; }
|
|
.cm-s-pastel-on-dark span.cm-def { color: #757aD8; }
|
|
.cm-s-pastel-on-dark span.cm-bracket { color: #f8f8f2; }
|
|
.cm-s-pastel-on-dark span.cm-tag { color: #C1C144; }
|
|
.cm-s-pastel-on-dark span.cm-link { color: #ae81ff; }
|
|
.cm-s-pastel-on-dark span.cm-qualifier,.cm-s-pastel-on-dark span.cm-builtin { color: #C1C144; }
|
|
.cm-s-pastel-on-dark span.cm-error {
|
|
background: #757aD8;
|
|
color: #f8f8f0;
|
|
}
|
|
.cm-s-pastel-on-dark .CodeMirror-activeline-background { background: rgba(255, 255, 255, 0.031); }
|
|
.cm-s-pastel-on-dark .CodeMirror-matchingbracket {
|
|
border: 1px solid rgba(255,255,255,0.25);
|
|
color: #8F938F !important;
|
|
margin: -1px -1px 0 -1px;
|
|
}
|