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,90 @@
|
|
1
|
+
/// Specifies the number of columns an element should span. If the selector is nested the number of columns of its parent element should be passed as an argument as well.
|
2
|
+
///
|
3
|
+
/// @param {List} $span
|
4
|
+
/// A list containing `$columns`, the unitless number of columns the element spans (required), and `$container-columns`, the number of columns the parent element spans (optional).
|
5
|
+
///
|
6
|
+
/// If only one value is passed, it is assumed that it's `$columns` and that that `$container-columns` is equal to `$grid-columns`, the total number of columns in the grid.
|
7
|
+
///
|
8
|
+
/// The values can be separated with any string such as `of`, `/`, etc.
|
9
|
+
///
|
10
|
+
/// @param {String} $display (block)
|
11
|
+
/// Sets the display property of the element. By default it sets the display propert of the element to `block`.
|
12
|
+
///
|
13
|
+
/// If passed `block-collapse`, it also removes the margin gutter by adding it to the element width.
|
14
|
+
///
|
15
|
+
/// If passed `table`, it sets the display property to `table-cell` and calculates the width of the element without taking gutters into consideration. The result does not align with the block-based grid.
|
16
|
+
///
|
17
|
+
/// @example scss - Usage
|
18
|
+
/// .element {
|
19
|
+
/// @include span-columns(6);
|
20
|
+
///
|
21
|
+
/// .nested-element {
|
22
|
+
/// @include span-columns(2 of 6);
|
23
|
+
/// }
|
24
|
+
/// }
|
25
|
+
///
|
26
|
+
/// @example css - CSS Output
|
27
|
+
/// .element {
|
28
|
+
/// display: block;
|
29
|
+
/// float: left;
|
30
|
+
/// margin-right: 2.35765%;
|
31
|
+
/// width: 48.82117%;
|
32
|
+
/// }
|
33
|
+
///
|
34
|
+
/// .element:last-child {
|
35
|
+
/// margin-right: 0;
|
36
|
+
/// }
|
37
|
+
///
|
38
|
+
/// .element .nested-element {
|
39
|
+
/// display: block;
|
40
|
+
/// float: left;
|
41
|
+
/// margin-right: 4.82916%;
|
42
|
+
/// width: 30.11389%;
|
43
|
+
/// }
|
44
|
+
///
|
45
|
+
/// .element .nested-element:last-child {
|
46
|
+
/// margin-right: 0;
|
47
|
+
/// }
|
48
|
+
|
49
|
+
@mixin span-columns($span: $columns of $container-columns, $display: block) {
|
50
|
+
$columns: nth($span, 1);
|
51
|
+
$container-columns: container-span($span);
|
52
|
+
|
53
|
+
$parent-columns: get-parent-columns($container-columns) !global;
|
54
|
+
|
55
|
+
$direction: get-direction($layout-direction, $default-layout-direction);
|
56
|
+
$opposite-direction: get-opposite-direction($direction);
|
57
|
+
|
58
|
+
$display-table: is-display-table($container-display-table, $display);
|
59
|
+
|
60
|
+
@if $display-table {
|
61
|
+
display: table-cell;
|
62
|
+
width: percentage($columns / $container-columns);
|
63
|
+
} @else {
|
64
|
+
float: #{$opposite-direction};
|
65
|
+
|
66
|
+
@if $display != no-display {
|
67
|
+
display: block;
|
68
|
+
}
|
69
|
+
|
70
|
+
@if $display == collapse {
|
71
|
+
@include -neat-warn("The 'collapse' argument will be deprecated. Use 'block-collapse' instead.");
|
72
|
+
}
|
73
|
+
|
74
|
+
@if $display == collapse or $display == block-collapse {
|
75
|
+
width: flex-grid($columns, $container-columns) + flex-gutter($container-columns);
|
76
|
+
|
77
|
+
&:last-child {
|
78
|
+
width: flex-grid($columns, $container-columns);
|
79
|
+
}
|
80
|
+
|
81
|
+
} @else {
|
82
|
+
margin-#{$direction}: flex-gutter($container-columns);
|
83
|
+
width: flex-grid($columns, $container-columns);
|
84
|
+
|
85
|
+
&:last-child {
|
86
|
+
margin-#{$direction}: 0;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
@mixin breakpoint($query:$feature $value $columns, $total-columns: $grid-columns) {
|
2
|
+
@include -neat-warn("The breakpoint() mixin was renamed to media() in Neat 1.0. Please update your project with the new syntax before the next version bump.");
|
3
|
+
|
4
|
+
@if length($query) == 1 {
|
5
|
+
@media screen and ($default-feature: nth($query, 1)) {
|
6
|
+
$default-grid-columns: $grid-columns;
|
7
|
+
$grid-columns: $total-columns;
|
8
|
+
@content;
|
9
|
+
$grid-columns: $default-grid-columns;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
@else if length($query) == 2 {
|
14
|
+
@media screen and (nth($query, 1): nth($query, 2)) {
|
15
|
+
$default-grid-columns: $grid-columns;
|
16
|
+
$grid-columns: $total-columns;
|
17
|
+
@content;
|
18
|
+
$grid-columns: $default-grid-columns;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
@else if length($query) == 3 {
|
23
|
+
@media screen and (nth($query, 1): nth($query, 2)) {
|
24
|
+
$default-grid-columns: $grid-columns;
|
25
|
+
$grid-columns: nth($query, 3);
|
26
|
+
@content;
|
27
|
+
$grid-columns: $default-grid-columns;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
@else if length($query) == 4 {
|
32
|
+
@media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) {
|
33
|
+
$default-grid-columns: $grid-columns;
|
34
|
+
$grid-columns: $total-columns;
|
35
|
+
@content;
|
36
|
+
$grid-columns: $default-grid-columns;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
@else if length($query) == 5 {
|
41
|
+
@media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) {
|
42
|
+
$default-grid-columns: $grid-columns;
|
43
|
+
$grid-columns: nth($query, 5);
|
44
|
+
@content;
|
45
|
+
$grid-columns: $default-grid-columns;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
@else {
|
50
|
+
@include -neat-warn("Wrong number of arguments for breakpoint(). Read the documentation for more details.");
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
@mixin nth-omega($nth, $display: block, $direction: default) {
|
55
|
+
@include -neat-warn("The nth-omega() mixin is deprecated. Please use omega() instead.");
|
56
|
+
@include omega($nth $display, $direction);
|
57
|
+
}
|
58
|
+
|
59
|
+
/// Resets the active display property to `block`. Particularly useful when changing the display property in a single row.
|
60
|
+
///
|
61
|
+
/// @example scss - Usage
|
62
|
+
/// .element {
|
63
|
+
/// @include row(table);
|
64
|
+
/// // Context changed to table display
|
65
|
+
/// }
|
66
|
+
///
|
67
|
+
/// @include reset-display;
|
68
|
+
/// // Context is reset to block display
|
69
|
+
|
70
|
+
@mixin reset-display {
|
71
|
+
$container-display-table: false !global;
|
72
|
+
@include -neat-warn("Resetting $display will be deprecated in future versions in favor of the display(){...} mixin.");
|
73
|
+
}
|
74
|
+
|
75
|
+
/// Resets the active layout direction to the default value set in `$default-layout-direction`. Particularly useful when changing the layout direction in a single row.
|
76
|
+
///
|
77
|
+
/// @example scss - Usage
|
78
|
+
/// .element {
|
79
|
+
/// @include row($direction: RTL);
|
80
|
+
/// // Context changed to right-to-left
|
81
|
+
/// }
|
82
|
+
///
|
83
|
+
/// @include reset-layout-direction;
|
84
|
+
/// // Context is reset to left-to-right
|
85
|
+
|
86
|
+
@mixin reset-layout-direction {
|
87
|
+
$layout-direction: $default-layout-direction !global;
|
88
|
+
@include -neat-warn("Resetting $direction will be deprecated in future versions in favor of the direction(){...} mixin.");
|
89
|
+
}
|
90
|
+
|
91
|
+
/// Resets both the active layout direction and the active display property.
|
92
|
+
///
|
93
|
+
/// @example scss - Usage
|
94
|
+
/// .element {
|
95
|
+
/// @include row(table, RTL);
|
96
|
+
/// // Context changed to table table and right-to-left
|
97
|
+
/// }
|
98
|
+
///
|
99
|
+
/// @include reset-all;
|
100
|
+
/// // Context is reset to block display and left-to-right
|
101
|
+
|
102
|
+
@mixin reset-all {
|
103
|
+
@include reset-display;
|
104
|
+
@include reset-layout-direction;
|
105
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
@mixin grid-column-gradient($values...) {
|
2
|
+
background-image: -webkit-linear-gradient(left, $values);
|
3
|
+
background-image: -moz-linear-gradient(left, $values);
|
4
|
+
background-image: -ms-linear-gradient(left, $values);
|
5
|
+
background-image: -o-linear-gradient(left, $values);
|
6
|
+
background-image: unquote("linear-gradient(to left, #{$values})");
|
7
|
+
}
|
8
|
+
|
9
|
+
@if $visual-grid == true or $visual-grid == yes {
|
10
|
+
body:before {
|
11
|
+
content: '';
|
12
|
+
display: inline-block;
|
13
|
+
@include grid-column-gradient(gradient-stops($grid-columns));
|
14
|
+
height: 100%;
|
15
|
+
left: 0;
|
16
|
+
margin: 0 auto;
|
17
|
+
max-width: $max-width;
|
18
|
+
opacity: $visual-grid-opacity;
|
19
|
+
position: fixed;
|
20
|
+
right: 0;
|
21
|
+
width: 100%;
|
22
|
+
pointer-events: none;
|
23
|
+
|
24
|
+
@if $visual-grid-index == back {
|
25
|
+
z-index: -1;
|
26
|
+
}
|
27
|
+
|
28
|
+
@else if $visual-grid-index == front {
|
29
|
+
z-index: 9999;
|
30
|
+
}
|
31
|
+
|
32
|
+
@each $breakpoint in $visual-grid-breakpoints {
|
33
|
+
@if $breakpoint {
|
34
|
+
@include media($breakpoint) {
|
35
|
+
@include grid-column-gradient(gradient-stops($grid-columns));
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/// Sets the relative width of a single grid column. The unit used should be the same one used to define `$gutter`. To learn more about golden-ratio() see [Bourbon docs](http://bourbon.io/docs/#golden-ratio). Set with a `!global` flag.
|
2
|
+
///
|
3
|
+
/// @type Number (Unit)
|
4
|
+
|
5
|
+
$column: golden-ratio(1em, 3) !default;
|
6
|
+
|
7
|
+
/// Sets the relative width of a single grid gutter. The unit used should be the same one used to define `$column`. To learn more about golden-ratio() see [Bourbon docs](http://bourbon.io/docs/#golden-ratio). Set with the `!global` flag.
|
8
|
+
///
|
9
|
+
/// @type Number (Unit)
|
10
|
+
|
11
|
+
$gutter: golden-ratio(1em, 1) !default;
|
12
|
+
|
13
|
+
/// Sets the total number of columns in the grid. Its value can be overridden inside a media query using the `media()` mixin. Set with the `!global` flag.
|
14
|
+
///
|
15
|
+
/// @type Number (Unitless)
|
16
|
+
|
17
|
+
$grid-columns: 12 !default;
|
18
|
+
|
19
|
+
/// Sets the max-width property of the element that includes `outer-container()`. To learn more about `em()` see [Bourbon docs](http://bourbon.io/docs/#px-to-em). Set with the `!global` flag.
|
20
|
+
///
|
21
|
+
/// @type Number (Unit)
|
22
|
+
///
|
23
|
+
$max-width: em(1088) !default;
|
24
|
+
|
25
|
+
/// When set to true, it sets the box-sizing property of all elements to `border-box`. Set with a `!global` flag.
|
26
|
+
///
|
27
|
+
/// @type Bool
|
28
|
+
///
|
29
|
+
/// @example css - CSS Output
|
30
|
+
/// html {
|
31
|
+
/// -webkit-box-sizing: border-box;
|
32
|
+
/// -moz-box-sizing: border-box;
|
33
|
+
/// box-sizing: border-box; }
|
34
|
+
///
|
35
|
+
/// *, *:before, *:after {
|
36
|
+
/// -webkit-box-sizing: inherit;
|
37
|
+
/// -moz-box-sizing: inherit;
|
38
|
+
/// box-sizing: inherit;
|
39
|
+
/// }
|
40
|
+
|
41
|
+
$border-box-sizing: true !default;
|
42
|
+
|
43
|
+
/// Sets the default [media feature](http://www.w3.org/TR/css3-mediaqueries/#media) that `media()` and `new-breakpoint()` revert to when only a breakpoint value is passed. Set with a `!global` flag.
|
44
|
+
///
|
45
|
+
/// @type String
|
46
|
+
|
47
|
+
$default-feature: min-width; // Default @media feature for the breakpoint() mixin
|
48
|
+
|
49
|
+
///Sets the default layout direction of the grid. Can be `LTR` or `RTL`. Set with a `!global` flag.
|
50
|
+
///
|
51
|
+
///@type String
|
52
|
+
|
53
|
+
$default-layout-direction: LTR !default;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/// Displays the visual grid when set to true. The overlaid grid may be few pixels off depending on the browser's rendering engine and pixel rounding algorithm. Set with the `!global` flag.
|
2
|
+
///
|
3
|
+
/// @type Bool
|
4
|
+
|
5
|
+
$visual-grid: false !default;
|
6
|
+
|
7
|
+
/// Sets the visual grid color. Set with `!global` flag.
|
8
|
+
///
|
9
|
+
/// @type Color
|
10
|
+
|
11
|
+
$visual-grid-color: #EEE !default;
|
12
|
+
|
13
|
+
/// Sets the `z-index` property of the visual grid. Can be `back` (behind content) or `front` (in front of content). Set with `!global` flag.
|
14
|
+
///
|
15
|
+
/// @type String
|
16
|
+
|
17
|
+
$visual-grid-index: back !default;
|
18
|
+
|
19
|
+
/// Sets the opacity property of the visual grid. Set with `!global` flag.
|
20
|
+
///
|
21
|
+
/// @type Number (unitless)
|
22
|
+
|
23
|
+
$visual-grid-opacity: 0.4 !default;
|
24
|
+
|
25
|
+
$visual-grid-breakpoints: () !default;
|
@@ -0,0 +1,423 @@
|
|
1
|
+
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Set default font family to sans-serif.
|
5
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
6
|
+
* user zoom.
|
7
|
+
*/
|
8
|
+
|
9
|
+
html {
|
10
|
+
font-family: sans-serif; /* 1 */
|
11
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
12
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
13
|
+
}
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Remove default margin.
|
17
|
+
*/
|
18
|
+
|
19
|
+
body {
|
20
|
+
margin: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* HTML5 display definitions
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Correct `block` display not defined in IE 8/9.
|
28
|
+
*/
|
29
|
+
|
30
|
+
article,
|
31
|
+
aside,
|
32
|
+
details,
|
33
|
+
figcaption,
|
34
|
+
figure,
|
35
|
+
footer,
|
36
|
+
header,
|
37
|
+
hgroup,
|
38
|
+
main,
|
39
|
+
nav,
|
40
|
+
section,
|
41
|
+
summary {
|
42
|
+
display: block;
|
43
|
+
}
|
44
|
+
|
45
|
+
/**
|
46
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
47
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
48
|
+
*/
|
49
|
+
|
50
|
+
audio,
|
51
|
+
canvas,
|
52
|
+
progress,
|
53
|
+
video {
|
54
|
+
display: inline-block; /* 1 */
|
55
|
+
vertical-align: baseline; /* 2 */
|
56
|
+
}
|
57
|
+
|
58
|
+
/**
|
59
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
60
|
+
* Remove excess height in iOS 5 devices.
|
61
|
+
*/
|
62
|
+
|
63
|
+
audio:not([controls]) {
|
64
|
+
display: none;
|
65
|
+
height: 0;
|
66
|
+
}
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Address `[hidden]` styling not present in IE 8/9.
|
70
|
+
* Hide the `template` element in IE, Safari, and Firefox < 22.
|
71
|
+
*/
|
72
|
+
|
73
|
+
[hidden],
|
74
|
+
template {
|
75
|
+
display: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* Links
|
79
|
+
========================================================================== */
|
80
|
+
|
81
|
+
/**
|
82
|
+
* Remove the gray background color from active links in IE 10.
|
83
|
+
*/
|
84
|
+
|
85
|
+
a {
|
86
|
+
background: transparent;
|
87
|
+
}
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
91
|
+
*/
|
92
|
+
|
93
|
+
a:active,
|
94
|
+
a:hover {
|
95
|
+
outline: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* Text-level semantics
|
99
|
+
========================================================================== */
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
103
|
+
*/
|
104
|
+
|
105
|
+
abbr[title] {
|
106
|
+
border-bottom: 1px dotted;
|
107
|
+
}
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
111
|
+
*/
|
112
|
+
|
113
|
+
b,
|
114
|
+
strong {
|
115
|
+
font-weight: bold;
|
116
|
+
}
|
117
|
+
|
118
|
+
/**
|
119
|
+
* Address styling not present in Safari 5 and Chrome.
|
120
|
+
*/
|
121
|
+
|
122
|
+
dfn {
|
123
|
+
font-style: italic;
|
124
|
+
}
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
128
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
129
|
+
*/
|
130
|
+
|
131
|
+
h1 {
|
132
|
+
font-size: 2em;
|
133
|
+
margin: 0.67em 0;
|
134
|
+
}
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Address styling not present in IE 8/9.
|
138
|
+
*/
|
139
|
+
|
140
|
+
mark {
|
141
|
+
background: #ff0;
|
142
|
+
color: #000;
|
143
|
+
}
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Address inconsistent and variable font size in all browsers.
|
147
|
+
*/
|
148
|
+
|
149
|
+
small {
|
150
|
+
font-size: 80%;
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
155
|
+
*/
|
156
|
+
|
157
|
+
sub,
|
158
|
+
sup {
|
159
|
+
font-size: 75%;
|
160
|
+
line-height: 0;
|
161
|
+
position: relative;
|
162
|
+
vertical-align: baseline;
|
163
|
+
}
|
164
|
+
|
165
|
+
sup {
|
166
|
+
top: -0.5em;
|
167
|
+
}
|
168
|
+
|
169
|
+
sub {
|
170
|
+
bottom: -0.25em;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* Embedded content
|
174
|
+
========================================================================== */
|
175
|
+
|
176
|
+
/**
|
177
|
+
* Remove border when inside `a` element in IE 8/9.
|
178
|
+
*/
|
179
|
+
|
180
|
+
img {
|
181
|
+
border: 0;
|
182
|
+
}
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Correct overflow displayed oddly in IE 9.
|
186
|
+
*/
|
187
|
+
|
188
|
+
svg:not(:root) {
|
189
|
+
overflow: hidden;
|
190
|
+
}
|
191
|
+
|
192
|
+
/* Grouping content
|
193
|
+
========================================================================== */
|
194
|
+
|
195
|
+
/**
|
196
|
+
* Address margin not present in IE 8/9 and Safari 5.
|
197
|
+
*/
|
198
|
+
|
199
|
+
figure {
|
200
|
+
margin: 1em 40px;
|
201
|
+
}
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Address differences between Firefox and other browsers.
|
205
|
+
*/
|
206
|
+
|
207
|
+
hr {
|
208
|
+
-moz-box-sizing: content-box;
|
209
|
+
box-sizing: content-box;
|
210
|
+
height: 0;
|
211
|
+
}
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Contain overflow in all browsers.
|
215
|
+
*/
|
216
|
+
|
217
|
+
pre {
|
218
|
+
overflow: auto;
|
219
|
+
}
|
220
|
+
|
221
|
+
/**
|
222
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
223
|
+
*/
|
224
|
+
|
225
|
+
code,
|
226
|
+
kbd,
|
227
|
+
pre,
|
228
|
+
samp {
|
229
|
+
font-family: monospace, monospace;
|
230
|
+
font-size: 1em;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* Forms
|
234
|
+
========================================================================== */
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
238
|
+
* styling of `select`, unless a `border` property is set.
|
239
|
+
*/
|
240
|
+
|
241
|
+
/**
|
242
|
+
* 1. Correct color not being inherited.
|
243
|
+
* Known issue: affects color of disabled elements.
|
244
|
+
* 2. Correct font properties not being inherited.
|
245
|
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
246
|
+
*/
|
247
|
+
|
248
|
+
button,
|
249
|
+
input,
|
250
|
+
optgroup,
|
251
|
+
select,
|
252
|
+
textarea {
|
253
|
+
color: inherit; /* 1 */
|
254
|
+
font: inherit; /* 2 */
|
255
|
+
margin: 0; /* 3 */
|
256
|
+
}
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Address `overflow` set to `hidden` in IE 8/9/10.
|
260
|
+
*/
|
261
|
+
|
262
|
+
button {
|
263
|
+
overflow: visible;
|
264
|
+
}
|
265
|
+
|
266
|
+
/**
|
267
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
268
|
+
* All other form control elements do not inherit `text-transform` values.
|
269
|
+
* Correct `button` style inheritance in Firefox, IE 8+, and Opera
|
270
|
+
* Correct `select` style inheritance in Firefox.
|
271
|
+
*/
|
272
|
+
|
273
|
+
button,
|
274
|
+
select {
|
275
|
+
text-transform: none;
|
276
|
+
}
|
277
|
+
|
278
|
+
/**
|
279
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
280
|
+
* and `video` controls.
|
281
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
282
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
283
|
+
* `input` and others.
|
284
|
+
*/
|
285
|
+
|
286
|
+
button,
|
287
|
+
html input[type="button"], /* 1 */
|
288
|
+
input[type="reset"],
|
289
|
+
input[type="submit"] {
|
290
|
+
-webkit-appearance: button; /* 2 */
|
291
|
+
cursor: pointer; /* 3 */
|
292
|
+
}
|
293
|
+
|
294
|
+
/**
|
295
|
+
* Re-set default cursor for disabled elements.
|
296
|
+
*/
|
297
|
+
|
298
|
+
button[disabled],
|
299
|
+
html input[disabled] {
|
300
|
+
cursor: default;
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
* Remove inner padding and border in Firefox 4+.
|
305
|
+
*/
|
306
|
+
|
307
|
+
button::-moz-focus-inner,
|
308
|
+
input::-moz-focus-inner {
|
309
|
+
border: 0;
|
310
|
+
padding: 0;
|
311
|
+
}
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
315
|
+
* the UA stylesheet.
|
316
|
+
*/
|
317
|
+
|
318
|
+
input {
|
319
|
+
line-height: normal;
|
320
|
+
}
|
321
|
+
|
322
|
+
/**
|
323
|
+
* It's recommended that you don't attempt to style these elements.
|
324
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
325
|
+
*
|
326
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
327
|
+
* 2. Remove excess padding in IE 8/9/10.
|
328
|
+
*/
|
329
|
+
|
330
|
+
input[type="checkbox"],
|
331
|
+
input[type="radio"] {
|
332
|
+
box-sizing: border-box; /* 1 */
|
333
|
+
padding: 0; /* 2 */
|
334
|
+
}
|
335
|
+
|
336
|
+
/**
|
337
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
338
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
339
|
+
* decrement button to change from `default` to `text`.
|
340
|
+
*/
|
341
|
+
|
342
|
+
input[type="number"]::-webkit-inner-spin-button,
|
343
|
+
input[type="number"]::-webkit-outer-spin-button {
|
344
|
+
height: auto;
|
345
|
+
}
|
346
|
+
|
347
|
+
/**
|
348
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
349
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
350
|
+
* (include `-moz` to future-proof).
|
351
|
+
*/
|
352
|
+
|
353
|
+
input[type="search"] {
|
354
|
+
-webkit-appearance: textfield; /* 1 */
|
355
|
+
-moz-box-sizing: content-box;
|
356
|
+
-webkit-box-sizing: content-box; /* 2 */
|
357
|
+
box-sizing: content-box;
|
358
|
+
}
|
359
|
+
|
360
|
+
/**
|
361
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
362
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
363
|
+
* padding (and `textfield` appearance).
|
364
|
+
*/
|
365
|
+
|
366
|
+
input[type="search"]::-webkit-search-cancel-button,
|
367
|
+
input[type="search"]::-webkit-search-decoration {
|
368
|
+
-webkit-appearance: none;
|
369
|
+
}
|
370
|
+
|
371
|
+
/**
|
372
|
+
* Define consistent border, margin, and padding.
|
373
|
+
*/
|
374
|
+
|
375
|
+
fieldset {
|
376
|
+
border: 1px solid #c0c0c0;
|
377
|
+
margin: 0 2px;
|
378
|
+
padding: 0.35em 0.625em 0.75em;
|
379
|
+
}
|
380
|
+
|
381
|
+
/**
|
382
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
383
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
384
|
+
*/
|
385
|
+
|
386
|
+
legend {
|
387
|
+
border: 0; /* 1 */
|
388
|
+
padding: 0; /* 2 */
|
389
|
+
}
|
390
|
+
|
391
|
+
/**
|
392
|
+
* Remove default vertical scrollbar in IE 8/9.
|
393
|
+
*/
|
394
|
+
|
395
|
+
textarea {
|
396
|
+
overflow: auto;
|
397
|
+
}
|
398
|
+
|
399
|
+
/**
|
400
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
401
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
402
|
+
*/
|
403
|
+
|
404
|
+
optgroup {
|
405
|
+
font-weight: bold;
|
406
|
+
}
|
407
|
+
|
408
|
+
/* Tables
|
409
|
+
========================================================================== */
|
410
|
+
|
411
|
+
/**
|
412
|
+
* Remove most spacing between table cells.
|
413
|
+
*/
|
414
|
+
|
415
|
+
table {
|
416
|
+
border-collapse: collapse;
|
417
|
+
border-spacing: 0;
|
418
|
+
}
|
419
|
+
|
420
|
+
td,
|
421
|
+
th {
|
422
|
+
padding: 0;
|
423
|
+
}
|