diff options
Diffstat (limited to 'js/code-editor')
3 files changed, 0 insertions, 158 deletions
diff --git a/js/code-editor/codemirror-ninja/theme/lesser-dark-ninja.css b/js/code-editor/codemirror-ninja/theme/lesser-dark-ninja.css deleted file mode 100644 index b185a924..00000000 --- a/js/code-editor/codemirror-ninja/theme/lesser-dark-ninja.css +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | /* <copyright> | ||
2 | Copyright (c) 2012, Motorola Mobility, Inc | ||
3 | All Rights Reserved. | ||
4 | BSD License. | ||
5 | |||
6 | Redistribution and use in source and binary forms, with or without | ||
7 | modification, are permitted provided that the following conditions are met: | ||
8 | |||
9 | - Redistributions of source code must retain the above copyright notice, | ||
10 | this list of conditions and the following disclaimer. | ||
11 | - Redistributions in binary form must reproduce the above copyright | ||
12 | notice, this list of conditions and the following disclaimer in the | ||
13 | documentation and/or other materials provided with the distribution. | ||
14 | - Neither the name of Motorola Mobility nor the names of its contributors | ||
15 | may be used to endorse or promote products derived from this software | ||
16 | without specific prior written permission. | ||
17 | |||
18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
22 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
25 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
26 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
27 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
28 | POSSIBILITY OF SUCH DAMAGE. | ||
29 | </copyright> */ | ||
30 | |||
31 | /* adopted from CodeMirror 2.23 (http://codemirror.net/) */ | ||
32 | |||
33 | /* | ||
34 | http://lesscss.org/ dark theme | ||
35 | Ported to CodeMirror by Peter Kroon | ||
36 | */ | ||
37 | |||
38 | .CodeMirror{ | ||
39 | line-height: 15px; | ||
40 | } | ||
41 | .cm-s-lesser-dark { | ||
42 | font-family: 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', 'Monaco', Courier, monospace !important; | ||
43 | /*font-size:12px;*/ | ||
44 | } | ||
45 | |||
46 | .cm-s-lesser-dark { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; } | ||
47 | .cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/ | ||
48 | .cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; } | ||
49 | .cm-s-lesser-dark .CodeMirror-lines { margin-left:3px; margin-right:3px; }/*editable code holder*/ | ||
50 | |||
51 | div.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }/*65FC65*/ | ||
52 | |||
53 | .cm-s-lesser-dark .CodeMirror-gutter { background: #262626; border-right:1px solid #aaa; padding-right:3px; min-width:2.5em; } | ||
54 | .cm-s-lesser-dark .CodeMirror-gutter-text { color: #777; } | ||
55 | |||
56 | .cm-s-lesser-dark span.cm-keyword { color: #599eff; } | ||
57 | .cm-s-lesser-dark span.cm-atom { color: #C2B470; } | ||
58 | .cm-s-lesser-dark span.cm-number { color: #B35E4D; } | ||
59 | .cm-s-lesser-dark span.cm-def {color: color: white;} | ||
60 | .cm-s-lesser-dark span.cm-variable { color:#D9BF8C; } | ||
61 | .cm-s-lesser-dark span.cm-variable-2 { color: #669199; } | ||
62 | .cm-s-lesser-dark span.cm-variable-3 { color: white; } | ||
63 | .cm-s-lesser-dark span.cm-property {color: #92A75C;} | ||
64 | .cm-s-lesser-dark span.cm-operator {color: #92A75C;} | ||
65 | .cm-s-lesser-dark span.cm-comment { color: #666; } | ||
66 | .cm-s-lesser-dark span.cm-string { color: #BCD279; } | ||
67 | .cm-s-lesser-dark span.cm-string-2 {color: #f50;} | ||
68 | .cm-s-lesser-dark span.cm-meta { color: #738C73; } | ||
69 | .cm-s-lesser-dark span.cm-error { color: #9d1e15; } | ||
70 | .cm-s-lesser-dark span.cm-qualifier {color: #555;} | ||
71 | .cm-s-lesser-dark span.cm-builtin { color: #ff9e59; } | ||
72 | .cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; } | ||
73 | .cm-s-lesser-dark span.cm-tag { color: #669199; } | ||
74 | .cm-s-lesser-dark span.cm-attribute {color: #00c;} | ||
75 | .cm-s-lesser-dark span.cm-header {color: #a0a;} | ||
76 | .cm-s-lesser-dark span.cm-quote {color: #090;} | ||
77 | .cm-s-lesser-dark span.cm-hr {color: #999;} | ||
78 | .cm-s-lesser-dark span.cm-link {color: #00c;} | ||
diff --git a/js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css b/js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css deleted file mode 100644 index 62239203..00000000 --- a/js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | /* <copyright> | ||
2 | Copyright (c) 2012, Motorola Mobility, Inc | ||
3 | All Rights Reserved. | ||
4 | BSD License. | ||
5 | |||
6 | Redistribution and use in source and binary forms, with or without | ||
7 | modification, are permitted provided that the following conditions are met: | ||
8 | |||
9 | - Redistributions of source code must retain the above copyright notice, | ||
10 | this list of conditions and the following disclaimer. | ||
11 | - Redistributions in binary form must reproduce the above copyright | ||
12 | notice, this list of conditions and the following disclaimer in the | ||
13 | documentation and/or other materials provided with the distribution. | ||
14 | - Neither the name of Motorola Mobility nor the names of its contributors | ||
15 | may be used to endorse or promote products derived from this software | ||
16 | without specific prior written permission. | ||
17 | |||
18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
22 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
25 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
26 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
27 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
28 | POSSIBILITY OF SUCH DAMAGE. | ||
29 | </copyright> */ | ||
30 | |||
31 | /* adopted from CodeMirror 2.23 (http://codemirror.net/) */ | ||
32 | |||
33 | /* | ||
34 | Copyright (C) 2011 by MarkLogic Corporation | ||
35 | Author: Mike Brevoort <mike@brevoort.com> | ||
36 | |||
37 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
38 | of this software and associated documentation files (the "Software"), to deal | ||
39 | in the Software without restriction, including without limitation the rights | ||
40 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
41 | copies of the Software, and to permit persons to whom the Software is | ||
42 | furnished to do so, subject to the following conditions: | ||
43 | |||
44 | The above copyright notice and this permission notice shall be included in | ||
45 | all copies or substantial portions of the Software. | ||
46 | |||
47 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
48 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
49 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
50 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
51 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
52 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
53 | THE SOFTWARE. | ||
54 | */ | ||
55 | .cm-s-xq-dark { background: #0a001f; color: #f8f8f8; } | ||
56 | .cm-s-xq-dark span.CodeMirror-selected { background: #044259 !important; } | ||
57 | .cm-s-xq-dark .CodeMirror-gutter { background: #0a001f; border-right: 1px solid #aaa; } | ||
58 | .cm-s-xq-dark .CodeMirror-gutter-text { color: #f8f8f8; } | ||
59 | .cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white !important; } | ||
60 | |||
61 | .cm-s-xq-dark span.cm-keyword {color: #FFBD40;} | ||
62 | .cm-s-xq-dark span.cm-atom {color: #6C8CD5;} | ||
63 | .cm-s-xq-dark span.cm-number {color: #164;} | ||
64 | .cm-s-xq-dark span.cm-def {color: #FFF; text-decoration:underline;} | ||
65 | .cm-s-xq-dark span.cm-variable {color: #FFF;} | ||
66 | .cm-s-xq-dark span.cm-variable-2 {color: #EEE;} | ||
67 | .cm-s-xq-dark span.cm-variable-3 {color: #DDD;} | ||
68 | .cm-s-xq-dark span.cm-property {} | ||
69 | .cm-s-xq-dark span.cm-operator {} | ||
70 | .cm-s-xq-dark span.cm-comment {color: gray;} | ||
71 | .cm-s-xq-dark span.cm-string {color: #9FEE00;} | ||
72 | .cm-s-xq-dark span.cm-meta {color: yellow;} | ||
73 | .cm-s-xq-dark span.cm-error {color: #f00;} | ||
74 | .cm-s-xq-dark span.cm-qualifier {color: #FFF700;} | ||
75 | .cm-s-xq-dark span.cm-builtin {color: #30a;} | ||
76 | .cm-s-xq-dark span.cm-bracket {color: #cc7;} | ||
77 | .cm-s-xq-dark span.cm-tag {color: #FFBD40;} | ||
78 | .cm-s-xq-dark span.cm-attribute {color: #FFF700;} | ||
diff --git a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html index de4d81ce..1435c57c 100644 --- a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html +++ b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html | |||
@@ -100,8 +100,6 @@ POSSIBILITY OF SUCH DAMAGE. | |||
100 | <option value="cobalt" >COBALT</option> | 100 | <option value="cobalt" >COBALT</option> |
101 | <option value="eclipse" >ECLIPSE</option> | 101 | <option value="eclipse" >ECLIPSE</option> |
102 | <option value="rubyblue" >RUBYBLUE</option> | 102 | <option value="rubyblue" >RUBYBLUE</option> |
103 | <option value="lesser-dark" >LESSER-DARK</option> | ||
104 | <option value="xq-dark" >XQ-DARK</option> | ||
105 | </select> | 103 | </select> |
106 | </div> | 104 | </div> |
107 | <div data-montage-id="shortKeys" class="shortKeys"> | 105 | <div data-montage-id="shortKeys" class="shortKeys"> |