active_admin_pro 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +20 -0
- data/README.md +5 -0
- data/Rakefile +34 -0
- data/app/assets/javascripts/active_admin_pro.js +41 -0
- data/app/assets/javascripts/active_admin_pro/actions/new.js +8 -0
- data/app/assets/javascripts/active_admin_pro/actions/show.js +12 -0
- data/app/assets/javascripts/active_admin_pro/components/codemirror_input.js +92 -0
- data/app/assets/javascripts/active_admin_pro/components/flashes.js +9 -0
- data/app/assets/javascripts/active_admin_pro/components/link.js +23 -0
- data/app/assets/javascripts/active_admin_pro/components/phone_input.js +52 -0
- data/app/assets/javascripts/active_admin_pro/components/select_input.js +31 -0
- data/app/assets/javascripts/active_admin_pro/components/sortable_handle.js +8 -0
- data/app/assets/javascripts/active_admin_pro/components/summernote_input.js +132 -0
- data/app/assets/javascripts/active_admin_pro/components/text_input.js +47 -0
- data/app/assets/javascripts/active_admin_pro/components/time_zone_input.js +51 -0
- data/app/assets/javascripts/active_admin_pro/components/title_to_slug.js +16 -0
- data/app/assets/stylesheets/active_admin_pro.scss +20 -0
- data/app/assets/stylesheets/active_admin_pro/breakpoints.scss +3 -0
- data/app/assets/stylesheets/active_admin_pro/components/_input_variables.scss +9 -0
- data/app/assets/stylesheets/active_admin_pro/components/actions.scss +13 -0
- data/app/assets/stylesheets/active_admin_pro/components/boolean_input.scss +13 -0
- data/app/assets/stylesheets/active_admin_pro/components/button.scss +7 -0
- data/app/assets/stylesheets/active_admin_pro/components/check_boxes_input.scss +38 -0
- data/app/assets/stylesheets/active_admin_pro/components/codemirror_input.scss +53 -0
- data/app/assets/stylesheets/active_admin_pro/components/comments.scss +17 -0
- data/app/assets/stylesheets/active_admin_pro/components/datepicker.scss +108 -0
- data/app/assets/stylesheets/active_admin_pro/components/dialog.scss +66 -0
- data/app/assets/stylesheets/active_admin_pro/components/dropdown_menu_button.scss +40 -0
- data/app/assets/stylesheets/active_admin_pro/components/fieldset.scss +26 -0
- data/app/assets/stylesheets/active_admin_pro/components/file_input.scss +27 -0
- data/app/assets/stylesheets/active_admin_pro/components/has_many_fields.scss +4 -0
- data/app/assets/stylesheets/active_admin_pro/components/inline_errors.scss +7 -0
- data/app/assets/stylesheets/active_admin_pro/components/link.scss +16 -0
- data/app/assets/stylesheets/active_admin_pro/components/panel.scss +62 -0
- data/app/assets/stylesheets/active_admin_pro/components/phone_input.scss +31 -0
- data/app/assets/stylesheets/active_admin_pro/components/radio_input.scss +38 -0
- data/app/assets/stylesheets/active_admin_pro/components/segmented_control.scss +41 -0
- data/app/assets/stylesheets/active_admin_pro/components/select_input.scss +42 -0
- data/app/assets/stylesheets/active_admin_pro/components/sortable_handle.scss +21 -0
- data/app/assets/stylesheets/active_admin_pro/components/string_input.scss +85 -0
- data/app/assets/stylesheets/active_admin_pro/components/summernote_input.scss +190 -0
- data/app/assets/stylesheets/active_admin_pro/components/table.scss +100 -0
- data/app/assets/stylesheets/active_admin_pro/components/text_input.scss +55 -0
- data/app/assets/stylesheets/active_admin_pro/functions/color.scss +130 -0
- data/app/assets/stylesheets/active_admin_pro/functions/text-color.scss +35 -0
- data/app/assets/stylesheets/active_admin_pro/layout/actions/comments.scss +14 -0
- data/app/assets/stylesheets/active_admin_pro/layout/actions/index.scss +88 -0
- data/app/assets/stylesheets/active_admin_pro/layout/actions/show.scss +25 -0
- data/app/assets/stylesheets/active_admin_pro/layout/body.scss +60 -0
- data/app/assets/stylesheets/active_admin_pro/layout/desktop/action_items.scss +32 -0
- data/app/assets/stylesheets/active_admin_pro/layout/desktop/actions/comments.scss +10 -0
- data/app/assets/stylesheets/active_admin_pro/layout/desktop/active_admin_content.scss +22 -0
- data/app/assets/stylesheets/active_admin_pro/layout/desktop/breadcrumbs.scss +57 -0
- data/app/assets/stylesheets/active_admin_pro/layout/desktop/navigation.scss +197 -0
- data/app/assets/stylesheets/active_admin_pro/layout/desktop/sidebar.scss +5 -0
- data/app/assets/stylesheets/active_admin_pro/layout/desktop/title_bar.scss +24 -0
- data/app/assets/stylesheets/active_admin_pro/layout/desktop/wrapper.scss +5 -0
- data/app/assets/stylesheets/active_admin_pro/layout/filters.scss +41 -0
- data/app/assets/stylesheets/active_admin_pro/layout/flashes.scss +52 -0
- data/app/assets/stylesheets/active_admin_pro/layout/footer.scss +3 -0
- data/app/assets/stylesheets/active_admin_pro/layout/mobile/actions/index.scss +7 -0
- data/app/assets/stylesheets/active_admin_pro/layout/tablet/actions/dashboard.scss +105 -0
- data/app/assets/stylesheets/active_admin_pro/layout/tablet/actions/index.scss +20 -0
- data/app/assets/stylesheets/active_admin_pro/layout/tablet/actions/show.scss +78 -0
- data/app/assets/stylesheets/active_admin_pro/layout/tablet/active_admin_content.scss +9 -0
- data/app/assets/stylesheets/active_admin_pro/layout/tablet/flashes.scss +5 -0
- data/app/assets/stylesheets/active_admin_pro/layout/tablet/navigation.scss +48 -0
- data/app/assets/stylesheets/active_admin_pro/layout/tablet/title_bar.scss +53 -0
- data/app/assets/stylesheets/active_admin_pro/mixins/button.scss +48 -0
- data/app/assets/stylesheets/active_admin_pro/variables.scss +10 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon.scss +87 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_border-color.scss +26 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_border-radius.scss +48 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_border-style.scss +25 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_border-width.scss +25 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_buttons.scss +64 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_clearfix.scss +25 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_ellipsis.scss +30 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_font-stacks.scss +31 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_hide-text.scss +27 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_margin.scss +26 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_padding.scss +26 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_position.scss +48 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_prefixer.scss +66 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_retina-image.scss +25 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_size.scss +51 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_text-inputs.scss +113 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_timing-functions.scss +34 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_triangle.scss +63 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/addons/_word-wrap.scss +29 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_animation.scss +43 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_appearance.scss +3 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_backface-visibility.scss +3 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_background-image.scss +42 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_background.scss +55 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_border-image.scss +59 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_calc.scss +4 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_columns.scss +47 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_filter.scss +4 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_flex-box.scss +287 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_font-face.scss +24 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_font-feature-settings.scss +4 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_hyphens.scss +4 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_image-rendering.scss +14 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_keyframes.scss +36 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_linear-gradient.scss +38 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_perspective.scss +8 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_placeholder.scss +8 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_radial-gradient.scss +39 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_selection.scss +42 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_text-decoration.scss +19 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_transform.scss +15 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_transition.scss +71 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/css3/_user-select.scss +3 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_assign-inputs.scss +11 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_contains-falsy.scss +20 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_contains.scss +26 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_is-length.scss +11 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_is-light.scss +21 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_is-number.scss +11 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_is-size.scss +13 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_modular-scale.scss +69 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_px-to-em.scss +13 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_px-to-rem.scss +15 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_shade.scss +24 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_strip-units.scss +17 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_tint.scss +24 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_transition-property-name.scss +22 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/functions/_unpack.scss +27 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_convert-units.scss +21 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_directional-values.scss +96 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_font-source-declaration.scss +43 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_linear-angle-parser.scss +25 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_linear-gradient-parser.scss +41 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-gradient-parser.scss +50 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_render-gradients.scss +26 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_str-to-num.scss +50 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/settings/_asset-pipeline.scss +7 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/settings/_prefixer.scss +9 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/bourbon/settings/_px-to-em.scss +1 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat.scss +22 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/_neat-helpers.scss +8 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/functions/_new-breakpoint.scss +49 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/functions/_private.scss +108 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_box-sizing.scss +11 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_direction-context.scss +31 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_display-context.scss +26 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_fill-parent.scss +22 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_media.scss +92 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_omega.scss +91 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_outer-container.scss +36 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_pad.scss +23 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_private.scss +35 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_row.scss +53 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_shift.scss +48 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_span-columns.scss +90 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_to-deprecate.scss +105 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/grid/_visual-grid.scss +40 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/settings/_disable-warnings.scss +11 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/settings/_grid.scss +53 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/neat/settings/_visual-grid.scss +25 -0
- data/app/assets/stylesheets/active_admin_pro/vendor/normalize.css +423 -0
- data/app/assets/stylesheets/codemirror/themes/activeadmin_pro.scss +117 -0
- data/app/inputs/codemirror_input.rb +27 -0
- data/app/inputs/datepicker_input.rb +16 -0
- data/app/inputs/phone_input.rb +5 -0
- data/app/inputs/summernote_input.rb +5 -0
- data/app/inputs/time_zone_input.rb +43 -0
- data/app/models/activeadmin_pro/summernote_image.rb +5 -0
- data/config/initializers/active_admin.rb +50 -0
- data/config/locales/en.yml +55 -0
- data/lib/active_admin_pro/admin_user/admin_user.rb +52 -0
- data/lib/active_admin_pro/engine.rb +8 -0
- data/lib/active_admin_pro/summernote_image/summernote_image.rb +61 -0
- data/lib/active_admin_pro/user/user.rb +53 -0
- data/lib/active_admin_pro/version.rb +3 -0
- data/lib/activeadmin_pro.rb +9 -0
- data/lib/generators/activeadmin_pro/install_generator.rb +14 -0
- data/lib/tasks/activeadmin_pro_tasks.rake +4 -0
- data/spec/spec_helper.rb +34 -0
- data/vendor/assets/javascripts/bootstrap.js +1243 -0
- data/vendor/assets/javascripts/codemirror.js +8887 -0
- data/vendor/assets/javascripts/codemirror/addons/comment/comment.js +183 -0
- data/vendor/assets/javascripts/codemirror/addons/comment/continuecomment.js +85 -0
- data/vendor/assets/javascripts/codemirror/addons/dialog/dialog.css +32 -0
- data/vendor/assets/javascripts/codemirror/addons/dialog/dialog.js +157 -0
- data/vendor/assets/javascripts/codemirror/addons/display/autorefresh.js +47 -0
- data/vendor/assets/javascripts/codemirror/addons/display/fullscreen.css +6 -0
- data/vendor/assets/javascripts/codemirror/addons/display/fullscreen.js +41 -0
- data/vendor/assets/javascripts/codemirror/addons/display/panel.js +112 -0
- data/vendor/assets/javascripts/codemirror/addons/display/placeholder.js +60 -0
- data/vendor/assets/javascripts/codemirror/addons/display/rulers.js +63 -0
- data/vendor/assets/javascripts/codemirror/addons/edit/closebrackets.js +195 -0
- data/vendor/assets/javascripts/codemirror/addons/edit/closetag.js +169 -0
- data/vendor/assets/javascripts/codemirror/addons/edit/continuelist.js +51 -0
- data/vendor/assets/javascripts/codemirror/addons/edit/matchbrackets.js +120 -0
- data/vendor/assets/javascripts/codemirror/addons/edit/matchtags.js +66 -0
- data/vendor/assets/javascripts/codemirror/addons/edit/trailingspace.js +27 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/brace-fold.js +105 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/comment-fold.js +57 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/foldcode.js +149 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/foldgutter.css +20 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/foldgutter.js +146 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/indent-fold.js +44 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/markdown-fold.js +49 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/xml-fold.js +182 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/anyword-hint.js +41 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/css-hint.js +60 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/html-hint.js +348 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/javascript-hint.js +146 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/show-hint.css +38 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/show-hint.js +386 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/sql-hint.js +254 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/xml-hint.js +110 -0
- data/vendor/assets/javascripts/codemirror/addons/lint/coffeescript-lint.js +41 -0
- data/vendor/assets/javascripts/codemirror/addons/lint/css-lint.js +35 -0
- data/vendor/assets/javascripts/codemirror/addons/lint/html-lint.js +46 -0
- data/vendor/assets/javascripts/codemirror/addons/lint/javascript-lint.js +136 -0
- data/vendor/assets/javascripts/codemirror/addons/lint/json-lint.js +31 -0
- data/vendor/assets/javascripts/codemirror/addons/lint/lint.css +73 -0
- data/vendor/assets/javascripts/codemirror/addons/lint/lint.js +231 -0
- data/vendor/assets/javascripts/codemirror/addons/lint/yaml-lint.js +28 -0
- data/vendor/assets/javascripts/codemirror/addons/merge/merge.css +112 -0
- data/vendor/assets/javascripts/codemirror/addons/merge/merge.js +775 -0
- data/vendor/assets/javascripts/codemirror/addons/mode/loadmode.js +64 -0
- data/vendor/assets/javascripts/codemirror/addons/mode/multiplex.js +123 -0
- data/vendor/assets/javascripts/codemirror/addons/mode/multiplex_test.js +33 -0
- data/vendor/assets/javascripts/codemirror/addons/mode/overlay.js +85 -0
- data/vendor/assets/javascripts/codemirror/addons/mode/simple.js +213 -0
- data/vendor/assets/javascripts/codemirror/addons/runmode/colorize.js +40 -0
- data/vendor/assets/javascripts/codemirror/addons/runmode/runmode-standalone.js +157 -0
- data/vendor/assets/javascripts/codemirror/addons/runmode/runmode.js +72 -0
- data/vendor/assets/javascripts/codemirror/addons/runmode/runmode.node.js +178 -0
- data/vendor/assets/javascripts/codemirror/addons/scroll/annotatescrollbar.js +115 -0
- data/vendor/assets/javascripts/codemirror/addons/scroll/scrollpastend.js +46 -0
- data/vendor/assets/javascripts/codemirror/addons/scroll/simplescrollbars.css +66 -0
- data/vendor/assets/javascripts/codemirror/addons/scroll/simplescrollbars.js +147 -0
- data/vendor/assets/javascripts/codemirror/addons/search/match-highlighter.js +128 -0
- data/vendor/assets/javascripts/codemirror/addons/search/matchesonscrollbar.css +8 -0
- data/vendor/assets/javascripts/codemirror/addons/search/matchesonscrollbar.js +97 -0
- data/vendor/assets/javascripts/codemirror/addons/search/search.js +228 -0
- data/vendor/assets/javascripts/codemirror/addons/search/searchcursor.js +189 -0
- data/vendor/assets/javascripts/codemirror/addons/selection/active-line.js +71 -0
- data/vendor/assets/javascripts/codemirror/addons/selection/mark-selection.js +118 -0
- data/vendor/assets/javascripts/codemirror/addons/selection/selection-pointer.js +98 -0
- data/vendor/assets/javascripts/codemirror/addons/tern/tern.css +87 -0
- data/vendor/assets/javascripts/codemirror/addons/tern/tern.js +700 -0
- data/vendor/assets/javascripts/codemirror/addons/tern/worker.js +44 -0
- data/vendor/assets/javascripts/codemirror/addons/wrap/hardwrap.js +139 -0
- data/vendor/assets/javascripts/codemirror/modes/coffeescript.js +366 -0
- data/vendor/assets/javascripts/codemirror/modes/css.js +823 -0
- data/vendor/assets/javascripts/codemirror/modes/diff.js +47 -0
- data/vendor/assets/javascripts/codemirror/modes/dockerfile.js +79 -0
- data/vendor/assets/javascripts/codemirror/modes/gfm.js +130 -0
- data/vendor/assets/javascripts/codemirror/modes/go.js +185 -0
- data/vendor/assets/javascripts/codemirror/modes/haml.js +159 -0
- data/vendor/assets/javascripts/codemirror/modes/handlebars.js +53 -0
- data/vendor/assets/javascripts/codemirror/modes/htmlembedded.js +28 -0
- data/vendor/assets/javascripts/codemirror/modes/htmlmixed.js +150 -0
- data/vendor/assets/javascripts/codemirror/modes/javascript.js +708 -0
- data/vendor/assets/javascripts/codemirror/modes/markdown.js +792 -0
- data/vendor/assets/javascripts/codemirror/modes/nginx.js +178 -0
- data/vendor/assets/javascripts/codemirror/modes/php.js +234 -0
- data/vendor/assets/javascripts/codemirror/modes/python.js +358 -0
- data/vendor/assets/javascripts/codemirror/modes/ruby.js +285 -0
- data/vendor/assets/javascripts/codemirror/modes/rust.js +58 -0
- data/vendor/assets/javascripts/codemirror/modes/sass.js +414 -0
- data/vendor/assets/javascripts/codemirror/modes/shell.js +139 -0
- data/vendor/assets/javascripts/codemirror/modes/xml.js +385 -0
- data/vendor/assets/javascripts/codemirror/modes/yaml.js +117 -0
- data/vendor/assets/javascripts/intl-tel-input.js +963 -0
- data/vendor/assets/javascripts/intl-tel-utils.js +480 -0
- data/vendor/assets/javascripts/slug.js +212 -0
- data/vendor/assets/javascripts/summernote.js +6939 -0
- data/vendor/assets/stylesheets/codemirror.css +334 -0
- data/vendor/assets/stylesheets/codemirror/themes/base16-dark.css +38 -0
- data/vendor/assets/stylesheets/codemirror/themes/base16-light.css +38 -0
- data/vendor/assets/stylesheets/codemirror/themes/dracula.css +41 -0
- data/vendor/assets/stylesheets/codemirror/themes/material.css +53 -0
- data/vendor/assets/stylesheets/codemirror/themes/monokai.css +35 -0
- data/vendor/assets/stylesheets/codemirror/themes/solarized.css +163 -0
- data/vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css +34 -0
- data/vendor/assets/stylesheets/intl-tel-input.scss +1054 -0
- data/vendor/assets/stylesheets/summernote-bs3.css +5425 -0
- data/vendor/assets/stylesheets/summernote.css +1 -0
- metadata +604 -0
@@ -0,0 +1,334 @@
|
|
1
|
+
/* BASICS */
|
2
|
+
|
3
|
+
.CodeMirror {
|
4
|
+
/* Set height, width, borders, and global font properties here */
|
5
|
+
font-family: monospace;
|
6
|
+
height: 300px;
|
7
|
+
color: black;
|
8
|
+
}
|
9
|
+
|
10
|
+
/* PADDING */
|
11
|
+
|
12
|
+
.CodeMirror-lines {
|
13
|
+
padding: 4px 0; /* Vertical padding around content */
|
14
|
+
}
|
15
|
+
.CodeMirror pre {
|
16
|
+
padding: 0 4px; /* Horizontal padding of content */
|
17
|
+
}
|
18
|
+
|
19
|
+
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
20
|
+
background-color: white; /* The little square between H and V scrollbars */
|
21
|
+
}
|
22
|
+
|
23
|
+
/* GUTTER */
|
24
|
+
|
25
|
+
.CodeMirror-gutters {
|
26
|
+
border-right: 1px solid #ddd;
|
27
|
+
background-color: #f7f7f7;
|
28
|
+
white-space: nowrap;
|
29
|
+
}
|
30
|
+
.CodeMirror-linenumbers {}
|
31
|
+
.CodeMirror-linenumber {
|
32
|
+
padding: 0 3px 0 5px;
|
33
|
+
min-width: 20px;
|
34
|
+
text-align: right;
|
35
|
+
color: #999;
|
36
|
+
white-space: nowrap;
|
37
|
+
}
|
38
|
+
|
39
|
+
.CodeMirror-guttermarker { color: black; }
|
40
|
+
.CodeMirror-guttermarker-subtle { color: #999; }
|
41
|
+
|
42
|
+
/* CURSOR */
|
43
|
+
|
44
|
+
.CodeMirror-cursor {
|
45
|
+
border-left: 1px solid black;
|
46
|
+
border-right: none;
|
47
|
+
width: 0;
|
48
|
+
}
|
49
|
+
/* Shown when moving in bi-directional text */
|
50
|
+
.CodeMirror div.CodeMirror-secondarycursor {
|
51
|
+
border-left: 1px solid silver;
|
52
|
+
}
|
53
|
+
.cm-fat-cursor .CodeMirror-cursor {
|
54
|
+
width: auto;
|
55
|
+
border: 0;
|
56
|
+
background: #7e7;
|
57
|
+
}
|
58
|
+
.cm-fat-cursor div.CodeMirror-cursors {
|
59
|
+
z-index: 1;
|
60
|
+
}
|
61
|
+
|
62
|
+
.cm-animate-fat-cursor {
|
63
|
+
width: auto;
|
64
|
+
border: 0;
|
65
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
66
|
+
-moz-animation: blink 1.06s steps(1) infinite;
|
67
|
+
animation: blink 1.06s steps(1) infinite;
|
68
|
+
background-color: #7e7;
|
69
|
+
}
|
70
|
+
@-moz-keyframes blink {
|
71
|
+
0% {}
|
72
|
+
50% { background-color: transparent; }
|
73
|
+
100% {}
|
74
|
+
}
|
75
|
+
@-webkit-keyframes blink {
|
76
|
+
0% {}
|
77
|
+
50% { background-color: transparent; }
|
78
|
+
100% {}
|
79
|
+
}
|
80
|
+
@keyframes blink {
|
81
|
+
0% {}
|
82
|
+
50% { background-color: transparent; }
|
83
|
+
100% {}
|
84
|
+
}
|
85
|
+
|
86
|
+
/* Can style cursor different in overwrite (non-insert) mode */
|
87
|
+
.CodeMirror-overwrite .CodeMirror-cursor {}
|
88
|
+
|
89
|
+
.cm-tab { display: inline-block; text-decoration: inherit; }
|
90
|
+
|
91
|
+
.CodeMirror-ruler {
|
92
|
+
border-left: 1px solid #ccc;
|
93
|
+
position: absolute;
|
94
|
+
}
|
95
|
+
|
96
|
+
/* DEFAULT THEME */
|
97
|
+
|
98
|
+
.cm-s-default .cm-header {color: blue;}
|
99
|
+
.cm-s-default .cm-quote {color: #090;}
|
100
|
+
.cm-negative {color: #d44;}
|
101
|
+
.cm-positive {color: #292;}
|
102
|
+
.cm-header, .cm-strong {font-weight: bold;}
|
103
|
+
.cm-em {font-style: italic;}
|
104
|
+
.cm-link {text-decoration: underline;}
|
105
|
+
.cm-strikethrough {text-decoration: line-through;}
|
106
|
+
|
107
|
+
.cm-s-default .cm-keyword {color: #708;}
|
108
|
+
.cm-s-default .cm-atom {color: #219;}
|
109
|
+
.cm-s-default .cm-number {color: #164;}
|
110
|
+
.cm-s-default .cm-def {color: #00f;}
|
111
|
+
.cm-s-default .cm-variable,
|
112
|
+
.cm-s-default .cm-punctuation,
|
113
|
+
.cm-s-default .cm-property,
|
114
|
+
.cm-s-default .cm-operator {}
|
115
|
+
.cm-s-default .cm-variable-2 {color: #05a;}
|
116
|
+
.cm-s-default .cm-variable-3 {color: #085;}
|
117
|
+
.cm-s-default .cm-comment {color: #a50;}
|
118
|
+
.cm-s-default .cm-string {color: #a11;}
|
119
|
+
.cm-s-default .cm-string-2 {color: #f50;}
|
120
|
+
.cm-s-default .cm-meta {color: #555;}
|
121
|
+
.cm-s-default .cm-qualifier {color: #555;}
|
122
|
+
.cm-s-default .cm-builtin {color: #30a;}
|
123
|
+
.cm-s-default .cm-bracket {color: #997;}
|
124
|
+
.cm-s-default .cm-tag {color: #170;}
|
125
|
+
.cm-s-default .cm-attribute {color: #00c;}
|
126
|
+
.cm-s-default .cm-hr {color: #999;}
|
127
|
+
.cm-s-default .cm-link {color: #00c;}
|
128
|
+
|
129
|
+
.cm-s-default .cm-error {color: #f00;}
|
130
|
+
.cm-invalidchar {color: #f00;}
|
131
|
+
|
132
|
+
.CodeMirror-composing { border-bottom: 2px solid; }
|
133
|
+
|
134
|
+
/* Default styles for common addons */
|
135
|
+
|
136
|
+
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
|
137
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
138
|
+
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
139
|
+
.CodeMirror-activeline-background {background: #e8f2ff;}
|
140
|
+
|
141
|
+
/* STOP */
|
142
|
+
|
143
|
+
/* The rest of this file contains styles related to the mechanics of
|
144
|
+
the editor. You probably shouldn't touch them. */
|
145
|
+
|
146
|
+
.CodeMirror {
|
147
|
+
position: relative;
|
148
|
+
overflow: hidden;
|
149
|
+
background: white;
|
150
|
+
}
|
151
|
+
|
152
|
+
.CodeMirror-scroll {
|
153
|
+
overflow: scroll !important; /* Things will break if this is overridden */
|
154
|
+
/* 30px is the magic margin used to hide the element's real scrollbars */
|
155
|
+
/* See overflow: hidden in .CodeMirror */
|
156
|
+
margin-bottom: -30px; margin-right: -30px;
|
157
|
+
padding-bottom: 30px;
|
158
|
+
height: 100%;
|
159
|
+
outline: none; /* Prevent dragging from highlighting the element */
|
160
|
+
position: relative;
|
161
|
+
}
|
162
|
+
.CodeMirror-sizer {
|
163
|
+
position: relative;
|
164
|
+
border-right: 30px solid transparent;
|
165
|
+
}
|
166
|
+
|
167
|
+
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
168
|
+
before actual scrolling happens, thus preventing shaking and
|
169
|
+
flickering artifacts. */
|
170
|
+
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
171
|
+
position: absolute;
|
172
|
+
z-index: 6;
|
173
|
+
display: none;
|
174
|
+
}
|
175
|
+
.CodeMirror-vscrollbar {
|
176
|
+
right: 0; top: 0;
|
177
|
+
overflow-x: hidden;
|
178
|
+
overflow-y: scroll;
|
179
|
+
}
|
180
|
+
.CodeMirror-hscrollbar {
|
181
|
+
bottom: 0; left: 0;
|
182
|
+
overflow-y: hidden;
|
183
|
+
overflow-x: scroll;
|
184
|
+
}
|
185
|
+
.CodeMirror-scrollbar-filler {
|
186
|
+
right: 0; bottom: 0;
|
187
|
+
}
|
188
|
+
.CodeMirror-gutter-filler {
|
189
|
+
left: 0; bottom: 0;
|
190
|
+
}
|
191
|
+
|
192
|
+
.CodeMirror-gutters {
|
193
|
+
position: absolute; left: 0; top: 0;
|
194
|
+
z-index: 3;
|
195
|
+
}
|
196
|
+
.CodeMirror-gutter {
|
197
|
+
white-space: normal;
|
198
|
+
height: 100%;
|
199
|
+
display: inline-block;
|
200
|
+
margin-bottom: -30px;
|
201
|
+
/* Hack to make IE7 behave */
|
202
|
+
*zoom:1;
|
203
|
+
*display:inline;
|
204
|
+
}
|
205
|
+
.CodeMirror-gutter-wrapper {
|
206
|
+
position: absolute;
|
207
|
+
z-index: 4;
|
208
|
+
background: none !important;
|
209
|
+
border: none !important;
|
210
|
+
}
|
211
|
+
.CodeMirror-gutter-background {
|
212
|
+
position: absolute;
|
213
|
+
top: 0; bottom: 0;
|
214
|
+
z-index: 4;
|
215
|
+
}
|
216
|
+
.CodeMirror-gutter-elt {
|
217
|
+
position: absolute;
|
218
|
+
cursor: default;
|
219
|
+
z-index: 4;
|
220
|
+
}
|
221
|
+
.CodeMirror-gutter-wrapper {
|
222
|
+
-webkit-user-select: none;
|
223
|
+
-moz-user-select: none;
|
224
|
+
user-select: none;
|
225
|
+
}
|
226
|
+
|
227
|
+
.CodeMirror-lines {
|
228
|
+
cursor: text;
|
229
|
+
min-height: 1px; /* prevents collapsing before first draw */
|
230
|
+
}
|
231
|
+
.CodeMirror pre {
|
232
|
+
/* Reset some styles that the rest of the page might have set */
|
233
|
+
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
234
|
+
border-width: 0;
|
235
|
+
background: transparent;
|
236
|
+
font-family: inherit;
|
237
|
+
font-size: inherit;
|
238
|
+
margin: 0;
|
239
|
+
white-space: pre;
|
240
|
+
word-wrap: normal;
|
241
|
+
line-height: inherit;
|
242
|
+
color: inherit;
|
243
|
+
z-index: 2;
|
244
|
+
position: relative;
|
245
|
+
overflow: visible;
|
246
|
+
-webkit-tap-highlight-color: transparent;
|
247
|
+
}
|
248
|
+
.CodeMirror-wrap pre {
|
249
|
+
word-wrap: break-word;
|
250
|
+
white-space: pre-wrap;
|
251
|
+
word-break: normal;
|
252
|
+
}
|
253
|
+
|
254
|
+
.CodeMirror-linebackground {
|
255
|
+
position: absolute;
|
256
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
257
|
+
z-index: 0;
|
258
|
+
}
|
259
|
+
|
260
|
+
.CodeMirror-linewidget {
|
261
|
+
position: relative;
|
262
|
+
z-index: 2;
|
263
|
+
overflow: auto;
|
264
|
+
}
|
265
|
+
|
266
|
+
.CodeMirror-widget {}
|
267
|
+
|
268
|
+
.CodeMirror-code {
|
269
|
+
outline: none;
|
270
|
+
}
|
271
|
+
|
272
|
+
/* Force content-box sizing for the elements where we expect it */
|
273
|
+
.CodeMirror-scroll,
|
274
|
+
.CodeMirror-sizer,
|
275
|
+
.CodeMirror-gutter,
|
276
|
+
.CodeMirror-gutters,
|
277
|
+
.CodeMirror-linenumber {
|
278
|
+
-moz-box-sizing: content-box;
|
279
|
+
box-sizing: content-box;
|
280
|
+
}
|
281
|
+
|
282
|
+
.CodeMirror-measure {
|
283
|
+
position: absolute;
|
284
|
+
width: 100%;
|
285
|
+
height: 0;
|
286
|
+
overflow: hidden;
|
287
|
+
visibility: hidden;
|
288
|
+
}
|
289
|
+
|
290
|
+
.CodeMirror-cursor { position: absolute; }
|
291
|
+
.CodeMirror-measure pre { position: static; }
|
292
|
+
|
293
|
+
div.CodeMirror-cursors {
|
294
|
+
visibility: hidden;
|
295
|
+
position: relative;
|
296
|
+
z-index: 3;
|
297
|
+
}
|
298
|
+
div.CodeMirror-dragcursors {
|
299
|
+
visibility: visible;
|
300
|
+
}
|
301
|
+
|
302
|
+
.CodeMirror-focused div.CodeMirror-cursors {
|
303
|
+
visibility: visible;
|
304
|
+
}
|
305
|
+
|
306
|
+
.CodeMirror-selected { background: #d9d9d9; }
|
307
|
+
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
308
|
+
.CodeMirror-crosshair { cursor: crosshair; }
|
309
|
+
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
310
|
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
311
|
+
|
312
|
+
.cm-searching {
|
313
|
+
background: #ffa;
|
314
|
+
background: rgba(255, 255, 0, .4);
|
315
|
+
}
|
316
|
+
|
317
|
+
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
|
318
|
+
.CodeMirror span { *vertical-align: text-bottom; }
|
319
|
+
|
320
|
+
/* Used to force a border model for a node */
|
321
|
+
.cm-force-border { padding-right: .1px; }
|
322
|
+
|
323
|
+
@media print {
|
324
|
+
/* Hide the cursor when printing */
|
325
|
+
.CodeMirror div.CodeMirror-cursors {
|
326
|
+
visibility: hidden;
|
327
|
+
}
|
328
|
+
}
|
329
|
+
|
330
|
+
/* See issue #2901 */
|
331
|
+
.cm-tab-wrap-hack:after { content: ''; }
|
332
|
+
|
333
|
+
/* Help users use markselection to safely style text background */
|
334
|
+
span.CodeMirror-selectedtext { background: none; }
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Name: Base16 Default Dark
|
4
|
+
Author: Chris Kempson (http://chriskempson.com)
|
5
|
+
|
6
|
+
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools)
|
7
|
+
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
|
8
|
+
|
9
|
+
*/
|
10
|
+
|
11
|
+
.cm-s-base16-dark.CodeMirror { background: #151515; color: #e0e0e0; }
|
12
|
+
.cm-s-base16-dark div.CodeMirror-selected { background: #303030; }
|
13
|
+
.cm-s-base16-dark .CodeMirror-line::selection, .cm-s-base16-dark .CodeMirror-line > span::selection, .cm-s-base16-dark .CodeMirror-line > span > span::selection { background: rgba(48, 48, 48, .99); }
|
14
|
+
.cm-s-base16-dark .CodeMirror-line::-moz-selection, .cm-s-base16-dark .CodeMirror-line > span::-moz-selection, .cm-s-base16-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(48, 48, 48, .99); }
|
15
|
+
.cm-s-base16-dark .CodeMirror-gutters { background: #151515; border-right: 0px; }
|
16
|
+
.cm-s-base16-dark .CodeMirror-guttermarker { color: #ac4142; }
|
17
|
+
.cm-s-base16-dark .CodeMirror-guttermarker-subtle { color: #505050; }
|
18
|
+
.cm-s-base16-dark .CodeMirror-linenumber { color: #505050; }
|
19
|
+
.cm-s-base16-dark .CodeMirror-cursor { border-left: 1px solid #b0b0b0; }
|
20
|
+
|
21
|
+
.cm-s-base16-dark span.cm-comment { color: #8f5536; }
|
22
|
+
.cm-s-base16-dark span.cm-atom { color: #aa759f; }
|
23
|
+
.cm-s-base16-dark span.cm-number { color: #aa759f; }
|
24
|
+
|
25
|
+
.cm-s-base16-dark span.cm-property, .cm-s-base16-dark span.cm-attribute { color: #90a959; }
|
26
|
+
.cm-s-base16-dark span.cm-keyword { color: #ac4142; }
|
27
|
+
.cm-s-base16-dark span.cm-string { color: #f4bf75; }
|
28
|
+
|
29
|
+
.cm-s-base16-dark span.cm-variable { color: #90a959; }
|
30
|
+
.cm-s-base16-dark span.cm-variable-2 { color: #6a9fb5; }
|
31
|
+
.cm-s-base16-dark span.cm-def { color: #d28445; }
|
32
|
+
.cm-s-base16-dark span.cm-bracket { color: #e0e0e0; }
|
33
|
+
.cm-s-base16-dark span.cm-tag { color: #ac4142; }
|
34
|
+
.cm-s-base16-dark span.cm-link { color: #aa759f; }
|
35
|
+
.cm-s-base16-dark span.cm-error { background: #ac4142; color: #b0b0b0; }
|
36
|
+
|
37
|
+
.cm-s-base16-dark .CodeMirror-activeline-background { background: #202020; }
|
38
|
+
.cm-s-base16-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Name: Base16 Default Light
|
4
|
+
Author: Chris Kempson (http://chriskempson.com)
|
5
|
+
|
6
|
+
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools)
|
7
|
+
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
|
8
|
+
|
9
|
+
*/
|
10
|
+
|
11
|
+
.cm-s-base16-light.CodeMirror { background: #f5f5f5; color: #202020; }
|
12
|
+
.cm-s-base16-light div.CodeMirror-selected { background: #e0e0e0; }
|
13
|
+
.cm-s-base16-light .CodeMirror-line::selection, .cm-s-base16-light .CodeMirror-line > span::selection, .cm-s-base16-light .CodeMirror-line > span > span::selection { background: #e0e0e0; }
|
14
|
+
.cm-s-base16-light .CodeMirror-line::-moz-selection, .cm-s-base16-light .CodeMirror-line > span::-moz-selection, .cm-s-base16-light .CodeMirror-line > span > span::-moz-selection { background: #e0e0e0; }
|
15
|
+
.cm-s-base16-light .CodeMirror-gutters { background: #f5f5f5; border-right: 0px; }
|
16
|
+
.cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; }
|
17
|
+
.cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; }
|
18
|
+
.cm-s-base16-light .CodeMirror-linenumber { color: #b0b0b0; }
|
19
|
+
.cm-s-base16-light .CodeMirror-cursor { border-left: 1px solid #505050; }
|
20
|
+
|
21
|
+
.cm-s-base16-light span.cm-comment { color: #8f5536; }
|
22
|
+
.cm-s-base16-light span.cm-atom { color: #aa759f; }
|
23
|
+
.cm-s-base16-light span.cm-number { color: #aa759f; }
|
24
|
+
|
25
|
+
.cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute { color: #90a959; }
|
26
|
+
.cm-s-base16-light span.cm-keyword { color: #ac4142; }
|
27
|
+
.cm-s-base16-light span.cm-string { color: #f4bf75; }
|
28
|
+
|
29
|
+
.cm-s-base16-light span.cm-variable { color: #90a959; }
|
30
|
+
.cm-s-base16-light span.cm-variable-2 { color: #6a9fb5; }
|
31
|
+
.cm-s-base16-light span.cm-def { color: #d28445; }
|
32
|
+
.cm-s-base16-light span.cm-bracket { color: #202020; }
|
33
|
+
.cm-s-base16-light span.cm-tag { color: #ac4142; }
|
34
|
+
.cm-s-base16-light span.cm-link { color: #aa759f; }
|
35
|
+
.cm-s-base16-light span.cm-error { background: #ac4142; color: #505050; }
|
36
|
+
|
37
|
+
.cm-s-base16-light .CodeMirror-activeline-background { background: #DDDCDC; }
|
38
|
+
.cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Name: dracula
|
4
|
+
Author: Michael Kaminsky (http://github.com/mkaminsky11)
|
5
|
+
|
6
|
+
Original dracula color scheme by Zeno Rocha (https://github.com/zenorocha/dracula-theme)
|
7
|
+
|
8
|
+
*/
|
9
|
+
|
10
|
+
|
11
|
+
.cm-s-dracula.CodeMirror, .cm-s-dracula .CodeMirror-gutters {
|
12
|
+
background-color: #282a36 !important;
|
13
|
+
color: #f8f8f2 !important;
|
14
|
+
border: none;
|
15
|
+
}
|
16
|
+
.cm-s-dracula .CodeMirror-gutters { color: #282a36; }
|
17
|
+
.cm-s-dracula .CodeMirror-cursor { border-left: solid thin #f8f8f0; }
|
18
|
+
.cm-s-dracula .CodeMirror-linenumber { color: #6D8A88; }
|
19
|
+
.cm-s-dracula.CodeMirror-focused div.CodeMirror-selected { background: rgba(255, 255, 255, 0.10); }
|
20
|
+
.cm-s-dracula .CodeMirror-line::selection, .cm-s-dracula .CodeMirror-line > span::selection, .cm-s-dracula .CodeMirror-line > span > span::selection { background: rgba(255, 255, 255, 0.10); }
|
21
|
+
.cm-s-dracula .CodeMirror-line::-moz-selection, .cm-s-dracula .CodeMirror-line > span::-moz-selection, .cm-s-dracula .CodeMirror-line > span > span::-moz-selection { background: rgba(255, 255, 255, 0.10); }
|
22
|
+
.cm-s-dracula span.cm-comment { color: #6272a4; }
|
23
|
+
.cm-s-dracula span.cm-string, .cm-s-dracula span.cm-string-2 { color: #f1fa8c; }
|
24
|
+
.cm-s-dracula span.cm-number { color: #bd93f9; }
|
25
|
+
.cm-s-dracula span.cm-variable { color: #50fa7b; }
|
26
|
+
.cm-s-dracula span.cm-variable-2 { color: white; }
|
27
|
+
.cm-s-dracula span.cm-def { color: #ffb86c; }
|
28
|
+
.cm-s-dracula span.cm-keyword { color: #ff79c6; }
|
29
|
+
.cm-s-dracula span.cm-operator { color: #ff79c6; }
|
30
|
+
.cm-s-dracula span.cm-keyword { color: #ff79c6; }
|
31
|
+
.cm-s-dracula span.cm-atom { color: #bd93f9; }
|
32
|
+
.cm-s-dracula span.cm-meta { color: #f8f8f2; }
|
33
|
+
.cm-s-dracula span.cm-tag { color: #ff79c6; }
|
34
|
+
.cm-s-dracula span.cm-attribute { color: #50fa7b; }
|
35
|
+
.cm-s-dracula span.cm-qualifier { color: #50fa7b; }
|
36
|
+
.cm-s-dracula span.cm-property { color: #66d9ef; }
|
37
|
+
.cm-s-dracula span.cm-builtin { color: #50fa7b; }
|
38
|
+
.cm-s-dracula span.cm-variable-3 { color: #50fa7b; }
|
39
|
+
|
40
|
+
.cm-s-dracula .CodeMirror-activeline-background { background: rgba(255,255,255,0.1); }
|
41
|
+
.cm-s-dracula .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }
|