/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/tomorrow_night', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
33
exports.isDark = true;
34
exports.cssClass = "ace-tomorrow-night";
35
exports.cssText = ".ace-tomorrow-night .ace_gutter {\
36
background: #25282c;\
37
color: #C5C8C6\
38
}\
39
.ace-tomorrow-night .ace_print-margin {\
40
width: 1px;\
41
background: #25282c\
42
}\
43
.ace-tomorrow-night .ace_scroller {\
44
background-color: #1D1F21\
45
}\
46
.ace-tomorrow-night .ace_text-layer {\
47
color: #C5C8C6\
48
}\
49
.ace-tomorrow-night .ace_cursor {\
50
border-left: 2px solid #AEAFAD\
51
}\
52
.ace-tomorrow-night .ace_overwrite-cursors .ace_cursor {\
53
border-left: 0px;\
54
border-bottom: 1px solid #AEAFAD\
55
}\
56
.ace-tomorrow-night .ace_marker-layer .ace_selection {\
57
background: #373B41\
58
}\
59
.ace-tomorrow-night.ace_multiselect .ace_selection.ace_start {\
60
box-shadow: 0 0 3px 0px #1D1F21;\
61
border-radius: 2px\
62
}\
63
.ace-tomorrow-night .ace_marker-layer .ace_step {\
64
background: rgb(102, 82, 0)\
65
}\
66
.ace-tomorrow-night .ace_marker-layer .ace_bracket {\
67
margin: -1px 0 0 -1px;\
68
border: 1px solid #4B4E55\
69
}\
70
.ace-tomorrow-night .ace_marker-layer .ace_active-line {\
71
background: #282A2E\
72
}\
73
.ace-tomorrow-night .ace_gutter-active-line {\
74
background-color: #282A2E\
75
}\
76
.ace-tomorrow-night .ace_marker-layer .ace_selected-word {\
77
border: 1px solid #373B41\
78
}\
79
.ace-tomorrow-night .ace_invisible {\
80
color: #4B4E55\
81
}\
82
.ace-tomorrow-night .ace_keyword,\
83
.ace-tomorrow-night .ace_meta,\
84
.ace-tomorrow-night .ace_storage,\
85
.ace-tomorrow-night .ace_storage.ace_type,\
86
.ace-tomorrow-night .ace_support.ace_type {\
87
color: #B294BB\
88
}\
89
.ace-tomorrow-night .ace_keyword.ace_operator {\
90
color: #8ABEB7\
91
}\
92
.ace-tomorrow-night .ace_constant.ace_character,\
93
.ace-tomorrow-night .ace_constant.ace_language,\
94
.ace-tomorrow-night .ace_constant.ace_numeric,\
95
.ace-tomorrow-night .ace_keyword.ace_other.ace_unit,\
96
.ace-tomorrow-night .ace_support.ace_constant,\
97
.ace-tomorrow-night .ace_variable.ace_parameter {\
98
color: #DE935F\
99
}\
100
.ace-tomorrow-night .ace_constant.ace_other {\
101
color: #CED1CF\
102
}\
103
.ace-tomorrow-night .ace_invalid {\
104
color: #CED2CF;\
105
background-color: #DF5F5F\
106
}\
107
.ace-tomorrow-night .ace_invalid.ace_deprecated {\
108
color: #CED2CF;\
109
background-color: #B798BF\
110
}\
111
.ace-tomorrow-night .ace_fold {\
112
background-color: #81A2BE;\
113
border-color: #C5C8C6\
114
}\
115
.ace-tomorrow-night .ace_entity.ace_name.ace_function,\
116
.ace-tomorrow-night .ace_support.ace_function,\
117
.ace-tomorrow-night .ace_variable {\
118
color: #81A2BE\
119
}\
120
.ace-tomorrow-night .ace_support.ace_class,\
121
.ace-tomorrow-night .ace_support.ace_type {\
122
color: #F0C674\
123
}\
124
.ace-tomorrow-night .ace_markup.ace_heading,\
125
.ace-tomorrow-night .ace_string {\
126
color: #B5BD68\
127
}\
128
.ace-tomorrow-night .ace_entity.ace_name.ace_tag,\
129
.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name,\
130
.ace-tomorrow-night .ace_meta.ace_tag,\
131
.ace-tomorrow-night .ace_string.ace_regexp,\
132
.ace-tomorrow-night .ace_variable {\
133
color: #CC6666\
134
}\
135
.ace-tomorrow-night .ace_comment {\
136
color: #969896\
137
}\
138
.ace-tomorrow-night .ace_markup.ace_underline {\
139
text-decoration: underline\
140
}\
141
.ace-tomorrow-night .ace_indent-guide {\
142
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y\
143
}";
144
145
var dom = require("../lib/dom");
146
dom.importCssString(exports.cssText, exports.cssClass);
147
});