blob: 2ee8c958bc02deaa75be03d1073960c19fafd1ef [file] [log] [blame]
adminbae64d82013-08-01 10:50:15 -07001.CodeMirror {
2 line-height: 1em;
3 font-family: calibri;
4 font-color: black;
5}
6
7.CodeMirror-scroll {
8 overflow: auto;
9 height: 50%;
10 /* This is needed to prevent an IE[67] bug where the scrolled content
11 is visible outside of the scrolling box. */
12 position: relative;
13 outline: none;
14}
15
16.CodeMirror-gutter {
17 position: absolute; left: 0; top: 0;
18 z-index: 10;
19 background-color: #cccccc;
20 border-right: 1px solid #eee;
21 min-width: 2em;
22 height: 100%;
23}
24.CodeMirror-gutter-text {
25 color: black;
26 text-align: right;
27 padding: .2em .2em .4em .4em;
28 white-space: pre !important;
29}
30.CodeMirror-lines {
31 padding: .4em;
32 white-space: pre;
33}
34
35.CodeMirror pre {
36 -moz-border-radius: 0;
37 -webkit-border-radius: 0;
38 -o-border-radius: 0;
39 border-radius: 0;
40 border-width: 0; margin: 0; padding: 0; background: transparent;
41 font-family: inherit;
42 font-size: 0.8em;
43 padding: 0; margin: 0;
44 white-space: pre;
45 word-wrap: normal;
46 line-height: inherit;
47 color: inherit;
48}
49
50.CodeMirror-wrap pre {
51 word-wrap: break-word;
52 white-space: pre-wrap;
53 word-break: normal;
54}
55.CodeMirror-wrap .CodeMirror-scroll {
56 overflow-x: hidden;
57}
58
59.CodeMirror textarea {
60 outline: black !important;
61 font-color:black;
62}
63
64.CodeMirror pre.CodeMirror-cursor {
65 z-index: 10;
66 position: absolute;
67 visibility: hidden;
68 border-left: 1px solid black;
69 border-right: none;
70 width: 0;
71}
72.cm-keymap-fat-cursor pre.CodeMirror-cursor {
73 width: auto;
74 border: 0;
75 background: #000000;
76 background: rgba(0, 200, 0, .4);
77 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800);
78}
79/* Kludge to turn off filter in ie9+, which also accepts rgba */
80.cm-keymap-fat-cursor pre.CodeMirror-cursor:not(#nonsense_id) {
81 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
82}
83.CodeMirror pre.CodeMirror-cursor.CodeMirror-overwrite {}
84.CodeMirror-focused pre.CodeMirror-cursor {
85 visibility: visible;
86}
87
88div.CodeMirror-selected { background: #d9d9d9; }
89.CodeMirror-focused div.CodeMirror-selected { background: #d7d4f0; }
90
91.CodeMirror-searching {
92 background: #ffa;
93 background: rgba(255, 255, 0, .4);
94}
95
96/* Default theme */
97
98.cm-s-default span.cm-keyword {color: #708;}
99.cm-s-default span.cm-atom {color: #219;}
100.cm-s-default span.cm-number {color: #164;}
101.cm-s-default span.cm-def {color: #00f;}
102.cm-s-default span.cm-variable {color: black;}
103.cm-s-default span.cm-variable-2 {color: #05a;}
104.cm-s-default span.cm-variable-3 {color: #085;}
105.cm-s-default span.cm-property {color: black;}
106.cm-s-default span.cm-operator {color: black;}
107.cm-s-default span.cm-comment {color: #a50;}
108.cm-s-default span.cm-string {color: #a11;}
109.cm-s-default span.cm-string-2 {color: #f50;}
110.cm-s-default span.cm-meta {color: #555;}
111.cm-s-default span.cm-error {color: #f00;}
112.cm-s-default span.cm-qualifier {color: #555;}
113.cm-s-default span.cm-builtin {color: #30a;}
114.cm-s-default span.cm-bracket {color: #cc7;}
115.cm-s-default span.cm-tag {color: #170;}
116.cm-s-default span.cm-attribute {color: #00c;}
117.cm-s-default span.cm-header {color: transparent;}
118.cm-s-default span.cm-quote {color: #090;}
119.cm-s-default span.cm-hr {color: #999;}
120.cm-s-default span.cm-link {color: #00c;}
121
122
123
124
125.cm-s-default span.cm-log {color: #000000;}
126.cm-s-default span.cm-log_error_warn {color: #FF0000;}
127.cm-s-default span.cm-log_pass {color: #00CC00;}
128.cm-s-default span.cm-log_step {color: #0000FF;}
129.cm-s-default span.cm-log_start_end_case {color: #FF0000;}
130
131.cm-s-default span.cm-log_debug {color: #FFB90F;}
132.cm-s-default span.cm-log_description {color: #0000FF;}
133.cm-s-default span.cm-log_info {color: #00529B;background-color: #BDE5F8;}
134
135
136
137
138/*span.cm-header, span.cm-strong {font-weight: bold;}*/
139/*span.cm-em {font-style: italic;}*/
140/*span.cm-emstrong {font-style: italic; font-weight: bold;}*/
141span.cm-link {text-decoration: underline;}
142
143div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
144div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
145