/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to js/ace/theme-merbivore.js

  • Committer: galaxyAbstractor
  • Date: 2013-04-04 16:19:07 UTC
  • mto: (12.2.4 lenasys) (19.1.4 lenasys)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: galaxyabstractor@gmail.com-20130404161907-eo1wnb7ac2rnizg8
Started implementation of a new codeviewer using Ace

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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/merbivore', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
 
32
 
 
33
exports.isDark = true;
 
34
exports.cssClass = "ace-merbivore";
 
35
exports.cssText = ".ace-merbivore .ace_gutter {\
 
36
background: #202020;\
 
37
color: #E6E1DC\
 
38
}\
 
39
.ace-merbivore .ace_print-margin {\
 
40
width: 1px;\
 
41
background: #555651\
 
42
}\
 
43
.ace-merbivore .ace_scroller {\
 
44
background-color: #161616\
 
45
}\
 
46
.ace-merbivore .ace_text-layer {\
 
47
color: #E6E1DC\
 
48
}\
 
49
.ace-merbivore .ace_cursor {\
 
50
border-left: 2px solid #FFFFFF\
 
51
}\
 
52
.ace-merbivore .ace_overwrite-cursors .ace_cursor {\
 
53
border-left: 0px;\
 
54
border-bottom: 1px solid #FFFFFF\
 
55
}\
 
56
.ace-merbivore .ace_marker-layer .ace_selection {\
 
57
background: #454545\
 
58
}\
 
59
.ace-merbivore.ace_multiselect .ace_selection.ace_start {\
 
60
box-shadow: 0 0 3px 0px #161616;\
 
61
border-radius: 2px\
 
62
}\
 
63
.ace-merbivore .ace_marker-layer .ace_step {\
 
64
background: rgb(102, 82, 0)\
 
65
}\
 
66
.ace-merbivore .ace_marker-layer .ace_bracket {\
 
67
margin: -1px 0 0 -1px;\
 
68
border: 1px solid #404040\
 
69
}\
 
70
.ace-merbivore .ace_marker-layer .ace_active-line {\
 
71
background: #333435\
 
72
}\
 
73
.ace-merbivore .ace_gutter-active-line {\
 
74
background-color: #333435\
 
75
}\
 
76
.ace-merbivore .ace_marker-layer .ace_selected-word {\
 
77
border: 1px solid #454545\
 
78
}\
 
79
.ace-merbivore .ace_invisible {\
 
80
color: #404040\
 
81
}\
 
82
.ace-merbivore .ace_entity.ace_name.ace_tag,\
 
83
.ace-merbivore .ace_keyword,\
 
84
.ace-merbivore .ace_meta,\
 
85
.ace-merbivore .ace_meta.ace_tag,\
 
86
.ace-merbivore .ace_storage,\
 
87
.ace-merbivore .ace_support.ace_function {\
 
88
color: #FC6F09\
 
89
}\
 
90
.ace-merbivore .ace_constant,\
 
91
.ace-merbivore .ace_constant.ace_character,\
 
92
.ace-merbivore .ace_constant.ace_character.ace_escape,\
 
93
.ace-merbivore .ace_constant.ace_other,\
 
94
.ace-merbivore .ace_support.ace_type {\
 
95
color: #1EDAFB\
 
96
}\
 
97
.ace-merbivore .ace_constant.ace_character.ace_escape {\
 
98
color: #519F50\
 
99
}\
 
100
.ace-merbivore .ace_constant.ace_language {\
 
101
color: #FDC251\
 
102
}\
 
103
.ace-merbivore .ace_constant.ace_library,\
 
104
.ace-merbivore .ace_string,\
 
105
.ace-merbivore .ace_support.ace_constant {\
 
106
color: #8DFF0A\
 
107
}\
 
108
.ace-merbivore .ace_constant.ace_numeric {\
 
109
color: #58C554\
 
110
}\
 
111
.ace-merbivore .ace_invalid {\
 
112
color: #FFFFFF;\
 
113
background-color: #990000\
 
114
}\
 
115
.ace-merbivore .ace_fold {\
 
116
background-color: #FC6F09;\
 
117
border-color: #E6E1DC\
 
118
}\
 
119
.ace-merbivore .ace_comment {\
 
120
font-style: italic;\
 
121
color: #AD2EA4\
 
122
}\
 
123
.ace-merbivore .ace_entity.ace_other.ace_attribute-name {\
 
124
color: #FFFF89\
 
125
}\
 
126
.ace-merbivore .ace_markup.ace_underline {\
 
127
text-decoration: underline\
 
128
}\
 
129
.ace-merbivore .ace_indent-guide {\
 
130
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQExP7zzBz5sz/AA50BAyDznYhAAAAAElFTkSuQmCC) right repeat-y\
 
131
}";
 
132
 
 
133
var dom = require("../lib/dom");
 
134
dom.importCssString(exports.cssText, exports.cssClass);
 
135
});