/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/merbivore_soft', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
33
exports.isDark = true;
34
exports.cssClass = "ace-merbivore-soft";
35
exports.cssText = ".ace-merbivore-soft .ace_gutter {\
36
background: #262424;\
37
color: #E6E1DC\
38
}\
39
.ace-merbivore-soft .ace_print-margin {\
40
width: 1px;\
41
background: #262424\
42
}\
43
.ace-merbivore-soft .ace_scroller {\
44
background-color: #1C1C1C\
45
}\
46
.ace-merbivore-soft .ace_text-layer {\
47
color: #E6E1DC\
48
}\
49
.ace-merbivore-soft .ace_cursor {\
50
border-left: 2px solid #FFFFFF\
51
}\
52
.ace-merbivore-soft .ace_overwrite-cursors .ace_cursor {\
53
border-left: 0px;\
54
border-bottom: 1px solid #FFFFFF\
55
}\
56
.ace-merbivore-soft .ace_marker-layer .ace_selection {\
57
background: #494949\
58
}\
59
.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start {\
60
box-shadow: 0 0 3px 0px #1C1C1C;\
61
border-radius: 2px\
62
}\
63
.ace-merbivore-soft .ace_marker-layer .ace_step {\
64
background: rgb(102, 82, 0)\
65
}\
66
.ace-merbivore-soft .ace_marker-layer .ace_bracket {\
67
margin: -1px 0 0 -1px;\
68
border: 1px solid #404040\
69
}\
70
.ace-merbivore-soft .ace_marker-layer .ace_active-line {\
71
background: #333435\
72
}\
73
.ace-merbivore-soft .ace_gutter-active-line {\
74
background-color: #333435\
75
}\
76
.ace-merbivore-soft .ace_marker-layer .ace_selected-word {\
77
border: 1px solid #494949\
78
}\
79
.ace-merbivore-soft .ace_invisible {\
80
color: #404040\
81
}\
82
.ace-merbivore-soft .ace_entity.ace_name.ace_tag,\
83
.ace-merbivore-soft .ace_keyword,\
84
.ace-merbivore-soft .ace_meta,\
85
.ace-merbivore-soft .ace_meta.ace_tag,\
86
.ace-merbivore-soft .ace_storage {\
87
color: #FC803A\
88
}\
89
.ace-merbivore-soft .ace_constant,\
90
.ace-merbivore-soft .ace_constant.ace_character,\
91
.ace-merbivore-soft .ace_constant.ace_character.ace_escape,\
92
.ace-merbivore-soft .ace_constant.ace_other,\
93
.ace-merbivore-soft .ace_support.ace_type {\
94
color: #68C1D8\
95
}\
96
.ace-merbivore-soft .ace_constant.ace_character.ace_escape {\
97
color: #B3E5B4\
98
}\
99
.ace-merbivore-soft .ace_constant.ace_language {\
100
color: #E1C582\
101
}\
102
.ace-merbivore-soft .ace_constant.ace_library,\
103
.ace-merbivore-soft .ace_string,\
104
.ace-merbivore-soft .ace_support.ace_constant {\
105
color: #8EC65F\
106
}\
107
.ace-merbivore-soft .ace_constant.ace_numeric {\
108
color: #7FC578\
109
}\
110
.ace-merbivore-soft .ace_invalid,\
111
.ace-merbivore-soft .ace_invalid.ace_deprecated {\
112
color: #FFFFFF;\
113
background-color: #FE3838\
114
}\
115
.ace-merbivore-soft .ace_fold {\
116
background-color: #FC803A;\
117
border-color: #E6E1DC\
118
}\
119
.ace-merbivore-soft .ace_comment,\
120
.ace-merbivore-soft .ace_meta {\
121
font-style: italic;\
122
color: #AC4BB8\
123
}\
124
.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {\
125
color: #EAF1A3\
126
}\
127
.ace-merbivore-soft .ace_markup.ace_underline {\
128
text-decoration: underline\
129
}\
130
.ace-merbivore-soft .ace_indent-guide {\
131
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkZH5zzBz5sz/AA8EBB6crd1rAAAAAElFTkSuQmCC) right repeat-y\
132
}";
133
134
var dom = require("../lib/dom");
135
dom.importCssString(exports.cssText, exports.cssClass);
136
});