/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 codeigniter/js/ace/theme-github.js

  • Committer: galaxyAbstractor
  • Date: 2013-04-10 15:49:32 UTC
  • mto: (19.1.5 lenasys)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: galaxyabstractor@gmail.com-20130410154932-4vizlzk0ar5gykvi
* Added an simple admin panel to the codeviewer-cmssy stuff
* Redesigned a bit like the mockups - still stuff to come
* Implemented the codeviewer + admin panel again using the Framework CodeIgniter instead 

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/github', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
 
32
 
 
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 {\
 
38
background: #e8e8e8;\
 
39
color: #AAA;\
 
40
}\
 
41
.ace-github .ace_scroller {\
 
42
background: #fff;\
 
43
}\
 
44
.ace-github .ace_keyword {\
 
45
font-weight: bold;\
 
46
}\
 
47
.ace-github .ace_string {\
 
48
color: #D14;\
 
49
}\
 
50
.ace-github .ace_variable.ace_class {\
 
51
color: teal;\
 
52
}\
 
53
.ace-github .ace_constant.ace_numeric {\
 
54
color: #099;\
 
55
}\
 
56
.ace-github .ace_constant.ace_buildin {\
 
57
color: #0086B3;\
 
58
}\
 
59
.ace-github .ace_support.ace_function {\
 
60
color: #0086B3;\
 
61
}\
 
62
.ace-github .ace_comment {\
 
63
color: #998;\
 
64
font-style: italic;\
 
65
}\
 
66
.ace-github .ace_variable.ace_language  {\
 
67
color: #0086B3;\
 
68
}\
 
69
.ace-github .ace_paren {\
 
70
font-weight: bold;\
 
71
}\
 
72
.ace-github .ace_boolean {\
 
73
font-weight: bold;\
 
74
}\
 
75
.ace-github .ace_string.ace_regexp {\
 
76
color: #009926;\
 
77
font-weight: normal;\
 
78
}\
 
79
.ace-github .ace_variable.ace_instance {\
 
80
color: teal;\
 
81
}\
 
82
.ace-github .ace_constant.ace_language {\
 
83
font-weight: bold;\
 
84
}\
 
85
.ace-github .ace_text-layer {\
 
86
}\
 
87
.ace-github .ace_cursor {\
 
88
border-left: 2px solid black;\
 
89
}\
 
90
.ace-github .ace_overwrite-cursors .ace_cursor {\
 
91
border-left: 0px;\
 
92
border-bottom: 1px solid black;\
 
93
}\
 
94
.ace-github .ace_marker-layer .ace_active-line {\
 
95
background: rgb(255, 255, 204);\
 
96
}\
 
97
.ace-github .ace_marker-layer .ace_selection {\
 
98
background: rgb(181, 213, 255);\
 
99
}\
 
100
.ace-github.ace_multiselect .ace_selection.ace_start {\
 
101
box-shadow: 0 0 3px 0px white;\
 
102
border-radius: 2px;\
 
103
}\
 
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;\
 
108
}\
 
109
.ace-github .ace_marker-layer .ace_step {\
 
110
background: rgb(252, 255, 0);\
 
111
}\
 
112
.ace-github .ace_marker-layer .ace_stack {\
 
113
background: rgb(164, 229, 101);\
 
114
}\
 
115
.ace-github .ace_marker-layer .ace_bracket {\
 
116
margin: -1px 0 0 -1px;\
 
117
border: 1px solid rgb(192, 192, 192);\
 
118
}\
 
119
.ace-github .ace_gutter-active-line {\
 
120
background-color : rgba(0, 0, 0, 0.07);\
 
121
}\
 
122
.ace-github .ace_marker-layer .ace_selected-word {\
 
123
background: rgb(250, 250, 255);\
 
124
border: 1px solid rgb(200, 200, 250);\
 
125
}\
 
126
.ace-github .ace_print-margin {\
 
127
width: 1px;\
 
128
background: #e8e8e8;\
 
129
}\
 
130
.ace-github .ace_indent-guide {\
 
131
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
 
132
}";
 
133
 
 
134
    var dom = require("../lib/dom");
 
135
    dom.importCssString(exports.cssText, exports.cssClass);
 
136
});