Mercurial > kallithea
comparison rhodecode/public/css/codemirror.css @ 1305:166317d464f3 beta
Added server side file editing with commit
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 03 May 2011 14:13:37 +0200 |
parents | |
children | 269905fac50a |
comparison
equal
deleted
inserted
replaced
1304:5a96551ee9c0 | 1305:166317d464f3 |
---|---|
1 .CodeMirror { | |
2 overflow: auto; | |
3 height: 450px; | |
4 line-height: 1em; | |
5 font-family: monospace; | |
6 _position: relative; /* IE6 hack */ | |
7 } | |
8 | |
9 .CodeMirror-gutter { | |
10 position: absolute; left: 0; top: 0; | |
11 background-color: #f7f7f7; | |
12 border-right: 1px solid #eee; | |
13 min-width: 2em; | |
14 height: 100%; | |
15 } | |
16 .CodeMirror-gutter-text { | |
17 color: #aaa; | |
18 text-align: right; | |
19 padding: .4em .2em .4em .4em; | |
20 } | |
21 .CodeMirror-lines { | |
22 padding: .4em; | |
23 } | |
24 | |
25 .CodeMirror pre { | |
26 -moz-border-radius: 0; | |
27 -webkit-border-radius: 0; | |
28 -o-border-radius: 0; | |
29 border-radius: 0; | |
30 border-width: 0; margin: 0; padding: 0; background: transparent; | |
31 font-family: inherit; | |
32 } | |
33 | |
34 .CodeMirror-cursor { | |
35 z-index: 10; | |
36 position: absolute; | |
37 visibility: hidden; | |
38 border-left: 1px solid black !important; | |
39 } | |
40 .CodeMirror-focused .CodeMirror-cursor { | |
41 visibility: visible; | |
42 } | |
43 | |
44 span.CodeMirror-selected { | |
45 background: #ccc !important; | |
46 color: HighlightText !important; | |
47 } | |
48 .CodeMirror-focused span.CodeMirror-selected { | |
49 background: Highlight !important; | |
50 } | |
51 | |
52 .CodeMirror-matchingbracket {color: #0f0 !important;} | |
53 .CodeMirror-nonmatchingbracket {color: #f22 !important;} | |
54 .CodeMirror-gutter-text{color: #003367 !important;} |