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/solarized_dark', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) { |
|
32 |
||
33 |
exports.isDark = true; |
|
34 |
exports.cssClass = "ace-solarized-dark"; |
|
35 |
exports.cssText = ".ace-solarized-dark .ace_gutter {\ |
|
36 |
background: #01313f;\
|
|
37 |
color: #d0edf7\
|
|
38 |
}\
|
|
39 |
.ace-solarized-dark .ace_print-margin {\
|
|
40 |
width: 1px;\
|
|
41 |
background: #33555E\
|
|
42 |
}\
|
|
43 |
.ace-solarized-dark .ace_scroller {\
|
|
44 |
background-color: #002B36\
|
|
45 |
}\
|
|
46 |
.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name,\
|
|
47 |
.ace-solarized-dark .ace_storage,\
|
|
48 |
.ace-solarized-dark .ace_text-layer {\
|
|
49 |
color: #93A1A1\
|
|
50 |
}\
|
|
51 |
.ace-solarized-dark .ace_cursor {\
|
|
52 |
border-left: 2px solid #D30102\
|
|
53 |
}\
|
|
54 |
.ace-solarized-dark .ace_overwrite-cursors .ace_cursor {\
|
|
55 |
border-left: 0px;\
|
|
56 |
border-bottom: 1px solid #D30102\
|
|
57 |
}\
|
|
58 |
.ace-solarized-dark .ace_marker-layer .ace_active-line,\
|
|
59 |
.ace-solarized-dark .ace_marker-layer .ace_selection {\
|
|
60 |
background: rgba(255, 255, 255, 0.1)\
|
|
61 |
}\
|
|
62 |
.ace-solarized-dark.ace_multiselect .ace_selection.ace_start {\
|
|
63 |
box-shadow: 0 0 3px 0px #002B36;\
|
|
64 |
border-radius: 2px\
|
|
65 |
}\
|
|
66 |
.ace-solarized-dark .ace_marker-layer .ace_step {\
|
|
67 |
background: rgb(102, 82, 0)\
|
|
68 |
}\
|
|
69 |
.ace-solarized-dark .ace_marker-layer .ace_bracket {\
|
|
70 |
margin: -1px 0 0 -1px;\
|
|
71 |
border: 1px solid rgba(147, 161, 161, 0.50)\
|
|
72 |
}\
|
|
73 |
.ace-solarized-dark .ace_gutter-active-line {\
|
|
74 |
background-color: #0d3440\
|
|
75 |
}\
|
|
76 |
.ace-solarized-dark .ace_marker-layer .ace_selected-word {\
|
|
77 |
border: 1px solid #073642\
|
|
78 |
}\
|
|
79 |
.ace-solarized-dark .ace_invisible {\
|
|
80 |
color: rgba(147, 161, 161, 0.50)\
|
|
81 |
}\
|
|
82 |
.ace-solarized-dark .ace_keyword,\
|
|
83 |
.ace-solarized-dark .ace_meta,\
|
|
84 |
.ace-solarized-dark .ace_support.ace_class,\
|
|
85 |
.ace-solarized-dark .ace_support.ace_type {\
|
|
86 |
color: #859900\
|
|
87 |
}\
|
|
88 |
.ace-solarized-dark .ace_constant.ace_character,\
|
|
89 |
.ace-solarized-dark .ace_constant.ace_other {\
|
|
90 |
color: #CB4B16\
|
|
91 |
}\
|
|
92 |
.ace-solarized-dark .ace_constant.ace_language {\
|
|
93 |
color: #B58900\
|
|
94 |
}\
|
|
95 |
.ace-solarized-dark .ace_constant.ace_numeric {\
|
|
96 |
color: #D33682\
|
|
97 |
}\
|
|
98 |
.ace-solarized-dark .ace_fold {\
|
|
99 |
background-color: #268BD2;\
|
|
100 |
border-color: #93A1A1\
|
|
101 |
}\
|
|
102 |
.ace-solarized-dark .ace_entity.ace_name.ace_function,\
|
|
103 |
.ace-solarized-dark .ace_entity.ace_name.ace_tag,\
|
|
104 |
.ace-solarized-dark .ace_support.ace_function,\
|
|
105 |
.ace-solarized-dark .ace_variable,\
|
|
106 |
.ace-solarized-dark .ace_variable.ace_language {\
|
|
107 |
color: #268BD2\
|
|
108 |
}\
|
|
109 |
.ace-solarized-dark .ace_string {\
|
|
110 |
color: #2AA198\
|
|
111 |
}\
|
|
112 |
.ace-solarized-dark .ace_string.ace_regexp {\
|
|
113 |
color: #D30102\
|
|
114 |
}\
|
|
115 |
.ace-solarized-dark .ace_comment {\
|
|
116 |
font-style: italic;\
|
|
117 |
color: #657B83\
|
|
118 |
}\
|
|
119 |
.ace-solarized-dark .ace_markup.ace_underline {\
|
|
120 |
text-decoration: underline\
|
|
121 |
}\
|
|
122 |
.ace-solarized-dark .ace_indent-guide {\
|
|
123 |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db7zzBz5sz/AA82BCv7wOIDAAAAAElFTkSuQmCC) right repeat-y\
|
|
124 |
}"; |
|
125 |
||
126 |
var dom = require("../lib/dom"); |
|
127 |
dom.importCssString(exports.cssText, exports.cssClass); |
|
128 |
});
|