1
/* ***** BEGIN LICENSE BLOCK *****
2
* Distributed under the BSD license:
4
* Copyright (c) 2010, Ajax.org B.V.
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.
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.
29
* ***** END LICENSE BLOCK ***** */
31
define('ace/theme/cobalt', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
33
exports.isDark = true;
34
exports.cssClass = "ace-cobalt";
35
exports.cssText = ".ace-cobalt .ace_gutter {\
39
.ace-cobalt .ace_print-margin {\
43
.ace-cobalt .ace_scroller {\
44
background-color: #002240\
46
.ace-cobalt .ace_text-layer {\
49
.ace-cobalt .ace_cursor {\
50
border-left: 2px solid #FFFFFF\
52
.ace-cobalt .ace_overwrite-cursors .ace_cursor {\
54
border-bottom: 1px solid #FFFFFF\
56
.ace-cobalt .ace_marker-layer .ace_selection {\
57
background: rgba(179, 101, 57, 0.75)\
59
.ace-cobalt.ace_multiselect .ace_selection.ace_start {\
60
box-shadow: 0 0 3px 0px #002240;\
63
.ace-cobalt .ace_marker-layer .ace_step {\
64
background: rgb(127, 111, 19)\
66
.ace-cobalt .ace_marker-layer .ace_bracket {\
67
margin: -1px 0 0 -1px;\
68
border: 1px solid rgba(255, 255, 255, 0.15)\
70
.ace-cobalt .ace_marker-layer .ace_active-line {\
71
background: rgba(0, 0, 0, 0.35)\
73
.ace-cobalt .ace_gutter-active-line {\
74
background-color: rgba(0, 0, 0, 0.35)\
76
.ace-cobalt .ace_marker-layer .ace_selected-word {\
77
border: 1px solid rgba(179, 101, 57, 0.75)\
79
.ace-cobalt .ace_invisible {\
80
color: rgba(255, 255, 255, 0.15)\
82
.ace-cobalt .ace_keyword,\
83
.ace-cobalt .ace_meta {\
86
.ace-cobalt .ace_constant,\
87
.ace-cobalt .ace_constant.ace_character,\
88
.ace-cobalt .ace_constant.ace_character.ace_escape,\
89
.ace-cobalt .ace_constant.ace_other {\
92
.ace-cobalt .ace_invalid {\
94
background-color: #800F00\
96
.ace-cobalt .ace_support {\
99
.ace-cobalt .ace_support.ace_constant {\
102
.ace-cobalt .ace_fold {\
103
background-color: #FF9D00;\
104
border-color: #FFFFFF\
106
.ace-cobalt .ace_support.ace_function {\
109
.ace-cobalt .ace_storage {\
112
.ace-cobalt .ace_entity {\
115
.ace-cobalt .ace_string {\
118
.ace-cobalt .ace_string.ace_regexp {\
121
.ace-cobalt .ace_comment {\
125
.ace-cobalt .ace_variable {\
128
.ace-cobalt .ace_variable.ace_language {\
131
.ace-cobalt .ace_meta.ace_tag {\
134
.ace-cobalt .ace_markup.ace_underline {\
135
text-decoration: underline\
137
.ace-cobalt .ace_markup.ace_heading {\
139
background-color: #001221\
141
.ace-cobalt .ace_markup.ace_list {\
142
background-color: #130D26\
144
.ace-cobalt .ace_indent-guide {\
145
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y\
148
var dom = require("../lib/dom");
149
dom.importCssString(exports.cssText, exports.cssClass);