/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
20.1.1 by galaxyAbstractor
* Added an simple admin panel to the codeviewer-cmssy stuff
1
/* ***** BEGIN LICENSE BLOCK *****
2
 * Distributed under the BSD license:
3
 *
4
 * Copyright (c) 2010, Ajax.org B.V.
5
 * All rights reserved.
6
 * 
7
 * Redistribution and use in source and binary forms, with or without
8
 * modification, are permitted provided that the following conditions are met:
9
 *     * Redistributions of source code must retain the above copyright
10
 *       notice, 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 Ajax.org B.V. nor the
15
 *       names of its contributors may be used to endorse or promote products
16
 *       derived from this software without specific prior written permission.
17
 * 
18
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
 * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
 *
29
 * ***** END LICENSE BLOCK ***** */
30
31
define('ace/theme/crimson_editor', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
exports.isDark = false;
33
exports.cssText = ".ace-crimson-editor .ace_gutter {\
34
background: #ebebeb;\
35
color: #333;\
36
overflow : hidden;\
37
}\
38
.ace-crimson-editor .ace_gutter-layer {\
39
width: 100%;\
40
text-align: right;\
41
}\
42
.ace-crimson-editor .ace_print-margin {\
43
width: 1px;\
44
background: #e8e8e8;\
45
}\
46
.ace-crimson-editor .ace_scroller {\
47
background-color: #FFFFFF;\
48
}\
49
.ace-crimson-editor .ace_text-layer {\
50
color: rgb(64, 64, 64);\
51
}\
52
.ace-crimson-editor .ace_cursor {\
53
border-left: 2px solid black;\
54
}\
55
.ace-crimson-editor .ace_overwrite-cursors .ace_cursor {\
56
border-left: 0px;\
57
border-bottom: 1px solid black;\
58
}\
59
.ace-crimson-editor .ace_invisible {\
60
color: rgb(191, 191, 191);\
61
}\
62
.ace-crimson-editor .ace_identifier {\
63
color: black;\
64
}\
65
.ace-crimson-editor .ace_keyword {\
66
color: blue;\
67
}\
68
.ace-crimson-editor .ace_constant.ace_buildin {\
69
color: rgb(88, 72, 246);\
70
}\
71
.ace-crimson-editor .ace_constant.ace_language {\
72
color: rgb(255, 156, 0);\
73
}\
74
.ace-crimson-editor .ace_constant.ace_library {\
75
color: rgb(6, 150, 14);\
76
}\
77
.ace-crimson-editor .ace_invalid {\
78
text-decoration: line-through;\
79
color: rgb(224, 0, 0);\
80
}\
81
.ace-crimson-editor .ace_fold {\
82
}\
83
.ace-crimson-editor .ace_support.ace_function {\
84
color: rgb(192, 0, 0);\
85
}\
86
.ace-crimson-editor .ace_support.ace_constant {\
87
color: rgb(6, 150, 14);\
88
}\
89
.ace-crimson-editor .ace_support.ace_type,\
90
.ace-crimson-editor .ace_support.ace_class {\
91
color: rgb(109, 121, 222);\
92
}\
93
.ace-crimson-editor .ace_keyword.ace_operator {\
94
color: rgb(49, 132, 149);\
95
}\
96
.ace-crimson-editor .ace_string {\
97
color: rgb(128, 0, 128);\
98
}\
99
.ace-crimson-editor .ace_comment {\
100
color: rgb(76, 136, 107);\
101
}\
102
.ace-crimson-editor .ace_comment.ace_doc {\
103
color: rgb(0, 102, 255);\
104
}\
105
.ace-crimson-editor .ace_comment.ace_doc.ace_tag {\
106
color: rgb(128, 159, 191);\
107
}\
108
.ace-crimson-editor .ace_constant.ace_numeric {\
109
color: rgb(0, 0, 64);\
110
}\
111
.ace-crimson-editor .ace_variable {\
112
color: rgb(0, 64, 128);\
113
}\
114
.ace-crimson-editor .ace_xml-pe {\
115
color: rgb(104, 104, 91);\
116
}\
117
.ace-crimson-editor .ace_marker-layer .ace_selection {\
118
background: rgb(181, 213, 255);\
119
}\
120
.ace-crimson-editor .ace_marker-layer .ace_step {\
121
background: rgb(252, 255, 0);\
122
}\
123
.ace-crimson-editor .ace_marker-layer .ace_stack {\
124
background: rgb(164, 229, 101);\
125
}\
126
.ace-crimson-editor .ace_marker-layer .ace_bracket {\
127
margin: -1px 0 0 -1px;\
128
border: 1px solid rgb(192, 192, 192);\
129
}\
130
.ace-crimson-editor .ace_marker-layer .ace_active-line {\
131
background: rgb(232, 242, 254);\
132
}\
133
.ace-crimson-editor .ace_gutter-active-line {\
134
background-color : #dcdcdc;\
135
}\
136
.ace-crimson-editor .ace_meta.ace_tag {\
137
color:rgb(28, 2, 255);\
138
}\
139
.ace-crimson-editor .ace_marker-layer .ace_selected-word {\
140
background: rgb(250, 250, 255);\
141
border: 1px solid rgb(200, 200, 250);\
142
}\
143
.ace-crimson-editor .ace_string.ace_regex {\
144
color: rgb(192, 0, 192);\
145
}\
146
.ace-crimson-editor .ace_indent-guide {\
147
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
148
}";
149
150
exports.cssClass = "ace-crimson-editor";
151
152
var dom = require("../lib/dom");
153
dom.importCssString(exports.cssText, exports.cssClass);
154
});