diff options
author | Ananya Sen | 2012-04-30 17:26:24 -0700 |
---|---|---|
committer | Ananya Sen | 2012-04-30 17:26:24 -0700 |
commit | 052caf2b8e10a1e42ec1355a9bb7dd039ea01f69 (patch) | |
tree | e3ad43ece3ab621152ff77453c93c4d6f0d80e52 /js | |
parent | d548103df7dd1015581d30ebf245003443b47d15 (diff) | |
download | ninja-052caf2b8e10a1e42ec1355a9bb7dd039ea01f69.tar.gz |
set up different activeline colors for different themes
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css | 46 | ||||
-rwxr-xr-x | js/stage/stage-view.reel/stage-view.css | 12 |
2 files changed, 57 insertions, 1 deletions
diff --git a/js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css b/js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css new file mode 100644 index 00000000..64006c87 --- /dev/null +++ b/js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css | |||
@@ -0,0 +1,46 @@ | |||
1 | /* | ||
2 | Copyright (C) 2011 by MarkLogic Corporation | ||
3 | Author: Mike Brevoort <mike@brevoort.com> | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in | ||
13 | all copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
21 | THE SOFTWARE. | ||
22 | */ | ||
23 | .cm-s-xq-dark { background: #0a001f; color: #f8f8f8; } | ||
24 | .cm-s-xq-dark span.CodeMirror-selected { background: #044259 !important; } | ||
25 | .cm-s-xq-dark .CodeMirror-gutter { background: #0a001f; border-right: 1px solid #aaa; } | ||
26 | .cm-s-xq-dark .CodeMirror-gutter-text { color: #f8f8f8; } | ||
27 | .cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white !important; } | ||
28 | |||
29 | .cm-s-xq-dark span.cm-keyword {color: #FFBD40;} | ||
30 | .cm-s-xq-dark span.cm-atom {color: #6C8CD5;} | ||
31 | .cm-s-xq-dark span.cm-number {color: #164;} | ||
32 | .cm-s-xq-dark span.cm-def {color: #FFF; text-decoration:underline;} | ||
33 | .cm-s-xq-dark span.cm-variable {color: #FFF;} | ||
34 | .cm-s-xq-dark span.cm-variable-2 {color: #EEE;} | ||
35 | .cm-s-xq-dark span.cm-variable-3 {color: #DDD;} | ||
36 | .cm-s-xq-dark span.cm-property {} | ||
37 | .cm-s-xq-dark span.cm-operator {} | ||
38 | .cm-s-xq-dark span.cm-comment {color: gray;} | ||
39 | .cm-s-xq-dark span.cm-string {color: #9FEE00;} | ||
40 | .cm-s-xq-dark span.cm-meta {color: yellow;} | ||
41 | .cm-s-xq-dark span.cm-error {color: #f00;} | ||
42 | .cm-s-xq-dark span.cm-qualifier {color: #FFF700;} | ||
43 | .cm-s-xq-dark span.cm-builtin {color: #30a;} | ||
44 | .cm-s-xq-dark span.cm-bracket {color: #cc7;} | ||
45 | .cm-s-xq-dark span.cm-tag {color: #FFBD40;} | ||
46 | .cm-s-xq-dark span.cm-attribute {color: #FFF700;} | ||
diff --git a/js/stage/stage-view.reel/stage-view.css b/js/stage/stage-view.reel/stage-view.css index eb7aa23f..e2c4bb0e 100755 --- a/js/stage/stage-view.reel/stage-view.css +++ b/js/stage/stage-view.reel/stage-view.css | |||
@@ -43,7 +43,17 @@ | |||
43 | 43 | ||
44 | span.CodeMirror-matchhighlight { background: #e9e9e9 } | 44 | span.CodeMirror-matchhighlight { background: #e9e9e9 } |
45 | .CodeMirror-focused span.CodeMirror-matchhighlight { background: #e7e4ff; !important } | 45 | .CodeMirror-focused span.CodeMirror-matchhighlight { background: #e7e4ff; !important } |
46 | /*.activeline {background: #e8f2ff !important;}*/ | ||
47 | div.CodeMirror span.CodeMirror-matchingbracket {color: #000 !important;background-color: #ffd500;} | 46 | div.CodeMirror span.CodeMirror-matchingbracket {color: #000 !important;background-color: #ffd500;} |
48 | .CodeMirror-completions select {background-color:#e8f2ff;border:1px solid #c1c1c1;box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.8);} | 47 | .CodeMirror-completions select {background-color:#e8f2ff;border:1px solid #c1c1c1;box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.8);} |
49 | .CodeMirror-completions {z-index:6001 !important;} | 48 | .CodeMirror-completions {z-index:6001 !important;} |
49 | |||
50 | .cm-s-default .activeline {background: #e8f2ff; !important} | ||
51 | .cm-s-eclipse .activeline {background: #e8f2ff; !important} | ||
52 | .cm-s-elegant .activeline {background: #e8f2ff; !important} | ||
53 | .cm-s-neat .activeline {background: #e8f2ff; !important} | ||
54 | .cm-s-night .activeline {background: #8da6ce; !important} | ||
55 | .cm-s-cobalt .activeline {background: #8da6ce; !important} | ||
56 | .cm-s-monokai .activeline {background: #8da6ce; !important} | ||
57 | .cm-s-rubyblue .activeline {background: #3E7087; !important} | ||
58 | .cm-s-lesser-dark .activeline {background: #8da6ce; !important} | ||
59 | .cm-s-xq-dark .activeline {background: #8da6ce; !important} \ No newline at end of file | ||