/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/cobalt', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
33
exports.isDark = true;
34
exports.cssClass = "ace-cobalt";
35
exports.cssText = ".ace-cobalt .ace_gutter {\
36
background: #011e3a;\
37
color: #fff\
38
}\
39
.ace-cobalt .ace_print-margin {\
40
width: 1px;\
41
background: #011e3a\
42
}\
43
.ace-cobalt .ace_scroller {\
44
background-color: #002240\
45
}\
46
.ace-cobalt .ace_text-layer {\
47
color: #FFFFFF\
48
}\
49
.ace-cobalt .ace_cursor {\
50
border-left: 2px solid #FFFFFF\
51
}\
52
.ace-cobalt .ace_overwrite-cursors .ace_cursor {\
53
border-left: 0px;\
54
border-bottom: 1px solid #FFFFFF\
55
}\
56
.ace-cobalt .ace_marker-layer .ace_selection {\
57
background: rgba(179, 101, 57, 0.75)\
58
}\
59
.ace-cobalt.ace_multiselect .ace_selection.ace_start {\
60
box-shadow: 0 0 3px 0px #002240;\
61
border-radius: 2px\
62
}\
63
.ace-cobalt .ace_marker-layer .ace_step {\
64
background: rgb(127, 111, 19)\
65
}\
66
.ace-cobalt .ace_marker-layer .ace_bracket {\
67
margin: -1px 0 0 -1px;\
68
border: 1px solid rgba(255, 255, 255, 0.15)\
69
}\
70
.ace-cobalt .ace_marker-layer .ace_active-line {\
71
background: rgba(0, 0, 0, 0.35)\
72
}\
73
.ace-cobalt .ace_gutter-active-line {\
74
background-color: rgba(0, 0, 0, 0.35)\
75
}\
76
.ace-cobalt .ace_marker-layer .ace_selected-word {\
77
border: 1px solid rgba(179, 101, 57, 0.75)\
78
}\
79
.ace-cobalt .ace_invisible {\
80
color: rgba(255, 255, 255, 0.15)\
81
}\
82
.ace-cobalt .ace_keyword,\
83
.ace-cobalt .ace_meta {\
84
color: #FF9D00\
85
}\
86
.ace-cobalt .ace_constant,\
87
.ace-cobalt .ace_constant.ace_character,\
88
.ace-cobalt .ace_constant.ace_character.ace_escape,\
89
.ace-cobalt .ace_constant.ace_other {\
90
color: #FF628C\
91
}\
92
.ace-cobalt .ace_invalid {\
93
color: #F8F8F8;\
94
background-color: #800F00\
95
}\
96
.ace-cobalt .ace_support {\
97
color: #80FFBB\
98
}\
99
.ace-cobalt .ace_support.ace_constant {\
100
color: #EB939A\
101
}\
102
.ace-cobalt .ace_fold {\
103
background-color: #FF9D00;\
104
border-color: #FFFFFF\
105
}\
106
.ace-cobalt .ace_support.ace_function {\
107
color: #FFB054\
108
}\
109
.ace-cobalt .ace_storage {\
110
color: #FFEE80\
111
}\
112
.ace-cobalt .ace_entity {\
113
color: #FFDD00\
114
}\
115
.ace-cobalt .ace_string {\
116
color: #3AD900\
117
}\
118
.ace-cobalt .ace_string.ace_regexp {\
119
color: #80FFC2\
120
}\
121
.ace-cobalt .ace_comment {\
122
font-style: italic;\
123
color: #0088FF\
124
}\
125
.ace-cobalt .ace_variable {\
126
color: #CCCCCC\
127
}\
128
.ace-cobalt .ace_variable.ace_language {\
129
color: #FF80E1\
130
}\
131
.ace-cobalt .ace_meta.ace_tag {\
132
color: #9EFFFF\
133
}\
134
.ace-cobalt .ace_markup.ace_underline {\
135
text-decoration: underline\
136
}\
137
.ace-cobalt .ace_markup.ace_heading {\
138
color: #C8E4FD;\
139
background-color: #001221\
140
}\
141
.ace-cobalt .ace_markup.ace_list {\
142
background-color: #130D26\
143
}\
144
.ace-cobalt .ace_indent-guide {\
145
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y\
146
}";
147
148
var dom = require("../lib/dom");
149
dom.importCssString(exports.cssText, exports.cssClass);
150
});