datagram 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. data/.env.sample +7 -0
  2. data/.gitignore +20 -0
  3. data/.rbenv-version +1 -0
  4. data/Gemfile +12 -0
  5. data/LICENSE.txt +22 -0
  6. data/Procfile +1 -0
  7. data/README.md +29 -0
  8. data/Rakefile +1 -0
  9. data/config.ru +5 -0
  10. data/datagram.gemspec +23 -0
  11. data/db/migrate/1_create_queries.rb +9 -0
  12. data/db/migrate/2_add_name_to_queries.rb +5 -0
  13. data/lib/datagram/version.rb +3 -0
  14. data/lib/datagram.rb +135 -0
  15. data/lib/views/application.coffee +222 -0
  16. data/lib/views/index.haml +47 -0
  17. data/lib/views/layout.haml +17 -0
  18. data/lib/views/style.sass +179 -0
  19. data/public/ace/ace.js +15209 -0
  20. data/public/ace/ext-elastic_tabstops_lite.js +301 -0
  21. data/public/ace/ext-emmet.js +253 -0
  22. data/public/ace/ext-searchbox.js +441 -0
  23. data/public/ace/ext-spellcheck.js +67 -0
  24. data/public/ace/ext-static_highlight.js +96 -0
  25. data/public/ace/ext-textarea.js +492 -0
  26. data/public/ace/ext-whitespace.js +204 -0
  27. data/public/ace/keybinding-emacs.js +962 -0
  28. data/public/ace/keybinding-vim.js +1704 -0
  29. data/public/ace/mode-abap.js +260 -0
  30. data/public/ace/mode-asciidoc.js +372 -0
  31. data/public/ace/mode-c9search.js +182 -0
  32. data/public/ace/mode-c_cpp.js +737 -0
  33. data/public/ace/mode-clojure.js +299 -0
  34. data/public/ace/mode-coffee.js +426 -0
  35. data/public/ace/mode-coldfusion.js +1753 -0
  36. data/public/ace/mode-csharp.js +612 -0
  37. data/public/ace/mode-css.js +773 -0
  38. data/public/ace/mode-curly.js +1950 -0
  39. data/public/ace/mode-dart.js +945 -0
  40. data/public/ace/mode-diff.js +166 -0
  41. data/public/ace/mode-django.js +1969 -0
  42. data/public/ace/mode-dot.js +320 -0
  43. data/public/ace/mode-ftl.js +907 -0
  44. data/public/ace/mode-glsl.js +810 -0
  45. data/public/ace/mode-golang.js +632 -0
  46. data/public/ace/mode-groovy.js +1037 -0
  47. data/public/ace/mode-haml.js +487 -0
  48. data/public/ace/mode-haxe.js +609 -0
  49. data/public/ace/mode-html.js +1881 -0
  50. data/public/ace/mode-jade.js +1951 -0
  51. data/public/ace/mode-java.js +996 -0
  52. data/public/ace/mode-javascript.js +876 -0
  53. data/public/ace/mode-json.js +578 -0
  54. data/public/ace/mode-jsp.js +1351 -0
  55. data/public/ace/mode-jsx.js +635 -0
  56. data/public/ace/mode-latex.js +189 -0
  57. data/public/ace/mode-less.js +807 -0
  58. data/public/ace/mode-liquid.js +862 -0
  59. data/public/ace/mode-lisp.js +138 -0
  60. data/public/ace/mode-livescript.js +288 -0
  61. data/public/ace/mode-logiql.js +664 -0
  62. data/public/ace/mode-lsl.js +828 -0
  63. data/public/ace/mode-lua.js +455 -0
  64. data/public/ace/mode-luapage.js +2340 -0
  65. data/public/ace/mode-lucene.js +64 -0
  66. data/public/ace/mode-makefile.js +313 -0
  67. data/public/ace/mode-markdown.js +2280 -0
  68. data/public/ace/mode-mushcode.js +704 -0
  69. data/public/ace/mode-mushcode_high_rules.js +569 -0
  70. data/public/ace/mode-objectivec.js +659 -0
  71. data/public/ace/mode-ocaml.js +443 -0
  72. data/public/ace/mode-pascal.js +233 -0
  73. data/public/ace/mode-perl.js +316 -0
  74. data/public/ace/mode-pgsql.js +908 -0
  75. data/public/ace/mode-php.js +2291 -0
  76. data/public/ace/mode-powershell.js +618 -0
  77. data/public/ace/mode-python.js +264 -0
  78. data/public/ace/mode-r.js +404 -0
  79. data/public/ace/mode-rdoc.js +184 -0
  80. data/public/ace/mode-rhtml.js +2168 -0
  81. data/public/ace/mode-ruby.js +431 -0
  82. data/public/ace/mode-sass.js +442 -0
  83. data/public/ace/mode-scad.js +670 -0
  84. data/public/ace/mode-scala.js +1025 -0
  85. data/public/ace/mode-scheme.js +144 -0
  86. data/public/ace/mode-scss.js +832 -0
  87. data/public/ace/mode-sh.js +204 -0
  88. data/public/ace/mode-sql.js +118 -0
  89. data/public/ace/mode-stylus.js +483 -0
  90. data/public/ace/mode-svg.js +1442 -0
  91. data/public/ace/mode-tcl.js +319 -0
  92. data/public/ace/mode-tex.js +166 -0
  93. data/public/ace/mode-text.js +0 -0
  94. data/public/ace/mode-textile.js +170 -0
  95. data/public/ace/mode-tmsnippet.js +200 -0
  96. data/public/ace/mode-toml.js +180 -0
  97. data/public/ace/mode-typescript.js +961 -0
  98. data/public/ace/mode-vbscript.js +281 -0
  99. data/public/ace/mode-velocity.js +962 -0
  100. data/public/ace/mode-xml.js +789 -0
  101. data/public/ace/mode-xquery.js +2750 -0
  102. data/public/ace/mode-yaml.js +289 -0
  103. data/public/ace/theme-ambiance.js +202 -0
  104. data/public/ace/theme-chaos.js +182 -0
  105. data/public/ace/theme-chrome.js +161 -0
  106. data/public/ace/theme-clouds.js +135 -0
  107. data/public/ace/theme-clouds_midnight.js +136 -0
  108. data/public/ace/theme-cobalt.js +150 -0
  109. data/public/ace/theme-crimson_editor.js +154 -0
  110. data/public/ace/theme-dawn.js +146 -0
  111. data/public/ace/theme-dreamweaver.js +173 -0
  112. data/public/ace/theme-eclipse.js +122 -0
  113. data/public/ace/theme-github.js +136 -0
  114. data/public/ace/theme-idle_fingers.js +136 -0
  115. data/public/ace/theme-kr.js +143 -0
  116. data/public/ace/theme-merbivore.js +135 -0
  117. data/public/ace/theme-merbivore_soft.js +136 -0
  118. data/public/ace/theme-mono_industrial.js +148 -0
  119. data/public/ace/theme-monokai.js +140 -0
  120. data/public/ace/theme-pastel_on_dark.js +148 -0
  121. data/public/ace/theme-solarized_dark.js +128 -0
  122. data/public/ace/theme-solarized_light.js +131 -0
  123. data/public/ace/theme-terminal.js +154 -0
  124. data/public/ace/theme-textmate.js +0 -0
  125. data/public/ace/theme-tomorrow.js +147 -0
  126. data/public/ace/theme-tomorrow_night.js +147 -0
  127. data/public/ace/theme-tomorrow_night_blue.js +145 -0
  128. data/public/ace/theme-tomorrow_night_bright.js +147 -0
  129. data/public/ace/theme-tomorrow_night_eighties.js +144 -0
  130. data/public/ace/theme-twilight.js +147 -0
  131. data/public/ace/theme-vibrant_ink.js +131 -0
  132. data/public/ace/theme-xcode.js +125 -0
  133. data/public/ace/worker-coffee.js +7091 -0
  134. data/public/ace/worker-css.js +8289 -0
  135. data/public/ace/worker-javascript.js +6496 -0
  136. data/public/ace/worker-json.js +2305 -0
  137. data/public/ace/worker-lua.js +3313 -0
  138. data/public/ace/worker-php.js +6743 -0
  139. data/public/ace/worker-xquery.js +21897 -0
  140. data/public/font/FontAwesome.otf +0 -0
  141. data/public/font/fontawesome-webfont.eot +0 -0
  142. data/public/font/fontawesome-webfont.svg +284 -0
  143. data/public/font/fontawesome-webfont.ttf +0 -0
  144. data/public/font/fontawesome-webfont.woff +0 -0
  145. data/public/font-awesome.css +540 -0
  146. data/public/jquery.js +9597 -0
  147. data/script/migrate.sh +2 -0
  148. metadata +242 -0
@@ -0,0 +1,122 @@
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/eclipse', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
+
33
+
34
+ exports.isDark = false;
35
+ exports.cssText = ".ace-eclipse .ace_gutter {\
36
+ background: #ebebeb;\
37
+ border-right: 1px solid rgb(159, 159, 159);\
38
+ color: rgb(136, 136, 136);\
39
+ }\
40
+ .ace-eclipse .ace_print-margin {\
41
+ width: 1px;\
42
+ background: #ebebeb;\
43
+ }\
44
+ .ace-eclipse .ace_scroller {\
45
+ background-color: #FFFFFF;\
46
+ }\
47
+ .ace-eclipse .ace_fold {\
48
+ background-color: rgb(60, 76, 114);\
49
+ }\
50
+ .ace-eclipse .ace_text-layer {\
51
+ }\
52
+ .ace-eclipse .ace_cursor {\
53
+ border-left: 2px solid black;\
54
+ }\
55
+ .ace-eclipse .ace_storage,\
56
+ .ace-eclipse .ace_keyword,\
57
+ .ace-eclipse .ace_variable {\
58
+ color: rgb(127, 0, 85);\
59
+ }\
60
+ .ace-eclipse .ace_constant.ace_buildin {\
61
+ color: rgb(88, 72, 246);\
62
+ }\
63
+ .ace-eclipse .ace_constant.ace_library {\
64
+ color: rgb(6, 150, 14);\
65
+ }\
66
+ .ace-eclipse .ace_function {\
67
+ color: rgb(60, 76, 114);\
68
+ }\
69
+ .ace-eclipse .ace_string {\
70
+ color: rgb(42, 0, 255);\
71
+ }\
72
+ .ace-eclipse .ace_comment {\
73
+ color: rgb(63, 127, 95);\
74
+ }\
75
+ .ace-eclipse .ace_comment.ace_doc {\
76
+ color: rgb(63, 95, 191);\
77
+ }\
78
+ .ace-eclipse .ace_comment.ace_doc.ace_tag {\
79
+ color: rgb(127, 159, 191);\
80
+ }\
81
+ .ace-eclipse .ace_constant.ace_numeric {\
82
+ }\
83
+ .ace-eclipse .ace_tag {\
84
+ color: rgb(63, 127, 127);\
85
+ }\
86
+ .ace-eclipse .ace_type {\
87
+ color: rgb(127, 0, 127);\
88
+ }\
89
+ .ace-eclipse .ace_xml-pe {\
90
+ color: rgb(104, 104, 91);\
91
+ }\
92
+ .ace-eclipse .ace_marker-layer .ace_selection {\
93
+ background: rgb(181, 213, 255);\
94
+ }\
95
+ .ace-eclipse .ace_marker-layer .ace_bracket {\
96
+ margin: -1px 0 0 -1px;\
97
+ border: 1px solid rgb(192, 192, 192);\
98
+ }\
99
+ .ace-eclipse .ace_meta.ace_tag {\
100
+ color:rgb(63, 127, 127);\
101
+ }\
102
+ .ace-eclipse .ace_entity.ace_other.ace_attribute-name {\
103
+ color:rgb(127, 0, 127);\
104
+ }\
105
+ .ace-eclipse .ace_marker-layer .ace_step {\
106
+ background: rgb(255, 255, 0);\
107
+ }\
108
+ .ace-eclipse .ace_marker-layer .ace_active-line {\
109
+ background: rgb(232, 242, 254);\
110
+ }\
111
+ .ace-eclipse .ace_marker-layer .ace_selected-word {\
112
+ border: 1px solid rgb(181, 213, 255);\
113
+ }\
114
+ .ace-eclipse .ace_indent-guide {\
115
+ background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
116
+ }";
117
+
118
+ exports.cssClass = "ace-eclipse";
119
+
120
+ var dom = require("../lib/dom");
121
+ dom.importCssString(exports.cssText, exports.cssClass);
122
+ });
@@ -0,0 +1,136 @@
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
+ });
@@ -0,0 +1,136 @@
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/idle_fingers', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
+
33
+ exports.isDark = true;
34
+ exports.cssClass = "ace-idle-fingers";
35
+ exports.cssText = ".ace-idle-fingers .ace_gutter {\
36
+ background: #3b3b3b;\
37
+ color: #fff\
38
+ }\
39
+ .ace-idle-fingers .ace_print-margin {\
40
+ width: 1px;\
41
+ background: #3b3b3b\
42
+ }\
43
+ .ace-idle-fingers .ace_scroller {\
44
+ background-color: #323232\
45
+ }\
46
+ .ace-idle-fingers .ace_text-layer {\
47
+ color: #FFFFFF\
48
+ }\
49
+ .ace-idle-fingers .ace_cursor {\
50
+ border-left: 2px solid #91FF00\
51
+ }\
52
+ .ace-idle-fingers .ace_overwrite-cursors .ace_cursor {\
53
+ border-left: 0px;\
54
+ border-bottom: 1px solid #91FF00\
55
+ }\
56
+ .ace-idle-fingers .ace_marker-layer .ace_selection {\
57
+ background: rgba(90, 100, 126, 0.88)\
58
+ }\
59
+ .ace-idle-fingers.ace_multiselect .ace_selection.ace_start {\
60
+ box-shadow: 0 0 3px 0px #323232;\
61
+ border-radius: 2px\
62
+ }\
63
+ .ace-idle-fingers .ace_marker-layer .ace_step {\
64
+ background: rgb(102, 82, 0)\
65
+ }\
66
+ .ace-idle-fingers .ace_marker-layer .ace_bracket {\
67
+ margin: -1px 0 0 -1px;\
68
+ border: 1px solid #404040\
69
+ }\
70
+ .ace-idle-fingers .ace_marker-layer .ace_active-line {\
71
+ background: #353637\
72
+ }\
73
+ .ace-idle-fingers .ace_gutter-active-line {\
74
+ background-color: #353637\
75
+ }\
76
+ .ace-idle-fingers .ace_marker-layer .ace_selected-word {\
77
+ border: 1px solid rgba(90, 100, 126, 0.88)\
78
+ }\
79
+ .ace-idle-fingers .ace_invisible {\
80
+ color: #404040\
81
+ }\
82
+ .ace-idle-fingers .ace_keyword,\
83
+ .ace-idle-fingers .ace_meta {\
84
+ color: #CC7833\
85
+ }\
86
+ .ace-idle-fingers .ace_constant,\
87
+ .ace-idle-fingers .ace_constant.ace_character,\
88
+ .ace-idle-fingers .ace_constant.ace_character.ace_escape,\
89
+ .ace-idle-fingers .ace_constant.ace_other,\
90
+ .ace-idle-fingers .ace_support.ace_constant {\
91
+ color: #6C99BB\
92
+ }\
93
+ .ace-idle-fingers .ace_invalid {\
94
+ color: #FFFFFF;\
95
+ background-color: #FF0000\
96
+ }\
97
+ .ace-idle-fingers .ace_fold {\
98
+ background-color: #CC7833;\
99
+ border-color: #FFFFFF\
100
+ }\
101
+ .ace-idle-fingers .ace_support.ace_function {\
102
+ color: #B83426\
103
+ }\
104
+ .ace-idle-fingers .ace_variable.ace_parameter {\
105
+ font-style: italic\
106
+ }\
107
+ .ace-idle-fingers .ace_string {\
108
+ color: #A5C261\
109
+ }\
110
+ .ace-idle-fingers .ace_string.ace_regexp {\
111
+ color: #CCCC33\
112
+ }\
113
+ .ace-idle-fingers .ace_comment {\
114
+ font-style: italic;\
115
+ color: #BC9458\
116
+ }\
117
+ .ace-idle-fingers .ace_meta.ace_tag {\
118
+ color: #FFE5BB\
119
+ }\
120
+ .ace-idle-fingers .ace_entity.ace_name {\
121
+ color: #FFC66D\
122
+ }\
123
+ .ace-idle-fingers .ace_markup.ace_underline {\
124
+ text-decoration: underline\
125
+ }\
126
+ .ace-idle-fingers .ace_collab.ace_user1 {\
127
+ color: #323232;\
128
+ background-color: #FFF980\
129
+ }\
130
+ .ace-idle-fingers .ace_indent-guide {\
131
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y\
132
+ }";
133
+
134
+ var dom = require("../lib/dom");
135
+ dom.importCssString(exports.cssText, exports.cssClass);
136
+ });
@@ -0,0 +1,143 @@
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/kr_theme', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
+
33
+ exports.isDark = true;
34
+ exports.cssClass = "ace-kr-theme";
35
+ exports.cssText = ".ace-kr-theme .ace_gutter {\
36
+ background: #1c1917;\
37
+ color: #FCFFE0\
38
+ }\
39
+ .ace-kr-theme .ace_print-margin {\
40
+ width: 1px;\
41
+ background: #1c1917\
42
+ }\
43
+ .ace-kr-theme .ace_scroller {\
44
+ background-color: #0B0A09\
45
+ }\
46
+ .ace-kr-theme .ace_text-layer {\
47
+ color: #FCFFE0\
48
+ }\
49
+ .ace-kr-theme .ace_cursor {\
50
+ border-left: 2px solid #FF9900\
51
+ }\
52
+ .ace-kr-theme .ace_overwrite-cursors .ace_cursor {\
53
+ border-left: 0px;\
54
+ border-bottom: 1px solid #FF9900\
55
+ }\
56
+ .ace-kr-theme .ace_marker-layer .ace_selection {\
57
+ background: rgba(170, 0, 255, 0.45)\
58
+ }\
59
+ .ace-kr-theme.ace_multiselect .ace_selection.ace_start {\
60
+ box-shadow: 0 0 3px 0px #0B0A09;\
61
+ border-radius: 2px\
62
+ }\
63
+ .ace-kr-theme .ace_marker-layer .ace_step {\
64
+ background: rgb(102, 82, 0)\
65
+ }\
66
+ .ace-kr-theme .ace_marker-layer .ace_bracket {\
67
+ margin: -1px 0 0 -1px;\
68
+ border: 1px solid rgba(255, 177, 111, 0.32)\
69
+ }\
70
+ .ace-kr-theme .ace_marker-layer .ace_active-line {\
71
+ background: #38403D\
72
+ }\
73
+ .ace-kr-theme .ace_gutter-active-line {\
74
+ background-color : #38403D\
75
+ }\
76
+ .ace-kr-theme .ace_marker-layer .ace_selected-word {\
77
+ border: 1px solid rgba(170, 0, 255, 0.45)\
78
+ }\
79
+ .ace-kr-theme .ace_invisible {\
80
+ color: rgba(255, 177, 111, 0.32)\
81
+ }\
82
+ .ace-kr-theme .ace_keyword,\
83
+ .ace-kr-theme .ace_meta {\
84
+ color: #949C8B\
85
+ }\
86
+ .ace-kr-theme .ace_constant,\
87
+ .ace-kr-theme .ace_constant.ace_character,\
88
+ .ace-kr-theme .ace_constant.ace_character.ace_escape,\
89
+ .ace-kr-theme .ace_constant.ace_other {\
90
+ color: rgba(210, 117, 24, 0.76)\
91
+ }\
92
+ .ace-kr-theme .ace_invalid {\
93
+ color: #F8F8F8;\
94
+ background-color: #A41300\
95
+ }\
96
+ .ace-kr-theme .ace_support {\
97
+ color: #9FC28A\
98
+ }\
99
+ .ace-kr-theme .ace_support.ace_constant {\
100
+ color: #C27E66\
101
+ }\
102
+ .ace-kr-theme .ace_fold {\
103
+ background-color: #949C8B;\
104
+ border-color: #FCFFE0\
105
+ }\
106
+ .ace-kr-theme .ace_support.ace_function {\
107
+ color: #85873A\
108
+ }\
109
+ .ace-kr-theme .ace_storage {\
110
+ color: #FFEE80\
111
+ }\
112
+ .ace-kr-theme .ace_string {\
113
+ color: rgba(164, 161, 181, 0.8)\
114
+ }\
115
+ .ace-kr-theme .ace_string.ace_regexp {\
116
+ color: rgba(125, 255, 192, 0.65)\
117
+ }\
118
+ .ace-kr-theme .ace_comment {\
119
+ font-style: italic;\
120
+ color: #706D5B\
121
+ }\
122
+ .ace-kr-theme .ace_variable {\
123
+ color: #D1A796\
124
+ }\
125
+ .ace-kr-theme .ace_variable.ace_language {\
126
+ color: #FF80E1\
127
+ }\
128
+ .ace-kr-theme .ace_meta.ace_tag {\
129
+ color: #BABD9C\
130
+ }\
131
+ .ace-kr-theme .ace_markup.ace_underline {\
132
+ text-decoration: underline\
133
+ }\
134
+ .ace-kr-theme .ace_markup.ace_list {\
135
+ background-color: #0F0040\
136
+ }\
137
+ .ace-kr-theme .ace_indent-guide {\
138
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y\
139
+ }";
140
+
141
+ var dom = require("../lib/dom");
142
+ dom.importCssString(exports.cssText, exports.cssClass);
143
+ });
@@ -0,0 +1,135 @@
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
+ });