bzr branch
http://gegoxaren.bato24.eu/bzr/lenasys/trunk
20.1.1
by galaxyAbstractor
* Added an simple admin panel to the codeviewer-cmssy stuff |
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/eclipse', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) { |
|
32 |
||
33 |
||
34 |
exports.isDark = false; |
|
35 |
exports.cssText = ".ace-eclipse .ace_gutter {\ |
|
36 |
background: #ebebeb;\
|
|
37 |
border-right: 1px solid rgb(159, 159, 159);\
|
|
38 |
color: rgb(136, 136, 136);\
|
|
39 |
}\
|
|
40 |
.ace-eclipse .ace_print-margin {\
|
|
41 |
width: 1px;\
|
|
42 |
background: #ebebeb;\
|
|
43 |
}\
|
|
44 |
.ace-eclipse .ace_scroller {\
|
|
45 |
background-color: #FFFFFF;\
|
|
46 |
}\
|
|
47 |
.ace-eclipse .ace_fold {\
|
|
48 |
background-color: rgb(60, 76, 114);\
|
|
49 |
}\
|
|
50 |
.ace-eclipse .ace_text-layer {\
|
|
51 |
}\
|
|
52 |
.ace-eclipse .ace_cursor {\
|
|
53 |
border-left: 2px solid black;\
|
|
54 |
}\
|
|
55 |
.ace-eclipse .ace_storage,\
|
|
56 |
.ace-eclipse .ace_keyword,\
|
|
57 |
.ace-eclipse .ace_variable {\
|
|
58 |
color: rgb(127, 0, 85);\
|
|
59 |
}\
|
|
60 |
.ace-eclipse .ace_constant.ace_buildin {\
|
|
61 |
color: rgb(88, 72, 246);\
|
|
62 |
}\
|
|
63 |
.ace-eclipse .ace_constant.ace_library {\
|
|
64 |
color: rgb(6, 150, 14);\
|
|
65 |
}\
|
|
66 |
.ace-eclipse .ace_function {\
|
|
67 |
color: rgb(60, 76, 114);\
|
|
68 |
}\
|
|
69 |
.ace-eclipse .ace_string {\
|
|
70 |
color: rgb(42, 0, 255);\
|
|
71 |
}\
|
|
72 |
.ace-eclipse .ace_comment {\
|
|
73 |
color: rgb(63, 127, 95);\
|
|
74 |
}\
|
|
75 |
.ace-eclipse .ace_comment.ace_doc {\
|
|
76 |
color: rgb(63, 95, 191);\
|
|
77 |
}\
|
|
78 |
.ace-eclipse .ace_comment.ace_doc.ace_tag {\
|
|
79 |
color: rgb(127, 159, 191);\
|
|
80 |
}\
|
|
81 |
.ace-eclipse .ace_constant.ace_numeric {\
|
|
82 |
}\
|
|
83 |
.ace-eclipse .ace_tag {\
|
|
84 |
color: rgb(63, 127, 127);\
|
|
85 |
}\
|
|
86 |
.ace-eclipse .ace_type {\
|
|
87 |
color: rgb(127, 0, 127);\
|
|
88 |
}\
|
|
89 |
.ace-eclipse .ace_xml-pe {\
|
|
90 |
color: rgb(104, 104, 91);\
|
|
91 |
}\
|
|
92 |
.ace-eclipse .ace_marker-layer .ace_selection {\
|
|
93 |
background: rgb(181, 213, 255);\
|
|
94 |
}\
|
|
95 |
.ace-eclipse .ace_marker-layer .ace_bracket {\
|
|
96 |
margin: -1px 0 0 -1px;\
|
|
97 |
border: 1px solid rgb(192, 192, 192);\
|
|
98 |
}\
|
|
99 |
.ace-eclipse .ace_meta.ace_tag {\
|
|
100 |
color:rgb(63, 127, 127);\
|
|
101 |
}\
|
|
102 |
.ace-eclipse .ace_entity.ace_other.ace_attribute-name {\
|
|
103 |
color:rgb(127, 0, 127);\
|
|
104 |
}\
|
|
105 |
.ace-eclipse .ace_marker-layer .ace_step {\
|
|
106 |
background: rgb(255, 255, 0);\
|
|
107 |
}\
|
|
108 |
.ace-eclipse .ace_marker-layer .ace_active-line {\
|
|
109 |
background: rgb(232, 242, 254);\
|
|
110 |
}\
|
|
111 |
.ace-eclipse .ace_marker-layer .ace_selected-word {\
|
|
112 |
border: 1px solid rgb(181, 213, 255);\
|
|
113 |
}\
|
|
114 |
.ace-eclipse .ace_indent-guide {\
|
|
115 |
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
|
116 |
}"; |
|
117 |
||
118 |
exports.cssClass = "ace-eclipse"; |
|
119 |
||
120 |
var dom = require("../lib/dom"); |
|
121 |
dom.importCssString(exports.cssText, exports.cssClass); |
|
122 |
});
|