/lenasys/trunk

To get this branch, use:
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/clouds', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
33
exports.isDark = false;
34
exports.cssClass = "ace-clouds";
35
exports.cssText = ".ace-clouds .ace_gutter {\
36
background: #ebebeb;\
37
color: #333\
38
}\
39
.ace-clouds .ace_print-margin {\
40
width: 1px;\
41
background: #e8e8e8\
42
}\
43
.ace-clouds .ace_scroller {\
44
background-color: #FFFFFF\
45
}\
46
.ace-clouds .ace_text-layer {\
47
color: #000000\
48
}\
49
.ace-clouds .ace_cursor {\
50
border-left: 2px solid #000000\
51
}\
52
.ace-clouds .ace_overwrite-cursors .ace_cursor {\
53
border-left: 0px;\
54
border-bottom: 1px solid #000000\
55
}\
56
.ace-clouds .ace_marker-layer .ace_selection {\
57
background: #BDD5FC\
58
}\
59
.ace-clouds.ace_multiselect .ace_selection.ace_start {\
60
box-shadow: 0 0 3px 0px #FFFFFF;\
61
border-radius: 2px\
62
}\
63
.ace-clouds .ace_marker-layer .ace_step {\
64
background: rgb(255, 255, 0)\
65
}\
66
.ace-clouds .ace_marker-layer .ace_bracket {\
67
margin: -1px 0 0 -1px;\
68
border: 1px solid #BFBFBF\
69
}\
70
.ace-clouds .ace_marker-layer .ace_active-line {\
71
background: #FFFBD1\
72
}\
73
.ace-clouds .ace_gutter-active-line {\
74
background-color : #dcdcdc\
75
}\
76
.ace-clouds .ace_marker-layer .ace_selected-word {\
77
border: 1px solid #BDD5FC\
78
}\
79
.ace-clouds .ace_invisible {\
80
color: #BFBFBF\
81
}\
82
.ace-clouds .ace_keyword,\
83
.ace-clouds .ace_meta,\
84
.ace-clouds .ace_support.ace_constant.ace_property-value {\
85
color: #AF956F\
86
}\
87
.ace-clouds .ace_keyword.ace_operator {\
88
color: #484848\
89
}\
90
.ace-clouds .ace_keyword.ace_other.ace_unit {\
91
color: #96DC5F\
92
}\
93
.ace-clouds .ace_constant.ace_language {\
94
color: #39946A\
95
}\
96
.ace-clouds .ace_constant.ace_numeric {\
97
color: #46A609\
98
}\
99
.ace-clouds .ace_constant.ace_character.ace_entity {\
100
color: #BF78CC\
101
}\
102
.ace-clouds .ace_invalid {\
103
background-color: #FF002A\
104
}\
105
.ace-clouds .ace_fold {\
106
background-color: #AF956F;\
107
border-color: #000000\
108
}\
109
.ace-clouds .ace_storage,\
110
.ace-clouds .ace_support.ace_class,\
111
.ace-clouds .ace_support.ace_function,\
112
.ace-clouds .ace_support.ace_other,\
113
.ace-clouds .ace_support.ace_type {\
114
color: #C52727\
115
}\
116
.ace-clouds .ace_string {\
117
color: #5D90CD\
118
}\
119
.ace-clouds .ace_comment {\
120
color: #BCC8BA\
121
}\
122
.ace-clouds .ace_entity.ace_name.ace_tag,\
123
.ace-clouds .ace_entity.ace_other.ace_attribute-name {\
124
color: #606060\
125
}\
126
.ace-clouds .ace_markup.ace_underline {\
127
text-decoration: underline\
128
}\
129
.ace-clouds .ace_indent-guide {\
130
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y\
131
}";
132
133
var dom = require("../lib/dom");
134
dom.importCssString(exports.cssText, exports.cssClass);
135
});