rails_admin 2.3.1 → 3.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rails_admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +9 -11
- data/README.md +37 -31
- data/Rakefile +2 -2
- data/app/assets/javascripts/rails_admin.js +21 -0
- data/app/assets/stylesheets/rails_admin/custom/mixins.scss +1 -1
- data/app/assets/stylesheets/rails_admin/custom/variables.scss +1 -1
- data/app/assets/stylesheets/rails_admin.scss.erb +76 -0
- data/app/controllers/rails_admin/application_controller.rb +4 -3
- data/app/controllers/rails_admin/main_controller.rb +43 -24
- data/app/helpers/rails_admin/application_helper.rb +69 -52
- data/app/helpers/rails_admin/form_builder.rb +5 -4
- data/app/helpers/rails_admin/main_helper.rb +27 -43
- data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.erb +5 -0
- data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb +9 -0
- data/app/views/kaminari/ra-twitter-bootstrap/_page.html.erb +9 -0
- data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.erb +13 -0
- data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.erb +9 -0
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.erb +9 -0
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.erb +6 -0
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.erb +9 -0
- data/app/views/layouts/rails_admin/_head.html.erb +17 -0
- data/app/views/layouts/rails_admin/_navigation.html.erb +21 -0
- data/app/views/layouts/rails_admin/_secondary_navigation.html.erb +24 -0
- data/app/views/layouts/rails_admin/_sidebar_navigation.html.erb +9 -0
- data/app/views/layouts/rails_admin/application.html.erb +27 -0
- data/app/views/layouts/rails_admin/modal.js.erb +7 -0
- data/app/views/layouts/rails_admin/pjax.html.erb +20 -0
- data/app/views/rails_admin/main/_dashboard_history.html.erb +45 -0
- data/app/views/rails_admin/main/_delete_notice.html.erb +35 -0
- data/app/views/rails_admin/main/_form_action_text.html.erb +7 -0
- data/app/views/rails_admin/main/_form_boolean.html.erb +16 -0
- data/app/views/rails_admin/main/{_form_ck_editor.html.haml → _form_ck_editor.html.erb} +3 -3
- data/app/views/rails_admin/main/_form_code_mirror.html.erb +9 -0
- data/app/views/rails_admin/main/_form_colorpicker.html.erb +1 -0
- data/app/views/rails_admin/main/_form_datetime.html.erb +9 -0
- data/app/views/rails_admin/main/_form_enumeration.html.erb +21 -0
- data/app/views/rails_admin/main/_form_field.html.erb +1 -0
- data/app/views/rails_admin/main/_form_file_upload.html.erb +17 -0
- data/app/views/rails_admin/main/{_form_filtering_multiselect.html.haml → _form_filtering_multiselect.html.erb} +11 -11
- data/app/views/rails_admin/main/{_form_filtering_select.html.haml → _form_filtering_select.html.erb} +13 -12
- data/app/views/rails_admin/main/_form_froala.html.erb +8 -0
- data/app/views/rails_admin/main/_form_multiple_file_upload.html.erb +20 -0
- data/app/views/rails_admin/main/_form_nested_many.html.erb +21 -0
- data/app/views/rails_admin/main/_form_nested_one.html.erb +21 -0
- data/app/views/rails_admin/main/_form_polymorphic_association.html.erb +27 -0
- data/app/views/rails_admin/main/_form_simple_mde.html.erb +8 -0
- data/app/views/rails_admin/main/_form_text.html.erb +1 -0
- data/app/views/rails_admin/main/_form_wysihtml5.html.erb +8 -0
- data/app/views/rails_admin/main/_submit_buttons.html.erb +25 -0
- data/app/views/rails_admin/main/bulk_delete.html.erb +19 -0
- data/app/views/rails_admin/main/dashboard.html.erb +64 -0
- data/app/views/rails_admin/main/delete.html.erb +21 -0
- data/app/views/rails_admin/main/edit.html.erb +3 -0
- data/app/views/rails_admin/main/export.html.erb +146 -0
- data/app/views/rails_admin/main/history.html.erb +78 -0
- data/app/views/rails_admin/main/index.html.erb +193 -0
- data/app/views/rails_admin/main/new.html.erb +3 -0
- data/app/views/rails_admin/main/show.html.erb +28 -0
- data/config/initializers/active_record_extensions.rb +3 -1
- data/config/initializers/mongoid_extensions.rb +1 -1
- data/config/locales/rails_admin.en.yml +5 -1
- data/lib/generators/rails_admin/install_generator.rb +51 -3
- data/lib/generators/rails_admin/templates/environment.js +6 -0
- data/lib/generators/rails_admin/templates/initializer.erb +2 -1
- data/lib/generators/rails_admin/templates/rails_admin.js.erb +2 -0
- data/lib/generators/rails_admin/templates/rails_admin.scss +1 -0
- data/lib/generators/rails_admin/templates/webpack.config.js +32 -0
- data/lib/rails_admin/abstract_model.rb +24 -10
- data/lib/rails_admin/adapters/active_record/association.rb +20 -1
- data/lib/rails_admin/adapters/active_record/object_extension.rb +29 -0
- data/lib/rails_admin/adapters/active_record/property.rb +1 -1
- data/lib/rails_admin/adapters/active_record.rb +19 -21
- data/lib/rails_admin/adapters/mongoid/association.rb +38 -9
- data/lib/rails_admin/adapters/mongoid/bson.rb +4 -5
- data/lib/rails_admin/adapters/mongoid/extension.rb +3 -1
- data/lib/rails_admin/adapters/mongoid/object_extension.rb +32 -0
- data/lib/rails_admin/adapters/mongoid/property.rb +2 -2
- data/lib/rails_admin/adapters/mongoid.rb +25 -19
- data/lib/rails_admin/config/actions/base.rb +7 -2
- data/lib/rails_admin/config/actions/bulk_delete.rb +2 -2
- data/lib/rails_admin/config/actions/dashboard.rb +4 -3
- data/lib/rails_admin/config/actions/delete.rb +5 -9
- data/lib/rails_admin/config/actions/edit.rb +7 -7
- data/lib/rails_admin/config/actions/export.rb +2 -2
- data/lib/rails_admin/config/actions/history_index.rb +2 -2
- data/lib/rails_admin/config/actions/history_show.rb +2 -2
- data/lib/rails_admin/config/actions/index.rb +5 -7
- data/lib/rails_admin/config/actions/new.rb +9 -9
- data/lib/rails_admin/config/actions/show.rb +1 -1
- data/lib/rails_admin/config/actions/show_in_app.rb +6 -2
- data/lib/rails_admin/config/actions.rb +4 -4
- data/lib/rails_admin/config/configurable.rb +2 -2
- data/lib/rails_admin/config/fields/association.rb +15 -12
- data/lib/rails_admin/config/fields/base.rb +44 -24
- data/lib/rails_admin/config/fields/factories/active_storage.rb +1 -0
- data/lib/rails_admin/config/fields/factories/association.rb +6 -8
- data/lib/rails_admin/config/fields/factories/carrierwave.rb +2 -1
- data/lib/rails_admin/config/fields/factories/devise.rb +2 -1
- data/lib/rails_admin/config/fields/factories/dragonfly.rb +2 -1
- data/lib/rails_admin/config/fields/factories/paperclip.rb +2 -1
- data/lib/rails_admin/config/fields/factories/shrine.rb +1 -1
- data/lib/rails_admin/config/fields/group.rb +1 -2
- data/lib/rails_admin/config/fields/types/active_record_enum.rb +2 -0
- data/lib/rails_admin/config/fields/types/active_storage.rb +9 -7
- data/lib/rails_admin/config/fields/types/all.rb +1 -0
- data/lib/rails_admin/config/fields/types/belongs_to_association.rb +4 -12
- data/lib/rails_admin/config/fields/types/boolean.rb +32 -8
- data/lib/rails_admin/config/fields/types/carrierwave.rb +1 -0
- data/lib/rails_admin/config/fields/types/citext.rb +13 -0
- data/lib/rails_admin/config/fields/types/color.rb +6 -2
- data/lib/rails_admin/config/fields/types/date.rb +5 -8
- data/lib/rails_admin/config/fields/types/datetime.rb +18 -21
- data/lib/rails_admin/config/fields/types/decimal.rb +9 -2
- data/lib/rails_admin/config/fields/types/dragonfly.rb +3 -1
- data/lib/rails_admin/config/fields/types/enum.rb +1 -1
- data/lib/rails_admin/config/fields/types/file_upload.rb +4 -3
- data/lib/rails_admin/config/fields/types/float.rb +9 -2
- data/lib/rails_admin/config/fields/types/has_many_association.rb +1 -5
- data/lib/rails_admin/config/fields/types/has_one_association.rb +1 -13
- data/lib/rails_admin/config/fields/types/integer.rb +2 -6
- data/lib/rails_admin/config/fields/types/multiple_active_storage.rb +8 -6
- data/lib/rails_admin/config/fields/types/multiple_carrierwave.rb +1 -0
- data/lib/rails_admin/config/fields/types/multiple_file_upload.rb +4 -3
- data/lib/rails_admin/config/fields/types/numeric.rb +18 -0
- data/lib/rails_admin/config/fields/types/polymorphic_association.rb +3 -2
- data/lib/rails_admin/config/fields/types/string.rb +1 -1
- data/lib/rails_admin/config/fields/types/time.rb +1 -4
- data/lib/rails_admin/config/fields/types/timestamp.rb +0 -4
- data/lib/rails_admin/config/fields/types.rb +1 -1
- data/lib/rails_admin/config/fields.rb +3 -1
- data/lib/rails_admin/config/has_fields.rb +5 -6
- data/lib/rails_admin/config/hideable.rb +1 -1
- data/lib/rails_admin/config/inspectable.rb +1 -3
- data/lib/rails_admin/config/model.rb +10 -10
- data/lib/rails_admin/config/sections/base.rb +2 -3
- data/lib/rails_admin/config/sections/list.rb +4 -15
- data/lib/rails_admin/config/sections.rb +1 -1
- data/lib/rails_admin/config.rb +73 -38
- data/lib/rails_admin/engine.rb +36 -23
- data/lib/rails_admin/extension.rb +6 -14
- data/lib/rails_admin/extensions/cancancan/authorization_adapter.rb +4 -2
- data/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb +12 -7
- data/lib/rails_admin/extensions/pundit/authorization_adapter.rb +6 -7
- data/lib/rails_admin/support/csv_converter.rb +12 -13
- data/lib/rails_admin/support/datetime.rb +40 -74
- data/lib/rails_admin/support/esmodule_preprocessor.rb +32 -0
- data/lib/rails_admin/support/hash_helper.rb +6 -5
- data/lib/rails_admin/version.rb +8 -4
- data/lib/rails_admin.rb +1 -4
- data/lib/tasks/rails_admin.rake +3 -3
- data/package.json +28 -0
- data/src/rails_admin/base.js +21 -0
- data/src/rails_admin/filter-box.js +405 -0
- data/src/rails_admin/filtering-multiselect.js +394 -0
- data/src/rails_admin/filtering-select.js +302 -0
- data/src/rails_admin/i18n.js +19 -0
- data/src/rails_admin/nested-form-hooks.js +100 -0
- data/src/rails_admin/remote-form.js +190 -0
- data/src/rails_admin/sidescroll.js +20 -0
- data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/theming.scss +93 -34
- data/src/rails_admin/styles/base.scss +64 -0
- data/src/rails_admin/styles/filtering-multiselect.scss +53 -0
- data/src/rails_admin/styles/filtering-select.scss +70 -0
- data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/cerulean/theming.scss +23 -21
- data/src/rails_admin/styles/themes/cerulean/variables.scss +830 -0
- data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/mixins.scss +1 -1
- data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/variables.scss +1 -1
- data/src/rails_admin/styles/widgets.scss +35 -0
- data/src/rails_admin/ui.js +172 -0
- data/src/rails_admin/vendor/jquery.pjax.js +899 -0
- data/src/rails_admin/vendor/jquery_nested_form.js +122 -0
- data/src/rails_admin/widgets.js +512 -0
- data/vendor/assets/fonts/rails_admin/fa-solid-900.eot +0 -0
- data/vendor/assets/fonts/rails_admin/fa-solid-900.svg +5034 -0
- data/vendor/assets/fonts/rails_admin/fa-solid-900.ttf +0 -0
- data/vendor/assets/fonts/rails_admin/fa-solid-900.woff +0 -0
- data/vendor/assets/fonts/rails_admin/fa-solid-900.woff2 +0 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/data.js +41 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/effect.js +1637 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/ie.js +17 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/keycode.js +47 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/position.js +500 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/safe-active-element.js +42 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/scroll-parent.js +47 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/unique-id.js +51 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/version.js +17 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/widget.js +735 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/autocomplete.js +689 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/menu.js +680 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/mouse.js +230 -0
- data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/sortable.js +1561 -0
- data/vendor/assets/javascripts/rails_admin/jquery3.js +10872 -0
- data/vendor/assets/stylesheets/rails_admin/font-awesome.scss +4476 -2216
- metadata +118 -263
- data/app/assets/images/rails_admin/aristo/images/bg_fallback.png +0 -0
- data/app/assets/images/rails_admin/aristo/images/icon_sprite.png +0 -0
- data/app/assets/images/rails_admin/aristo/images/progress_bar.gif +0 -0
- data/app/assets/images/rails_admin/aristo/images/slider_handles.png +0 -0
- data/app/assets/images/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/rails_admin/bullet_black.png +0 -0
- data/app/assets/images/rails_admin/bullet_white.png +0 -0
- data/app/assets/images/rails_admin/calendar.png +0 -0
- data/app/assets/images/rails_admin/clock.png +0 -0
- data/app/assets/images/rails_admin/logo.png +0 -0
- data/app/assets/images/rails_admin/magnifier.png +0 -0
- data/app/assets/images/rails_admin/multiselect/icon_sprite.png +0 -0
- data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-dark.png +0 -0
- data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-light.png +0 -0
- data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-dark.png +0 -0
- data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-light.png +0 -0
- data/app/assets/javascripts/rails_admin/jquery-ui.js.erb +0 -8
- data/app/assets/javascripts/rails_admin/jquery.migrate.js +0 -3
- data/app/assets/javascripts/rails_admin/ra.filter-box.js +0 -253
- data/app/assets/javascripts/rails_admin/ra.filtering-multiselect.js +0 -331
- data/app/assets/javascripts/rails_admin/ra.filtering-select.js +0 -294
- data/app/assets/javascripts/rails_admin/ra.i18n.js +0 -28
- data/app/assets/javascripts/rails_admin/ra.nested-form-hooks.js +0 -59
- data/app/assets/javascripts/rails_admin/ra.remote-form.js +0 -155
- data/app/assets/javascripts/rails_admin/ra.sidescroll.js +0 -31
- data/app/assets/javascripts/rails_admin/ra.widgets.js +0 -379
- data/app/assets/javascripts/rails_admin/rails_admin.js +0 -21
- data/app/assets/javascripts/rails_admin/ui.js +0 -135
- data/app/assets/stylesheets/rails_admin/aristo/images/bg_fallback.png +0 -0
- data/app/assets/stylesheets/rails_admin/aristo/images/icon_sprite.png +0 -0
- data/app/assets/stylesheets/rails_admin/aristo/images/progress_bar.gif +0 -0
- data/app/assets/stylesheets/rails_admin/aristo/images/slider_handles.png +0 -0
- data/app/assets/stylesheets/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/rails_admin/aristo/jquery-ui-1.8.7.custom.scss +0 -733
- data/app/assets/stylesheets/rails_admin/base/font-awesome-4-compability.scss +0 -153
- data/app/assets/stylesheets/rails_admin/ra.filtering-multiselect.scss +0 -88
- data/app/assets/stylesheets/rails_admin/ra.sidescroll.scss +0 -29
- data/app/assets/stylesheets/rails_admin/ra.widgets.scss +0 -17
- data/app/assets/stylesheets/rails_admin/rails_admin.scss.erb +0 -110
- data/app/assets/stylesheets/rails_admin/themes/cerulean/variables.scss +0 -857
- data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.haml +0 -2
- data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.haml +0 -4
- data/app/views/kaminari/ra-twitter-bootstrap/_page.html.haml +0 -4
- data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.haml +0 -9
- data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.haml +0 -4
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.haml +0 -4
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.haml +0 -4
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.haml +0 -4
- data/app/views/layouts/rails_admin/_head.html.haml +0 -7
- data/app/views/layouts/rails_admin/_navigation.html.haml +0 -12
- data/app/views/layouts/rails_admin/_secondary_navigation.html.haml +0 -10
- data/app/views/layouts/rails_admin/_sidebar_navigation.html.haml +0 -3
- data/app/views/layouts/rails_admin/application.html.haml +0 -16
- data/app/views/layouts/rails_admin/pjax.html.haml +0 -12
- data/app/views/rails_admin/main/_dashboard_history.html.haml +0 -21
- data/app/views/rails_admin/main/_delete_notice.html.haml +0 -24
- data/app/views/rails_admin/main/_form_action_text.html.haml +0 -7
- data/app/views/rails_admin/main/_form_boolean.html.haml +0 -3
- data/app/views/rails_admin/main/_form_code_mirror.html.haml +0 -9
- data/app/views/rails_admin/main/_form_colorpicker.html.haml +0 -1
- data/app/views/rails_admin/main/_form_datetime.html.haml +0 -5
- data/app/views/rails_admin/main/_form_enumeration.html.haml +0 -19
- data/app/views/rails_admin/main/_form_field.html.haml +0 -1
- data/app/views/rails_admin/main/_form_file_upload.html.haml +0 -17
- data/app/views/rails_admin/main/_form_froala.html.haml +0 -8
- data/app/views/rails_admin/main/_form_multiple_file_upload.html.haml +0 -16
- data/app/views/rails_admin/main/_form_nested_many.html.haml +0 -15
- data/app/views/rails_admin/main/_form_nested_one.html.haml +0 -17
- data/app/views/rails_admin/main/_form_polymorphic_association.html.haml +0 -26
- data/app/views/rails_admin/main/_form_simple_mde.haml +0 -8
- data/app/views/rails_admin/main/_form_text.html.haml +0 -1
- data/app/views/rails_admin/main/_form_wysihtml5.html.haml +0 -8
- data/app/views/rails_admin/main/_submit_buttons.html.haml +0 -16
- data/app/views/rails_admin/main/bulk_delete.html.haml +0 -11
- data/app/views/rails_admin/main/dashboard.html.haml +0 -34
- data/app/views/rails_admin/main/delete.html.haml +0 -18
- data/app/views/rails_admin/main/edit.html.haml +0 -2
- data/app/views/rails_admin/main/export.html.haml +0 -92
- data/app/views/rails_admin/main/history.html.haml +0 -51
- data/app/views/rails_admin/main/index.html.haml +0 -126
- data/app/views/rails_admin/main/new.html.haml +0 -2
- data/app/views/rails_admin/main/show.html.haml +0 -15
- data/config/initializers/haml.rb +0 -5
- data/lib/rails_admin/adapters/active_record/abstract_object.rb +0 -38
- data/lib/rails_admin/adapters/active_record.rb.bak +0 -348
- data/lib/rails_admin/adapters/mongoid/abstract_object.rb +0 -42
- data/lib/rails_admin/bootstrap-sass/compass_functions.rb +0 -28
- data/lib/rails_admin/bootstrap-sass/sass_functions.rb +0 -16
- data/lib/rails_admin/bootstrap-sass.rb +0 -49
- data/lib/rails_admin/config/lazy_model.rb +0 -68
- data/lib/rails_admin/extensions/history/auditing_adapter.rb +0 -37
- data/lib/rails_admin/extensions/history/history.rb +0 -44
- data/lib/rails_admin/extensions/history.rb +0 -3
- data/lib/rails_admin/support/i18n.rb +0 -43
- data/vendor/assets/fonts/rails_admin/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/rails_admin/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/rails_admin/fontawesome-webfont.svg +0 -2671
- data/vendor/assets/fonts/rails_admin/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/rails_admin/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/rails_admin/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_background.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hex.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_b.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_h.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_s.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_indic.gif +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_overlay.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_b.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_g.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_r.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_select.gif +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/colorpicker_submit.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_background.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_hex.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_b.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_h.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_s.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_indic.gif +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_b.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_g.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_r.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/custom_submit.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/select.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/select2.png +0 -0
- data/vendor/assets/images/rails_admin/colorpicker/slider.png +0 -0
- data/vendor/assets/javascripts/rails_admin/jquery.colorpicker.js +0 -484
- data/vendor/assets/stylesheets/rails_admin/jquery.colorpicker.scss +0 -182
- /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/README.txt +0 -0
- /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/mixins.scss +0 -0
- /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/variables.scss +0 -0
- /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/cerulean/mixins.scss +0 -0
- /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/theming.scss +0 -0
@@ -0,0 +1,830 @@
|
|
1
|
+
// Cerulean 3.3.1
|
2
|
+
// Variables
|
3
|
+
//
|
4
|
+
// --------------------------------------------------
|
5
|
+
|
6
|
+
//== Colors
|
7
|
+
//
|
8
|
+
//## Gray and brand colors for use across Bootstrap.
|
9
|
+
|
10
|
+
$gray-base: #000;
|
11
|
+
$gray-darker: lighten($gray-base, 13.5%); // #222
|
12
|
+
$gray-dark: lighten($gray-base, 20%); // #333
|
13
|
+
$gray: lighten($gray-base, 33.5%); // #555
|
14
|
+
$gray-light: lighten($gray-base, 60%); // #999
|
15
|
+
$gray-lighter: lighten($gray-base, 93.5%); // #eee
|
16
|
+
|
17
|
+
$brand-info: #2fa4e7; // default $brand-primary
|
18
|
+
$brand-success: #73a839;
|
19
|
+
$brand-primary: #033c73; // default $brand-info
|
20
|
+
$brand-warning: #dd5600;
|
21
|
+
$brand-danger: #c71c22;
|
22
|
+
|
23
|
+
//== Scaffolding
|
24
|
+
//
|
25
|
+
//## Settings for some of the most global styles.
|
26
|
+
|
27
|
+
//** Background color for `<body>`.
|
28
|
+
$body-bg: #fff;
|
29
|
+
//** Global text color on `<body>`.
|
30
|
+
$text-color: $gray;
|
31
|
+
|
32
|
+
//** Global textual link color.
|
33
|
+
$link-color: $brand-primary;
|
34
|
+
//** Link hover color set via `darken()` function.
|
35
|
+
$link-hover-color: darken($link-color, 15%);
|
36
|
+
//** Link hover decoration.
|
37
|
+
$link-hover-decoration: underline;
|
38
|
+
|
39
|
+
//== Typography
|
40
|
+
//
|
41
|
+
//## Font, line-height, and color for body text, headings, and more.
|
42
|
+
|
43
|
+
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
44
|
+
$font-family-serif: Georgia, "Times New Roman", Times, serif;
|
45
|
+
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
46
|
+
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
47
|
+
$font-family-base: $font-family-sans-serif;
|
48
|
+
|
49
|
+
$font-size-base: 14px;
|
50
|
+
$font-size-large: ceil(($font-size-base * 1.25)); // ~18px
|
51
|
+
$font-size-small: ceil(($font-size-base * 0.85)); // ~12px
|
52
|
+
|
53
|
+
$font-size-h1: floor(($font-size-base * 2.6)); // ~36px
|
54
|
+
$font-size-h2: floor(($font-size-base * 2.15)); // ~30px
|
55
|
+
$font-size-h3: ceil(($font-size-base * 1.7)); // ~24px
|
56
|
+
$font-size-h4: ceil(($font-size-base * 1.25)); // ~18px
|
57
|
+
$font-size-h5: $font-size-base;
|
58
|
+
$font-size-h6: ceil(($font-size-base * 0.85)); // ~12px
|
59
|
+
|
60
|
+
//** Unit-less `line-height` for use in components like buttons.
|
61
|
+
$line-height-base: 1.428571429; // 20/14
|
62
|
+
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
63
|
+
$line-height-computed: floor(($font-size-base * $line-height-base)); // ~20px
|
64
|
+
|
65
|
+
//** By default, this inherits from the `<body>`.
|
66
|
+
$headings-font-family: $font-family-base;
|
67
|
+
$headings-font-weight: 500;
|
68
|
+
$headings-line-height: 1.1;
|
69
|
+
$headings-color: #317eac;
|
70
|
+
|
71
|
+
//== Iconography
|
72
|
+
//
|
73
|
+
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
74
|
+
|
75
|
+
//** Load fonts from this directory.
|
76
|
+
$icon-font-path: "../fonts/";
|
77
|
+
//** File name for all font files.
|
78
|
+
$icon-font-name: "glyphicons-halflings-regular";
|
79
|
+
//** Element ID within SVG icon file.
|
80
|
+
$icon-font-svg-id: "glyphicons_halflingsregular";
|
81
|
+
|
82
|
+
//== Components
|
83
|
+
//
|
84
|
+
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
85
|
+
|
86
|
+
$padding-base-vertical: 8px;
|
87
|
+
$padding-base-horizontal: 12px;
|
88
|
+
|
89
|
+
$padding-large-vertical: 14px;
|
90
|
+
$padding-large-horizontal: 16px;
|
91
|
+
|
92
|
+
$padding-small-vertical: 5px;
|
93
|
+
$padding-small-horizontal: 10px;
|
94
|
+
|
95
|
+
$padding-xs-vertical: 1px;
|
96
|
+
$padding-xs-horizontal: 5px;
|
97
|
+
|
98
|
+
$line-height-large: 1.33;
|
99
|
+
$line-height-small: 1.5;
|
100
|
+
|
101
|
+
$border-radius-base: 0px;
|
102
|
+
$border-radius-large: 0px;
|
103
|
+
$border-radius-small: 0px;
|
104
|
+
|
105
|
+
//** Global color for active items (e.g., navs or dropdowns).
|
106
|
+
$component-active-color: #fff;
|
107
|
+
//** Global background color for active items (e.g., navs or dropdowns).
|
108
|
+
$component-active-bg: $brand-primary;
|
109
|
+
|
110
|
+
//** Width of the `border` for generating carets that indicator dropdowns.
|
111
|
+
$caret-width-base: 4px;
|
112
|
+
//** Carets increase slightly in size for larger components.
|
113
|
+
$caret-width-large: 5px;
|
114
|
+
|
115
|
+
//== Tables
|
116
|
+
//
|
117
|
+
//## Customizes the `.table` component with basic values, each used across all table variations.
|
118
|
+
|
119
|
+
//** Padding for `<th>`s and `<td>`s.
|
120
|
+
$table-cell-padding: 8px;
|
121
|
+
//** Padding for cells in `.table-condensed`.
|
122
|
+
$table-condensed-cell-padding: 5px;
|
123
|
+
|
124
|
+
//** Default background color used for all tables.
|
125
|
+
$table-bg: transparent;
|
126
|
+
//** Background color used for `.table-striped`.
|
127
|
+
$table-bg-accent: #f9f9f9;
|
128
|
+
//** Background color used for `.table-hover`.
|
129
|
+
$table-bg-hover: #f5f5f5;
|
130
|
+
$table-bg-active: $table-bg-hover;
|
131
|
+
|
132
|
+
//** Border color for table and cell borders.
|
133
|
+
$table-border-color: #ddd;
|
134
|
+
|
135
|
+
//== Buttons
|
136
|
+
//
|
137
|
+
//## For each of Bootstrap's buttons, define text, background and border color.
|
138
|
+
|
139
|
+
$btn-font-weight: normal;
|
140
|
+
|
141
|
+
$btn-default-color: $text-color;
|
142
|
+
$btn-default-bg: #fff;
|
143
|
+
$btn-default-border: rgba(0, 0, 0, 0.1);
|
144
|
+
|
145
|
+
$btn-primary-color: #fff;
|
146
|
+
$btn-primary-bg: $brand-primary;
|
147
|
+
$btn-primary-border: $btn-primary-bg;
|
148
|
+
|
149
|
+
$btn-success-color: #fff;
|
150
|
+
$btn-success-bg: $brand-success;
|
151
|
+
$btn-success-border: $btn-success-bg;
|
152
|
+
|
153
|
+
$btn-info-color: #fff;
|
154
|
+
$btn-info-bg: $brand-info;
|
155
|
+
$btn-info-border: $btn-info-bg;
|
156
|
+
|
157
|
+
$btn-warning-color: #fff;
|
158
|
+
$btn-warning-bg: $brand-warning;
|
159
|
+
$btn-warning-border: $btn-warning-bg;
|
160
|
+
|
161
|
+
$btn-danger-color: #fff;
|
162
|
+
$btn-danger-bg: $brand-danger;
|
163
|
+
$btn-danger-border: $btn-danger-bg;
|
164
|
+
|
165
|
+
$btn-link-disabled-color: $gray-light;
|
166
|
+
|
167
|
+
//== Forms
|
168
|
+
//
|
169
|
+
//##
|
170
|
+
|
171
|
+
//** `<input>` background color
|
172
|
+
$input-bg: #fff;
|
173
|
+
//** `<input disabled>` background color
|
174
|
+
$input-bg-disabled: $gray-lighter;
|
175
|
+
|
176
|
+
//** Text color for `<input>`s
|
177
|
+
$input-color: $text-color;
|
178
|
+
//** `<input>` border color
|
179
|
+
$input-border: #ccc;
|
180
|
+
|
181
|
+
// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
|
182
|
+
//** Default `.form-control` border radius
|
183
|
+
$input-border-radius: $border-radius-base;
|
184
|
+
//** Large `.form-control` border radius
|
185
|
+
$input-border-radius-large: $border-radius-large;
|
186
|
+
//** Small `.form-control` border radius
|
187
|
+
$input-border-radius-small: $border-radius-small;
|
188
|
+
|
189
|
+
//** Border color for inputs on focus
|
190
|
+
$input-border-focus: #66afe9;
|
191
|
+
|
192
|
+
//** Placeholder text color
|
193
|
+
$input-color-placeholder: $gray-light;
|
194
|
+
|
195
|
+
//** Default `.form-control` height
|
196
|
+
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2);
|
197
|
+
//** Large `.form-control` height
|
198
|
+
$input-height-large: (
|
199
|
+
ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) +
|
200
|
+
2
|
201
|
+
);
|
202
|
+
//** Small `.form-control` height
|
203
|
+
$input-height-small: (
|
204
|
+
floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) +
|
205
|
+
2
|
206
|
+
);
|
207
|
+
|
208
|
+
$legend-color: $text-color;
|
209
|
+
$legend-border-color: #e5e5e5;
|
210
|
+
|
211
|
+
//** Background color for textual input addons
|
212
|
+
$input-group-addon-bg: $gray-lighter;
|
213
|
+
//** Border color for textual input addons
|
214
|
+
$input-group-addon-border-color: $input-border;
|
215
|
+
|
216
|
+
//** Disabled cursor for form controls and buttons.
|
217
|
+
$cursor-disabled: not-allowed;
|
218
|
+
|
219
|
+
//== Dropdowns
|
220
|
+
//
|
221
|
+
//## Dropdown menu container and contents.
|
222
|
+
|
223
|
+
//** Background for the dropdown menu.
|
224
|
+
$dropdown-bg: #fff;
|
225
|
+
//** Dropdown menu `border-color`.
|
226
|
+
$dropdown-border: rgba(0, 0, 0, 0.15);
|
227
|
+
//** Dropdown menu `border-color` **for IE8**.
|
228
|
+
$dropdown-fallback-border: #ccc;
|
229
|
+
//** Divider color for between dropdown items.
|
230
|
+
$dropdown-divider-bg: #e5e5e5;
|
231
|
+
|
232
|
+
//** Dropdown link text color.
|
233
|
+
$dropdown-link-color: $gray-dark;
|
234
|
+
//** Hover color for dropdown links.
|
235
|
+
$dropdown-link-hover-color: #fff;
|
236
|
+
//** Hover background for dropdown links.
|
237
|
+
$dropdown-link-hover-bg: $component-active-bg;
|
238
|
+
|
239
|
+
//** Active dropdown menu item text color.
|
240
|
+
$dropdown-link-active-color: #fff;
|
241
|
+
//** Active dropdown menu item background color.
|
242
|
+
$dropdown-link-active-bg: $component-active-bg;
|
243
|
+
|
244
|
+
//** Disabled dropdown menu item background color.
|
245
|
+
$dropdown-link-disabled-color: $gray-light;
|
246
|
+
|
247
|
+
//** Text color for headers within dropdown menus.
|
248
|
+
$dropdown-header-color: $gray-light;
|
249
|
+
|
250
|
+
//** Deprecated `$dropdown-caret-color` as of v3.1.0
|
251
|
+
$dropdown-caret-color: #000;
|
252
|
+
|
253
|
+
//-- Z-index master list
|
254
|
+
//
|
255
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
256
|
+
// of components dependent on the z-axis and are designed to all work together.
|
257
|
+
//
|
258
|
+
// Note: These variables are not generated into the Customizer.
|
259
|
+
|
260
|
+
$zindex-navbar: 1000;
|
261
|
+
$zindex-dropdown: 1000;
|
262
|
+
$zindex-popover: 1060;
|
263
|
+
$zindex-tooltip: 1070;
|
264
|
+
$zindex-navbar-fixed: 1030;
|
265
|
+
$zindex-modal: 1040;
|
266
|
+
|
267
|
+
//== Media queries breakpoints
|
268
|
+
//
|
269
|
+
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
270
|
+
|
271
|
+
// Extra small screen / phone
|
272
|
+
//** Deprecated `$screen-xs` as of v3.0.1
|
273
|
+
$screen-xs: 480px;
|
274
|
+
//** Deprecated `$screen-xs-min` as of v3.2.0
|
275
|
+
$screen-xs-min: $screen-xs;
|
276
|
+
//** Deprecated `$screen-phone` as of v3.0.1
|
277
|
+
$screen-phone: $screen-xs-min;
|
278
|
+
|
279
|
+
// Small screen / tablet
|
280
|
+
//** Deprecated `$screen-sm` as of v3.0.1
|
281
|
+
$screen-sm: 768px;
|
282
|
+
$screen-sm-min: $screen-sm;
|
283
|
+
//** Deprecated `$screen-tablet` as of v3.0.1
|
284
|
+
$screen-tablet: $screen-sm-min;
|
285
|
+
|
286
|
+
// Medium screen / desktop
|
287
|
+
//** Deprecated `$screen-md` as of v3.0.1
|
288
|
+
$screen-md: 992px;
|
289
|
+
$screen-md-min: $screen-md;
|
290
|
+
//** Deprecated `$screen-desktop` as of v3.0.1
|
291
|
+
$screen-desktop: $screen-md-min;
|
292
|
+
|
293
|
+
// Large screen / wide desktop
|
294
|
+
//** Deprecated `$screen-lg` as of v3.0.1
|
295
|
+
$screen-lg: 1200px;
|
296
|
+
$screen-lg-min: $screen-lg;
|
297
|
+
//** Deprecated `$screen-lg-desktop` as of v3.0.1
|
298
|
+
$screen-lg-desktop: $screen-lg-min;
|
299
|
+
|
300
|
+
// So media queries don't overlap when required, provide a maximum
|
301
|
+
$screen-xs-max: ($screen-sm-min - 1);
|
302
|
+
$screen-sm-max: ($screen-md-min - 1);
|
303
|
+
$screen-md-max: ($screen-lg-min - 1);
|
304
|
+
|
305
|
+
//== Grid system
|
306
|
+
//
|
307
|
+
//## Define your custom responsive grid.
|
308
|
+
|
309
|
+
//** Number of columns in the grid.
|
310
|
+
$grid-columns: 12;
|
311
|
+
//** Padding between columns. Gets divided in half for the left and right.
|
312
|
+
$grid-gutter-width: 30px;
|
313
|
+
// Navbar collapse
|
314
|
+
//** Point at which the navbar becomes uncollapsed.
|
315
|
+
$grid-float-breakpoint: $screen-sm-min;
|
316
|
+
//** Point at which the navbar begins collapsing.
|
317
|
+
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1);
|
318
|
+
|
319
|
+
//== Container sizes
|
320
|
+
//
|
321
|
+
//## Define the maximum width of `.container` for different screen sizes.
|
322
|
+
|
323
|
+
// Small screen / tablet
|
324
|
+
$container-tablet: (720px + $grid-gutter-width);
|
325
|
+
//** For `$screen-sm-min` and up.
|
326
|
+
$container-sm: $container-tablet;
|
327
|
+
|
328
|
+
// Medium screen / desktop
|
329
|
+
$container-desktop: (940px + $grid-gutter-width);
|
330
|
+
//** For `$screen-md-min` and up.
|
331
|
+
$container-md: $container-desktop;
|
332
|
+
|
333
|
+
// Large screen / wide desktop
|
334
|
+
$container-large-desktop: (1140px + $grid-gutter-width);
|
335
|
+
//** For `$screen-lg-min` and up.
|
336
|
+
$container-lg: $container-large-desktop;
|
337
|
+
|
338
|
+
//== Navbar
|
339
|
+
//
|
340
|
+
//##
|
341
|
+
|
342
|
+
// Basics of a navbar
|
343
|
+
$navbar-height: 50px;
|
344
|
+
$navbar-margin-bottom: $line-height-computed;
|
345
|
+
$navbar-border-radius: $border-radius-base;
|
346
|
+
$navbar-padding-horizontal: floor(($grid-gutter-width / 2));
|
347
|
+
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
|
348
|
+
$navbar-collapse-max-height: 340px;
|
349
|
+
|
350
|
+
$navbar-default-color: #ddd;
|
351
|
+
$navbar-default-bg: $brand-primary;
|
352
|
+
$navbar-default-border: darken($navbar-default-bg, 6.5%);
|
353
|
+
|
354
|
+
// Navbar links
|
355
|
+
$navbar-default-link-color: #fff;
|
356
|
+
$navbar-default-link-hover-color: #fff;
|
357
|
+
$navbar-default-link-hover-bg: darken($navbar-default-bg, 10%);
|
358
|
+
$navbar-default-link-active-color: #fff;
|
359
|
+
$navbar-default-link-active-bg: darken($navbar-default-bg, 10%);
|
360
|
+
$navbar-default-link-disabled-color: #ddd;
|
361
|
+
$navbar-default-link-disabled-bg: transparent;
|
362
|
+
|
363
|
+
// Navbar brand label
|
364
|
+
$navbar-default-brand-color: $navbar-default-link-color;
|
365
|
+
$navbar-default-brand-hover-color: #fff;
|
366
|
+
$navbar-default-brand-hover-bg: none;
|
367
|
+
|
368
|
+
// Navbar toggle
|
369
|
+
$navbar-default-toggle-hover-bg: darken($navbar-default-bg, 10%);
|
370
|
+
$navbar-default-toggle-icon-bar-bg: #fff;
|
371
|
+
$navbar-default-toggle-border-color: darken($navbar-default-bg, 10%);
|
372
|
+
|
373
|
+
// Inverted navbar
|
374
|
+
// Reset inverted navbar basics
|
375
|
+
$navbar-inverse-color: #fff;
|
376
|
+
$navbar-inverse-bg: $brand-info;
|
377
|
+
$navbar-inverse-border: darken($navbar-inverse-bg, 5%);
|
378
|
+
|
379
|
+
// Inverted navbar links
|
380
|
+
$navbar-inverse-link-color: #fff;
|
381
|
+
$navbar-inverse-link-hover-color: #fff;
|
382
|
+
$navbar-inverse-link-hover-bg: darken($navbar-inverse-bg, 5%);
|
383
|
+
$navbar-inverse-link-active-color: #fff;
|
384
|
+
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 5%);
|
385
|
+
$navbar-inverse-link-disabled-color: #ccc;
|
386
|
+
$navbar-inverse-link-disabled-bg: transparent;
|
387
|
+
|
388
|
+
// Inverted navbar brand label
|
389
|
+
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
390
|
+
$navbar-inverse-brand-hover-color: #fff;
|
391
|
+
$navbar-inverse-brand-hover-bg: none;
|
392
|
+
|
393
|
+
// Inverted navbar toggle
|
394
|
+
$navbar-inverse-toggle-hover-bg: darken($navbar-inverse-bg, 5%);
|
395
|
+
$navbar-inverse-toggle-icon-bar-bg: #fff;
|
396
|
+
$navbar-inverse-toggle-border-color: darken($navbar-inverse-bg, 5%);
|
397
|
+
|
398
|
+
//== Navs
|
399
|
+
//
|
400
|
+
//##
|
401
|
+
|
402
|
+
//=== Shared nav styles
|
403
|
+
$nav-link-padding: 10px 15px;
|
404
|
+
$nav-link-hover-bg: $gray-lighter;
|
405
|
+
|
406
|
+
$nav-disabled-link-color: $gray-light;
|
407
|
+
$nav-disabled-link-hover-color: $gray-light;
|
408
|
+
|
409
|
+
//== Tabs
|
410
|
+
$nav-tabs-border-color: #ddd;
|
411
|
+
|
412
|
+
$nav-tabs-link-hover-border-color: $gray-lighter;
|
413
|
+
|
414
|
+
$nav-tabs-active-link-hover-bg: $body-bg;
|
415
|
+
$nav-tabs-active-link-hover-color: $gray;
|
416
|
+
$nav-tabs-active-link-hover-border-color: #ddd;
|
417
|
+
|
418
|
+
$nav-tabs-justified-link-border-color: #ddd;
|
419
|
+
$nav-tabs-justified-active-link-border-color: $body-bg;
|
420
|
+
|
421
|
+
//== Pills
|
422
|
+
$nav-pills-border-radius: $border-radius-base;
|
423
|
+
$nav-pills-active-link-hover-bg: $component-active-bg;
|
424
|
+
$nav-pills-active-link-hover-color: $component-active-color;
|
425
|
+
|
426
|
+
//== Pagination
|
427
|
+
//
|
428
|
+
//##
|
429
|
+
|
430
|
+
$pagination-color: $link-color;
|
431
|
+
$pagination-bg: #fff;
|
432
|
+
$pagination-border: #ddd;
|
433
|
+
|
434
|
+
$pagination-hover-color: $link-hover-color;
|
435
|
+
$pagination-hover-bg: $gray-lighter;
|
436
|
+
$pagination-hover-border: #ddd;
|
437
|
+
|
438
|
+
$pagination-active-color: $gray-light;
|
439
|
+
$pagination-active-bg: #f5f5f5;
|
440
|
+
$pagination-active-border: $pagination-hover-border;
|
441
|
+
|
442
|
+
$pagination-disabled-color: $gray-light;
|
443
|
+
$pagination-disabled-bg: #fff;
|
444
|
+
$pagination-disabled-border: #ddd;
|
445
|
+
|
446
|
+
//== Pager
|
447
|
+
//
|
448
|
+
//##
|
449
|
+
|
450
|
+
$pager-bg: $pagination-bg;
|
451
|
+
$pager-border: $pagination-border;
|
452
|
+
$pager-border-radius: 15px;
|
453
|
+
|
454
|
+
$pager-hover-bg: $pagination-hover-bg;
|
455
|
+
|
456
|
+
$pager-active-bg: $pagination-active-bg;
|
457
|
+
$pager-active-color: $pagination-active-color;
|
458
|
+
|
459
|
+
$pager-disabled-color: $gray-light;
|
460
|
+
|
461
|
+
//== Jumbotron
|
462
|
+
//
|
463
|
+
//##
|
464
|
+
|
465
|
+
$jumbotron-padding: 30px;
|
466
|
+
$jumbotron-color: inherit;
|
467
|
+
$jumbotron-bg: $gray-lighter;
|
468
|
+
$jumbotron-heading-color: inherit;
|
469
|
+
$jumbotron-font-size: ceil(($font-size-base * 1.5));
|
470
|
+
|
471
|
+
//== Form states and alerts
|
472
|
+
//
|
473
|
+
//## Define colors for form feedback states and, by default, alerts.
|
474
|
+
|
475
|
+
$state-success-text: #468847;
|
476
|
+
$state-success-bg: #dff0d8;
|
477
|
+
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%);
|
478
|
+
|
479
|
+
$state-info-text: #3a87ad;
|
480
|
+
$state-info-bg: #d9edf7;
|
481
|
+
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%);
|
482
|
+
|
483
|
+
$state-warning-text: #c09853;
|
484
|
+
$state-warning-bg: #fcf8e3;
|
485
|
+
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 3%);
|
486
|
+
|
487
|
+
$state-danger-text: #b94a48;
|
488
|
+
$state-danger-bg: #f2dede;
|
489
|
+
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 3%);
|
490
|
+
|
491
|
+
//== Tooltips
|
492
|
+
//
|
493
|
+
//##
|
494
|
+
|
495
|
+
//** Tooltip max width
|
496
|
+
$tooltip-max-width: 200px;
|
497
|
+
//** Tooltip text color
|
498
|
+
$tooltip-color: #fff;
|
499
|
+
//** Tooltip background color
|
500
|
+
$tooltip-bg: rgba(0, 0, 0, 0.9);
|
501
|
+
$tooltip-opacity: 0.9;
|
502
|
+
|
503
|
+
//** Tooltip arrow width
|
504
|
+
$tooltip-arrow-width: 5px;
|
505
|
+
//** Tooltip arrow color
|
506
|
+
$tooltip-arrow-color: $tooltip-bg;
|
507
|
+
|
508
|
+
//== Popovers
|
509
|
+
//
|
510
|
+
//##
|
511
|
+
|
512
|
+
//** Popover body background color
|
513
|
+
$popover-bg: #fff;
|
514
|
+
//** Popover maximum width
|
515
|
+
$popover-max-width: 276px;
|
516
|
+
//** Popover border color
|
517
|
+
$popover-border-color: rgba(0, 0, 0, 0.2);
|
518
|
+
//** Popover fallback border color
|
519
|
+
$popover-fallback-border-color: #ccc;
|
520
|
+
|
521
|
+
//** Popover title background color
|
522
|
+
$popover-title-bg: darken($popover-bg, 3%);
|
523
|
+
|
524
|
+
//** Popover arrow width
|
525
|
+
$popover-arrow-width: 10px;
|
526
|
+
//** Popover arrow color
|
527
|
+
$popover-arrow-color: $popover-bg;
|
528
|
+
|
529
|
+
//** Popover outer arrow width
|
530
|
+
$popover-arrow-outer-width: ($popover-arrow-width + 1);
|
531
|
+
//** Popover outer arrow color
|
532
|
+
$popover-arrow-outer-color: fadein($popover-border-color, 5%);
|
533
|
+
//** Popover outer arrow fallback color
|
534
|
+
$popover-arrow-outer-fallback-color: darken(
|
535
|
+
$popover-fallback-border-color,
|
536
|
+
20%
|
537
|
+
);
|
538
|
+
|
539
|
+
//== Labels
|
540
|
+
//
|
541
|
+
//##
|
542
|
+
|
543
|
+
//** Default label background color
|
544
|
+
$label-default-bg: $gray-light;
|
545
|
+
//** Primary label background color
|
546
|
+
$label-primary-bg: $brand-primary;
|
547
|
+
//** Success label background color
|
548
|
+
$label-success-bg: $brand-success;
|
549
|
+
//** Info label background color
|
550
|
+
$label-info-bg: $brand-info;
|
551
|
+
//** Warning label background color
|
552
|
+
$label-warning-bg: $brand-warning;
|
553
|
+
//** Danger label background color
|
554
|
+
$label-danger-bg: $brand-danger;
|
555
|
+
|
556
|
+
//** Default label text color
|
557
|
+
$label-color: #fff;
|
558
|
+
//** Default text color of a linked label
|
559
|
+
$label-link-hover-color: #fff;
|
560
|
+
|
561
|
+
//== Modals
|
562
|
+
//
|
563
|
+
//##
|
564
|
+
|
565
|
+
//** Padding applied to the modal body
|
566
|
+
$modal-inner-padding: 20px;
|
567
|
+
|
568
|
+
//** Padding applied to the modal title
|
569
|
+
$modal-title-padding: 15px;
|
570
|
+
//** Modal title line-height
|
571
|
+
$modal-title-line-height: $line-height-base;
|
572
|
+
|
573
|
+
//** Background color of modal content area
|
574
|
+
$modal-content-bg: #fff;
|
575
|
+
//** Modal content border color
|
576
|
+
$modal-content-border-color: rgba(0, 0, 0, 0.2);
|
577
|
+
//** Modal content border color **for IE8**
|
578
|
+
$modal-content-fallback-border-color: #999;
|
579
|
+
|
580
|
+
//** Modal backdrop background color
|
581
|
+
$modal-backdrop-bg: #000;
|
582
|
+
//** Modal backdrop opacity
|
583
|
+
$modal-backdrop-opacity: 0.5;
|
584
|
+
//** Modal header border color
|
585
|
+
$modal-header-border-color: #e5e5e5;
|
586
|
+
//** Modal footer border color
|
587
|
+
$modal-footer-border-color: $modal-header-border-color;
|
588
|
+
|
589
|
+
$modal-lg: 900px;
|
590
|
+
$modal-md: 600px;
|
591
|
+
$modal-sm: 300px;
|
592
|
+
|
593
|
+
//== Alerts
|
594
|
+
//
|
595
|
+
//## Define alert colors, border radius, and padding.
|
596
|
+
|
597
|
+
$alert-padding: 15px;
|
598
|
+
$alert-border-radius: $border-radius-base;
|
599
|
+
$alert-link-font-weight: bold;
|
600
|
+
|
601
|
+
$alert-success-bg: $state-success-bg;
|
602
|
+
$alert-success-text: $state-success-text;
|
603
|
+
$alert-success-border: $state-success-border;
|
604
|
+
|
605
|
+
$alert-info-bg: $state-info-bg;
|
606
|
+
$alert-info-text: $state-info-text;
|
607
|
+
$alert-info-border: $state-info-border;
|
608
|
+
|
609
|
+
$alert-warning-bg: $state-warning-bg;
|
610
|
+
$alert-warning-text: $state-warning-text;
|
611
|
+
$alert-warning-border: $state-warning-border;
|
612
|
+
|
613
|
+
$alert-danger-bg: $state-danger-bg;
|
614
|
+
$alert-danger-text: $state-danger-text;
|
615
|
+
$alert-danger-border: $state-danger-border;
|
616
|
+
|
617
|
+
//== Progress bars
|
618
|
+
//
|
619
|
+
//##
|
620
|
+
|
621
|
+
//** Background color of the whole progress component
|
622
|
+
$progress-bg: #f5f5f5;
|
623
|
+
//** Progress bar text color
|
624
|
+
$progress-bar-color: #fff;
|
625
|
+
//** Variable for setting rounded corners on progress bar.
|
626
|
+
$progress-border-radius: $border-radius-base;
|
627
|
+
|
628
|
+
//** Default progress bar color
|
629
|
+
$progress-bar-bg: $brand-primary;
|
630
|
+
//** Success progress bar color
|
631
|
+
$progress-bar-success-bg: $brand-success;
|
632
|
+
//** Warning progress bar color
|
633
|
+
$progress-bar-warning-bg: $brand-warning;
|
634
|
+
//** Danger progress bar color
|
635
|
+
$progress-bar-danger-bg: $brand-danger;
|
636
|
+
//** Info progress bar color
|
637
|
+
$progress-bar-info-bg: $brand-info;
|
638
|
+
|
639
|
+
//== List group
|
640
|
+
//
|
641
|
+
//##
|
642
|
+
|
643
|
+
//** Background color on `.list-group-item`
|
644
|
+
$list-group-bg: #fff;
|
645
|
+
//** `.list-group-item` border color
|
646
|
+
$list-group-border: #ddd;
|
647
|
+
//** List group border radius
|
648
|
+
$list-group-border-radius: $border-radius-base;
|
649
|
+
|
650
|
+
//** Background color of single list items on hover
|
651
|
+
$list-group-hover-bg: #f5f5f5;
|
652
|
+
//** Text color of active list items
|
653
|
+
$list-group-active-color: $component-active-color;
|
654
|
+
//** Background color of active list items
|
655
|
+
$list-group-active-bg: $component-active-bg;
|
656
|
+
//** Border color of active list elements
|
657
|
+
$list-group-active-border: $list-group-active-bg;
|
658
|
+
//** Text color for content within active list items
|
659
|
+
$list-group-active-text-color: lighten($list-group-active-bg, 40%);
|
660
|
+
|
661
|
+
//** Text color of disabled list items
|
662
|
+
$list-group-disabled-color: $gray-light;
|
663
|
+
//** Background color of disabled list items
|
664
|
+
$list-group-disabled-bg: $gray-lighter;
|
665
|
+
//** Text color for content within disabled list items
|
666
|
+
$list-group-disabled-text-color: $list-group-disabled-color;
|
667
|
+
|
668
|
+
$list-group-link-color: #555;
|
669
|
+
$list-group-link-hover-color: $list-group-link-color;
|
670
|
+
$list-group-link-heading-color: #333;
|
671
|
+
|
672
|
+
//== Panels
|
673
|
+
//
|
674
|
+
//##
|
675
|
+
|
676
|
+
$panel-bg: #fff;
|
677
|
+
$panel-body-padding: 15px;
|
678
|
+
$panel-heading-padding: 10px 15px;
|
679
|
+
$panel-footer-padding: $panel-heading-padding;
|
680
|
+
$panel-border-radius: $border-radius-base;
|
681
|
+
|
682
|
+
//** Border color for elements within panels
|
683
|
+
$panel-inner-border: #ddd;
|
684
|
+
$panel-footer-bg: #f5f5f5;
|
685
|
+
|
686
|
+
$panel-default-text: $text-color;
|
687
|
+
$panel-default-border: #ddd;
|
688
|
+
$panel-default-heading-bg: #f5f5f5;
|
689
|
+
|
690
|
+
$panel-primary-text: #fff;
|
691
|
+
$panel-primary-border: $panel-default-border;
|
692
|
+
$panel-primary-heading-bg: $brand-primary;
|
693
|
+
|
694
|
+
$panel-success-text: $state-success-text;
|
695
|
+
$panel-success-border: $panel-default-border;
|
696
|
+
$panel-success-heading-bg: $brand-success;
|
697
|
+
|
698
|
+
$panel-info-text: $state-info-text;
|
699
|
+
$panel-info-border: $panel-default-border;
|
700
|
+
$panel-info-heading-bg: $brand-info;
|
701
|
+
|
702
|
+
$panel-warning-text: $state-warning-text;
|
703
|
+
$panel-warning-border: $panel-default-border;
|
704
|
+
$panel-warning-heading-bg: $brand-warning;
|
705
|
+
|
706
|
+
$panel-danger-text: $state-danger-text;
|
707
|
+
$panel-danger-border: $panel-default-border;
|
708
|
+
$panel-danger-heading-bg: $brand-danger;
|
709
|
+
|
710
|
+
//== Thumbnails
|
711
|
+
//
|
712
|
+
//##
|
713
|
+
|
714
|
+
//** Padding around the thumbnail image
|
715
|
+
$thumbnail-padding: 4px;
|
716
|
+
//** Thumbnail background color
|
717
|
+
$thumbnail-bg: $body-bg;
|
718
|
+
//** Thumbnail border color
|
719
|
+
$thumbnail-border: #ddd;
|
720
|
+
//** Thumbnail border radius
|
721
|
+
$thumbnail-border-radius: $border-radius-base;
|
722
|
+
|
723
|
+
//** Custom text color for thumbnail captions
|
724
|
+
$thumbnail-caption-color: $text-color;
|
725
|
+
//** Padding around the thumbnail caption
|
726
|
+
$thumbnail-caption-padding: 9px;
|
727
|
+
|
728
|
+
//== Wells
|
729
|
+
//
|
730
|
+
//##
|
731
|
+
|
732
|
+
$well-bg: #f5f5f5;
|
733
|
+
$well-border: darken($well-bg, 7%);
|
734
|
+
|
735
|
+
//== Badges
|
736
|
+
//
|
737
|
+
//##
|
738
|
+
|
739
|
+
$badge-color: #fff;
|
740
|
+
//** Linked badge text color on hover
|
741
|
+
$badge-link-hover-color: #fff;
|
742
|
+
$badge-bg: $brand-primary;
|
743
|
+
|
744
|
+
//** Badge text color in active nav link
|
745
|
+
$badge-active-color: $link-color;
|
746
|
+
//** Badge background color in active nav link
|
747
|
+
$badge-active-bg: #fff;
|
748
|
+
|
749
|
+
$badge-font-weight: bold;
|
750
|
+
$badge-line-height: 1;
|
751
|
+
$badge-border-radius: 10px;
|
752
|
+
|
753
|
+
//== Breadcrumbs
|
754
|
+
//
|
755
|
+
//##
|
756
|
+
|
757
|
+
$breadcrumb-padding-vertical: 8px;
|
758
|
+
$breadcrumb-padding-horizontal: 15px;
|
759
|
+
//** Breadcrumb background color
|
760
|
+
$breadcrumb-bg: #f5f5f5;
|
761
|
+
//** Breadcrumb text color
|
762
|
+
$breadcrumb-color: #ccc;
|
763
|
+
//** Text color of current page in the breadcrumb
|
764
|
+
$breadcrumb-active-color: $gray-light;
|
765
|
+
//** Textual separator for between breadcrumb elements
|
766
|
+
$breadcrumb-separator: "/";
|
767
|
+
|
768
|
+
//== Carousel
|
769
|
+
//
|
770
|
+
//##
|
771
|
+
|
772
|
+
$carousel-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
773
|
+
|
774
|
+
$carousel-control-color: #fff;
|
775
|
+
$carousel-control-width: 15%;
|
776
|
+
$carousel-control-opacity: 0.5;
|
777
|
+
$carousel-control-font-size: 20px;
|
778
|
+
|
779
|
+
$carousel-indicator-active-bg: #fff;
|
780
|
+
$carousel-indicator-border-color: #fff;
|
781
|
+
|
782
|
+
$carousel-caption-color: #fff;
|
783
|
+
|
784
|
+
//== Close
|
785
|
+
//
|
786
|
+
//##
|
787
|
+
|
788
|
+
$close-font-weight: bold;
|
789
|
+
$close-color: #000;
|
790
|
+
$close-text-shadow: 0 1px 0 #fff;
|
791
|
+
|
792
|
+
//== Code
|
793
|
+
//
|
794
|
+
//##
|
795
|
+
|
796
|
+
$code-color: #c7254e;
|
797
|
+
$code-bg: #f9f2f4;
|
798
|
+
|
799
|
+
$kbd-color: #fff;
|
800
|
+
$kbd-bg: #333;
|
801
|
+
|
802
|
+
$pre-bg: #f5f5f5;
|
803
|
+
$pre-color: $gray-dark;
|
804
|
+
$pre-border-color: #ccc;
|
805
|
+
$pre-scrollable-max-height: 340px;
|
806
|
+
|
807
|
+
//== Type
|
808
|
+
//
|
809
|
+
//##
|
810
|
+
|
811
|
+
//** Horizontal offset for forms and lists.
|
812
|
+
$component-offset-horizontal: 180px;
|
813
|
+
//** Text muted color
|
814
|
+
$text-muted: $gray-light;
|
815
|
+
//** Abbreviations and acronyms border color
|
816
|
+
$abbr-border-color: $gray-light;
|
817
|
+
//** Headings small color
|
818
|
+
$headings-small-color: $gray-light;
|
819
|
+
//** Blockquote small color
|
820
|
+
$blockquote-small-color: $gray-light;
|
821
|
+
//** Blockquote font size
|
822
|
+
$blockquote-font-size: ($font-size-base * 1.25);
|
823
|
+
//** Blockquote border color
|
824
|
+
$blockquote-border-color: $gray-lighter;
|
825
|
+
//** Page header border color
|
826
|
+
$page-header-border-color: $gray-lighter;
|
827
|
+
//** Width of horizontal description list titles
|
828
|
+
$dl-horizontal-offset: $component-offset-horizontal;
|
829
|
+
//** Horizontal line color.
|
830
|
+
$hr-border: $gray-lighter;
|