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/github', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
33
exports.isDark = false;
34
exports.cssClass = "ace-github";
35
exports.cssText = "/* CSS style content from github's default pygments highlighter template.\
36
Cursor and selection styles from textmate.css. */\
37
.ace-github .ace_gutter {\
41
.ace-github .ace_scroller {\
44
.ace-github .ace_keyword {\
47
.ace-github .ace_string {\
50
.ace-github .ace_variable.ace_class {\
53
.ace-github .ace_constant.ace_numeric {\
56
.ace-github .ace_constant.ace_buildin {\
59
.ace-github .ace_support.ace_function {\
62
.ace-github .ace_comment {\
66
.ace-github .ace_variable.ace_language {\
69
.ace-github .ace_paren {\
72
.ace-github .ace_boolean {\
75
.ace-github .ace_string.ace_regexp {\
79
.ace-github .ace_variable.ace_instance {\
82
.ace-github .ace_constant.ace_language {\
85
.ace-github .ace_text-layer {\
87
.ace-github .ace_cursor {\
88
border-left: 2px solid black;\
90
.ace-github .ace_overwrite-cursors .ace_cursor {\
92
border-bottom: 1px solid black;\
94
.ace-github .ace_marker-layer .ace_active-line {\
95
background: rgb(255, 255, 204);\
97
.ace-github .ace_marker-layer .ace_selection {\
98
background: rgb(181, 213, 255);\
100
.ace-github.ace_multiselect .ace_selection.ace_start {\
101
box-shadow: 0 0 3px 0px white;\
104
/* bold keywords cause cursor issues for some fonts */\
105
/* this disables bold style for editor and keeps for static highlighter */\
106
.ace-github.ace_nobold .ace_line > span {\
107
font-weight: normal !important;\
109
.ace-github .ace_marker-layer .ace_step {\
110
background: rgb(252, 255, 0);\
112
.ace-github .ace_marker-layer .ace_stack {\
113
background: rgb(164, 229, 101);\
115
.ace-github .ace_marker-layer .ace_bracket {\
116
margin: -1px 0 0 -1px;\
117
border: 1px solid rgb(192, 192, 192);\
119
.ace-github .ace_gutter-active-line {\
120
background-color : rgba(0, 0, 0, 0.07);\
122
.ace-github .ace_marker-layer .ace_selected-word {\
123
background: rgb(250, 250, 255);\
124
border: 1px solid rgb(200, 200, 250);\
126
.ace-github .ace_print-margin {\
128
background: #e8e8e8;\
130
.ace-github .ace_indent-guide {\
131
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
134
var dom = require("../lib/dom");
135
dom.importCssString(exports.cssText, exports.cssClass);