Revision 3251:9ed815f75542,
947 bytes
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 | /* neo theme for codemirror */ |
---|
2 | |
---|
3 | /* Color scheme */ |
---|
4 | |
---|
5 | .cm-s-neo.CodeMirror { |
---|
6 | background-color:#ffffff; |
---|
7 | color:#2e383c; |
---|
8 | line-height:1.4375; |
---|
9 | } |
---|
10 | .cm-s-neo .cm-comment { color:#75787b; } |
---|
11 | .cm-s-neo .cm-keyword, .cm-s-neo .cm-property { color:#1d75b3; } |
---|
12 | .cm-s-neo .cm-atom,.cm-s-neo .cm-number { color:#75438a; } |
---|
13 | .cm-s-neo .cm-node,.cm-s-neo .cm-tag { color:#9c3328; } |
---|
14 | .cm-s-neo .cm-string { color:#b35e14; } |
---|
15 | .cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier { color:#047d65; } |
---|
16 | |
---|
17 | |
---|
18 | /* Editor styling */ |
---|
19 | |
---|
20 | .cm-s-neo pre { |
---|
21 | padding:0; |
---|
22 | } |
---|
23 | |
---|
24 | .cm-s-neo .CodeMirror-gutters { |
---|
25 | border:none; |
---|
26 | border-right:10px solid transparent; |
---|
27 | background-color:transparent; |
---|
28 | } |
---|
29 | |
---|
30 | .cm-s-neo .CodeMirror-linenumber { |
---|
31 | padding:0; |
---|
32 | color:#e0e2e5; |
---|
33 | } |
---|
34 | |
---|
35 | .cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } |
---|
36 | .cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } |
---|
37 | |
---|
38 | .cm-s-neo .CodeMirror-cursor { |
---|
39 | width: auto; |
---|
40 | border: 0; |
---|
41 | background: rgba(155,157,162,0.37); |
---|
42 | z-index: 1; |
---|
43 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.