locomotivecms 4.1.1 → 4.2.0.alpha1

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 +25 -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,32 @@
1
+ .CodeMirror-dialog {
2
+ position: absolute;
3
+ left: 0; right: 0;
4
+ background: inherit;
5
+ z-index: 15;
6
+ padding: .1em .8em;
7
+ overflow: hidden;
8
+ color: inherit;
9
+ }
10
+
11
+ .CodeMirror-dialog-top {
12
+ border-bottom: 1px solid #eee;
13
+ top: 0;
14
+ }
15
+
16
+ .CodeMirror-dialog-bottom {
17
+ border-top: 1px solid #eee;
18
+ bottom: 0;
19
+ }
20
+
21
+ .CodeMirror-dialog input {
22
+ border: none;
23
+ outline: none;
24
+ background: transparent;
25
+ width: 20em;
26
+ color: inherit;
27
+ font-family: monospace;
28
+ }
29
+
30
+ .CodeMirror-dialog button {
31
+ font-size: 70%;
32
+ }
@@ -0,0 +1,6 @@
1
+ .CodeMirror-fullscreen {
2
+ position: fixed;
3
+ top: 0; left: 0; right: 0; bottom: 0;
4
+ height: auto;
5
+ z-index: 9;
6
+ }
@@ -0,0 +1,20 @@
1
+ .CodeMirror-foldmarker {
2
+ color: blue;
3
+ text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
4
+ font-family: arial;
5
+ line-height: .3;
6
+ cursor: pointer;
7
+ }
8
+ .CodeMirror-foldgutter {
9
+ width: .7em;
10
+ }
11
+ .CodeMirror-foldgutter-open,
12
+ .CodeMirror-foldgutter-folded {
13
+ cursor: pointer;
14
+ }
15
+ .CodeMirror-foldgutter-open:after {
16
+ content: "\25BE";
17
+ }
18
+ .CodeMirror-foldgutter-folded:after {
19
+ content: "\25B8";
20
+ }
@@ -0,0 +1,37 @@
1
+ .CodeMirror-hints {
2
+ position: absolute;
3
+ z-index: 10;
4
+ overflow: hidden;
5
+ list-style: none;
6
+
7
+ margin: 0;
8
+ padding: 2px;
9
+
10
+ -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
11
+ -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
12
+ box-shadow: 2px 3px 5px rgba(0,0,0,.2);
13
+ border-radius: 3px;
14
+ border: 1px solid silver;
15
+
16
+ background: white;
17
+ font-size: 90%;
18
+ font-family: monospace;
19
+ max-width: 19em;
20
+
21
+ max-height: 20em;
22
+ overflow-y: auto;
23
+ }
24
+
25
+ .CodeMirror-hint {
26
+ margin: 0;
27
+ padding: 0 4px;
28
+ border-radius: 2px;
29
+ white-space: pre;
30
+ color: black;
31
+ cursor: pointer;
32
+ }
33
+
34
+ li.CodeMirror-hint-active {
35
+ background: #08f;
36
+ color: white;
37
+ }
@@ -0,0 +1,73 @@
1
+ /* The lint marker gutter */
2
+ .CodeMirror-lint-markers {
3
+ width: 16px;
4
+ }
5
+
6
+ .CodeMirror-lint-tooltip {
7
+ background-color: #ffd;
8
+ border: 1px solid black;
9
+ border-radius: 4px 4px 4px 4px;
10
+ color: black;
11
+ font-family: monospace;
12
+ font-size: 10pt;
13
+ overflow: hidden;
14
+ padding: 2px 5px;
15
+ position: fixed;
16
+ white-space: pre;
17
+ white-space: pre-wrap;
18
+ z-index: 100;
19
+ max-width: 600px;
20
+ opacity: 0;
21
+ transition: opacity .4s;
22
+ -moz-transition: opacity .4s;
23
+ -webkit-transition: opacity .4s;
24
+ -o-transition: opacity .4s;
25
+ -ms-transition: opacity .4s;
26
+ }
27
+
28
+ .CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
29
+ background-position: left bottom;
30
+ background-repeat: repeat-x;
31
+ }
32
+
33
+ .CodeMirror-lint-mark-error {
34
+ background-image:
35
+ url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")
36
+ ;
37
+ }
38
+
39
+ .CodeMirror-lint-mark-warning {
40
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
41
+ }
42
+
43
+ .CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
44
+ background-position: center center;
45
+ background-repeat: no-repeat;
46
+ cursor: pointer;
47
+ display: inline-block;
48
+ height: 16px;
49
+ width: 16px;
50
+ vertical-align: middle;
51
+ position: relative;
52
+ }
53
+
54
+ .CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
55
+ padding-left: 18px;
56
+ background-position: top left;
57
+ background-repeat: no-repeat;
58
+ }
59
+
60
+ .CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
61
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
62
+ }
63
+
64
+ .CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
65
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
66
+ }
67
+
68
+ .CodeMirror-lint-marker-multiple {
69
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
70
+ background-repeat: no-repeat;
71
+ background-position: right bottom;
72
+ width: 100%; height: 100%;
73
+ }
@@ -0,0 +1,113 @@
1
+ .CodeMirror-merge {
2
+ position: relative;
3
+ border: 1px solid #ddd;
4
+ white-space: pre;
5
+ }
6
+
7
+ .CodeMirror-merge, .CodeMirror-merge .CodeMirror {
8
+ height: 350px;
9
+ }
10
+
11
+ .CodeMirror-merge-2pane .CodeMirror-merge-pane { width: 47%; }
12
+ .CodeMirror-merge-2pane .CodeMirror-merge-gap { width: 6%; }
13
+ .CodeMirror-merge-3pane .CodeMirror-merge-pane { width: 31%; }
14
+ .CodeMirror-merge-3pane .CodeMirror-merge-gap { width: 3.5%; }
15
+
16
+ .CodeMirror-merge-pane {
17
+ display: inline-block;
18
+ white-space: normal;
19
+ vertical-align: top;
20
+ }
21
+ .CodeMirror-merge-pane-rightmost {
22
+ position: absolute;
23
+ right: 0px;
24
+ z-index: 1;
25
+ }
26
+
27
+ .CodeMirror-merge-gap {
28
+ z-index: 2;
29
+ display: inline-block;
30
+ height: 100%;
31
+ -moz-box-sizing: border-box;
32
+ box-sizing: border-box;
33
+ overflow: hidden;
34
+ border-left: 1px solid #ddd;
35
+ border-right: 1px solid #ddd;
36
+ position: relative;
37
+ background: #f8f8f8;
38
+ }
39
+
40
+ .CodeMirror-merge-scrolllock-wrap {
41
+ position: absolute;
42
+ bottom: 0; left: 50%;
43
+ }
44
+ .CodeMirror-merge-scrolllock {
45
+ position: relative;
46
+ left: -50%;
47
+ cursor: pointer;
48
+ color: #555;
49
+ line-height: 1;
50
+ }
51
+
52
+ .CodeMirror-merge-copybuttons-left, .CodeMirror-merge-copybuttons-right {
53
+ position: absolute;
54
+ left: 0; top: 0;
55
+ right: 0; bottom: 0;
56
+ line-height: 1;
57
+ }
58
+
59
+ .CodeMirror-merge-copy {
60
+ position: absolute;
61
+ cursor: pointer;
62
+ color: #44c;
63
+ z-index: 3;
64
+ }
65
+
66
+ .CodeMirror-merge-copy-reverse {
67
+ position: absolute;
68
+ cursor: pointer;
69
+ color: #44c;
70
+ }
71
+
72
+ .CodeMirror-merge-copybuttons-left .CodeMirror-merge-copy { left: 2px; }
73
+ .CodeMirror-merge-copybuttons-right .CodeMirror-merge-copy { right: 2px; }
74
+
75
+ .CodeMirror-merge-r-inserted, .CodeMirror-merge-l-inserted {
76
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12MwuCXy3+CWyH8GBgYGJgYkAABZbAQ9ELXurwAAAABJRU5ErkJggg==);
77
+ background-position: bottom left;
78
+ background-repeat: repeat-x;
79
+ }
80
+
81
+ .CodeMirror-merge-r-deleted, .CodeMirror-merge-l-deleted {
82
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12M4Kyb2/6yY2H8GBgYGJgYkAABURgPz6Ks7wQAAAABJRU5ErkJggg==);
83
+ background-position: bottom left;
84
+ background-repeat: repeat-x;
85
+ }
86
+
87
+ .CodeMirror-merge-r-chunk { background: #ffffe0; }
88
+ .CodeMirror-merge-r-chunk-start { border-top: 1px solid #ee8; }
89
+ .CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #ee8; }
90
+ .CodeMirror-merge-r-connect { fill: #ffffe0; stroke: #ee8; stroke-width: 1px; }
91
+
92
+ .CodeMirror-merge-l-chunk { background: #eef; }
93
+ .CodeMirror-merge-l-chunk-start { border-top: 1px solid #88e; }
94
+ .CodeMirror-merge-l-chunk-end { border-bottom: 1px solid #88e; }
95
+ .CodeMirror-merge-l-connect { fill: #eef; stroke: #88e; stroke-width: 1px; }
96
+
97
+ .CodeMirror-merge-l-chunk.CodeMirror-merge-r-chunk { background: #dfd; }
98
+ .CodeMirror-merge-l-chunk-start.CodeMirror-merge-r-chunk-start { border-top: 1px solid #4e4; }
99
+ .CodeMirror-merge-l-chunk-end.CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #4e4; }
100
+
101
+ .CodeMirror-merge-collapsed-widget:before {
102
+ content: "(...)";
103
+ }
104
+ .CodeMirror-merge-collapsed-widget {
105
+ cursor: pointer;
106
+ color: #88b;
107
+ background: #eef;
108
+ border: 1px solid #ddf;
109
+ font-size: 90%;
110
+ padding: 0 3px;
111
+ border-radius: 4px;
112
+ }
113
+ .CodeMirror-merge-collapsed-line .CodeMirror-gutter-elt { display: none; }
@@ -0,0 +1,66 @@
1
+ .CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div {
2
+ position: absolute;
3
+ background: #ccc;
4
+ -moz-box-sizing: border-box;
5
+ box-sizing: border-box;
6
+ border: 1px solid #bbb;
7
+ border-radius: 2px;
8
+ }
9
+
10
+ .CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical {
11
+ position: absolute;
12
+ z-index: 6;
13
+ background: #eee;
14
+ }
15
+
16
+ .CodeMirror-simplescroll-horizontal {
17
+ bottom: 0; left: 0;
18
+ height: 8px;
19
+ }
20
+ .CodeMirror-simplescroll-horizontal div {
21
+ bottom: 0;
22
+ height: 100%;
23
+ }
24
+
25
+ .CodeMirror-simplescroll-vertical {
26
+ right: 0; top: 0;
27
+ width: 8px;
28
+ }
29
+ .CodeMirror-simplescroll-vertical div {
30
+ right: 0;
31
+ width: 100%;
32
+ }
33
+
34
+
35
+ .CodeMirror-overlayscroll .CodeMirror-scrollbar-filler, .CodeMirror-overlayscroll .CodeMirror-gutter-filler {
36
+ display: none;
37
+ }
38
+
39
+ .CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div {
40
+ position: absolute;
41
+ background: #bcd;
42
+ border-radius: 3px;
43
+ }
44
+
45
+ .CodeMirror-overlayscroll-horizontal, .CodeMirror-overlayscroll-vertical {
46
+ position: absolute;
47
+ z-index: 6;
48
+ }
49
+
50
+ .CodeMirror-overlayscroll-horizontal {
51
+ bottom: 0; left: 0;
52
+ height: 6px;
53
+ }
54
+ .CodeMirror-overlayscroll-horizontal div {
55
+ bottom: 0;
56
+ height: 100%;
57
+ }
58
+
59
+ .CodeMirror-overlayscroll-vertical {
60
+ right: 0; top: 0;
61
+ width: 6px;
62
+ }
63
+ .CodeMirror-overlayscroll-vertical div {
64
+ right: 0;
65
+ width: 100%;
66
+ }
@@ -0,0 +1,8 @@
1
+ .CodeMirror-search-match {
2
+ background: gold;
3
+ border-top: 1px solid orange;
4
+ border-bottom: 1px solid orange;
5
+ -moz-box-sizing: border-box;
6
+ box-sizing: border-box;
7
+ opacity: .5;
8
+ }
@@ -0,0 +1,87 @@
1
+ .CodeMirror-Tern-completion {
2
+ padding-left: 22px;
3
+ position: relative;
4
+ line-height: 1.5;
5
+ }
6
+ .CodeMirror-Tern-completion:before {
7
+ position: absolute;
8
+ left: 2px;
9
+ bottom: 2px;
10
+ border-radius: 50%;
11
+ font-size: 12px;
12
+ font-weight: bold;
13
+ height: 15px;
14
+ width: 15px;
15
+ line-height: 16px;
16
+ text-align: center;
17
+ color: white;
18
+ -moz-box-sizing: border-box;
19
+ box-sizing: border-box;
20
+ }
21
+ .CodeMirror-Tern-completion-unknown:before {
22
+ content: "?";
23
+ background: #4bb;
24
+ }
25
+ .CodeMirror-Tern-completion-object:before {
26
+ content: "O";
27
+ background: #77c;
28
+ }
29
+ .CodeMirror-Tern-completion-fn:before {
30
+ content: "F";
31
+ background: #7c7;
32
+ }
33
+ .CodeMirror-Tern-completion-array:before {
34
+ content: "A";
35
+ background: #c66;
36
+ }
37
+ .CodeMirror-Tern-completion-number:before {
38
+ content: "1";
39
+ background: #999;
40
+ }
41
+ .CodeMirror-Tern-completion-string:before {
42
+ content: "S";
43
+ background: #999;
44
+ }
45
+ .CodeMirror-Tern-completion-bool:before {
46
+ content: "B";
47
+ background: #999;
48
+ }
49
+
50
+ .CodeMirror-Tern-completion-guess {
51
+ color: #999;
52
+ }
53
+
54
+ .CodeMirror-Tern-tooltip {
55
+ border: 1px solid silver;
56
+ border-radius: 3px;
57
+ color: #444;
58
+ padding: 2px 5px;
59
+ font-size: 90%;
60
+ font-family: monospace;
61
+ background-color: white;
62
+ white-space: pre-wrap;
63
+
64
+ max-width: 40em;
65
+ position: absolute;
66
+ z-index: 10;
67
+ -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
68
+ -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
69
+ box-shadow: 2px 3px 5px rgba(0,0,0,.2);
70
+
71
+ transition: opacity 1s;
72
+ -moz-transition: opacity 1s;
73
+ -webkit-transition: opacity 1s;
74
+ -o-transition: opacity 1s;
75
+ -ms-transition: opacity 1s;
76
+ }
77
+
78
+ .CodeMirror-Tern-hint-doc {
79
+ max-width: 25em;
80
+ margin-top: -3px;
81
+ }
82
+
83
+ .CodeMirror-Tern-fname { color: black; }
84
+ .CodeMirror-Tern-farg { color: #70a; }
85
+ .CodeMirror-Tern-farg-current { text-decoration: underline; }
86
+ .CodeMirror-Tern-type { color: #07c; }
87
+ .CodeMirror-Tern-fhint-guess { opacity: .7; }
@@ -0,0 +1,14 @@
1
+ span.cm-underlined {
2
+ text-decoration: underline;
3
+ }
4
+ span.cm-strikethrough {
5
+ text-decoration: line-through;
6
+ }
7
+ span.cm-brace {
8
+ color: #170;
9
+ font-weight: bold;
10
+ }
11
+ span.cm-table {
12
+ color: blue;
13
+ font-weight: bold;
14
+ }
@@ -0,0 +1,26 @@
1
+ .cm-tw-syntaxerror {
2
+ color: #FFF;
3
+ background-color: #900;
4
+ }
5
+
6
+ .cm-tw-deleted {
7
+ text-decoration: line-through;
8
+ }
9
+
10
+ .cm-tw-header5 {
11
+ font-weight: bold;
12
+ }
13
+ .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/
14
+ padding-left: 10px;
15
+ }
16
+
17
+ .cm-tw-box {
18
+ border-top-width: 0px !important;
19
+ border-style: solid;
20
+ border-width: 1px;
21
+ border-color: inherit;
22
+ }
23
+
24
+ .cm-tw-underline {
25
+ text-decoration: underline;
26
+ }
@@ -0,0 +1,41 @@
1
+ /*
2
+
3
+ Name: 3024 day
4
+ Author: Jan T. Sott (http://github.com/idleberg)
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-3024-day.CodeMirror { background: #f7f7f7; color: #3a3432; }
12
+ .cm-s-3024-day div.CodeMirror-selected { background: #d6d5d4; }
13
+
14
+ .cm-s-3024-day .CodeMirror-line::selection, .cm-s-3024-day .CodeMirror-line > span::selection, .cm-s-3024-day .CodeMirror-line > span > span::selection { background: #d6d5d4; }
15
+ .cm-s-3024-day .CodeMirror-line::-moz-selection, .cm-s-3024-day .CodeMirror-line > span::-moz-selection, .cm-s-3024-day .CodeMirror-line > span > span::selection { background: #d9d9d9; }
16
+
17
+ .cm-s-3024-day .CodeMirror-gutters { background: #f7f7f7; border-right: 0px; }
18
+ .cm-s-3024-day .CodeMirror-guttermarker { color: #db2d20; }
19
+ .cm-s-3024-day .CodeMirror-guttermarker-subtle { color: #807d7c; }
20
+ .cm-s-3024-day .CodeMirror-linenumber { color: #807d7c; }
21
+
22
+ .cm-s-3024-day .CodeMirror-cursor { border-left: 1px solid #5c5855; }
23
+
24
+ .cm-s-3024-day span.cm-comment { color: #cdab53; }
25
+ .cm-s-3024-day span.cm-atom { color: #a16a94; }
26
+ .cm-s-3024-day span.cm-number { color: #a16a94; }
27
+
28
+ .cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute { color: #01a252; }
29
+ .cm-s-3024-day span.cm-keyword { color: #db2d20; }
30
+ .cm-s-3024-day span.cm-string { color: #fded02; }
31
+
32
+ .cm-s-3024-day span.cm-variable { color: #01a252; }
33
+ .cm-s-3024-day span.cm-variable-2 { color: #01a0e4; }
34
+ .cm-s-3024-day span.cm-def { color: #e8bbd0; }
35
+ .cm-s-3024-day span.cm-bracket { color: #3a3432; }
36
+ .cm-s-3024-day span.cm-tag { color: #db2d20; }
37
+ .cm-s-3024-day span.cm-link { color: #a16a94; }
38
+ .cm-s-3024-day span.cm-error { background: #db2d20; color: #5c5855; }
39
+
40
+ .cm-s-3024-day .CodeMirror-activeline-background { background: #e8f2ff; }
41
+ .cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: #a16a94 !important; }
@@ -0,0 +1,39 @@
1
+ /*
2
+
3
+ Name: 3024 night
4
+ Author: Jan T. Sott (http://github.com/idleberg)
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-3024-night.CodeMirror { background: #090300; color: #d6d5d4; }
12
+ .cm-s-3024-night div.CodeMirror-selected { background: #3a3432; }
13
+ .cm-s-3024-night .CodeMirror-line::selection, .cm-s-3024-night .CodeMirror-line > span::selection, .cm-s-3024-night .CodeMirror-line > span > span::selection { background: rgba(58, 52, 50, .99); }
14
+ .cm-s-3024-night .CodeMirror-line::-moz-selection, .cm-s-3024-night .CodeMirror-line > span::-moz-selection, .cm-s-3024-night .CodeMirror-line > span > span::-moz-selection { background: rgba(58, 52, 50, .99); }
15
+ .cm-s-3024-night .CodeMirror-gutters { background: #090300; border-right: 0px; }
16
+ .cm-s-3024-night .CodeMirror-guttermarker { color: #db2d20; }
17
+ .cm-s-3024-night .CodeMirror-guttermarker-subtle { color: #5c5855; }
18
+ .cm-s-3024-night .CodeMirror-linenumber { color: #5c5855; }
19
+
20
+ .cm-s-3024-night .CodeMirror-cursor { border-left: 1px solid #807d7c; }
21
+
22
+ .cm-s-3024-night span.cm-comment { color: #cdab53; }
23
+ .cm-s-3024-night span.cm-atom { color: #a16a94; }
24
+ .cm-s-3024-night span.cm-number { color: #a16a94; }
25
+
26
+ .cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute { color: #01a252; }
27
+ .cm-s-3024-night span.cm-keyword { color: #db2d20; }
28
+ .cm-s-3024-night span.cm-string { color: #fded02; }
29
+
30
+ .cm-s-3024-night span.cm-variable { color: #01a252; }
31
+ .cm-s-3024-night span.cm-variable-2 { color: #01a0e4; }
32
+ .cm-s-3024-night span.cm-def { color: #e8bbd0; }
33
+ .cm-s-3024-night span.cm-bracket { color: #d6d5d4; }
34
+ .cm-s-3024-night span.cm-tag { color: #db2d20; }
35
+ .cm-s-3024-night span.cm-link { color: #a16a94; }
36
+ .cm-s-3024-night span.cm-error { background: #db2d20; color: #807d7c; }
37
+
38
+ .cm-s-3024-night .CodeMirror-activeline-background { background: #2F2F2F; }
39
+ .cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }
@@ -0,0 +1,32 @@
1
+ .cm-s-abcdef.CodeMirror { background: #0f0f0f; color: #defdef; }
2
+ .cm-s-abcdef div.CodeMirror-selected { background: #515151; }
3
+ .cm-s-abcdef .CodeMirror-line::selection, .cm-s-abcdef .CodeMirror-line > span::selection, .cm-s-abcdef .CodeMirror-line > span > span::selection { background: rgba(56, 56, 56, 0.99); }
4
+ .cm-s-abcdef .CodeMirror-line::-moz-selection, .cm-s-abcdef .CodeMirror-line > span::-moz-selection, .cm-s-abcdef .CodeMirror-line > span > span::-moz-selection { background: rgba(56, 56, 56, 0.99); }
5
+ .cm-s-abcdef .CodeMirror-gutters { background: #555; border-right: 2px solid #314151; }
6
+ .cm-s-abcdef .CodeMirror-guttermarker { color: #222; }
7
+ .cm-s-abcdef .CodeMirror-guttermarker-subtle { color: azure; }
8
+ .cm-s-abcdef .CodeMirror-linenumber { color: #FFFFFF; }
9
+ .cm-s-abcdef .CodeMirror-cursor { border-left: 1px solid #00FF00; }
10
+
11
+ .cm-s-abcdef span.cm-keyword { color: darkgoldenrod; font-weight: bold; }
12
+ .cm-s-abcdef span.cm-atom { color: #77F; }
13
+ .cm-s-abcdef span.cm-number { color: violet; }
14
+ .cm-s-abcdef span.cm-def { color: #fffabc; }
15
+ .cm-s-abcdef span.cm-variable { color: #abcdef; }
16
+ .cm-s-abcdef span.cm-variable-2 { color: #cacbcc; }
17
+ .cm-s-abcdef span.cm-variable-3 { color: #def; }
18
+ .cm-s-abcdef span.cm-property { color: #fedcba; }
19
+ .cm-s-abcdef span.cm-operator { color: #ff0; }
20
+ .cm-s-abcdef span.cm-comment { color: #7a7b7c; font-style: italic;}
21
+ .cm-s-abcdef span.cm-string { color: #2b4; }
22
+ .cm-s-abcdef span.cm-meta { color: #C9F; }
23
+ .cm-s-abcdef span.cm-qualifier { color: #FFF700; }
24
+ .cm-s-abcdef span.cm-builtin { color: #30aabc; }
25
+ .cm-s-abcdef span.cm-bracket { color: #8a8a8a; }
26
+ .cm-s-abcdef span.cm-tag { color: #FFDD44; }
27
+ .cm-s-abcdef span.cm-attribute { color: #DDFF00; }
28
+ .cm-s-abcdef span.cm-error { color: #FF0000; }
29
+ .cm-s-abcdef span.cm-header { color: aquamarine; font-weight: bold; }
30
+ .cm-s-abcdef span.cm-link { color: blueviolet; }
31
+
32
+ .cm-s-abcdef .CodeMirror-activeline-background { background: #314151; }
@@ -0,0 +1,5 @@
1
+ .cm-s-ambiance.CodeMirror {
2
+ -webkit-box-shadow: none;
3
+ -moz-box-shadow: none;
4
+ box-shadow: none;
5
+ }