diff --git a/app/assets/images/module_icon.png b/app/assets/images/module_icon.png new file mode 100644 index 000000000..23b980d59 Binary files /dev/null and b/app/assets/images/module_icon.png differ diff --git a/app/assets/images/module_icon@2X.png b/app/assets/images/module_icon@2X.png new file mode 100644 index 000000000..616dadffb Binary files /dev/null and b/app/assets/images/module_icon@2X.png differ diff --git a/app/assets/stylesheets/lib/codemirror/theme/midnight.css b/app/assets/stylesheets/lib/codemirror/theme/midnight.css new file mode 100644 index 000000000..e567625c6 --- /dev/null +++ b/app/assets/stylesheets/lib/codemirror/theme/midnight.css @@ -0,0 +1,52 @@ +/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */ + +/**/ +.breakpoints {width: .8em;} +.breakpoint { color: #822; } + +/**/ +span.CodeMirror-matchhighlight { background: #494949 } +.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67; !important } + +/**/ +.activeline {background: #253540 !important;} + +.cm-s-midnight.CodeMirror { + background: #0F192A; + color: #D1EDFF; +} + +.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;} + +.cm-s-midnight div.CodeMirror-selected {background: #314D67 !important;} +.cm-s-midnight .CodeMirror-gutters {background: #0F192A; border-right: 1px solid;} +.cm-s-midnight .CodeMirror-linenumber {color: #D0D0D0;} +.cm-s-midnight .CodeMirror-cursor { + border-left: 1px solid #F8F8F0 !important; +} + +.cm-s-midnight span.cm-comment {color: #428BDD;} +.cm-s-midnight span.cm-atom {color: #AE81FF;} +.cm-s-midnight span.cm-number {color: #D1EDFF;} + +.cm-s-midnight span.cm-property, .cm-s-tropicaleve span.cm-attribute {color: #A6E22E;} +.cm-s-midnight span.cm-keyword {color: #E83737;} +.cm-s-midnight span.cm-string {color: #1DC116;} + +.cm-s-midnight span.cm-variable {color: #FFAA3E;} +.cm-s-midnight span.cm-variable-2 {color: #FFAA3E;} +.cm-s-midnight span.cm-def {color: #4DD;} +.cm-s-midnight span.cm-error {background: #F92672; color: #F8F8F0;} +.cm-s-midnight span.cm-bracket {color: #D1EDFF;} +.cm-s-midnight span.cm-tag {color: #008;} +.cm-s-midnight span.cm-link {color: #AE81FF;} + +.cm-s-midnight .CodeMirror-matchingbracket { + text-decoration: underline; + color: white !important; +} + +.typ { color: #FFAA3E; } +.atn { color: #606; } +.atv { color: #080; } +.dec { color: #606; } diff --git a/app/assets/stylesheets/lib/codemirror/theme/theme.css b/app/assets/stylesheets/lib/codemirror/theme/theme.css index 26ffb846f..d1162b50a 100644 --- a/app/assets/stylesheets/lib/codemirror/theme/theme.css +++ b/app/assets/stylesheets/lib/codemirror/theme/theme.css @@ -1,21 +1,23 @@ -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/ambiance-mobile.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/ambiance.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/blackboard.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/cobalt.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/eclipse.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/elegant.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/erlang-dark.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/midnight.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/monokai.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/neat.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/night.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/rubyblue.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/solarized.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/theme.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/twilight.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/vibrant-ink.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/xq-dark.css); -@import url(/orbit_4.0.1/assets/stylesheets/lib/codemirror/theme/xq-light.css); +/* + *= require 'lib/codemirror/theme/ambiance-mobile' + *= require "lib/codemirror/theme/ambiance" + *= require "lib/codemirror/theme/blackboard" + *= require "lib/codemirror/theme/cobalt" + *= require "lib/codemirror/theme/eclipse" + *= require "lib/codemirror/theme/elegant" + *= require "lib/codemirror/theme/erlang-dark" + *= require "lib/codemirror/theme/midnight" + *= require "lib/codemirror/theme/monokai" + *= require "lib/codemirror/theme/neat" + *= require "lib/codemirror/theme/night" + *= require "lib/codemirror/theme/rubyblue" + *= require "lib/codemirror/theme/solarized" + *= require "lib/codemirror/theme/theme" + *= require "lib/codemirror/theme/twilight" + *= require "lib/codemirror/theme/vibrant-ink" + *= require "lib/codemirror/theme/xq-dark" + *= require "lib/codemirror/theme/xq-light" +*/ .cm-tab { border-left: 1px solid rgba(200, 200, 200, .2); } \ No newline at end of file diff --git a/app/views/admin/designs/_design.html.erb b/app/views/admin/designs/_design.html.erb index 82a37c1a6..24c99b41f 100644 --- a/app/views/admin/designs/_design.html.erb +++ b/app/views/admin/designs/_design.html.erb @@ -9,7 +9,7 @@ -