/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/vibrant_ink', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
33
exports.isDark = true;
34
exports.cssClass = "ace-vibrant-ink";
35
exports.cssText = ".ace-vibrant-ink .ace_gutter {\
36
background: #1a1a1a;\
37
color: #BEBEBE\
38
}\
39
.ace-vibrant-ink .ace_print-margin {\
40
width: 1px;\
41
background: #1a1a1a\
42
}\
43
.ace-vibrant-ink .ace_scroller {\
44
background-color: #0F0F0F\
45
}\
46
.ace-vibrant-ink .ace_text-layer {\
47
color: #FFFFFF\
48
}\
49
.ace-vibrant-ink .ace_cursor {\
50
border-left: 2px solid #FFFFFF\
51
}\
52
.ace-vibrant-ink .ace_overwrite-cursors .ace_cursor {\
53
border-left: 0px;\
54
border-bottom: 1px solid #FFFFFF\
55
}\
56
.ace-vibrant-ink .ace_marker-layer .ace_selection {\
57
background: #6699CC\
58
}\
59
.ace-vibrant-ink.ace_multiselect .ace_selection.ace_start {\
60
box-shadow: 0 0 3px 0px #0F0F0F;\
61
border-radius: 2px\
62
}\
63
.ace-vibrant-ink .ace_marker-layer .ace_step {\
64
background: rgb(102, 82, 0)\
65
}\
66
.ace-vibrant-ink .ace_marker-layer .ace_bracket {\
67
margin: -1px 0 0 -1px;\
68
border: 1px solid #404040\
69
}\
70
.ace-vibrant-ink .ace_marker-layer .ace_active-line {\
71
background: #333333\
72
}\
73
.ace-vibrant-ink .ace_gutter-active-line {\
74
background-color: #333333\
75
}\
76
.ace-vibrant-ink .ace_marker-layer .ace_selected-word {\
77
border: 1px solid #6699CC\
78
}\
79
.ace-vibrant-ink .ace_invisible {\
80
color: #404040\
81
}\
82
.ace-vibrant-ink .ace_keyword,\
83
.ace-vibrant-ink .ace_meta {\
84
color: #FF6600\
85
}\
86
.ace-vibrant-ink .ace_constant,\
87
.ace-vibrant-ink .ace_constant.ace_character,\
88
.ace-vibrant-ink .ace_constant.ace_character.ace_escape,\
89
.ace-vibrant-ink .ace_constant.ace_other {\
90
color: #339999\
91
}\
92
.ace-vibrant-ink .ace_constant.ace_numeric {\
93
color: #99CC99\
94
}\
95
.ace-vibrant-ink .ace_invalid,\
96
.ace-vibrant-ink .ace_invalid.ace_deprecated {\
97
color: #CCFF33;\
98
background-color: #000000\
99
}\
100
.ace-vibrant-ink .ace_fold {\
101
background-color: #FFCC00;\
102
border-color: #FFFFFF\
103
}\
104
.ace-vibrant-ink .ace_entity.ace_name.ace_function,\
105
.ace-vibrant-ink .ace_support.ace_function,\
106
.ace-vibrant-ink .ace_variable {\
107
color: #FFCC00\
108
}\
109
.ace-vibrant-ink .ace_variable.ace_parameter {\
110
font-style: italic\
111
}\
112
.ace-vibrant-ink .ace_string {\
113
color: #66FF00\
114
}\
115
.ace-vibrant-ink .ace_string.ace_regexp {\
116
color: #44B4CC\
117
}\
118
.ace-vibrant-ink .ace_comment {\
119
color: #9933CC\
120
}\
121
.ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {\
122
font-style: italic;\
123
color: #99CC99\
124
}\
125
.ace-vibrant-ink .ace_indent-guide {\
126
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5+f/z7Bq1ar/AA5lBCqoLxsgAAAAAElFTkSuQmCC) right repeat-y\
127
}";
128
129
var dom = require("../lib/dom");
130
dom.importCssString(exports.cssText, exports.cssClass);
131
});