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/kr_theme', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) { |
|
32 |
||
33 |
exports.isDark = true; |
|
34 |
exports.cssClass = "ace-kr-theme"; |
|
35 |
exports.cssText = ".ace-kr-theme .ace_gutter {\ |
|
36 |
background: #1c1917;\
|
|
37 |
color: #FCFFE0\
|
|
38 |
}\
|
|
39 |
.ace-kr-theme .ace_print-margin {\
|
|
40 |
width: 1px;\
|
|
41 |
background: #1c1917\
|
|
42 |
}\
|
|
43 |
.ace-kr-theme .ace_scroller {\
|
|
44 |
background-color: #0B0A09\
|
|
45 |
}\
|
|
46 |
.ace-kr-theme .ace_text-layer {\
|
|
47 |
color: #FCFFE0\
|
|
48 |
}\
|
|
49 |
.ace-kr-theme .ace_cursor {\
|
|
50 |
border-left: 2px solid #FF9900\
|
|
51 |
}\
|
|
52 |
.ace-kr-theme .ace_overwrite-cursors .ace_cursor {\
|
|
53 |
border-left: 0px;\
|
|
54 |
border-bottom: 1px solid #FF9900\
|
|
55 |
}\
|
|
56 |
.ace-kr-theme .ace_marker-layer .ace_selection {\
|
|
57 |
background: rgba(170, 0, 255, 0.45)\
|
|
58 |
}\
|
|
59 |
.ace-kr-theme.ace_multiselect .ace_selection.ace_start {\
|
|
60 |
box-shadow: 0 0 3px 0px #0B0A09;\
|
|
61 |
border-radius: 2px\
|
|
62 |
}\
|
|
63 |
.ace-kr-theme .ace_marker-layer .ace_step {\
|
|
64 |
background: rgb(102, 82, 0)\
|
|
65 |
}\
|
|
66 |
.ace-kr-theme .ace_marker-layer .ace_bracket {\
|
|
67 |
margin: -1px 0 0 -1px;\
|
|
68 |
border: 1px solid rgba(255, 177, 111, 0.32)\
|
|
69 |
}\
|
|
70 |
.ace-kr-theme .ace_marker-layer .ace_active-line {\
|
|
71 |
background: #38403D\
|
|
72 |
}\
|
|
73 |
.ace-kr-theme .ace_gutter-active-line {\
|
|
74 |
background-color : #38403D\
|
|
75 |
}\
|
|
76 |
.ace-kr-theme .ace_marker-layer .ace_selected-word {\
|
|
77 |
border: 1px solid rgba(170, 0, 255, 0.45)\
|
|
78 |
}\
|
|
79 |
.ace-kr-theme .ace_invisible {\
|
|
80 |
color: rgba(255, 177, 111, 0.32)\
|
|
81 |
}\
|
|
82 |
.ace-kr-theme .ace_keyword,\
|
|
83 |
.ace-kr-theme .ace_meta {\
|
|
84 |
color: #949C8B\
|
|
85 |
}\
|
|
86 |
.ace-kr-theme .ace_constant,\
|
|
87 |
.ace-kr-theme .ace_constant.ace_character,\
|
|
88 |
.ace-kr-theme .ace_constant.ace_character.ace_escape,\
|
|
89 |
.ace-kr-theme .ace_constant.ace_other {\
|
|
90 |
color: rgba(210, 117, 24, 0.76)\
|
|
91 |
}\
|
|
92 |
.ace-kr-theme .ace_invalid {\
|
|
93 |
color: #F8F8F8;\
|
|
94 |
background-color: #A41300\
|
|
95 |
}\
|
|
96 |
.ace-kr-theme .ace_support {\
|
|
97 |
color: #9FC28A\
|
|
98 |
}\
|
|
99 |
.ace-kr-theme .ace_support.ace_constant {\
|
|
100 |
color: #C27E66\
|
|
101 |
}\
|
|
102 |
.ace-kr-theme .ace_fold {\
|
|
103 |
background-color: #949C8B;\
|
|
104 |
border-color: #FCFFE0\
|
|
105 |
}\
|
|
106 |
.ace-kr-theme .ace_support.ace_function {\
|
|
107 |
color: #85873A\
|
|
108 |
}\
|
|
109 |
.ace-kr-theme .ace_storage {\
|
|
110 |
color: #FFEE80\
|
|
111 |
}\
|
|
112 |
.ace-kr-theme .ace_string {\
|
|
113 |
color: rgba(164, 161, 181, 0.8)\
|
|
114 |
}\
|
|
115 |
.ace-kr-theme .ace_string.ace_regexp {\
|
|
116 |
color: rgba(125, 255, 192, 0.65)\
|
|
117 |
}\
|
|
118 |
.ace-kr-theme .ace_comment {\
|
|
119 |
font-style: italic;\
|
|
120 |
color: #706D5B\
|
|
121 |
}\
|
|
122 |
.ace-kr-theme .ace_variable {\
|
|
123 |
color: #D1A796\
|
|
124 |
}\
|
|
125 |
.ace-kr-theme .ace_variable.ace_language {\
|
|
126 |
color: #FF80E1\
|
|
127 |
}\
|
|
128 |
.ace-kr-theme .ace_meta.ace_tag {\
|
|
129 |
color: #BABD9C\
|
|
130 |
}\
|
|
131 |
.ace-kr-theme .ace_markup.ace_underline {\
|
|
132 |
text-decoration: underline\
|
|
133 |
}\
|
|
134 |
.ace-kr-theme .ace_markup.ace_list {\
|
|
135 |
background-color: #0F0040\
|
|
136 |
}\
|
|
137 |
.ace-kr-theme .ace_indent-guide {\
|
|
138 |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y\
|
|
139 |
}"; |
|
140 |
||
141 |
var dom = require("../lib/dom"); |
|
142 |
dom.importCssString(exports.cssText, exports.cssClass); |
|
143 |
});
|