activeadmin 3.2.3 → 4.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activeadmin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -57
- data/CONTRIBUTING.md +25 -108
- data/README.md +19 -32
- data/app/assets/config/active_admin_manifest.js +2 -0
- data/app/controllers/active_admin/base_controller/menu.rb +39 -0
- data/{lib → app/controllers}/active_admin/base_controller.rb +46 -18
- data/{lib → app/controllers}/active_admin/page_controller.rb +0 -4
- data/{lib → app/controllers}/active_admin/resource_controller/action_builder.rb +1 -1
- data/{lib → app/controllers}/active_admin/resource_controller/data_access.rb +2 -2
- data/{lib → app/controllers}/active_admin/resource_controller/scoping.rb +1 -1
- data/{lib → app/controllers}/active_admin/resource_controller/streaming.rb +2 -2
- data/app/controllers/active_admin/resource_controller.rb +102 -0
- data/app/helpers/active_admin/auto_link_helper.rb +66 -0
- data/app/helpers/active_admin/breadcrumb_helper.rb +41 -0
- data/app/helpers/active_admin/display_helper.rb +117 -0
- data/app/helpers/active_admin/form_helper.rb +95 -0
- data/app/helpers/active_admin/index_helper.rb +40 -0
- data/app/helpers/active_admin/layout_helper.rb +63 -0
- data/app/javascript/active_admin/features/batch_actions.js +89 -0
- data/app/javascript/active_admin/features/dark_mode_toggle.js +37 -0
- data/app/javascript/active_admin/features/filters.js +34 -0
- data/app/javascript/active_admin/features/has_many.js +28 -0
- data/app/javascript/active_admin/features/main_menu.js +12 -0
- data/app/javascript/active_admin/features/per_page.js +9 -0
- data/app/javascript/active_admin/utils/dom.js +17 -0
- data/app/javascript/active_admin.js +10 -0
- data/app/views/active_admin/_flash_messages.html.erb +22 -0
- data/app/views/active_admin/_html_head.html.erb +13 -0
- data/app/views/active_admin/_main_navigation.html.erb +28 -0
- data/app/views/active_admin/_page_header.html.erb +27 -0
- data/app/views/active_admin/_sidebar.html.erb +5 -0
- data/app/views/active_admin/_site_footer.html.erb +7 -0
- data/app/views/active_admin/_site_header.html.erb +30 -0
- data/app/views/active_admin/devise/confirmations/new.html.erb +5 -3
- data/app/views/active_admin/devise/passwords/edit.html.erb +5 -3
- data/app/views/active_admin/devise/passwords/new.html.erb +5 -4
- data/app/views/active_admin/devise/registrations/new.html.erb +6 -4
- data/app/views/active_admin/devise/sessions/new.html.erb +6 -4
- data/app/views/active_admin/devise/shared/_links.erb +3 -1
- data/app/views/active_admin/devise/unlocks/new.html.erb +6 -4
- data/app/views/{kaminari/active_admin_countless → active_admin/kaminari}/_gap.html.erb +3 -1
- data/app/views/active_admin/kaminari/_next_page.html.erb +16 -0
- data/app/views/active_admin/kaminari/_page.html.erb +14 -0
- data/app/views/{kaminari/active_admin_countless → active_admin/kaminari}/_paginator.html.erb +1 -2
- data/app/views/active_admin/kaminari/_prev_page.html.erb +16 -0
- data/app/views/active_admin/page/index.html.arb +5 -1
- data/app/views/active_admin/resource/_active_filters.html.erb +32 -0
- data/app/views/active_admin/resource/_batch_actions_dropdown.html.erb +19 -0
- data/app/views/active_admin/resource/_form.html.arb +16 -0
- data/app/views/active_admin/resource/_form_default.html.arb +12 -0
- data/app/views/active_admin/resource/_index_as_table_default.html.arb +9 -0
- data/app/views/active_admin/resource/_index_blank_slate.html.erb +14 -0
- data/app/views/active_admin/resource/_index_empty_results.html.erb +5 -0
- data/app/views/active_admin/resource/_index_table_actions_default.html.erb +9 -0
- data/app/views/active_admin/resource/_show_default.html.arb +3 -0
- data/app/views/active_admin/resource/edit.html.arb +1 -1
- data/app/views/active_admin/resource/index.html.arb +94 -1
- data/app/views/active_admin/resource/new.html.arb +1 -1
- data/app/views/active_admin/resource/show.html.arb +12 -1
- data/app/views/active_admin/shared/_action_items.html.erb +3 -0
- data/app/views/active_admin/shared/_download_format_links.html.erb +7 -0
- data/app/views/active_admin/shared/_resource_comments.html.erb +51 -0
- data/app/views/active_admin/shared/_sidebar_section.html.arb +7 -0
- data/app/views/active_admin/shared/_sidebar_sections.html.erb +5 -0
- data/app/views/layouts/active_admin.html.erb +20 -0
- data/app/views/layouts/active_admin_logged_out.html.erb +8 -45
- data/config/locales/ar.yml +0 -16
- data/config/locales/az.yml +0 -16
- data/config/locales/bg.yml +0 -9
- data/config/locales/bs.yml +0 -7
- data/config/locales/ca.yml +0 -9
- data/config/locales/cs.yml +0 -9
- data/config/locales/da.yml +0 -16
- data/config/locales/de-CH.yml +0 -10
- data/config/locales/de.yml +0 -16
- data/config/locales/el.yml +0 -13
- data/config/locales/en-CA.yml +0 -16
- data/config/locales/en-GB.yml +0 -16
- data/config/locales/en.yml +18 -28
- data/config/locales/eo.yml +0 -17
- data/config/locales/es-MX.yml +0 -9
- data/config/locales/es.yml +0 -16
- data/config/locales/fa.yml +0 -9
- data/config/locales/fi.yml +0 -9
- data/config/locales/fr.yml +32 -26
- data/config/locales/he.yml +0 -16
- data/config/locales/hr.yml +0 -9
- data/config/locales/hu.yml +0 -6
- data/config/locales/id.yml +0 -16
- data/config/locales/it.yml +0 -16
- data/config/locales/ja.yml +0 -16
- data/config/locales/ko.yml +0 -9
- data/config/locales/lt.yml +0 -16
- data/config/locales/lv.yml +0 -6
- data/config/locales/mk.yml +0 -15
- data/config/locales/nb.yml +0 -12
- data/config/locales/nl.yml +21 -29
- data/config/locales/pl.yml +0 -16
- data/config/locales/pt-BR.yml +0 -16
- data/config/locales/pt-PT.yml +0 -6
- data/config/locales/ro.yml +0 -6
- data/config/locales/ru.yml +0 -16
- data/config/locales/sk.yml +0 -16
- data/config/locales/sv-SE.yml +0 -16
- data/config/locales/tr.yml +0 -16
- data/config/locales/uk.yml +0 -16
- data/config/locales/vi.yml +0 -16
- data/config/locales/zh-CN.yml +0 -16
- data/config/locales/zh-TW.yml +0 -16
- data/lib/active_admin/application.rb +1 -9
- data/lib/active_admin/batch_actions/controller.rb +1 -4
- data/lib/active_admin/batch_actions/resource_extension.rb +6 -13
- data/lib/active_admin/batch_actions/views/batch_action_form.rb +0 -6
- data/lib/active_admin/batch_actions/views/selection_cells.rb +2 -2
- data/lib/active_admin/batch_actions.rb +0 -5
- data/lib/active_admin/callbacks.rb +6 -4
- data/lib/active_admin/component.rb +0 -1
- data/lib/active_admin/csv_builder.rb +1 -1
- data/lib/active_admin/devise.rb +3 -3
- data/lib/active_admin/dsl.rb +2 -2
- data/lib/active_admin/dynamic_settings_node.rb +4 -4
- data/lib/active_admin/engine.rb +19 -6
- data/lib/active_admin/filters/active.rb +6 -4
- data/lib/active_admin/filters/active_filter.rb +1 -3
- data/lib/active_admin/filters/forms.rb +1 -42
- data/lib/active_admin/filters/resource_extension.rb +17 -9
- data/lib/active_admin/filters.rb +0 -2
- data/lib/active_admin/form_builder.rb +15 -14
- data/lib/active_admin/inputs/filters/base/search_method_select.rb +8 -10
- data/lib/active_admin/inputs/filters/base.rb +1 -1
- data/lib/active_admin/inputs/filters/check_boxes_input.rb +1 -6
- data/lib/active_admin/inputs/filters/date_range_input.rb +4 -2
- data/lib/active_admin/inputs.rb +0 -3
- data/lib/active_admin/menu.rb +10 -7
- data/lib/active_admin/menu_collection.rb +1 -1
- data/lib/active_admin/menu_item.rb +24 -3
- data/lib/active_admin/namespace.rb +2 -44
- data/lib/active_admin/namespace_settings.rb +2 -35
- data/lib/active_admin/order_clause.rb +4 -1
- data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +3 -75
- data/lib/active_admin/orm/active_record/comments.rb +10 -5
- data/lib/active_admin/pundit_adapter.rb +1 -1
- data/lib/active_admin/resource/action_items.rb +15 -20
- data/lib/active_admin/resource/attributes.rb +1 -8
- data/lib/active_admin/resource/naming.rb +1 -2
- data/lib/active_admin/resource.rb +1 -0
- data/lib/active_admin/resource_dsl.rb +1 -1
- data/lib/active_admin/scope.rb +1 -1
- data/lib/active_admin/settings_node.rb +1 -1
- data/lib/active_admin/sidebar_section.rb +0 -5
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/view_helpers.rb +0 -12
- data/lib/active_admin/views/components/active_admin_form.rb +20 -16
- data/lib/active_admin/views/components/attributes_table.rb +4 -12
- data/lib/active_admin/views/components/index_list.rb +10 -23
- data/lib/active_admin/views/components/paginated_collection.rb +34 -39
- data/lib/active_admin/views/components/panel.rb +2 -10
- data/lib/active_admin/views/components/scopes.rb +12 -21
- data/lib/active_admin/views/components/status_tag.rb +22 -19
- data/lib/active_admin/views/components/table_for.rb +19 -24
- data/lib/active_admin/views/components/tabs.rb +10 -11
- data/lib/active_admin/views/index_as_table.rb +24 -97
- data/lib/active_admin.rb +7 -11
- data/lib/generators/active_admin/assets/assets_generator.rb +4 -4
- data/lib/generators/active_admin/assets/templates/active_admin.css +3 -0
- data/lib/generators/active_admin/assets/templates/tailwind.config.js +18 -0
- data/lib/generators/active_admin/install/install_generator.rb +2 -8
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +10 -87
- data/lib/generators/active_admin/install/templates/dashboard.rb +8 -25
- data/lib/generators/active_admin/page/page_generator.rb +0 -1
- data/lib/generators/active_admin/resource/resource_generator.rb +46 -7
- data/lib/generators/active_admin/resource/templates/resource.rb.erb +42 -0
- data/lib/generators/active_admin/views_generator.rb +18 -0
- metadata +67 -214
- data/app/assets/javascripts/active_admin/base.js +0 -521
- data/app/assets/stylesheets/active_admin/_base.scss +0 -57
- data/app/assets/stylesheets/active_admin/_forms.scss +0 -315
- data/app/assets/stylesheets/active_admin/_header.scss +0 -188
- data/app/assets/stylesheets/active_admin/_mixins.scss +0 -1
- data/app/assets/stylesheets/active_admin/_normalize.scss +0 -349
- data/app/assets/stylesheets/active_admin/_print.scss +0 -287
- data/app/assets/stylesheets/active_admin/_typography.scss +0 -100
- data/app/assets/stylesheets/active_admin/components/_batch_actions.scss +0 -6
- data/app/assets/stylesheets/active_admin/components/_blank_slates.scss +0 -30
- data/app/assets/stylesheets/active_admin/components/_breadcrumbs.scss +0 -20
- data/app/assets/stylesheets/active_admin/components/_buttons.scss +0 -6
- data/app/assets/stylesheets/active_admin/components/_columns.scss +0 -3
- data/app/assets/stylesheets/active_admin/components/_comments.scss +0 -41
- data/app/assets/stylesheets/active_admin/components/_date_picker.scss +0 -148
- data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +0 -154
- data/app/assets/stylesheets/active_admin/components/_flash_messages.scss +0 -37
- data/app/assets/stylesheets/active_admin/components/_grid.scss +0 -9
- data/app/assets/stylesheets/active_admin/components/_index_list.scss +0 -12
- data/app/assets/stylesheets/active_admin/components/_links.scss +0 -5
- data/app/assets/stylesheets/active_admin/components/_modal_dialog.scss +0 -34
- data/app/assets/stylesheets/active_admin/components/_pagination.scss +0 -58
- data/app/assets/stylesheets/active_admin/components/_panels.scss +0 -6
- data/app/assets/stylesheets/active_admin/components/_scopes.scss +0 -13
- data/app/assets/stylesheets/active_admin/components/_status_tags.scss +0 -12
- data/app/assets/stylesheets/active_admin/components/_table_tools.scss +0 -70
- data/app/assets/stylesheets/active_admin/components/_tables.scss +0 -112
- data/app/assets/stylesheets/active_admin/components/_tabs.scss +0 -68
- data/app/assets/stylesheets/active_admin/components/_unsupported_browser.scss +0 -16
- data/app/assets/stylesheets/active_admin/mixins/_all.scss +0 -8
- data/app/assets/stylesheets/active_admin/mixins/_buttons.scss +0 -65
- data/app/assets/stylesheets/active_admin/mixins/_gradients.scss +0 -28
- data/app/assets/stylesheets/active_admin/mixins/_rounded.scss +0 -22
- data/app/assets/stylesheets/active_admin/mixins/_sections.scss +0 -41
- data/app/assets/stylesheets/active_admin/mixins/_shadows.scss +0 -15
- data/app/assets/stylesheets/active_admin/mixins/_typography.scss +0 -3
- data/app/assets/stylesheets/active_admin/mixins/_utilities.scss +0 -17
- data/app/assets/stylesheets/active_admin/mixins/_variables.scss +0 -51
- data/app/assets/stylesheets/active_admin/pages/_logged_out.scss +0 -44
- data/app/assets/stylesheets/active_admin/structure/_footer.scss +0 -19
- data/app/assets/stylesheets/active_admin/structure/_main_structure.scss +0 -29
- data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +0 -43
- data/app/javascript/active_admin/base.js +0 -28
- data/app/javascript/active_admin/ext/jquery-ui.js +0 -7
- data/app/javascript/active_admin/ext/jquery.js +0 -9
- data/app/javascript/active_admin/initializers/batch-actions.js +0 -61
- data/app/javascript/active_admin/initializers/checkbox-toggler.js +0 -3
- data/app/javascript/active_admin/initializers/datepicker.js +0 -16
- data/app/javascript/active_admin/initializers/dropdown-menu.js +0 -9
- data/app/javascript/active_admin/initializers/filters.js +0 -10
- data/app/javascript/active_admin/initializers/has-many.js +0 -98
- data/app/javascript/active_admin/initializers/per-page.js +0 -13
- data/app/javascript/active_admin/initializers/table-checkbox-toggler.js +0 -3
- data/app/javascript/active_admin/initializers/tabs.js +0 -6
- data/app/javascript/active_admin/lib/checkbox-toggler.js +0 -49
- data/app/javascript/active_admin/lib/dropdown-menu.js +0 -116
- data/app/javascript/active_admin/lib/filters.js +0 -39
- data/app/javascript/active_admin/lib/modal-dialog.js +0 -63
- data/app/javascript/active_admin/lib/per-page.js +0 -38
- data/app/javascript/active_admin/lib/table-checkbox-toggler.js +0 -38
- data/app/javascript/active_admin/lib/utils.js +0 -40
- data/app/views/kaminari/active_admin/_first_page.html.erb +0 -11
- data/app/views/kaminari/active_admin/_gap.html.erb +0 -8
- data/app/views/kaminari/active_admin/_last_page.html.erb +0 -11
- data/app/views/kaminari/active_admin/_next_page.html.erb +0 -11
- data/app/views/kaminari/active_admin/_page.html.erb +0 -12
- data/app/views/kaminari/active_admin/_paginator.html.erb +0 -25
- data/app/views/kaminari/active_admin/_prev_page.html.erb +0 -11
- data/app/views/kaminari/active_admin_countless/_first_page.html.erb +0 -11
- data/app/views/kaminari/active_admin_countless/_next_page.html.erb +0 -11
- data/app/views/kaminari/active_admin_countless/_page.html.erb +0 -12
- data/app/views/kaminari/active_admin_countless/_prev_page.html.erb +0 -11
- data/app/views/layouts/active_admin.html.arb +0 -2
- data/lib/active_admin/abstract_view_factory.rb +0 -48
- data/lib/active_admin/asset_registration.rb +0 -30
- data/lib/active_admin/base_controller/menu.rb +0 -35
- data/lib/active_admin/batch_actions/views/batch_action_selector.rb +0 -59
- data/lib/active_admin/filters/active_sidebar.rb +0 -28
- data/lib/active_admin/generators/boilerplate.rb +0 -54
- data/lib/active_admin/helpers/collection.rb +0 -21
- data/lib/active_admin/helpers/i18n.rb +0 -8
- data/lib/active_admin/inputs/datepicker_input.rb +0 -28
- data/lib/active_admin/inputs/filters/date_picker_input.rb +0 -14
- data/lib/active_admin/orm/active_record/comments/show_page_helper.rb +0 -24
- data/lib/active_admin/orm/mongoid.rb +0 -2
- data/lib/active_admin/resource_controller/sidebars.rb +0 -19
- data/lib/active_admin/resource_controller.rb +0 -68
- data/lib/active_admin/view_factory.rb +0 -28
- data/lib/active_admin/view_helpers/active_admin_application_helper.rb +0 -13
- data/lib/active_admin/view_helpers/auto_link_helper.rb +0 -46
- data/lib/active_admin/view_helpers/breadcrumb_helper.rb +0 -34
- data/lib/active_admin/view_helpers/display_helper.rb +0 -119
- data/lib/active_admin/view_helpers/download_format_links_helper.rb +0 -60
- data/lib/active_admin/view_helpers/fields_for.rb +0 -51
- data/lib/active_admin/view_helpers/flash_helper.rb +0 -15
- data/lib/active_admin/view_helpers/form_helper.rb +0 -21
- data/lib/active_admin/view_helpers/scope_name_helper.rb +0 -17
- data/lib/active_admin/view_helpers/sidebar_helper.rb +0 -16
- data/lib/active_admin/view_helpers/title_helper.rb +0 -12
- data/lib/active_admin/view_helpers/view_factory_helper.rb +0 -12
- data/lib/active_admin/views/action_items.rb +0 -18
- data/lib/active_admin/views/components/active_filters_sidebar_content.rb +0 -59
- data/lib/active_admin/views/components/blank_slate.rb +0 -18
- data/lib/active_admin/views/components/columns.rb +0 -162
- data/lib/active_admin/views/components/dropdown_menu.rb +0 -69
- data/lib/active_admin/views/components/menu.rb +0 -33
- data/lib/active_admin/views/components/menu_item.rb +0 -59
- data/lib/active_admin/views/components/sidebar.rb +0 -14
- data/lib/active_admin/views/components/sidebar_section.rb +0 -35
- data/lib/active_admin/views/components/site_title.rb +0 -55
- data/lib/active_admin/views/components/unsupported_browser.rb +0 -12
- data/lib/active_admin/views/footer.rb +0 -32
- data/lib/active_admin/views/header.rb +0 -20
- data/lib/active_admin/views/index_as_block.rb +0 -37
- data/lib/active_admin/views/index_as_blog.rb +0 -156
- data/lib/active_admin/views/index_as_grid.rb +0 -81
- data/lib/active_admin/views/pages/base.rb +0 -134
- data/lib/active_admin/views/pages/form.rb +0 -65
- data/lib/active_admin/views/pages/index.rb +0 -166
- data/lib/active_admin/views/pages/layout.rb +0 -27
- data/lib/active_admin/views/pages/page.rb +0 -31
- data/lib/active_admin/views/pages/show.rb +0 -60
- data/lib/active_admin/views/tabbed_navigation.rb +0 -12
- data/lib/active_admin/views/title_bar.rb +0 -56
- data/lib/generators/active_admin/assets/templates/active_admin.js +0 -1
- data/lib/generators/active_admin/assets/templates/active_admin.scss +0 -17
- data/lib/generators/active_admin/resource/templates/admin.rb.erb +0 -46
- data/lib/generators/active_admin/webpacker/plugins/jquery.js +0 -7
- data/lib/generators/active_admin/webpacker/templates/active_admin.js +0 -5
- data/lib/generators/active_admin/webpacker/templates/active_admin.scss +0 -17
- data/lib/generators/active_admin/webpacker/templates/print.scss +0 -2
- data/lib/generators/active_admin/webpacker/webpacker_generator.rb +0 -27
- data/vendor/assets/javascripts/jquery-ui/data.js +0 -45
- data/vendor/assets/javascripts/jquery-ui/disable-selection.js +0 -51
- data/vendor/assets/javascripts/jquery-ui/focusable.js +0 -89
- data/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +0 -83
- data/vendor/assets/javascripts/jquery-ui/form.js +0 -25
- data/vendor/assets/javascripts/jquery-ui/ie.js +0 -20
- data/vendor/assets/javascripts/jquery-ui/keycode.js +0 -51
- data/vendor/assets/javascripts/jquery-ui/labels.js +0 -71
- data/vendor/assets/javascripts/jquery-ui/plugin.js +0 -49
- data/vendor/assets/javascripts/jquery-ui/position.js +0 -513
- data/vendor/assets/javascripts/jquery-ui/safe-active-element.js +0 -46
- data/vendor/assets/javascripts/jquery-ui/safe-blur.js +0 -27
- data/vendor/assets/javascripts/jquery-ui/scroll-parent.js +0 -50
- data/vendor/assets/javascripts/jquery-ui/tabbable.js +0 -41
- data/vendor/assets/javascripts/jquery-ui/unique-id.js +0 -54
- data/vendor/assets/javascripts/jquery-ui/version.js +0 -20
- data/vendor/assets/javascripts/jquery-ui/widget.js +0 -758
- data/vendor/assets/javascripts/jquery-ui/widgets/button.js +0 -454
- data/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +0 -294
- data/vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js +0 -304
- data/vendor/assets/javascripts/jquery-ui/widgets/datepicker.js +0 -2243
- data/vendor/assets/javascripts/jquery-ui/widgets/dialog.js +0 -971
- data/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +0 -1268
- data/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +0 -241
- data/vendor/assets/javascripts/jquery-ui/widgets/resizable.js +0 -1228
- data/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +0 -1622
- data/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +0 -931
- /data/{lib → app/controllers}/active_admin/base_controller/authorization.rb +0 -0
- /data/{lib → app/controllers}/active_admin/resource_controller/decorators.rb +0 -0
- /data/{lib → app/controllers}/active_admin/resource_controller/polymorphic_routes.rb +0 -0
- /data/{lib → app/controllers}/active_admin/resource_controller/resource_class_methods.rb +0 -0
- /data/lib/{active_admin/orm/mongoid/.gitkeep → generators/active_admin/assets/templates/builds/.keep} +0 -0
@@ -1,30 +0,0 @@
|
|
1
|
-
.blank_slate_container {
|
2
|
-
clear: both;
|
3
|
-
text-align: center;
|
4
|
-
|
5
|
-
.blank_slate {
|
6
|
-
@include rounded;
|
7
|
-
border: $blank-slate-border;
|
8
|
-
color: $blank-slate-primary-color;
|
9
|
-
display: inline-block;
|
10
|
-
font-size: 1.2em;
|
11
|
-
font-weight: bold;
|
12
|
-
padding: 14px 25px;
|
13
|
-
text-align: center;
|
14
|
-
|
15
|
-
small {
|
16
|
-
display: block;
|
17
|
-
font-size: 0.9em;
|
18
|
-
font-weight: normal;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
.admin_dashboard .blank_slate_container .blank_slate {
|
24
|
-
margin-top: 40px;
|
25
|
-
margin-bottom: 40px;
|
26
|
-
}
|
27
|
-
|
28
|
-
.with_sidebar .blank_slate_container .blank_slate {
|
29
|
-
margin-top: 80px;
|
30
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
.breadcrumb {
|
2
|
-
display: block;
|
3
|
-
font-size: 0.9em;
|
4
|
-
font-weight: normal;
|
5
|
-
line-height: 1.0em;
|
6
|
-
margin-bottom: 12px;
|
7
|
-
text-transform: uppercase;
|
8
|
-
|
9
|
-
a, a:link, a:visited, a:active {
|
10
|
-
color: $breadcrumbs-color;
|
11
|
-
text-decoration: none;
|
12
|
-
}
|
13
|
-
|
14
|
-
a:hover { text-decoration: underline; }
|
15
|
-
|
16
|
-
.breadcrumb_sep {
|
17
|
-
margin: 0 2px;
|
18
|
-
color: $breadcrumbs-separator-color;
|
19
|
-
}
|
20
|
-
}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
// -------------------------------------- Admin Notes
|
2
|
-
.comments {
|
3
|
-
|
4
|
-
.active_admin_comment {
|
5
|
-
margin-top: 10px;
|
6
|
-
margin-bottom: 20px;
|
7
|
-
max-width: 700px;
|
8
|
-
@include clearfix;
|
9
|
-
|
10
|
-
.active_admin_comment_meta {
|
11
|
-
width: 130px;
|
12
|
-
float: left;
|
13
|
-
overflow: hidden;
|
14
|
-
font-size: 0.9em;
|
15
|
-
color: lighten($primary-color, 10%);
|
16
|
-
.active_admin_comment_author {
|
17
|
-
font-size: 1.2em;
|
18
|
-
font-weight: bold;
|
19
|
-
margin: 0;
|
20
|
-
color: $primary-color;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
.active_admin_comment_body {
|
24
|
-
margin-left: 150px;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
form.active_admin_comment {
|
28
|
-
margin: 0;
|
29
|
-
padding: 0;
|
30
|
-
margin-left: 150px;
|
31
|
-
|
32
|
-
fieldset.inputs {
|
33
|
-
margin: 0;
|
34
|
-
padding: 0;
|
35
|
-
background: none;
|
36
|
-
@include no-shadow;
|
37
|
-
}
|
38
|
-
li { padding: 0; }
|
39
|
-
fieldset.buttons { padding: 0; margin-top: 5px;}
|
40
|
-
}
|
41
|
-
}
|
@@ -1,148 +0,0 @@
|
|
1
|
-
// -------------------------------------- Date Picker
|
2
|
-
.ui-datepicker {
|
3
|
-
background: #fff;
|
4
|
-
background-clip: padding-box;
|
5
|
-
color: #fff;
|
6
|
-
display: none;
|
7
|
-
margin-top: 2px;
|
8
|
-
padding: 0;
|
9
|
-
text-align: center;
|
10
|
-
width: 160px;
|
11
|
-
|
12
|
-
a {
|
13
|
-
text-decoration: none;
|
14
|
-
&:hover {
|
15
|
-
cursor: pointer;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
.ui-datepicker-header {
|
20
|
-
@include primary-gradient;
|
21
|
-
padding: 12px 5px 7px 4px;
|
22
|
-
margin: 0px 0px 2px 2px;
|
23
|
-
width: 156px;
|
24
|
-
border-top-left-radius: 7px;
|
25
|
-
border-top-right-radius: 7px;
|
26
|
-
position: relative;
|
27
|
-
z-index: 2000;
|
28
|
-
|
29
|
-
&:before {
|
30
|
-
content: "";
|
31
|
-
position: absolute;
|
32
|
-
right: 45%;
|
33
|
-
top: -6px;
|
34
|
-
width: 0px;
|
35
|
-
height: 0px;
|
36
|
-
border-left: 8.5px solid rgba(0, 0, 0, 0);
|
37
|
-
border-right: 8.5px solid rgba(0, 0, 0, 0);
|
38
|
-
border-bottom: 10px solid #676e73;
|
39
|
-
}
|
40
|
-
|
41
|
-
.ui-datepicker-title {
|
42
|
-
@include text-shadow(#000);
|
43
|
-
color: #fff;
|
44
|
-
display: block;
|
45
|
-
font-size: 1.1em;
|
46
|
-
font-weight: bold;
|
47
|
-
line-height: 0.8em;
|
48
|
-
text-align: center;
|
49
|
-
|
50
|
-
.ui-datepicker-month {
|
51
|
-
margin: -4px 0 0 0;
|
52
|
-
}
|
53
|
-
.ui-datepicker-year {
|
54
|
-
margin: -4px 0 0 0;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
a {
|
60
|
-
color: #fff;
|
61
|
-
display: block;
|
62
|
-
height: 19px;
|
63
|
-
margin-top: -4px;
|
64
|
-
width: 10px;
|
65
|
-
|
66
|
-
&.ui-datepicker-prev {
|
67
|
-
float: left;
|
68
|
-
width: 0;
|
69
|
-
height: 0;
|
70
|
-
margin: 0px 0px 0px 4px;
|
71
|
-
border-top: 5px solid transparent;
|
72
|
-
border-right: 5px solid white;
|
73
|
-
border-bottom: 5px solid transparent;
|
74
|
-
}
|
75
|
-
&.ui-datepicker-next {
|
76
|
-
float: right;
|
77
|
-
width: 0;
|
78
|
-
height: 0;
|
79
|
-
margin: 0px 4px 0px 0px;
|
80
|
-
border-top: 5px solid transparent;
|
81
|
-
border-left: 5px solid white;
|
82
|
-
border-bottom: 5px solid transparent;
|
83
|
-
}
|
84
|
-
|
85
|
-
span {
|
86
|
-
display: none;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
table.ui-datepicker-calendar {
|
92
|
-
@include rounded-bottom;
|
93
|
-
@include shadow(0,1px,6px,rgba(0,0,0,0.26));
|
94
|
-
background-color: #f4f4f4;
|
95
|
-
border: solid 1px #63686e;
|
96
|
-
left: 2px;
|
97
|
-
margin-bottom: 0px;
|
98
|
-
position: relative;
|
99
|
-
top: -2px;
|
100
|
-
width: 156px;
|
101
|
-
|
102
|
-
td, th {
|
103
|
-
padding: 0px;
|
104
|
-
text-align: center;
|
105
|
-
}
|
106
|
-
|
107
|
-
thead th {
|
108
|
-
background-color: #dbdddf;
|
109
|
-
color: #333333;
|
110
|
-
font-weight: normal;
|
111
|
-
font-size: 0.8em;
|
112
|
-
padding-top: 1px;
|
113
|
-
}
|
114
|
-
|
115
|
-
tbody {
|
116
|
-
color: #666666;
|
117
|
-
|
118
|
-
td {
|
119
|
-
border: none;
|
120
|
-
height: 24px;
|
121
|
-
width: 22px;
|
122
|
-
|
123
|
-
a {
|
124
|
-
@include rounded;
|
125
|
-
color: #666666;
|
126
|
-
font-weight: bold;
|
127
|
-
font-size: 0.85em;
|
128
|
-
padding: 4px;
|
129
|
-
|
130
|
-
&.ui-state-active {
|
131
|
-
background-color: #5a5f64;
|
132
|
-
color: #fff;
|
133
|
-
&.ui-state-hover {
|
134
|
-
background-color: #5a5f64;
|
135
|
-
color: #fff;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
&.ui-state-hover {
|
139
|
-
background-color: #eceef0;
|
140
|
-
}
|
141
|
-
&.ui-state-highlight {
|
142
|
-
background-color: #dbdddf;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
}
|
146
|
-
}
|
147
|
-
}
|
148
|
-
}
|
@@ -1,154 +0,0 @@
|
|
1
|
-
.dropdown_menu {
|
2
|
-
display: inline;
|
3
|
-
|
4
|
-
.dropdown_menu_button {
|
5
|
-
@include light-button;
|
6
|
-
|
7
|
-
& {
|
8
|
-
position: relative;
|
9
|
-
padding-right: 22px !important;
|
10
|
-
cursor: pointer;
|
11
|
-
}
|
12
|
-
|
13
|
-
&:before {
|
14
|
-
content: ' ';
|
15
|
-
position: absolute;
|
16
|
-
width: 0;
|
17
|
-
height: 0;
|
18
|
-
border-width: 3px 3px 0;
|
19
|
-
border-style: solid;
|
20
|
-
border-color: #FFF transparent;
|
21
|
-
right: 12px;
|
22
|
-
top: 45%;
|
23
|
-
}
|
24
|
-
|
25
|
-
&:after {
|
26
|
-
content: ' ';
|
27
|
-
position: absolute;
|
28
|
-
width: 0;
|
29
|
-
height: 0;
|
30
|
-
border-width: 3px 3px 0;
|
31
|
-
border-style: solid;
|
32
|
-
border-color: #777 transparent;
|
33
|
-
right: 12px;
|
34
|
-
top: 45%;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
.dropdown_menu_nipple {
|
39
|
-
|
40
|
-
// The nipple's border
|
41
|
-
content: "";
|
42
|
-
position: absolute;
|
43
|
-
top: -6px;
|
44
|
-
display: block;
|
45
|
-
width: 0;
|
46
|
-
height: 0;
|
47
|
-
border-width: 0 6px 6px;
|
48
|
-
border-style: solid;
|
49
|
-
border-color: darken($primary-color, 4%) transparent;
|
50
|
-
z-index: 100;
|
51
|
-
|
52
|
-
// The nipple's inner shadow
|
53
|
-
|
54
|
-
&:before {
|
55
|
-
content: ' ';
|
56
|
-
position: absolute;
|
57
|
-
width: 0;
|
58
|
-
height: 0;
|
59
|
-
border-width: 0 5px 5px;
|
60
|
-
border-style: solid;
|
61
|
-
border-color: lighten($primary-color, 15%) transparent;
|
62
|
-
left: -5px;
|
63
|
-
top: 1px;
|
64
|
-
}
|
65
|
-
|
66
|
-
// The nipple's background color
|
67
|
-
|
68
|
-
&:after {
|
69
|
-
content: ' ';
|
70
|
-
position: absolute;
|
71
|
-
width: 0;
|
72
|
-
height: 0;
|
73
|
-
border-width: 0 5px 5px;
|
74
|
-
border-style: solid;
|
75
|
-
border-color: lighten($primary-color, 4%) transparent;
|
76
|
-
left: -5px;
|
77
|
-
top: 2px;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
.dropdown_menu_list_wrapper {
|
82
|
-
display: inline-block;
|
83
|
-
position: absolute;
|
84
|
-
background-color: white;
|
85
|
-
padding: 2px;
|
86
|
-
box-shadow: rgba(0,0,0,0.4) 0 1px 3px, lighten($primary-color, 15%) 0px 1px 0px 0px inset;
|
87
|
-
background-color: $primary-color;
|
88
|
-
@include gradient(lighten($primary-color, 4%), darken($primary-color, 5%));
|
89
|
-
border: solid 1px darken($primary-color, 10%);
|
90
|
-
border-top-color: darken($primary-color, 4%);
|
91
|
-
border-bottom-color: darken($primary-color, 17%);
|
92
|
-
border-radius: 4px;
|
93
|
-
z-index: 2000;
|
94
|
-
display: none;
|
95
|
-
|
96
|
-
.dropdown_menu_list {
|
97
|
-
display: block;
|
98
|
-
background-color: #FFF;
|
99
|
-
border: solid 1px darken($primary-color, 10%);
|
100
|
-
box-shadow: lighten($primary-color, 5%) 0px 1px 0px 0px;
|
101
|
-
border-radius: 3px;
|
102
|
-
margin: 0;
|
103
|
-
overflow: hidden;
|
104
|
-
padding: 8px;
|
105
|
-
|
106
|
-
list-style-type: none;
|
107
|
-
padding: 0;
|
108
|
-
|
109
|
-
li {
|
110
|
-
display: block;
|
111
|
-
border-bottom: solid 1px #ebebeb;
|
112
|
-
|
113
|
-
a {
|
114
|
-
display: block;
|
115
|
-
box-sizing: padding-box;
|
116
|
-
font-size: 0.95em;
|
117
|
-
font-weight: bold;
|
118
|
-
padding: 7px 16px 5px;
|
119
|
-
text-decoration: none;
|
120
|
-
text-align: center;
|
121
|
-
white-space: nowrap;
|
122
|
-
|
123
|
-
&:hover {
|
124
|
-
@include highlight-gradient;
|
125
|
-
@include text-shadow(#5a83aa);
|
126
|
-
color: #FFF;
|
127
|
-
}
|
128
|
-
|
129
|
-
&:active {
|
130
|
-
@include reverse-highlight-gradient;
|
131
|
-
color: #FFF;
|
132
|
-
}
|
133
|
-
|
134
|
-
}
|
135
|
-
|
136
|
-
&:first-child {
|
137
|
-
a {
|
138
|
-
border-top-left-radius: 2px;
|
139
|
-
border-top-right-radius: 2px;
|
140
|
-
}
|
141
|
-
|
142
|
-
}
|
143
|
-
|
144
|
-
&:last-child {
|
145
|
-
border: none;
|
146
|
-
a {
|
147
|
-
border-bottom-left-radius: 2px;
|
148
|
-
border-bottom-right-radius: 2px;
|
149
|
-
}
|
150
|
-
}
|
151
|
-
}
|
152
|
-
}
|
153
|
-
}
|
154
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
body.logged_in {
|
2
|
-
.flash {
|
3
|
-
@include gradient(#f7f1d3, #f5edc5);
|
4
|
-
@include text-shadow(#fafafa);
|
5
|
-
border-bottom: 1px solid #eee098;
|
6
|
-
color: #cb9810;
|
7
|
-
font-weight: bold;
|
8
|
-
font-size: 1.1em;
|
9
|
-
line-height: 1.0em;
|
10
|
-
padding: 13px 30px 11px;
|
11
|
-
position: relative;
|
12
|
-
|
13
|
-
&.flash_notice {
|
14
|
-
@include gradient(#dce9dd, #ccdfcd);
|
15
|
-
border-bottom: 1px solid #adcbaf;
|
16
|
-
color: #416347;
|
17
|
-
}
|
18
|
-
&.flash_error {
|
19
|
-
@include gradient(#f5e4e4, #f1dcdc);
|
20
|
-
border-bottom: 1px solid #e0c2c0;
|
21
|
-
color: #b33c33;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
body.logged_out {
|
27
|
-
.flash {
|
28
|
-
@include no-shadow;
|
29
|
-
@include text-shadow(#fff);
|
30
|
-
background: none;
|
31
|
-
color: #666;
|
32
|
-
font-weight: bold;
|
33
|
-
line-height: 1.0em;
|
34
|
-
padding: 0;
|
35
|
-
margin-bottom: 8px;
|
36
|
-
}
|
37
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
// -------------------------------------- Index as Grid
|
2
|
-
table.index_grid td { border: none; background: none; padding: 0 20px 20px 0; margin: 0;}
|
3
|
-
|
4
|
-
// -------------------------------------- Columns
|
5
|
-
.columns {
|
6
|
-
clear: both;
|
7
|
-
padding: 0;
|
8
|
-
.column { float: left; }
|
9
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
.ui-widget-overlay {
|
2
|
-
position: fixed;
|
3
|
-
background: rgba(0,0,0,.2);
|
4
|
-
top: 0; left: 0; right: 0; bottom: 0;
|
5
|
-
z-index: 1001;
|
6
|
-
}
|
7
|
-
|
8
|
-
.ui-dialog {
|
9
|
-
position: fixed;
|
10
|
-
z-index: 1002;
|
11
|
-
@include section-background;
|
12
|
-
box-shadow: rgba(0,0,0,0.5) 0 0 10px;
|
13
|
-
|
14
|
-
.ui-dialog-titlebar {
|
15
|
-
@include section-header;
|
16
|
-
span { font-size: 1.1em }
|
17
|
-
}
|
18
|
-
|
19
|
-
ul { list-style-type: none }
|
20
|
-
li { margin: 10px 0 }
|
21
|
-
label { margin-right: 10px }
|
22
|
-
|
23
|
-
.ui-dialog-buttonpane, form {
|
24
|
-
padding: 7px 15px 13px
|
25
|
-
}
|
26
|
-
.ui-dialog-buttonpane button {
|
27
|
-
& { @include dark-button } // OK
|
28
|
-
&:last-child { @include light-button } // Cancel
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
.active_admin_dialog.ui-dialog {
|
33
|
-
.ui-dialog-titlebar-close { display: none }
|
34
|
-
}
|
@@ -1,58 +0,0 @@
|
|
1
|
-
.paginated_collection_contents {
|
2
|
-
clear: both;
|
3
|
-
}
|
4
|
-
|
5
|
-
.pagination {
|
6
|
-
float: right;
|
7
|
-
font-size: 0.9em;
|
8
|
-
margin-left: 10px;
|
9
|
-
|
10
|
-
a {
|
11
|
-
@include light-button;
|
12
|
-
}
|
13
|
-
|
14
|
-
span.page.current {
|
15
|
-
@include default-button;
|
16
|
-
}
|
17
|
-
|
18
|
-
a, span.page.current {
|
19
|
-
@include rounded(0px);
|
20
|
-
margin-right: 4px;
|
21
|
-
padding: 2px 5px;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
.pagination_information {
|
26
|
-
float: right;
|
27
|
-
margin-bottom: 5px;
|
28
|
-
color: #b3bcc1;
|
29
|
-
b { color: #5c6469; }
|
30
|
-
}
|
31
|
-
|
32
|
-
.download_links {
|
33
|
-
float: left;
|
34
|
-
}
|
35
|
-
|
36
|
-
.pagination_per_page {
|
37
|
-
float: right;
|
38
|
-
margin-left: 4px;
|
39
|
-
select {
|
40
|
-
@include light-button;
|
41
|
-
|
42
|
-
& {
|
43
|
-
@include rounded(0px);
|
44
|
-
padding: 1px 5px;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
.comments {
|
50
|
-
.pagination {
|
51
|
-
float: left;
|
52
|
-
margin-bottom: 30px;
|
53
|
-
}
|
54
|
-
.pagination_information {
|
55
|
-
float: left;
|
56
|
-
color: #000;
|
57
|
-
}
|
58
|
-
}
|
@@ -1,70 +0,0 @@
|
|
1
|
-
.table_tools {
|
2
|
-
margin-bottom: 16px;
|
3
|
-
@include clearfix;
|
4
|
-
}
|
5
|
-
|
6
|
-
.table_tools .dropdown_menu {
|
7
|
-
float: left;
|
8
|
-
}
|
9
|
-
|
10
|
-
a.table_tools_button, .table_tools .dropdown_menu_button {
|
11
|
-
@include light-button;
|
12
|
-
|
13
|
-
& {
|
14
|
-
@include gradient(#FFFFFF, #F0F0F0);
|
15
|
-
@include border-colors(#d9d9d9, #d0d0d0, #c5c5c5);
|
16
|
-
font-size: 0.9em;
|
17
|
-
padding: 4px 14px 4px;
|
18
|
-
margin: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
&:not(.disabled) {
|
22
|
-
&:hover {
|
23
|
-
@include gradient(#FFFFFF, #F6F6F6);
|
24
|
-
}
|
25
|
-
|
26
|
-
&:active {
|
27
|
-
@include border-colors(#d7d7d7, #c8c8c8, #c3c3c3);
|
28
|
-
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.17) inset;
|
29
|
-
@include gradient(#FFFFFF, #E8E8E8);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
.table_tools_segmented_control {
|
35
|
-
list-style-type: none;
|
36
|
-
padding: 0;
|
37
|
-
margin: 0;
|
38
|
-
|
39
|
-
li {
|
40
|
-
float: left;
|
41
|
-
|
42
|
-
a {
|
43
|
-
border-width: 1px .5px 1px .5px;
|
44
|
-
border-radius: 0;
|
45
|
-
}
|
46
|
-
|
47
|
-
&:first-child a {
|
48
|
-
border-left-width: 1px;
|
49
|
-
border-top-left-radius: 12px;
|
50
|
-
border-bottom-left-radius: 12px;
|
51
|
-
}
|
52
|
-
|
53
|
-
&:last-child a {
|
54
|
-
border-right-width: 1px;
|
55
|
-
border-top-right-radius: 12px;
|
56
|
-
border-bottom-right-radius: 12px;
|
57
|
-
}
|
58
|
-
|
59
|
-
&.selected a {
|
60
|
-
@include gradient(#F0F0F0, #FDFDFD);
|
61
|
-
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1) inset;
|
62
|
-
cursor: default;
|
63
|
-
|
64
|
-
&:hover {
|
65
|
-
@include gradient(#F0F0F0, #FDFDFD);
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
}
|
70
|
-
}
|