locomotivecms 4.1.1 → 4.2.0.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +4 -3
  4. data/Rakefile +4 -0
  5. data/app/api/locomotive/api.rb +1 -1
  6. data/app/assets/config/locomotive_manifest.js +2 -0
  7. data/app/assets/javascripts/locomotive.js +2 -2
  8. data/app/assets/stylesheets/locomotive/account.scss +0 -1
  9. data/app/assets/stylesheets/locomotive/application.scss +0 -1
  10. data/app/assets/stylesheets/locomotive/live_editing_error.scss +0 -1
  11. data/app/assets/stylesheets/locomotive/live_editing_iframe.scss +0 -1
  12. data/app/controllers/locomotive/base_controller.rb +1 -1
  13. data/app/controllers/locomotive/concerns/authorization_controller.rb +1 -1
  14. data/app/controllers/locomotive/concerns/redirect_to_main_host_controller.rb +1 -1
  15. data/app/controllers/locomotive/concerns/site_dispatcher_controller.rb +1 -1
  16. data/app/controllers/locomotive/errors_controller.rb +1 -1
  17. data/app/controllers/locomotive/my_account_controller.rb +1 -1
  18. data/app/controllers/locomotive/passwords_controller.rb +3 -1
  19. data/app/controllers/locomotive/registrations_controller.rb +3 -1
  20. data/app/controllers/locomotive/sessions_controller.rb +3 -1
  21. data/app/controllers/locomotive/sites_controller.rb +1 -1
  22. data/app/helpers/locomotive/base_helper.rb +2 -2
  23. data/app/helpers/locomotive/custom_fields_helper.rb +2 -2
  24. data/app/helpers/locomotive/shared/activities_helper.rb +1 -1
  25. data/app/inputs/locomotive/api_key_input.rb +1 -1
  26. data/app/mailers/locomotive/notifications.rb +1 -1
  27. data/app/models/locomotive/account.rb +1 -1
  28. data/app/models/locomotive/concerns/account/api_key.rb +1 -1
  29. data/app/models/locomotive/concerns/content_entry/csv.rb +1 -1
  30. data/app/models/locomotive/concerns/content_entry/slug.rb +5 -5
  31. data/app/models/locomotive/concerns/content_type/entry_template.rb +3 -3
  32. data/app/models/locomotive/concerns/page/templatized.rb +1 -1
  33. data/app/models/locomotive/concerns/shared/json_attribute.rb +21 -2
  34. data/app/models/locomotive/concerns/site/routes.rb +1 -1
  35. data/app/models/locomotive/content_entry.rb +2 -2
  36. data/app/models/locomotive/page.rb +3 -3
  37. data/app/models/locomotive/section.rb +1 -1
  38. data/app/models/locomotive/snippet.rb +1 -1
  39. data/app/models/locomotive/translation.rb +1 -1
  40. data/app/services/locomotive/content_entry_import_service.rb +1 -1
  41. data/app/services/locomotive/content_entry_service.rb +2 -2
  42. data/app/services/locomotive/content_type_service.rb +13 -3
  43. data/app/services/locomotive/custom_field_service.rb +2 -2
  44. data/app/services/locomotive/editor_service.rb +1 -1
  45. data/app/uploaders/locomotive/base_uploader.rb +0 -10
  46. data/app/views/locomotive/dashboard/_activity.html.slim +1 -1
  47. data/app/views/locomotive/page_content/_edit.json.jbuilder +50 -0
  48. data/app/views/locomotive/page_content/edit.html.erb +1 -1
  49. data/app/views/locomotive/page_content/edit.json.jbuilder +52 -50
  50. data/config/initializers/devise.rb +5 -2
  51. data/lib/generators/locomotive/install/templates/locomotive.rb +0 -5
  52. data/lib/locomotive/action_controller/responder.rb +1 -1
  53. data/lib/locomotive/configuration.rb +2 -2
  54. data/lib/locomotive/dependencies.rb +0 -2
  55. data/lib/locomotive/engine.rb +14 -2
  56. data/lib/locomotive/mongoid/patches.rb +47 -65
  57. data/lib/locomotive/steam/services/api_entry_submission_service.rb +1 -0
  58. data/lib/locomotive/version.rb +1 -1
  59. data/vendor/assets/javascripts/locomotive/codemirror/addons/comment/comment.js +203 -0
  60. data/vendor/assets/javascripts/locomotive/codemirror/addons/comment/continuecomment.js +85 -0
  61. data/vendor/assets/javascripts/locomotive/codemirror/addons/dialog/dialog.js +157 -0
  62. data/vendor/assets/javascripts/locomotive/codemirror/addons/display/autorefresh.js +47 -0
  63. data/vendor/assets/javascripts/locomotive/codemirror/addons/display/fullscreen.js +41 -0
  64. data/vendor/assets/javascripts/locomotive/codemirror/addons/display/panel.js +112 -0
  65. data/vendor/assets/javascripts/locomotive/codemirror/addons/display/placeholder.js +62 -0
  66. data/vendor/assets/javascripts/locomotive/codemirror/addons/display/rulers.js +51 -0
  67. data/vendor/assets/javascripts/locomotive/codemirror/addons/edit/closebrackets.js +195 -0
  68. data/vendor/assets/javascripts/locomotive/codemirror/addons/edit/closetag.js +169 -0
  69. data/vendor/assets/javascripts/locomotive/codemirror/addons/edit/continuelist.js +51 -0
  70. data/vendor/assets/javascripts/locomotive/codemirror/addons/edit/matchbrackets.js +120 -0
  71. data/vendor/assets/javascripts/locomotive/codemirror/addons/edit/matchtags.js +66 -0
  72. data/vendor/assets/javascripts/locomotive/codemirror/addons/edit/trailingspace.js +27 -0
  73. data/vendor/assets/javascripts/locomotive/codemirror/addons/fold/brace-fold.js +105 -0
  74. data/vendor/assets/javascripts/locomotive/codemirror/addons/fold/comment-fold.js +59 -0
  75. data/vendor/assets/javascripts/locomotive/codemirror/addons/fold/foldcode.js +150 -0
  76. data/vendor/assets/javascripts/locomotive/codemirror/addons/fold/foldgutter.js +146 -0
  77. data/vendor/assets/javascripts/locomotive/codemirror/addons/fold/indent-fold.js +44 -0
  78. data/vendor/assets/javascripts/locomotive/codemirror/addons/fold/markdown-fold.js +49 -0
  79. data/vendor/assets/javascripts/locomotive/codemirror/addons/fold/xml-fold.js +182 -0
  80. data/vendor/assets/javascripts/locomotive/codemirror/addons/hint/anyword-hint.js +41 -0
  81. data/vendor/assets/javascripts/locomotive/codemirror/addons/hint/css-hint.js +60 -0
  82. data/vendor/assets/javascripts/locomotive/codemirror/addons/hint/html-hint.js +348 -0
  83. data/vendor/assets/javascripts/locomotive/codemirror/addons/hint/javascript-hint.js +146 -0
  84. data/vendor/assets/javascripts/locomotive/codemirror/addons/hint/show-hint.js +437 -0
  85. data/vendor/assets/javascripts/locomotive/codemirror/addons/hint/sql-hint.js +271 -0
  86. data/vendor/assets/javascripts/locomotive/codemirror/addons/hint/xml-hint.js +110 -0
  87. data/vendor/assets/javascripts/locomotive/codemirror/addons/lint/coffeescript-lint.js +41 -0
  88. data/vendor/assets/javascripts/locomotive/codemirror/addons/lint/css-lint.js +35 -0
  89. data/vendor/assets/javascripts/locomotive/codemirror/addons/lint/html-lint.js +46 -0
  90. data/vendor/assets/javascripts/locomotive/codemirror/addons/lint/javascript-lint.js +136 -0
  91. data/vendor/assets/javascripts/locomotive/codemirror/addons/lint/json-lint.js +31 -0
  92. data/vendor/assets/javascripts/locomotive/codemirror/addons/lint/lint.js +239 -0
  93. data/vendor/assets/javascripts/locomotive/codemirror/addons/lint/yaml-lint.js +28 -0
  94. data/vendor/assets/javascripts/locomotive/codemirror/addons/merge/merge.js +773 -0
  95. data/vendor/assets/javascripts/locomotive/codemirror/addons/mode/loadmode.js +64 -0
  96. data/vendor/assets/javascripts/locomotive/codemirror/addons/mode/multiplex.js +123 -0
  97. data/vendor/assets/javascripts/locomotive/codemirror/addons/mode/overlay.js +85 -0
  98. data/vendor/assets/javascripts/locomotive/codemirror/addons/mode/simple.js +213 -0
  99. data/vendor/assets/javascripts/locomotive/codemirror/addons/runmode/colorize.js +40 -0
  100. data/vendor/assets/javascripts/locomotive/codemirror/addons/runmode/runmode-standalone.js +157 -0
  101. data/vendor/assets/javascripts/locomotive/codemirror/addons/runmode/runmode.js +72 -0
  102. data/vendor/assets/javascripts/locomotive/codemirror/addons/runmode/runmode.node.js +179 -0
  103. data/vendor/assets/javascripts/locomotive/codemirror/addons/scroll/annotatescrollbar.js +118 -0
  104. data/vendor/assets/javascripts/locomotive/codemirror/addons/scroll/scrollpastend.js +48 -0
  105. data/vendor/assets/javascripts/locomotive/codemirror/addons/scroll/simplescrollbars.js +152 -0
  106. data/vendor/assets/javascripts/locomotive/codemirror/addons/search/jump-to-line.js +49 -0
  107. data/vendor/assets/javascripts/locomotive/codemirror/addons/search/match-highlighter.js +146 -0
  108. data/vendor/assets/javascripts/locomotive/codemirror/addons/search/matchesonscrollbar.js +97 -0
  109. data/vendor/assets/javascripts/locomotive/codemirror/addons/search/search.js +249 -0
  110. data/vendor/assets/javascripts/locomotive/codemirror/addons/search/searchcursor.js +189 -0
  111. data/vendor/assets/javascripts/locomotive/codemirror/addons/selection/active-line.js +74 -0
  112. data/vendor/assets/javascripts/locomotive/codemirror/addons/selection/mark-selection.js +118 -0
  113. data/vendor/assets/javascripts/locomotive/codemirror/addons/selection/selection-pointer.js +98 -0
  114. data/vendor/assets/javascripts/locomotive/codemirror/addons/tern/tern.js +701 -0
  115. data/vendor/assets/javascripts/locomotive/codemirror/addons/tern/worker.js +44 -0
  116. data/vendor/assets/javascripts/locomotive/codemirror/addons/wrap/hardwrap.js +144 -0
  117. data/vendor/assets/javascripts/locomotive/codemirror/keymaps/emacs.js +412 -0
  118. data/vendor/assets/javascripts/locomotive/codemirror/keymaps/sublime.js +580 -0
  119. data/vendor/assets/javascripts/locomotive/codemirror/keymaps/vim.js +5065 -0
  120. data/vendor/assets/javascripts/locomotive/codemirror/modes/apl.js +174 -0
  121. data/vendor/assets/javascripts/locomotive/codemirror/modes/asciiarmor.js +73 -0
  122. data/vendor/assets/javascripts/locomotive/codemirror/modes/asn.1.js +204 -0
  123. data/vendor/assets/javascripts/locomotive/codemirror/modes/asterisk.js +196 -0
  124. data/vendor/assets/javascripts/locomotive/codemirror/modes/brainfuck.js +85 -0
  125. data/vendor/assets/javascripts/locomotive/codemirror/modes/clike.js +786 -0
  126. data/vendor/assets/javascripts/locomotive/codemirror/modes/clojure.js +306 -0
  127. data/vendor/assets/javascripts/locomotive/codemirror/modes/cmake.js +97 -0
  128. data/vendor/assets/javascripts/locomotive/codemirror/modes/cobol.js +255 -0
  129. data/vendor/assets/javascripts/locomotive/codemirror/modes/coffeescript.js +355 -0
  130. data/vendor/assets/javascripts/locomotive/codemirror/modes/commonlisp.js +123 -0
  131. data/vendor/assets/javascripts/locomotive/codemirror/modes/crystal.js +391 -0
  132. data/vendor/assets/javascripts/locomotive/codemirror/modes/css.js +825 -0
  133. data/vendor/assets/javascripts/locomotive/codemirror/modes/cypher.js +146 -0
  134. data/vendor/assets/javascripts/locomotive/codemirror/modes/d.js +218 -0
  135. data/vendor/assets/javascripts/locomotive/codemirror/modes/dart.js +157 -0
  136. data/vendor/assets/javascripts/locomotive/codemirror/modes/diff.js +47 -0
  137. data/vendor/assets/javascripts/locomotive/codemirror/modes/django.js +356 -0
  138. data/vendor/assets/javascripts/locomotive/codemirror/modes/dockerfile.js +79 -0
  139. data/vendor/assets/javascripts/locomotive/codemirror/modes/dtd.js +142 -0
  140. data/vendor/assets/javascripts/locomotive/codemirror/modes/dylan.js +344 -0
  141. data/vendor/assets/javascripts/locomotive/codemirror/modes/ebnf.js +195 -0
  142. data/vendor/assets/javascripts/locomotive/codemirror/modes/ecl.js +206 -0
  143. data/vendor/assets/javascripts/locomotive/codemirror/modes/eiffel.js +160 -0
  144. data/vendor/assets/javascripts/locomotive/codemirror/modes/elm.js +205 -0
  145. data/vendor/assets/javascripts/locomotive/codemirror/modes/erlang.js +618 -0
  146. data/vendor/assets/javascripts/locomotive/codemirror/modes/factor.js +83 -0
  147. data/vendor/assets/javascripts/locomotive/codemirror/modes/fcl.js +173 -0
  148. data/vendor/assets/javascripts/locomotive/codemirror/modes/forth.js +180 -0
  149. data/vendor/assets/javascripts/locomotive/codemirror/modes/fortran.js +188 -0
  150. data/vendor/assets/javascripts/locomotive/codemirror/modes/gas.js +345 -0
  151. data/vendor/assets/javascripts/locomotive/codemirror/modes/gfm.js +130 -0
  152. data/vendor/assets/javascripts/locomotive/codemirror/modes/gherkin.js +178 -0
  153. data/vendor/assets/javascripts/locomotive/codemirror/modes/go.js +185 -0
  154. data/vendor/assets/javascripts/locomotive/codemirror/modes/groovy.js +230 -0
  155. data/vendor/assets/javascripts/locomotive/codemirror/modes/haml.js +161 -0
  156. data/vendor/assets/javascripts/locomotive/codemirror/modes/handlebars.js +62 -0
  157. data/vendor/assets/javascripts/locomotive/codemirror/modes/haskell-literate.js +43 -0
  158. data/vendor/assets/javascripts/locomotive/codemirror/modes/haskell.js +267 -0
  159. data/vendor/assets/javascripts/locomotive/codemirror/modes/haxe.js +515 -0
  160. data/vendor/assets/javascripts/locomotive/codemirror/modes/htmlembedded.js +28 -0
  161. data/vendor/assets/javascripts/locomotive/codemirror/modes/htmlmixed.js +152 -0
  162. data/vendor/assets/javascripts/locomotive/codemirror/modes/http.js +113 -0
  163. data/vendor/assets/javascripts/locomotive/codemirror/modes/idl.js +290 -0
  164. data/vendor/assets/javascripts/locomotive/codemirror/modes/jade.js +590 -0
  165. data/vendor/assets/javascripts/locomotive/codemirror/modes/javascript.js +748 -0
  166. data/vendor/assets/javascripts/locomotive/codemirror/modes/jinja2.js +142 -0
  167. data/vendor/assets/javascripts/locomotive/codemirror/modes/jsx.js +147 -0
  168. data/vendor/assets/javascripts/locomotive/codemirror/modes/julia.js +392 -0
  169. data/vendor/assets/javascripts/locomotive/codemirror/modes/livescript.js +280 -0
  170. data/vendor/assets/javascripts/locomotive/codemirror/modes/lua.js +159 -0
  171. data/vendor/assets/javascripts/locomotive/codemirror/modes/markdown.js +797 -0
  172. data/vendor/assets/javascripts/locomotive/codemirror/modes/mathematica.js +176 -0
  173. data/vendor/assets/javascripts/locomotive/codemirror/modes/mbox.js +129 -0
  174. data/vendor/assets/javascripts/locomotive/codemirror/modes/mirc.js +193 -0
  175. data/vendor/assets/javascripts/locomotive/codemirror/modes/mllike.js +205 -0
  176. data/vendor/assets/javascripts/locomotive/codemirror/modes/modelica.js +245 -0
  177. data/vendor/assets/javascripts/locomotive/codemirror/modes/mscgen.js +169 -0
  178. data/vendor/assets/javascripts/locomotive/codemirror/modes/mumps.js +148 -0
  179. data/vendor/assets/javascripts/locomotive/codemirror/modes/nginx.js +178 -0
  180. data/vendor/assets/javascripts/locomotive/codemirror/modes/nsis.js +95 -0
  181. data/vendor/assets/javascripts/locomotive/codemirror/modes/ntriples.js +186 -0
  182. data/vendor/assets/javascripts/locomotive/codemirror/modes/octave.js +135 -0
  183. data/vendor/assets/javascripts/locomotive/codemirror/modes/oz.js +252 -0
  184. data/vendor/assets/javascripts/locomotive/codemirror/modes/pascal.js +109 -0
  185. data/vendor/assets/javascripts/locomotive/codemirror/modes/pegjs.js +114 -0
  186. data/vendor/assets/javascripts/locomotive/codemirror/modes/perl.js +837 -0
  187. data/vendor/assets/javascripts/locomotive/codemirror/modes/php.js +234 -0
  188. data/vendor/assets/javascripts/locomotive/codemirror/modes/pig.js +178 -0
  189. data/vendor/assets/javascripts/locomotive/codemirror/modes/powershell.js +396 -0
  190. data/vendor/assets/javascripts/locomotive/codemirror/modes/properties.js +78 -0
  191. data/vendor/assets/javascripts/locomotive/codemirror/modes/protobuf.js +68 -0
  192. data/vendor/assets/javascripts/locomotive/codemirror/modes/puppet.js +220 -0
  193. data/vendor/assets/javascripts/locomotive/codemirror/modes/python.js +340 -0
  194. data/vendor/assets/javascripts/locomotive/codemirror/modes/q.js +139 -0
  195. data/vendor/assets/javascripts/locomotive/codemirror/modes/r.js +164 -0
  196. data/vendor/assets/javascripts/locomotive/codemirror/modes/rpm.js +109 -0
  197. data/vendor/assets/javascripts/locomotive/codemirror/modes/rst.js +557 -0
  198. data/vendor/assets/javascripts/locomotive/codemirror/modes/ruby.js +285 -0
  199. data/vendor/assets/javascripts/locomotive/codemirror/modes/rust.js +71 -0
  200. data/vendor/assets/javascripts/locomotive/codemirror/modes/sas.js +315 -0
  201. data/vendor/assets/javascripts/locomotive/codemirror/modes/sass.js +414 -0
  202. data/vendor/assets/javascripts/locomotive/codemirror/modes/scheme.js +249 -0
  203. data/vendor/assets/javascripts/locomotive/codemirror/modes/shell.js +139 -0
  204. data/vendor/assets/javascripts/locomotive/codemirror/modes/sieve.js +193 -0
  205. data/vendor/assets/javascripts/locomotive/codemirror/modes/slim.js +575 -0
  206. data/vendor/assets/javascripts/locomotive/codemirror/modes/smalltalk.js +168 -0
  207. data/vendor/assets/javascripts/locomotive/codemirror/modes/smarty.js +225 -0
  208. data/vendor/assets/javascripts/locomotive/codemirror/modes/solr.js +104 -0
  209. data/vendor/assets/javascripts/locomotive/codemirror/modes/soy.js +199 -0
  210. data/vendor/assets/javascripts/locomotive/codemirror/modes/sparql.js +180 -0
  211. data/vendor/assets/javascripts/locomotive/codemirror/modes/spreadsheet.js +112 -0
  212. data/vendor/assets/javascripts/locomotive/codemirror/modes/sql.js +413 -0
  213. data/vendor/assets/javascripts/locomotive/codemirror/modes/stex.js +251 -0
  214. data/vendor/assets/javascripts/locomotive/codemirror/modes/stylus.js +769 -0
  215. data/vendor/assets/javascripts/locomotive/codemirror/modes/swift.js +202 -0
  216. data/vendor/assets/javascripts/locomotive/codemirror/modes/tcl.js +139 -0
  217. data/vendor/assets/javascripts/locomotive/codemirror/modes/textile.js +469 -0
  218. data/vendor/assets/javascripts/locomotive/codemirror/modes/tiddlywiki.js +308 -0
  219. data/vendor/assets/javascripts/locomotive/codemirror/modes/tiki.js +312 -0
  220. data/vendor/assets/javascripts/locomotive/codemirror/modes/toml.js +88 -0
  221. data/vendor/assets/javascripts/locomotive/codemirror/modes/tornado.js +68 -0
  222. data/vendor/assets/javascripts/locomotive/codemirror/modes/troff.js +84 -0
  223. data/vendor/assets/javascripts/locomotive/codemirror/modes/ttcn-cfg.js +214 -0
  224. data/vendor/assets/javascripts/locomotive/codemirror/modes/ttcn.js +283 -0
  225. data/vendor/assets/javascripts/locomotive/codemirror/modes/turtle.js +162 -0
  226. data/vendor/assets/javascripts/locomotive/codemirror/modes/twig.js +141 -0
  227. data/vendor/assets/javascripts/locomotive/codemirror/modes/vb.js +276 -0
  228. data/vendor/assets/javascripts/locomotive/codemirror/modes/vbscript.js +350 -0
  229. data/vendor/assets/javascripts/locomotive/codemirror/modes/velocity.js +201 -0
  230. data/vendor/assets/javascripts/locomotive/codemirror/modes/verilog.js +537 -0
  231. data/vendor/assets/javascripts/locomotive/codemirror/modes/vhdl.js +189 -0
  232. data/vendor/assets/javascripts/locomotive/codemirror/modes/vue.js +69 -0
  233. data/vendor/assets/javascripts/locomotive/codemirror/modes/webidl.js +195 -0
  234. data/vendor/assets/javascripts/locomotive/codemirror/modes/xml.js +394 -0
  235. data/vendor/assets/javascripts/locomotive/codemirror/modes/xquery.js +437 -0
  236. data/vendor/assets/javascripts/locomotive/codemirror/modes/yacas.js +204 -0
  237. data/vendor/assets/javascripts/locomotive/codemirror/modes/yaml-frontmatter.js +68 -0
  238. data/vendor/assets/javascripts/locomotive/codemirror/modes/yaml.js +117 -0
  239. data/vendor/assets/javascripts/locomotive/codemirror/modes/z80.js +116 -0
  240. data/vendor/assets/javascripts/locomotive/codemirror.js +8922 -0
  241. data/vendor/assets/javascripts/locomotive/select2.js +436 -175
  242. data/vendor/assets/javascripts/locomotive/wysihtml5x-toolbar.js +1346 -564
  243. data/vendor/assets/stylesheets/locomotive/codemirror/addons/dialog/dialog.css +32 -0
  244. data/vendor/assets/stylesheets/locomotive/codemirror/addons/display/fullscreen.css +6 -0
  245. data/vendor/assets/stylesheets/locomotive/codemirror/addons/fold/foldgutter.css +20 -0
  246. data/vendor/assets/stylesheets/locomotive/codemirror/addons/hint/show-hint.css +37 -0
  247. data/vendor/assets/stylesheets/locomotive/codemirror/addons/lint/lint.css +73 -0
  248. data/vendor/assets/stylesheets/locomotive/codemirror/addons/merge/merge.css +113 -0
  249. data/vendor/assets/stylesheets/locomotive/codemirror/addons/scroll/simplescrollbars.css +66 -0
  250. data/vendor/assets/stylesheets/locomotive/codemirror/addons/search/matchesonscrollbar.css +8 -0
  251. data/vendor/assets/stylesheets/locomotive/codemirror/addons/tern/tern.css +87 -0
  252. data/vendor/assets/stylesheets/locomotive/codemirror/modes/tiddlywiki.css +14 -0
  253. data/vendor/assets/stylesheets/locomotive/codemirror/modes/tiki.css +26 -0
  254. data/vendor/assets/stylesheets/locomotive/codemirror/themes/3024-day.css +41 -0
  255. data/vendor/assets/stylesheets/locomotive/codemirror/themes/3024-night.css +39 -0
  256. data/vendor/assets/stylesheets/locomotive/codemirror/themes/abcdef.css +32 -0
  257. data/vendor/assets/stylesheets/locomotive/codemirror/themes/ambiance-mobile.css +5 -0
  258. data/vendor/assets/stylesheets/locomotive/codemirror/themes/ambiance.css +74 -0
  259. data/vendor/assets/stylesheets/locomotive/codemirror/themes/base16-dark.css +38 -0
  260. data/vendor/assets/stylesheets/locomotive/codemirror/themes/base16-light.css +38 -0
  261. data/vendor/assets/stylesheets/locomotive/codemirror/themes/bespin.css +34 -0
  262. data/vendor/assets/stylesheets/locomotive/codemirror/themes/blackboard.css +32 -0
  263. data/vendor/assets/stylesheets/locomotive/codemirror/themes/cobalt.css +25 -0
  264. data/vendor/assets/stylesheets/locomotive/codemirror/themes/colorforth.css +33 -0
  265. data/vendor/assets/stylesheets/locomotive/codemirror/themes/dracula.css +41 -0
  266. data/vendor/assets/stylesheets/locomotive/codemirror/themes/eclipse.css +23 -0
  267. data/vendor/assets/stylesheets/locomotive/codemirror/themes/elegant.css +13 -0
  268. data/vendor/assets/stylesheets/locomotive/codemirror/themes/erlang-dark.css +34 -0
  269. data/vendor/assets/stylesheets/locomotive/codemirror/themes/hopscotch.css +34 -0
  270. data/vendor/assets/stylesheets/locomotive/codemirror/themes/icecoder.css +43 -0
  271. data/vendor/assets/stylesheets/locomotive/codemirror/themes/isotope.css +34 -0
  272. data/vendor/assets/stylesheets/locomotive/codemirror/themes/lesser-dark.css +47 -0
  273. data/vendor/assets/stylesheets/locomotive/codemirror/themes/liquibyte.css +95 -0
  274. data/vendor/assets/stylesheets/locomotive/codemirror/themes/material.css +53 -0
  275. data/vendor/assets/stylesheets/locomotive/codemirror/themes/mbo.css +37 -0
  276. data/vendor/assets/stylesheets/locomotive/codemirror/themes/mdn-like.css +46 -0
  277. data/vendor/assets/stylesheets/locomotive/codemirror/themes/midnight.css +45 -0
  278. data/vendor/assets/stylesheets/locomotive/codemirror/themes/monokai.css +36 -0
  279. data/vendor/assets/stylesheets/locomotive/codemirror/themes/neat.css +12 -0
  280. data/vendor/assets/stylesheets/locomotive/codemirror/themes/neo.css +43 -0
  281. data/vendor/assets/stylesheets/locomotive/codemirror/themes/night.css +27 -0
  282. data/vendor/assets/stylesheets/locomotive/codemirror/themes/paraiso-dark.css +38 -0
  283. data/vendor/assets/stylesheets/locomotive/codemirror/themes/paraiso-light.css +38 -0
  284. data/vendor/assets/stylesheets/locomotive/codemirror/themes/pastel-on-dark.css +53 -0
  285. data/vendor/assets/stylesheets/locomotive/codemirror/themes/railscasts.css +34 -0
  286. data/vendor/assets/stylesheets/locomotive/codemirror/themes/rubyblue.css +25 -0
  287. data/vendor/assets/stylesheets/locomotive/codemirror/themes/seti.css +44 -0
  288. data/vendor/assets/stylesheets/locomotive/codemirror/themes/solarized.css +169 -0
  289. data/vendor/assets/stylesheets/locomotive/codemirror/themes/the-matrix.css +30 -0
  290. data/vendor/assets/stylesheets/locomotive/codemirror/themes/tomorrow-night-bright.css +35 -0
  291. data/vendor/assets/stylesheets/locomotive/codemirror/themes/tomorrow-night-eighties.css +38 -0
  292. data/vendor/assets/stylesheets/locomotive/codemirror/themes/ttcn.css +64 -0
  293. data/vendor/assets/stylesheets/locomotive/codemirror/themes/twilight.css +32 -0
  294. data/vendor/assets/stylesheets/locomotive/codemirror/themes/vibrant-ink.css +34 -0
  295. data/vendor/assets/stylesheets/locomotive/codemirror/themes/xq-dark.css +53 -0
  296. data/vendor/assets/stylesheets/locomotive/codemirror/themes/xq-light.css +43 -0
  297. data/vendor/assets/stylesheets/locomotive/codemirror/themes/yeti.css +44 -0
  298. data/vendor/assets/stylesheets/locomotive/codemirror/themes/zenburn.css +37 -0
  299. data/vendor/assets/stylesheets/locomotive/codemirror.css +347 -0
  300. data/vendor/assets/stylesheets/locomotive/select2.css +3 -6
  301. metadata +349 -128
@@ -0,0 +1,169 @@
1
+ /*
2
+ Solarized theme for code-mirror
3
+ http://ethanschoonover.com/solarized
4
+ */
5
+
6
+ /*
7
+ Solarized color palette
8
+ http://ethanschoonover.com/solarized/img/solarized-palette.png
9
+ */
10
+
11
+ .solarized.base03 { color: #002b36; }
12
+ .solarized.base02 { color: #073642; }
13
+ .solarized.base01 { color: #586e75; }
14
+ .solarized.base00 { color: #657b83; }
15
+ .solarized.base0 { color: #839496; }
16
+ .solarized.base1 { color: #93a1a1; }
17
+ .solarized.base2 { color: #eee8d5; }
18
+ .solarized.base3 { color: #fdf6e3; }
19
+ .solarized.solar-yellow { color: #b58900; }
20
+ .solarized.solar-orange { color: #cb4b16; }
21
+ .solarized.solar-red { color: #dc322f; }
22
+ .solarized.solar-magenta { color: #d33682; }
23
+ .solarized.solar-violet { color: #6c71c4; }
24
+ .solarized.solar-blue { color: #268bd2; }
25
+ .solarized.solar-cyan { color: #2aa198; }
26
+ .solarized.solar-green { color: #859900; }
27
+
28
+ /* Color scheme for code-mirror */
29
+
30
+ .cm-s-solarized {
31
+ line-height: 1.45em;
32
+ color-profile: sRGB;
33
+ rendering-intent: auto;
34
+ }
35
+ .cm-s-solarized.cm-s-dark {
36
+ color: #839496;
37
+ background-color: #002b36;
38
+ text-shadow: #002b36 0 1px;
39
+ }
40
+ .cm-s-solarized.cm-s-light {
41
+ background-color: #fdf6e3;
42
+ color: #657b83;
43
+ text-shadow: #eee8d5 0 1px;
44
+ }
45
+
46
+ .cm-s-solarized .CodeMirror-widget {
47
+ text-shadow: none;
48
+ }
49
+
50
+ .cm-s-solarized .cm-header { color: #586e75; }
51
+ .cm-s-solarized .cm-quote { color: #93a1a1; }
52
+
53
+ .cm-s-solarized .cm-keyword { color: #cb4b16; }
54
+ .cm-s-solarized .cm-atom { color: #d33682; }
55
+ .cm-s-solarized .cm-number { color: #d33682; }
56
+ .cm-s-solarized .cm-def { color: #2aa198; }
57
+
58
+ .cm-s-solarized .cm-variable { color: #839496; }
59
+ .cm-s-solarized .cm-variable-2 { color: #b58900; }
60
+ .cm-s-solarized .cm-variable-3 { color: #6c71c4; }
61
+
62
+ .cm-s-solarized .cm-property { color: #2aa198; }
63
+ .cm-s-solarized .cm-operator { color: #6c71c4; }
64
+
65
+ .cm-s-solarized .cm-comment { color: #586e75; font-style:italic; }
66
+
67
+ .cm-s-solarized .cm-string { color: #859900; }
68
+ .cm-s-solarized .cm-string-2 { color: #b58900; }
69
+
70
+ .cm-s-solarized .cm-meta { color: #859900; }
71
+ .cm-s-solarized .cm-qualifier { color: #b58900; }
72
+ .cm-s-solarized .cm-builtin { color: #d33682; }
73
+ .cm-s-solarized .cm-bracket { color: #cb4b16; }
74
+ .cm-s-solarized .CodeMirror-matchingbracket { color: #859900; }
75
+ .cm-s-solarized .CodeMirror-nonmatchingbracket { color: #dc322f; }
76
+ .cm-s-solarized .cm-tag { color: #93a1a1; }
77
+ .cm-s-solarized .cm-attribute { color: #2aa198; }
78
+ .cm-s-solarized .cm-hr {
79
+ color: transparent;
80
+ border-top: 1px solid #586e75;
81
+ display: block;
82
+ }
83
+ .cm-s-solarized .cm-link { color: #93a1a1; cursor: pointer; }
84
+ .cm-s-solarized .cm-special { color: #6c71c4; }
85
+ .cm-s-solarized .cm-em {
86
+ color: #999;
87
+ text-decoration: underline;
88
+ text-decoration-style: dotted;
89
+ }
90
+ .cm-s-solarized .cm-strong { color: #eee; }
91
+ .cm-s-solarized .cm-error,
92
+ .cm-s-solarized .cm-invalidchar {
93
+ color: #586e75;
94
+ border-bottom: 1px dotted #dc322f;
95
+ }
96
+
97
+ .cm-s-solarized.cm-s-dark div.CodeMirror-selected { background: #073642; }
98
+ .cm-s-solarized.cm-s-dark.CodeMirror ::selection { background: rgba(7, 54, 66, 0.99); }
99
+ .cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection, .cm-s-dark .CodeMirror-line > span::-moz-selection, .cm-s-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(7, 54, 66, 0.99); }
100
+
101
+ .cm-s-solarized.cm-s-light div.CodeMirror-selected { background: #eee8d5; }
102
+ .cm-s-solarized.cm-s-light .CodeMirror-line::selection, .cm-s-light .CodeMirror-line > span::selection, .cm-s-light .CodeMirror-line > span > span::selection { background: #eee8d5; }
103
+ .cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection, .cm-s-ligh .CodeMirror-line > span::-moz-selection, .cm-s-ligh .CodeMirror-line > span > span::-moz-selection { background: #eee8d5; }
104
+
105
+ /* Editor styling */
106
+
107
+
108
+
109
+ /* Little shadow on the view-port of the buffer view */
110
+ .cm-s-solarized.CodeMirror {
111
+ -moz-box-shadow: inset 7px 0 12px -6px #000;
112
+ -webkit-box-shadow: inset 7px 0 12px -6px #000;
113
+ box-shadow: inset 7px 0 12px -6px #000;
114
+ }
115
+
116
+ /* Remove gutter border */
117
+ .cm-s-solarized .CodeMirror-gutters {
118
+ border-right: 0;
119
+ }
120
+
121
+ /* Gutter colors and line number styling based of color scheme (dark / light) */
122
+
123
+ /* Dark */
124
+ .cm-s-solarized.cm-s-dark .CodeMirror-gutters {
125
+ background-color: #073642;
126
+ }
127
+
128
+ .cm-s-solarized.cm-s-dark .CodeMirror-linenumber {
129
+ color: #586e75;
130
+ text-shadow: #021014 0 -1px;
131
+ }
132
+
133
+ /* Light */
134
+ .cm-s-solarized.cm-s-light .CodeMirror-gutters {
135
+ background-color: #eee8d5;
136
+ }
137
+
138
+ .cm-s-solarized.cm-s-light .CodeMirror-linenumber {
139
+ color: #839496;
140
+ }
141
+
142
+ /* Common */
143
+ .cm-s-solarized .CodeMirror-linenumber {
144
+ padding: 0 5px;
145
+ }
146
+ .cm-s-solarized .CodeMirror-guttermarker-subtle { color: #586e75; }
147
+ .cm-s-solarized.cm-s-dark .CodeMirror-guttermarker { color: #ddd; }
148
+ .cm-s-solarized.cm-s-light .CodeMirror-guttermarker { color: #cb4b16; }
149
+
150
+ .cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text {
151
+ color: #586e75;
152
+ }
153
+
154
+ /* Cursor */
155
+ .cm-s-solarized .CodeMirror-cursor { border-left: 1px solid #819090; }
156
+
157
+ /* Fat cursor */
158
+ .cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor { background: #fdf6e3; }
159
+ .cm-s-solarized.cm-s-light .cm-animate-fat-cursor { background-color: #fdf6e3; }
160
+ .cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor { background: #586e75; }
161
+ .cm-s-solarized.cm-s-dark .cm-animate-fat-cursor { background-color: #586e75; }
162
+
163
+ /* Active line */
164
+ .cm-s-solarized.cm-s-dark .CodeMirror-activeline-background {
165
+ background: rgba(255, 255, 255, 0.06);
166
+ }
167
+ .cm-s-solarized.cm-s-light .CodeMirror-activeline-background {
168
+ background: rgba(0, 0, 0, 0.06);
169
+ }
@@ -0,0 +1,30 @@
1
+ .cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; }
2
+ .cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D; }
3
+ .cm-s-the-matrix .CodeMirror-line::selection, .cm-s-the-matrix .CodeMirror-line > span::selection, .cm-s-the-matrix .CodeMirror-line > span > span::selection { background: rgba(45, 45, 45, 0.99); }
4
+ .cm-s-the-matrix .CodeMirror-line::-moz-selection, .cm-s-the-matrix .CodeMirror-line > span::-moz-selection, .cm-s-the-matrix .CodeMirror-line > span > span::-moz-selection { background: rgba(45, 45, 45, 0.99); }
5
+ .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; }
6
+ .cm-s-the-matrix .CodeMirror-guttermarker { color: #0f0; }
7
+ .cm-s-the-matrix .CodeMirror-guttermarker-subtle { color: white; }
8
+ .cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; }
9
+ .cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00; }
10
+
11
+ .cm-s-the-matrix span.cm-keyword { color: #008803; font-weight: bold; }
12
+ .cm-s-the-matrix span.cm-atom { color: #3FF; }
13
+ .cm-s-the-matrix span.cm-number { color: #FFB94F; }
14
+ .cm-s-the-matrix span.cm-def { color: #99C; }
15
+ .cm-s-the-matrix span.cm-variable { color: #F6C; }
16
+ .cm-s-the-matrix span.cm-variable-2 { color: #C6F; }
17
+ .cm-s-the-matrix span.cm-variable-3 { color: #96F; }
18
+ .cm-s-the-matrix span.cm-property { color: #62FFA0; }
19
+ .cm-s-the-matrix span.cm-operator { color: #999; }
20
+ .cm-s-the-matrix span.cm-comment { color: #CCCCCC; }
21
+ .cm-s-the-matrix span.cm-string { color: #39C; }
22
+ .cm-s-the-matrix span.cm-meta { color: #C9F; }
23
+ .cm-s-the-matrix span.cm-qualifier { color: #FFF700; }
24
+ .cm-s-the-matrix span.cm-builtin { color: #30a; }
25
+ .cm-s-the-matrix span.cm-bracket { color: #cc7; }
26
+ .cm-s-the-matrix span.cm-tag { color: #FFBD40; }
27
+ .cm-s-the-matrix span.cm-attribute { color: #FFF700; }
28
+ .cm-s-the-matrix span.cm-error { color: #FF0000; }
29
+
30
+ .cm-s-the-matrix .CodeMirror-activeline-background { background: #040; }
@@ -0,0 +1,35 @@
1
+ /*
2
+
3
+ Name: Tomorrow Night - Bright
4
+ Author: Chris Kempson
5
+
6
+ Port done by Gerard Braad <me@gbraad.nl>
7
+
8
+ */
9
+
10
+ .cm-s-tomorrow-night-bright.CodeMirror { background: #000000; color: #eaeaea; }
11
+ .cm-s-tomorrow-night-bright div.CodeMirror-selected { background: #424242; }
12
+ .cm-s-tomorrow-night-bright .CodeMirror-gutters { background: #000000; border-right: 0px; }
13
+ .cm-s-tomorrow-night-bright .CodeMirror-guttermarker { color: #e78c45; }
14
+ .cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle { color: #777; }
15
+ .cm-s-tomorrow-night-bright .CodeMirror-linenumber { color: #424242; }
16
+ .cm-s-tomorrow-night-bright .CodeMirror-cursor { border-left: 1px solid #6A6A6A; }
17
+
18
+ .cm-s-tomorrow-night-bright span.cm-comment { color: #d27b53; }
19
+ .cm-s-tomorrow-night-bright span.cm-atom { color: #a16a94; }
20
+ .cm-s-tomorrow-night-bright span.cm-number { color: #a16a94; }
21
+
22
+ .cm-s-tomorrow-night-bright span.cm-property, .cm-s-tomorrow-night-bright span.cm-attribute { color: #99cc99; }
23
+ .cm-s-tomorrow-night-bright span.cm-keyword { color: #d54e53; }
24
+ .cm-s-tomorrow-night-bright span.cm-string { color: #e7c547; }
25
+
26
+ .cm-s-tomorrow-night-bright span.cm-variable { color: #b9ca4a; }
27
+ .cm-s-tomorrow-night-bright span.cm-variable-2 { color: #7aa6da; }
28
+ .cm-s-tomorrow-night-bright span.cm-def { color: #e78c45; }
29
+ .cm-s-tomorrow-night-bright span.cm-bracket { color: #eaeaea; }
30
+ .cm-s-tomorrow-night-bright span.cm-tag { color: #d54e53; }
31
+ .cm-s-tomorrow-night-bright span.cm-link { color: #a16a94; }
32
+ .cm-s-tomorrow-night-bright span.cm-error { background: #d54e53; color: #6A6A6A; }
33
+
34
+ .cm-s-tomorrow-night-bright .CodeMirror-activeline-background { background: #2a2a2a; }
35
+ .cm-s-tomorrow-night-bright .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }
@@ -0,0 +1,38 @@
1
+ /*
2
+
3
+ Name: Tomorrow Night - Eighties
4
+ Author: Chris Kempson
5
+
6
+ CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
7
+ Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
8
+
9
+ */
10
+
11
+ .cm-s-tomorrow-night-eighties.CodeMirror { background: #000000; color: #CCCCCC; }
12
+ .cm-s-tomorrow-night-eighties div.CodeMirror-selected { background: #2D2D2D; }
13
+ .cm-s-tomorrow-night-eighties .CodeMirror-line::selection, .cm-s-tomorrow-night-eighties .CodeMirror-line > span::selection, .cm-s-tomorrow-night-eighties .CodeMirror-line > span > span::selection { background: rgba(45, 45, 45, 0.99); }
14
+ .cm-s-tomorrow-night-eighties .CodeMirror-line::-moz-selection, .cm-s-tomorrow-night-eighties .CodeMirror-line > span::-moz-selection, .cm-s-tomorrow-night-eighties .CodeMirror-line > span > span::-moz-selection { background: rgba(45, 45, 45, 0.99); }
15
+ .cm-s-tomorrow-night-eighties .CodeMirror-gutters { background: #000000; border-right: 0px; }
16
+ .cm-s-tomorrow-night-eighties .CodeMirror-guttermarker { color: #f2777a; }
17
+ .cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle { color: #777; }
18
+ .cm-s-tomorrow-night-eighties .CodeMirror-linenumber { color: #515151; }
19
+ .cm-s-tomorrow-night-eighties .CodeMirror-cursor { border-left: 1px solid #6A6A6A; }
20
+
21
+ .cm-s-tomorrow-night-eighties span.cm-comment { color: #d27b53; }
22
+ .cm-s-tomorrow-night-eighties span.cm-atom { color: #a16a94; }
23
+ .cm-s-tomorrow-night-eighties span.cm-number { color: #a16a94; }
24
+
25
+ .cm-s-tomorrow-night-eighties span.cm-property, .cm-s-tomorrow-night-eighties span.cm-attribute { color: #99cc99; }
26
+ .cm-s-tomorrow-night-eighties span.cm-keyword { color: #f2777a; }
27
+ .cm-s-tomorrow-night-eighties span.cm-string { color: #ffcc66; }
28
+
29
+ .cm-s-tomorrow-night-eighties span.cm-variable { color: #99cc99; }
30
+ .cm-s-tomorrow-night-eighties span.cm-variable-2 { color: #6699cc; }
31
+ .cm-s-tomorrow-night-eighties span.cm-def { color: #f99157; }
32
+ .cm-s-tomorrow-night-eighties span.cm-bracket { color: #CCCCCC; }
33
+ .cm-s-tomorrow-night-eighties span.cm-tag { color: #f2777a; }
34
+ .cm-s-tomorrow-night-eighties span.cm-link { color: #a16a94; }
35
+ .cm-s-tomorrow-night-eighties span.cm-error { background: #f2777a; color: #6A6A6A; }
36
+
37
+ .cm-s-tomorrow-night-eighties .CodeMirror-activeline-background { background: #343600; }
38
+ .cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }
@@ -0,0 +1,64 @@
1
+ .cm-s-ttcn .cm-quote { color: #090; }
2
+ .cm-s-ttcn .cm-negative { color: #d44; }
3
+ .cm-s-ttcn .cm-positive { color: #292; }
4
+ .cm-s-ttcn .cm-header, .cm-strong { font-weight: bold; }
5
+ .cm-s-ttcn .cm-em { font-style: italic; }
6
+ .cm-s-ttcn .cm-link { text-decoration: underline; }
7
+ .cm-s-ttcn .cm-strikethrough { text-decoration: line-through; }
8
+ .cm-s-ttcn .cm-header { color: #00f; font-weight: bold; }
9
+
10
+ .cm-s-ttcn .cm-atom { color: #219; }
11
+ .cm-s-ttcn .cm-attribute { color: #00c; }
12
+ .cm-s-ttcn .cm-bracket { color: #997; }
13
+ .cm-s-ttcn .cm-comment { color: #333333; }
14
+ .cm-s-ttcn .cm-def { color: #00f; }
15
+ .cm-s-ttcn .cm-em { font-style: italic; }
16
+ .cm-s-ttcn .cm-error { color: #f00; }
17
+ .cm-s-ttcn .cm-hr { color: #999; }
18
+ .cm-s-ttcn .cm-invalidchar { color: #f00; }
19
+ .cm-s-ttcn .cm-keyword { font-weight:bold; }
20
+ .cm-s-ttcn .cm-link { color: #00c; text-decoration: underline; }
21
+ .cm-s-ttcn .cm-meta { color: #555; }
22
+ .cm-s-ttcn .cm-negative { color: #d44; }
23
+ .cm-s-ttcn .cm-positive { color: #292; }
24
+ .cm-s-ttcn .cm-qualifier { color: #555; }
25
+ .cm-s-ttcn .cm-strikethrough { text-decoration: line-through; }
26
+ .cm-s-ttcn .cm-string { color: #006400; }
27
+ .cm-s-ttcn .cm-string-2 { color: #f50; }
28
+ .cm-s-ttcn .cm-strong { font-weight: bold; }
29
+ .cm-s-ttcn .cm-tag { color: #170; }
30
+ .cm-s-ttcn .cm-variable { color: #8B2252; }
31
+ .cm-s-ttcn .cm-variable-2 { color: #05a; }
32
+ .cm-s-ttcn .cm-variable-3 { color: #085; }
33
+
34
+ .cm-s-ttcn .cm-invalidchar { color: #f00; }
35
+
36
+ /* ASN */
37
+ .cm-s-ttcn .cm-accessTypes,
38
+ .cm-s-ttcn .cm-compareTypes { color: #27408B; }
39
+ .cm-s-ttcn .cm-cmipVerbs { color: #8B2252; }
40
+ .cm-s-ttcn .cm-modifier { color:#D2691E; }
41
+ .cm-s-ttcn .cm-status { color:#8B4545; }
42
+ .cm-s-ttcn .cm-storage { color:#A020F0; }
43
+ .cm-s-ttcn .cm-tags { color:#006400; }
44
+
45
+ /* CFG */
46
+ .cm-s-ttcn .cm-externalCommands { color: #8B4545; font-weight:bold; }
47
+ .cm-s-ttcn .cm-fileNCtrlMaskOptions,
48
+ .cm-s-ttcn .cm-sectionTitle { color: #2E8B57; font-weight:bold; }
49
+
50
+ /* TTCN */
51
+ .cm-s-ttcn .cm-booleanConsts,
52
+ .cm-s-ttcn .cm-otherConsts,
53
+ .cm-s-ttcn .cm-verdictConsts { color: #006400; }
54
+ .cm-s-ttcn .cm-configOps,
55
+ .cm-s-ttcn .cm-functionOps,
56
+ .cm-s-ttcn .cm-portOps,
57
+ .cm-s-ttcn .cm-sutOps,
58
+ .cm-s-ttcn .cm-timerOps,
59
+ .cm-s-ttcn .cm-verdictOps { color: #0000FF; }
60
+ .cm-s-ttcn .cm-preprocessor,
61
+ .cm-s-ttcn .cm-templateMatch,
62
+ .cm-s-ttcn .cm-ttcn3Macros { color: #27408B; }
63
+ .cm-s-ttcn .cm-types { color: #A52A2A; font-weight:bold; }
64
+ .cm-s-ttcn .cm-visibilityModifiers { font-weight:bold; }
@@ -0,0 +1,32 @@
1
+ .cm-s-twilight.CodeMirror { background: #141414; color: #f7f7f7; } /**/
2
+ .cm-s-twilight div.CodeMirror-selected { background: #323232; } /**/
3
+ .cm-s-twilight .CodeMirror-line::selection, .cm-s-twilight .CodeMirror-line > span::selection, .cm-s-twilight .CodeMirror-line > span > span::selection { background: rgba(50, 50, 50, 0.99); }
4
+ .cm-s-twilight .CodeMirror-line::-moz-selection, .cm-s-twilight .CodeMirror-line > span::-moz-selection, .cm-s-twilight .CodeMirror-line > span > span::-moz-selection { background: rgba(50, 50, 50, 0.99); }
5
+
6
+ .cm-s-twilight .CodeMirror-gutters { background: #222; border-right: 1px solid #aaa; }
7
+ .cm-s-twilight .CodeMirror-guttermarker { color: white; }
8
+ .cm-s-twilight .CodeMirror-guttermarker-subtle { color: #aaa; }
9
+ .cm-s-twilight .CodeMirror-linenumber { color: #aaa; }
10
+ .cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white; }
11
+
12
+ .cm-s-twilight .cm-keyword { color: #f9ee98; } /**/
13
+ .cm-s-twilight .cm-atom { color: #FC0; }
14
+ .cm-s-twilight .cm-number { color: #ca7841; } /**/
15
+ .cm-s-twilight .cm-def { color: #8DA6CE; }
16
+ .cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/
17
+ .cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/
18
+ .cm-s-twilight .cm-operator { color: #cda869; } /**/
19
+ .cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/
20
+ .cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/
21
+ .cm-s-twilight .cm-string-2 { color:#bd6b18; } /*?*/
22
+ .cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/
23
+ .cm-s-twilight .cm-builtin { color: #cda869; } /*?*/
24
+ .cm-s-twilight .cm-tag { color: #997643; } /**/
25
+ .cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/
26
+ .cm-s-twilight .cm-header { color: #FF6400; }
27
+ .cm-s-twilight .cm-hr { color: #AEAEAE; }
28
+ .cm-s-twilight .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } /**/
29
+ .cm-s-twilight .cm-error { border-bottom: 1px solid red; }
30
+
31
+ .cm-s-twilight .CodeMirror-activeline-background { background: #27282E; }
32
+ .cm-s-twilight .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; }
@@ -0,0 +1,34 @@
1
+ /* Taken from the popular Visual Studio Vibrant Ink Schema */
2
+
3
+ .cm-s-vibrant-ink.CodeMirror { background: black; color: white; }
4
+ .cm-s-vibrant-ink div.CodeMirror-selected { background: #35493c; }
5
+ .cm-s-vibrant-ink .CodeMirror-line::selection, .cm-s-vibrant-ink .CodeMirror-line > span::selection, .cm-s-vibrant-ink .CodeMirror-line > span > span::selection { background: rgba(53, 73, 60, 0.99); }
6
+ .cm-s-vibrant-ink .CodeMirror-line::-moz-selection, .cm-s-vibrant-ink .CodeMirror-line > span::-moz-selection, .cm-s-vibrant-ink .CodeMirror-line > span > span::-moz-selection { background: rgba(53, 73, 60, 0.99); }
7
+
8
+ .cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
9
+ .cm-s-vibrant-ink .CodeMirror-guttermarker { color: white; }
10
+ .cm-s-vibrant-ink .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
11
+ .cm-s-vibrant-ink .CodeMirror-linenumber { color: #d0d0d0; }
12
+ .cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white; }
13
+
14
+ .cm-s-vibrant-ink .cm-keyword { color: #CC7832; }
15
+ .cm-s-vibrant-ink .cm-atom { color: #FC0; }
16
+ .cm-s-vibrant-ink .cm-number { color: #FFEE98; }
17
+ .cm-s-vibrant-ink .cm-def { color: #8DA6CE; }
18
+ .cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D; }
19
+ .cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D; }
20
+ .cm-s-vibrant-ink .cm-operator { color: #888; }
21
+ .cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; }
22
+ .cm-s-vibrant-ink .cm-string { color: #A5C25C; }
23
+ .cm-s-vibrant-ink .cm-string-2 { color: red; }
24
+ .cm-s-vibrant-ink .cm-meta { color: #D8FA3C; }
25
+ .cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; }
26
+ .cm-s-vibrant-ink .cm-tag { color: #8DA6CE; }
27
+ .cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; }
28
+ .cm-s-vibrant-ink .cm-header { color: #FF6400; }
29
+ .cm-s-vibrant-ink .cm-hr { color: #AEAEAE; }
30
+ .cm-s-vibrant-ink .cm-link { color: blue; }
31
+ .cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }
32
+
33
+ .cm-s-vibrant-ink .CodeMirror-activeline-background { background: #27282E; }
34
+ .cm-s-vibrant-ink .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; }
@@ -0,0 +1,53 @@
1
+ /*
2
+ Copyright (C) 2011 by MarkLogic Corporation
3
+ Author: Mike Brevoort <mike@brevoort.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
22
+ */
23
+ .cm-s-xq-dark.CodeMirror { background: #0a001f; color: #f8f8f8; }
24
+ .cm-s-xq-dark div.CodeMirror-selected { background: #27007A; }
25
+ .cm-s-xq-dark .CodeMirror-line::selection, .cm-s-xq-dark .CodeMirror-line > span::selection, .cm-s-xq-dark .CodeMirror-line > span > span::selection { background: rgba(39, 0, 122, 0.99); }
26
+ .cm-s-xq-dark .CodeMirror-line::-moz-selection, .cm-s-xq-dark .CodeMirror-line > span::-moz-selection, .cm-s-xq-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(39, 0, 122, 0.99); }
27
+ .cm-s-xq-dark .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }
28
+ .cm-s-xq-dark .CodeMirror-guttermarker { color: #FFBD40; }
29
+ .cm-s-xq-dark .CodeMirror-guttermarker-subtle { color: #f8f8f8; }
30
+ .cm-s-xq-dark .CodeMirror-linenumber { color: #f8f8f8; }
31
+ .cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white; }
32
+
33
+ .cm-s-xq-dark span.cm-keyword { color: #FFBD40; }
34
+ .cm-s-xq-dark span.cm-atom { color: #6C8CD5; }
35
+ .cm-s-xq-dark span.cm-number { color: #164; }
36
+ .cm-s-xq-dark span.cm-def { color: #FFF; text-decoration:underline; }
37
+ .cm-s-xq-dark span.cm-variable { color: #FFF; }
38
+ .cm-s-xq-dark span.cm-variable-2 { color: #EEE; }
39
+ .cm-s-xq-dark span.cm-variable-3 { color: #DDD; }
40
+ .cm-s-xq-dark span.cm-property {}
41
+ .cm-s-xq-dark span.cm-operator {}
42
+ .cm-s-xq-dark span.cm-comment { color: gray; }
43
+ .cm-s-xq-dark span.cm-string { color: #9FEE00; }
44
+ .cm-s-xq-dark span.cm-meta { color: yellow; }
45
+ .cm-s-xq-dark span.cm-qualifier { color: #FFF700; }
46
+ .cm-s-xq-dark span.cm-builtin { color: #30a; }
47
+ .cm-s-xq-dark span.cm-bracket { color: #cc7; }
48
+ .cm-s-xq-dark span.cm-tag { color: #FFBD40; }
49
+ .cm-s-xq-dark span.cm-attribute { color: #FFF700; }
50
+ .cm-s-xq-dark span.cm-error { color: #f00; }
51
+
52
+ .cm-s-xq-dark .CodeMirror-activeline-background { background: #27282E; }
53
+ .cm-s-xq-dark .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; }
@@ -0,0 +1,43 @@
1
+ /*
2
+ Copyright (C) 2011 by MarkLogic Corporation
3
+ Author: Mike Brevoort <mike@brevoort.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
22
+ */
23
+ .cm-s-xq-light span.cm-keyword { line-height: 1em; font-weight: bold; color: #5A5CAD; }
24
+ .cm-s-xq-light span.cm-atom { color: #6C8CD5; }
25
+ .cm-s-xq-light span.cm-number { color: #164; }
26
+ .cm-s-xq-light span.cm-def { text-decoration:underline; }
27
+ .cm-s-xq-light span.cm-variable { color: black; }
28
+ .cm-s-xq-light span.cm-variable-2 { color:black; }
29
+ .cm-s-xq-light span.cm-variable-3 { color: black; }
30
+ .cm-s-xq-light span.cm-property {}
31
+ .cm-s-xq-light span.cm-operator {}
32
+ .cm-s-xq-light span.cm-comment { color: #0080FF; font-style: italic; }
33
+ .cm-s-xq-light span.cm-string { color: red; }
34
+ .cm-s-xq-light span.cm-meta { color: yellow; }
35
+ .cm-s-xq-light span.cm-qualifier { color: grey; }
36
+ .cm-s-xq-light span.cm-builtin { color: #7EA656; }
37
+ .cm-s-xq-light span.cm-bracket { color: #cc7; }
38
+ .cm-s-xq-light span.cm-tag { color: #3F7F7F; }
39
+ .cm-s-xq-light span.cm-attribute { color: #7F007F; }
40
+ .cm-s-xq-light span.cm-error { color: #f00; }
41
+
42
+ .cm-s-xq-light .CodeMirror-activeline-background { background: #e8f2ff; }
43
+ .cm-s-xq-light .CodeMirror-matchingbracket { outline:1px solid grey;color:black !important;background:yellow; }
@@ -0,0 +1,44 @@
1
+ /*
2
+
3
+ Name: yeti
4
+ Author: Michael Kaminsky (http://github.com/mkaminsky11)
5
+
6
+ Original yeti color scheme by Jesse Weed (https://github.com/jesseweed/yeti-syntax)
7
+
8
+ */
9
+
10
+
11
+ .cm-s-yeti.CodeMirror {
12
+ background-color: #ECEAE8 !important;
13
+ color: #d1c9c0 !important;
14
+ border: none;
15
+ }
16
+
17
+ .cm-s-yeti .CodeMirror-gutters {
18
+ color: #adaba6;
19
+ background-color: #E5E1DB;
20
+ border: none;
21
+ }
22
+ .cm-s-yeti .CodeMirror-cursor { border-left: solid thin #d1c9c0; }
23
+ .cm-s-yeti .CodeMirror-linenumber { color: #adaba6; }
24
+ .cm-s-yeti.CodeMirror-focused div.CodeMirror-selected { background: #DCD8D2; }
25
+ .cm-s-yeti .CodeMirror-line::selection, .cm-s-yeti .CodeMirror-line > span::selection, .cm-s-yeti .CodeMirror-line > span > span::selection { background: #DCD8D2; }
26
+ .cm-s-yeti .CodeMirror-line::-moz-selection, .cm-s-yeti .CodeMirror-line > span::-moz-selection, .cm-s-yeti .CodeMirror-line > span > span::-moz-selection { background: #DCD8D2; }
27
+ .cm-s-yeti span.cm-comment { color: #d4c8be; }
28
+ .cm-s-yeti span.cm-string, .cm-s-yeti span.cm-string-2 { color: #96c0d8; }
29
+ .cm-s-yeti span.cm-number { color: #a074c4; }
30
+ .cm-s-yeti span.cm-variable { color: #55b5db; }
31
+ .cm-s-yeti span.cm-variable-2 { color: #a074c4; }
32
+ .cm-s-yeti span.cm-def { color: #55b5db; }
33
+ .cm-s-yeti span.cm-operator { color: #9fb96e; }
34
+ .cm-s-yeti span.cm-keyword { color: #9fb96e; }
35
+ .cm-s-yeti span.cm-atom { color: #a074c4; }
36
+ .cm-s-yeti span.cm-meta { color: #96c0d8; }
37
+ .cm-s-yeti span.cm-tag { color: #96c0d8; }
38
+ .cm-s-yeti span.cm-attribute { color: #9fb96e; }
39
+ .cm-s-yeti span.cm-qualifier { color: #96c0d8; }
40
+ .cm-s-yeti span.cm-property { color: #a074c4; }
41
+ .cm-s-yeti span.cm-builtin { color: #a074c4; }
42
+ .cm-s-yeti span.cm-variable-3 { color: #96c0d8; }
43
+ .cm-s-yeti .CodeMirror-activeline-background { background: #E7E4E0; }
44
+ .cm-s-yeti .CodeMirror-matchingbracket { text-decoration: underline; }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * "
3
+ * Using Zenburn color palette from the Emacs Zenburn Theme
4
+ * https://github.com/bbatsov/zenburn-emacs/blob/master/zenburn-theme.el
5
+ *
6
+ * Also using parts of https://github.com/xavi/coderay-lighttable-theme
7
+ * "
8
+ * From: https://github.com/wisenomad/zenburn-lighttable-theme/blob/master/zenburn.css
9
+ */
10
+
11
+ .cm-s-zenburn .CodeMirror-gutters { background: #3f3f3f !important; }
12
+ .cm-s-zenburn .CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded { color: #999; }
13
+ .cm-s-zenburn .CodeMirror-cursor { border-left: 1px solid white; }
14
+ .cm-s-zenburn { background-color: #3f3f3f; color: #dcdccc; }
15
+ .cm-s-zenburn span.cm-builtin { color: #dcdccc; font-weight: bold; }
16
+ .cm-s-zenburn span.cm-comment { color: #7f9f7f; }
17
+ .cm-s-zenburn span.cm-keyword { color: #f0dfaf; font-weight: bold; }
18
+ .cm-s-zenburn span.cm-atom { color: #bfebbf; }
19
+ .cm-s-zenburn span.cm-def { color: #dcdccc; }
20
+ .cm-s-zenburn span.cm-variable { color: #dfaf8f; }
21
+ .cm-s-zenburn span.cm-variable-2 { color: #dcdccc; }
22
+ .cm-s-zenburn span.cm-string { color: #cc9393; }
23
+ .cm-s-zenburn span.cm-string-2 { color: #cc9393; }
24
+ .cm-s-zenburn span.cm-number { color: #dcdccc; }
25
+ .cm-s-zenburn span.cm-tag { color: #93e0e3; }
26
+ .cm-s-zenburn span.cm-property { color: #dfaf8f; }
27
+ .cm-s-zenburn span.cm-attribute { color: #dfaf8f; }
28
+ .cm-s-zenburn span.cm-qualifier { color: #7cb8bb; }
29
+ .cm-s-zenburn span.cm-meta { color: #f0dfaf; }
30
+ .cm-s-zenburn span.cm-header { color: #f0efd0; }
31
+ .cm-s-zenburn span.cm-operator { color: #f0efd0; }
32
+ .cm-s-zenburn span.CodeMirror-matchingbracket { box-sizing: border-box; background: transparent; border-bottom: 1px solid; }
33
+ .cm-s-zenburn span.CodeMirror-nonmatchingbracket { border-bottom: 1px solid; background: none; }
34
+ .cm-s-zenburn .CodeMirror-activeline { background: #000000; }
35
+ .cm-s-zenburn .CodeMirror-activeline-background { background: #000000; }
36
+ .cm-s-zenburn div.CodeMirror-selected { background: #545454; }
37
+ .cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected { background: #4f4f4f; }