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_blue', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) { |
|
32 |
||
33 |
exports.isDark = true; |
|
34 |
exports.cssClass = "ace-tomorrow-night-blue"; |
|
35 |
exports.cssText = ".ace-tomorrow-night-blue .ace_gutter {\ |
|
36 |
background: #00204b;\
|
|
37 |
color: #7388b5\
|
|
38 |
}\
|
|
39 |
.ace-tomorrow-night-blue .ace_print-margin {\
|
|
40 |
width: 1px;\
|
|
41 |
background: #00204b\
|
|
42 |
}\
|
|
43 |
.ace-tomorrow-night-blue .ace_scroller {\
|
|
44 |
background-color: #002451\
|
|
45 |
}\
|
|
46 |
.ace-tomorrow-night-blue .ace_constant.ace_other,\
|
|
47 |
.ace-tomorrow-night-blue .ace_text-layer {\
|
|
48 |
color: #FFFFFF\
|
|
49 |
}\
|
|
50 |
.ace-tomorrow-night-blue .ace_cursor {\
|
|
51 |
border-left: 2px solid #FFFFFF\
|
|
52 |
}\
|
|
53 |
.ace-tomorrow-night-blue .ace_overwrite-cursors .ace_cursor {\
|
|
54 |
border-left: 0px;\
|
|
55 |
border-bottom: 1px solid #FFFFFF\
|
|
56 |
}\
|
|
57 |
.ace-tomorrow-night-blue .ace_marker-layer .ace_selection {\
|
|
58 |
background: #003F8E\
|
|
59 |
}\
|
|
60 |
.ace-tomorrow-night-blue.ace_multiselect .ace_selection.ace_start {\
|
|
61 |
box-shadow: 0 0 3px 0px #002451;\
|
|
62 |
border-radius: 2px\
|
|
63 |
}\
|
|
64 |
.ace-tomorrow-night-blue .ace_marker-layer .ace_step {\
|
|
65 |
background: rgb(127, 111, 19)\
|
|
66 |
}\
|
|
67 |
.ace-tomorrow-night-blue .ace_marker-layer .ace_bracket {\
|
|
68 |
margin: -1px 0 0 -1px;\
|
|
69 |
border: 1px solid #404F7D\
|
|
70 |
}\
|
|
71 |
.ace-tomorrow-night-blue .ace_marker-layer .ace_active-line {\
|
|
72 |
background: #00346E\
|
|
73 |
}\
|
|
74 |
.ace-tomorrow-night-blue .ace_gutter-active-line {\
|
|
75 |
background-color: #022040\
|
|
76 |
}\
|
|
77 |
.ace-tomorrow-night-blue .ace_marker-layer .ace_selected-word {\
|
|
78 |
border: 1px solid #003F8E\
|
|
79 |
}\
|
|
80 |
.ace-tomorrow-night-blue .ace_invisible {\
|
|
81 |
color: #404F7D\
|
|
82 |
}\
|
|
83 |
.ace-tomorrow-night-blue .ace_keyword,\
|
|
84 |
.ace-tomorrow-night-blue .ace_meta,\
|
|
85 |
.ace-tomorrow-night-blue .ace_storage,\
|
|
86 |
.ace-tomorrow-night-blue .ace_storage.ace_type,\
|
|
87 |
.ace-tomorrow-night-blue .ace_support.ace_type {\
|
|
88 |
color: #EBBBFF\
|
|
89 |
}\
|
|
90 |
.ace-tomorrow-night-blue .ace_keyword.ace_operator {\
|
|
91 |
color: #99FFFF\
|
|
92 |
}\
|
|
93 |
.ace-tomorrow-night-blue .ace_constant.ace_character,\
|
|
94 |
.ace-tomorrow-night-blue .ace_constant.ace_language,\
|
|
95 |
.ace-tomorrow-night-blue .ace_constant.ace_numeric,\
|
|
96 |
.ace-tomorrow-night-blue .ace_keyword.ace_other.ace_unit,\
|
|
97 |
.ace-tomorrow-night-blue .ace_support.ace_constant,\
|
|
98 |
.ace-tomorrow-night-blue .ace_variable.ace_parameter {\
|
|
99 |
color: #FFC58F\
|
|
100 |
}\
|
|
101 |
.ace-tomorrow-night-blue .ace_invalid {\
|
|
102 |
color: #FFFFFF;\
|
|
103 |
background-color: #F99DA5\
|
|
104 |
}\
|
|
105 |
.ace-tomorrow-night-blue .ace_invalid.ace_deprecated {\
|
|
106 |
color: #FFFFFF;\
|
|
107 |
background-color: #EBBBFF\
|
|
108 |
}\
|
|
109 |
.ace-tomorrow-night-blue .ace_fold {\
|
|
110 |
background-color: #BBDAFF;\
|
|
111 |
border-color: #FFFFFF\
|
|
112 |
}\
|
|
113 |
.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function,\
|
|
114 |
.ace-tomorrow-night-blue .ace_support.ace_function,\
|
|
115 |
.ace-tomorrow-night-blue .ace_variable {\
|
|
116 |
color: #BBDAFF\
|
|
117 |
}\
|
|
118 |
.ace-tomorrow-night-blue .ace_support.ace_class,\
|
|
119 |
.ace-tomorrow-night-blue .ace_support.ace_type {\
|
|
120 |
color: #FFEEAD\
|
|
121 |
}\
|
|
122 |
.ace-tomorrow-night-blue .ace_markup.ace_heading,\
|
|
123 |
.ace-tomorrow-night-blue .ace_string {\
|
|
124 |
color: #D1F1A9\
|
|
125 |
}\
|
|
126 |
.ace-tomorrow-night-blue .ace_entity.ace_name.ace_tag,\
|
|
127 |
.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name,\
|
|
128 |
.ace-tomorrow-night-blue .ace_meta.ace_tag,\
|
|
129 |
.ace-tomorrow-night-blue .ace_string.ace_regexp,\
|
|
130 |
.ace-tomorrow-night-blue .ace_variable {\
|
|
131 |
color: #FF9DA4\
|
|
132 |
}\
|
|
133 |
.ace-tomorrow-night-blue .ace_comment {\
|
|
134 |
color: #7285B7\
|
|
135 |
}\
|
|
136 |
.ace-tomorrow-night-blue .ace_markup.ace_underline {\
|
|
137 |
text-decoration: underline\
|
|
138 |
}\
|
|
139 |
.ace-tomorrow-night-blue .ace_indent-guide {\
|
|
140 |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUAn8z7Bq1ar/ABBUBHJ4/r3JAAAAAElFTkSuQmCC) right repeat-y\
|
|
141 |
}"; |
|
142 |
||
143 |
var dom = require("../lib/dom"); |
|
144 |
dom.importCssString(exports.cssText, exports.cssClass); |
|
145 |
});
|