/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
15.1.1 by galaxyAbstractor
Started implementation of a new codeviewer using Ace
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/chrome', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
33
exports.isDark = false;
34
exports.cssClass = "ace-chrome";
35
exports.cssText = ".ace-chrome .ace_gutter {\
36
background: #ebebeb;\
37
color: #333;\
38
overflow : hidden;\
39
}\
40
.ace-chrome .ace_print-margin {\
41
width: 1px;\
42
background: #e8e8e8;\
43
}\
44
.ace-chrome .ace_scroller {\
45
background-color: #FFFFFF;\
46
}\
47
.ace-chrome .ace_cursor {\
48
border-left: 2px solid black;\
49
}\
50
.ace-chrome .ace_overwrite-cursors .ace_cursor {\
51
border-left: 0px;\
52
border-bottom: 1px solid black;\
53
}\
54
.ace-chrome .ace_invisible {\
55
color: rgb(191, 191, 191);\
56
}\
57
.ace-chrome .ace_constant.ace_buildin {\
58
color: rgb(88, 72, 246);\
59
}\
60
.ace-chrome .ace_constant.ace_language {\
61
color: rgb(88, 92, 246);\
62
}\
63
.ace-chrome .ace_constant.ace_library {\
64
color: rgb(6, 150, 14);\
65
}\
66
.ace-chrome .ace_invalid {\
67
background-color: rgb(153, 0, 0);\
68
color: white;\
69
}\
70
.ace-chrome .ace_fold {\
71
}\
72
.ace-chrome .ace_support.ace_function {\
73
color: rgb(60, 76, 114);\
74
}\
75
.ace-chrome .ace_support.ace_constant {\
76
color: rgb(6, 150, 14);\
77
}\
78
.ace-chrome .ace_support.ace_type,\
79
.ace-chrome .ace_support.ace_class\
80
.ace-chrome .ace_support.ace_other {\
81
color: rgb(109, 121, 222);\
82
}\
83
.ace-chrome .ace_variable.ace_parameter {\
84
font-style:italic;\
85
color:#FD971F;\
86
}\
87
.ace-chrome .ace_keyword.ace_operator {\
88
color: rgb(104, 118, 135);\
89
}\
90
.ace-chrome .ace_comment {\
91
color: #236e24;\
92
}\
93
.ace-chrome .ace_comment.ace_doc {\
94
color: #236e24;\
95
}\
96
.ace-chrome .ace_comment.ace_doc.ace_tag {\
97
color: #236e24;\
98
}\
99
.ace-chrome .ace_constant.ace_numeric {\
100
color: rgb(0, 0, 205);\
101
}\
102
.ace-chrome .ace_variable {\
103
color: rgb(49, 132, 149);\
104
}\
105
.ace-chrome .ace_xml-pe {\
106
color: rgb(104, 104, 91);\
107
}\
108
.ace-chrome .ace_entity.ace_name.ace_function {\
109
color: #0000A2;\
110
}\
111
.ace-chrome .ace_markup.ace_heading {\
112
color: rgb(12, 7, 255);\
113
}\
114
.ace-chrome .ace_markup.ace_list {\
115
color:rgb(185, 6, 144);\
116
}\
117
.ace-chrome .ace_marker-layer .ace_selection {\
118
background: rgb(181, 213, 255);\
119
}\
120
.ace-chrome .ace_marker-layer .ace_step {\
121
background: rgb(252, 255, 0);\
122
}\
123
.ace-chrome .ace_marker-layer .ace_stack {\
124
background: rgb(164, 229, 101);\
125
}\
126
.ace-chrome .ace_marker-layer .ace_bracket {\
127
margin: -1px 0 0 -1px;\
128
border: 1px solid rgb(192, 192, 192);\
129
}\
130
.ace-chrome .ace_marker-layer .ace_active-line {\
131
background: rgba(0, 0, 0, 0.07);\
132
}\
133
.ace-chrome .ace_gutter-active-line {\
134
background-color : #dcdcdc;\
135
}\
136
.ace-chrome .ace_marker-layer .ace_selected-word {\
137
background: rgb(250, 250, 255);\
138
border: 1px solid rgb(200, 200, 250);\
139
}\
140
.ace-chrome .ace_storage,\
141
.ace-chrome .ace_keyword,\
142
.ace-chrome .ace_meta.ace_tag {\
143
color: rgb(147, 15, 128);\
144
}\
145
.ace-chrome .ace_string.ace_regex {\
146
color: rgb(255, 0, 0)\
147
}\
148
.ace-chrome .ace_string {\
149
color: #1A1AA6;\
150
}\
151
.ace-chrome .ace_entity.ace_other.ace_attribute-name {\
152
color: #994409;\
153
}\
154
.ace-chrome .ace_indent-guide {\
155
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
156
}\
157
";
158
159
var dom = require("../lib/dom");
160
dom.importCssString(exports.cssText, exports.cssClass);
161
});