Dotclear

source: admin/js/codemirror/theme/midnight.css @ 3251:9ed815f75542

Revision 3251:9ed815f75542, 2.1 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Upgrade codemirror (from 2.35.0 to 5.15.2) and move from themeEditor plugin to admin/js

Line 
1/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */
2
3/*<!--match-->*/
4.cm-s-midnight span.CodeMirror-matchhighlight { background: #494949; }
5.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; }
6
7/*<!--activeline-->*/
8.cm-s-midnight .CodeMirror-activeline-background { background: #253540; }
9
10.cm-s-midnight.CodeMirror {
11    background: #0F192A;
12    color: #D1EDFF;
13}
14
15.cm-s-midnight.CodeMirror { border-top: 1px solid black; border-bottom: 1px solid black; }
16
17.cm-s-midnight div.CodeMirror-selected { background: #314D67; }
18.cm-s-midnight .CodeMirror-line::selection, .cm-s-midnight .CodeMirror-line > span::selection, .cm-s-midnight .CodeMirror-line > span > span::selection { background: rgba(49, 77, 103, .99); }
19.cm-s-midnight .CodeMirror-line::-moz-selection, .cm-s-midnight .CodeMirror-line > span::-moz-selection, .cm-s-midnight .CodeMirror-line > span > span::-moz-selection { background: rgba(49, 77, 103, .99); }
20.cm-s-midnight .CodeMirror-gutters { background: #0F192A; border-right: 1px solid; }
21.cm-s-midnight .CodeMirror-guttermarker { color: white; }
22.cm-s-midnight .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
23.cm-s-midnight .CodeMirror-linenumber { color: #D0D0D0; }
24.cm-s-midnight .CodeMirror-cursor { border-left: 1px solid #F8F8F0; }
25
26.cm-s-midnight span.cm-comment { color: #428BDD; }
27.cm-s-midnight span.cm-atom { color: #AE81FF; }
28.cm-s-midnight span.cm-number { color: #D1EDFF; }
29
30.cm-s-midnight span.cm-property, .cm-s-midnight span.cm-attribute { color: #A6E22E; }
31.cm-s-midnight span.cm-keyword { color: #E83737; }
32.cm-s-midnight span.cm-string { color: #1DC116; }
33
34.cm-s-midnight span.cm-variable { color: #FFAA3E; }
35.cm-s-midnight span.cm-variable-2 { color: #FFAA3E; }
36.cm-s-midnight span.cm-def { color: #4DD; }
37.cm-s-midnight span.cm-bracket { color: #D1EDFF; }
38.cm-s-midnight span.cm-tag { color: #449; }
39.cm-s-midnight span.cm-link { color: #AE81FF; }
40.cm-s-midnight span.cm-error { background: #F92672; color: #F8F8F0; }
41
42.cm-s-midnight .CodeMirror-matchingbracket {
43  text-decoration: underline;
44  color: white !important;
45}
Note: See TracBrowser for help on using the repository browser.

Sites map