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/idle_fingers', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) { |
|
32 |
||
33 |
exports.isDark = true; |
|
34 |
exports.cssClass = "ace-idle-fingers"; |
|
35 |
exports.cssText = ".ace-idle-fingers .ace_gutter {\ |
|
36 |
background: #3b3b3b;\
|
|
37 |
color: #fff\
|
|
38 |
}\
|
|
39 |
.ace-idle-fingers .ace_print-margin {\
|
|
40 |
width: 1px;\
|
|
41 |
background: #3b3b3b\
|
|
42 |
}\
|
|
43 |
.ace-idle-fingers .ace_scroller {\
|
|
44 |
background-color: #323232\
|
|
45 |
}\
|
|
46 |
.ace-idle-fingers .ace_text-layer {\
|
|
47 |
color: #FFFFFF\
|
|
48 |
}\
|
|
49 |
.ace-idle-fingers .ace_cursor {\
|
|
50 |
border-left: 2px solid #91FF00\
|
|
51 |
}\
|
|
52 |
.ace-idle-fingers .ace_overwrite-cursors .ace_cursor {\
|
|
53 |
border-left: 0px;\
|
|
54 |
border-bottom: 1px solid #91FF00\
|
|
55 |
}\
|
|
56 |
.ace-idle-fingers .ace_marker-layer .ace_selection {\
|
|
57 |
background: rgba(90, 100, 126, 0.88)\
|
|
58 |
}\
|
|
59 |
.ace-idle-fingers.ace_multiselect .ace_selection.ace_start {\
|
|
60 |
box-shadow: 0 0 3px 0px #323232;\
|
|
61 |
border-radius: 2px\
|
|
62 |
}\
|
|
63 |
.ace-idle-fingers .ace_marker-layer .ace_step {\
|
|
64 |
background: rgb(102, 82, 0)\
|
|
65 |
}\
|
|
66 |
.ace-idle-fingers .ace_marker-layer .ace_bracket {\
|
|
67 |
margin: -1px 0 0 -1px;\
|
|
68 |
border: 1px solid #404040\
|
|
69 |
}\
|
|
70 |
.ace-idle-fingers .ace_marker-layer .ace_active-line {\
|
|
71 |
background: #353637\
|
|
72 |
}\
|
|
73 |
.ace-idle-fingers .ace_gutter-active-line {\
|
|
74 |
background-color: #353637\
|
|
75 |
}\
|
|
76 |
.ace-idle-fingers .ace_marker-layer .ace_selected-word {\
|
|
77 |
border: 1px solid rgba(90, 100, 126, 0.88)\
|
|
78 |
}\
|
|
79 |
.ace-idle-fingers .ace_invisible {\
|
|
80 |
color: #404040\
|
|
81 |
}\
|
|
82 |
.ace-idle-fingers .ace_keyword,\
|
|
83 |
.ace-idle-fingers .ace_meta {\
|
|
84 |
color: #CC7833\
|
|
85 |
}\
|
|
86 |
.ace-idle-fingers .ace_constant,\
|
|
87 |
.ace-idle-fingers .ace_constant.ace_character,\
|
|
88 |
.ace-idle-fingers .ace_constant.ace_character.ace_escape,\
|
|
89 |
.ace-idle-fingers .ace_constant.ace_other,\
|
|
90 |
.ace-idle-fingers .ace_support.ace_constant {\
|
|
91 |
color: #6C99BB\
|
|
92 |
}\
|
|
93 |
.ace-idle-fingers .ace_invalid {\
|
|
94 |
color: #FFFFFF;\
|
|
95 |
background-color: #FF0000\
|
|
96 |
}\
|
|
97 |
.ace-idle-fingers .ace_fold {\
|
|
98 |
background-color: #CC7833;\
|
|
99 |
border-color: #FFFFFF\
|
|
100 |
}\
|
|
101 |
.ace-idle-fingers .ace_support.ace_function {\
|
|
102 |
color: #B83426\
|
|
103 |
}\
|
|
104 |
.ace-idle-fingers .ace_variable.ace_parameter {\
|
|
105 |
font-style: italic\
|
|
106 |
}\
|
|
107 |
.ace-idle-fingers .ace_string {\
|
|
108 |
color: #A5C261\
|
|
109 |
}\
|
|
110 |
.ace-idle-fingers .ace_string.ace_regexp {\
|
|
111 |
color: #CCCC33\
|
|
112 |
}\
|
|
113 |
.ace-idle-fingers .ace_comment {\
|
|
114 |
font-style: italic;\
|
|
115 |
color: #BC9458\
|
|
116 |
}\
|
|
117 |
.ace-idle-fingers .ace_meta.ace_tag {\
|
|
118 |
color: #FFE5BB\
|
|
119 |
}\
|
|
120 |
.ace-idle-fingers .ace_entity.ace_name {\
|
|
121 |
color: #FFC66D\
|
|
122 |
}\
|
|
123 |
.ace-idle-fingers .ace_markup.ace_underline {\
|
|
124 |
text-decoration: underline\
|
|
125 |
}\
|
|
126 |
.ace-idle-fingers .ace_collab.ace_user1 {\
|
|
127 |
color: #323232;\
|
|
128 |
background-color: #FFF980\
|
|
129 |
}\
|
|
130 |
.ace-idle-fingers .ace_indent-guide {\
|
|
131 |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y\
|
|
132 |
}"; |
|
133 |
||
134 |
var dom = require("../lib/dom"); |
|
135 |
dom.importCssString(exports.cssText, exports.cssClass); |
|
136 |
});
|